Skip to content

Commit 66f445e

Browse files
author
ianna1-admin
committed
data protection test recording & corresponding changes
1 parent a00d285 commit 66f445e

File tree

144 files changed

+14997
-14260
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+14997
-14260
lines changed

src/DataProtection/DataProtection.Autorest/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ This file contains the configuration for generating My API from the OpenAPI spec
3131
3232
``` yaml
3333
# it's the same options as command line options, just drop the double-dash!
34-
commit: 3d25fefc22d4b7835a8e572ae3097edc68dd23ad
34+
commit: ebdacd9571bc8a5faad5b8d418c70c3b6b7c2965
3535
require:
3636
- $(this-folder)/../../readme.azure.noprofile.md
3737
input-file:
38-
- $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2025-07-01/dataprotection.json
38+
- $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2025-02-01/dataprotection.json
3939
title: DataProtection
4040
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
4141
use-extension:
@@ -322,35 +322,35 @@ directive:
322322
- where:
323323
verb: Test
324324
subject: BackupInstance
325-
variant: ^Validate1$|^ValidateExpanded1$|^ValidateViaIdentity1$|^ValidateViaIdentityExpanded1$
325+
variant: ^Validate2$|^ValidateExpanded2$|^ValidateViaIdentity2$|^ValidateViaIdentityExpanded2$
326326
set:
327327
subject: BackupInstanceRestore
328328
- where:
329329
verb: Test
330330
subject: BackupInstance
331-
variant: ^Validate2$|^ValidateExpanded2$|^ValidateViaIdentity2$|^ValidateViaIdentityExpanded2$
331+
variant: ^Validate$|^ValidateExpanded$|^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
332332
set:
333333
subject: BackupInstanceReadiness
334334
- where:
335335
verb: Test
336336
subject: BackupInstance
337-
variant: ^Validate$|^ValidateExpanded$|^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
337+
variant: ^Validate1$|^ValidateExpanded1$|^ValidateViaIdentity1$|^ValidateViaIdentityExpanded1$
338338
set:
339339
subject: BackupInstanceUpdate
340340
- where:
341341
verb: Test
342342
subject: BackupInstanceUpdate
343-
variant: ^Validate$|^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
343+
variant: ^Validate1$|^ValidateViaIdentity1$|^ValidateViaIdentityExpanded1$
344344
hide: true
345345
- where:
346346
verb: Test
347347
subject: BackupInstanceReadiness
348-
variant: ^Validate2$|^ValidateViaIdentity2$|^ValidateViaIdentityExpanded2$
348+
variant: ^Validate$|^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
349349
hide: true
350350
- where:
351351
verb: Test
352352
subject: BackupInstanceRestore
353-
variant: ^Validate1$|^ValidateExpanded1$|^ValidateViaIdentity1$|^ValidateViaIdentityExpanded1$
353+
variant: ^Validate2$|^ValidateExpanded2$|^ValidateViaIdentity2$|^ValidateViaIdentityExpanded2$
354354
hide: true
355355
- where:
356356
verb: Test
@@ -467,19 +467,19 @@ directive:
467467
- EncryptionSettings
468468
- from: source-file-csharp
469469
where: $
470-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IBaseBackupPolicy Property');
470+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.IBaseBackupPolicy Property');
471471
- from: source-file-csharp
472472
where: $
473-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.ITriggerContext Trigger');
473+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.ITriggerContext Trigger');
474474
- from: source-file-csharp
475475
where: $
476-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IBackupParameters BackupParameter');
476+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.IBackupParameters BackupParameter');
477477
- from: source-file-csharp
478478
where: $
479-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IAzureBackupRecoveryPoint Property');
479+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.IAzureBackupRecoveryPoint Property');
480480
- from: source-file-csharp
481481
where: $
482-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.INamespacedNameResource ResourceModifierReference', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.INamespacedNameResource ResourceModifierReference');
482+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.INamespacedNameResource ResourceModifierReference', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.INamespacedNameResource ResourceModifierReference');
483483
```
484484
485485
## Alternate settings

src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances-recoveryPoints.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "backupVaults/backupInstances/recoveryPoints",
3-
"apiVersion": "2025-07-01",
3+
"apiVersion": "2025-02-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "backupVaults/backupInstances",
3-
"apiVersion": "2025-07-01",
3+
"apiVersion": "2025-02-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupJobs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "backupVaults/backupJobs",
3-
"apiVersion": "2025-07-01",
3+
"apiVersion": "2025-02-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupPolicies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "backupVaults/backupPolicies",
3-
"apiVersion": "2025-07-01",
3+
"apiVersion": "2025-02-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupResourceGuardProxies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "backupVaults/backupResourceGuardProxies",
3-
"apiVersion": "2025-07-01",
3+
"apiVersion": "2025-02-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-deletedBackupInstances.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "backupVaults/deletedBackupInstances",
3-
"apiVersion": "2025-07-01",
3+
"apiVersion": "2025-02-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "backupVaults",
3-
"apiVersion": "2025-07-01",
3+
"apiVersion": "2025-02-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/locations-operationStatus.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "locations/operationStatus",
3-
"apiVersion": "2025-07-01",
3+
"apiVersion": "2025-02-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/resourceGuards.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "resourceGuards",
3-
"apiVersion": "2025-07-01",
3+
"apiVersion": "2025-02-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

0 commit comments

Comments
 (0)