Skip to content

Commit ad049c8

Browse files
author
ianna1-admin
committed
update readme with swagger API version & commit ID
1 parent 47da2e2 commit ad049c8

File tree

1 file changed

+13
-13
lines changed
  • src/DataProtection/DataProtection.Autorest

1 file changed

+13
-13
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: b88b86f58a98ee1569ae6e7cba6f84061e15166b
34+
commit: 3d25fefc22d4b7835a8e572ae3097edc68dd23ad
3535
require:
3636
- $(this-folder)/../../readme.azure.noprofile.md
3737
input-file:
38-
- $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2025-01-01/dataprotection.json
38+
- $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/stable/2025-07-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: ^Validate2$|^ValidateExpanded2$|^ValidateViaIdentity2$|^ValidateViaIdentityExpanded2$
325+
variant: ^Validate1$|^ValidateExpanded1$|^ValidateViaIdentity1$|^ValidateViaIdentityExpanded1$
326326
set:
327327
subject: BackupInstanceRestore
328328
- where:
329329
verb: Test
330330
subject: BackupInstance
331-
variant: ^Validate$|^ValidateExpanded$|^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
331+
variant: ^Validate2$|^ValidateExpanded2$|^ValidateViaIdentity2$|^ValidateViaIdentityExpanded2$
332332
set:
333333
subject: BackupInstanceReadiness
334334
- where:
335335
verb: Test
336336
subject: BackupInstance
337-
variant: ^Validate1$|^ValidateExpanded1$|^ValidateViaIdentity1$|^ValidateViaIdentityExpanded1$
337+
variant: ^Validate$|^ValidateExpanded$|^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
338338
set:
339339
subject: BackupInstanceUpdate
340340
- where:
341341
verb: Test
342342
subject: BackupInstanceUpdate
343-
variant: ^Validate1$|^ValidateViaIdentity1$|^ValidateViaIdentityExpanded1$
343+
variant: ^Validate$|^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
344344
hide: true
345345
- where:
346346
verb: Test
347347
subject: BackupInstanceReadiness
348-
variant: ^Validate$|^ValidateViaIdentity$|^ValidateViaIdentityExpanded$
348+
variant: ^Validate2$|^ValidateViaIdentity2$|^ValidateViaIdentityExpanded2$
349349
hide: true
350350
- where:
351351
verb: Test
352352
subject: BackupInstanceRestore
353-
variant: ^Validate2$|^ValidateExpanded2$|^ValidateViaIdentity2$|^ValidateViaIdentityExpanded2$
353+
variant: ^Validate1$|^ValidateExpanded1$|^ValidateViaIdentity1$|^ValidateViaIdentityExpanded1$
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.Api202501.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.IBaseBackupPolicy Property');
470+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IBaseBackupPolicy Property');
471471
- from: source-file-csharp
472472
where: $
473-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.ITriggerContext Trigger');
473+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.ITriggerContext Trigger');
474474
- from: source-file-csharp
475475
where: $
476-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.IBackupParameters BackupParameter');
476+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IBackupParameters BackupParameter');
477477
- from: source-file-csharp
478478
where: $
479-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.IAzureBackupRecoveryPoint Property');
479+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.IAzureBackupRecoveryPoint Property');
480480
- from: source-file-csharp
481481
where: $
482-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.INamespacedNameResource ResourceModifierReference', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202501.INamespacedNameResource ResourceModifierReference');
482+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.INamespacedNameResource ResourceModifierReference', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250701.INamespacedNameResource ResourceModifierReference');
483483
```
484484
485485
## Alternate settings

0 commit comments

Comments
 (0)