Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert the property policyId of type ResourceIdentifier to type String in ProtectedItem. #47618

Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

### Bugs Fixed

Convert the property policyId of type ResourceIdentifier to type String in ProtectedItem. Issue at https://github.com/Azure/azure-sdk-for-net/issues/47381

### Other Changes

## 1.2.0 (2024-01-03)
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the MIT License.

using System.ComponentModel;
using Azure.Core;

namespace Azure.ResourceManager.RecoveryServicesBackup.Models
{
Expand All @@ -20,5 +21,13 @@ public int? SoftDeleteRetentionPeriod
SoftDeleteRetentionPeriodInDays = value;
}
}

/// <summary> ID of the backup policy with which this item is backed up. </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public ResourceIdentifier PolicyId
{
get => string.IsNullOrEmpty(PolicyStringId) ? null : new ResourceIdentifier(PolicyId);
set => PolicyId = new ResourceIdentifier(PolicyStringId);
mcgallan marked this conversation as resolved.
Show resolved Hide resolved
}
}
}

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading