@@ -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
3535require :
3636 - $(this-folder)/../../readme.azure.noprofile.md
3737input-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
3939title : DataProtection
4040# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
4141use-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
0 commit comments