Skip to content

Commit 24ae171

Browse files
Migrate DataProtection from generation to main (#24498)
* Move DataProtection to main * Update ChangeLog.md --------- Co-authored-by: Vincent Dai <[email protected]>
1 parent 5df9998 commit 24ae171

File tree

1,006 files changed

+20603
-14239
lines changed

Some content is hidden

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

1,006 files changed

+20603
-14239
lines changed

src/DataProtection/DataProtection.Autorest/Az.DataProtection.format.ps1xml

Lines changed: 300 additions & 300 deletions
Large diffs are not rendered by default.

src/DataProtection/DataProtection.Autorest/README.md

Lines changed: 6 additions & 6 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: c0e7b1360c19187fde2497251f784aa82641aa95
34+
commit: 41d1c179dc166b7f16b7e40ef4f2a1d9c85b10cc
3535
require:
3636
- $(this-folder)/../../readme.azure.noprofile.md
3737
input-file:
38-
- $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-11-01/dataprotection.json
38+
- $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-12-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:
@@ -398,16 +398,16 @@ directive:
398398
- ValidateCrossRegionRestoreRequestObject
399399
- from: source-file-csharp
400400
where: $
401-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy Property');
401+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy Property');
402402
- from: source-file-csharp
403403
where: $
404-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext Trigger');
404+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext Trigger');
405405
- from: source-file-csharp
406406
where: $
407-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters BackupParameter');
407+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters BackupParameter');
408408
- from: source-file-csharp
409409
where: $
410-
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint Property');
410+
transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint Property');
411411
```
412412
413413
## 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": "2023-11-01",
3+
"apiVersion": "2023-12-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": "2023-11-01",
3+
"apiVersion": "2023-12-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": "2023-11-01",
3+
"apiVersion": "2023-12-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": "2023-11-01",
3+
"apiVersion": "2023-12-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": "2023-11-01",
3+
"apiVersion": "2023-12-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": "2023-11-01",
3+
"apiVersion": "2023-12-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": "2023-11-01",
3+
"apiVersion": "2023-12-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": "2023-11-01",
3+
"apiVersion": "2023-12-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.dataprotection"
66
},

0 commit comments

Comments
 (0)