Skip to content

Commit f79888a

Browse files
authored
[DataProtectionBackup] Polish the API to prepare for release (Azure#33792)
* regen * regen resources * resolve comment * update changelog
1 parent 269268d commit f79888a

File tree

58 files changed

+761
-720
lines changed

Some content is hidden

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

58 files changed

+761
-720
lines changed

sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
### Other Changes
1313

14-
- Changed API version from 2022-05-01 to 2023-01-01.
14+
- Upgraded API version to 2023-01-01.
1515

1616
## 1.0.0 (2022-11-04)
1717

sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/api/Azure.ResourceManager.DataProtectionBackup.netstandard2.0.cs

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

sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/src/Customized/Models/BackupInstancePolicyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public IList<DataStoreSettings> DataStoreParametersList
2727
get
2828
{
2929
if (PolicyParameters is null)
30-
PolicyParameters = new PolicyParameters();
30+
PolicyParameters = new BackupInstancePolicySettings();
3131
return PolicyParameters.DataStoreParametersList;
3232
}
3333
}

sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/src/Customized/Models/DataProtectionBackupPatch.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ public DataProtectionBackupPatch()
2525
/// <summary> Input Managed Identity Details. </summary>
2626
public ManagedServiceIdentity Identity { get; set; }
2727
/// <summary> Resource properties. </summary>
28-
internal PatchBackupVaultInput Properties { get; set; }
28+
internal DataProtectionBackupVaultPatchProperties Properties { get; set; }
2929
/// <summary> Gets or sets the alert settings for all job failures. </summary>
3030
public AzureMonitorAlertsState? AlertSettingsForAllJobFailures
3131
{
3232
get => Properties is null ? default : Properties.AlertSettingsForAllJobFailures;
3333
set
3434
{
3535
if (Properties is null)
36-
Properties = new PatchBackupVaultInput();
36+
Properties = new DataProtectionBackupVaultPatchProperties();
3737
Properties.AlertSettingsForAllJobFailures = value;
3838
}
3939
}

sdk/dataprotection/Azure.ResourceManager.DataProtectionBackup/src/Generated/DataProtectionBackupVaultResource.cs

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)