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

Figure out a way to hide SnapshotUpdateParameters from UpdateSnapshot and split it into two separate convenience methods: Archive and Recover #6343

Open
ahsonkhan opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
App Configuration Azure.ApplicationModel.Configuration
Milestone

Comments

@ahsonkhan
Copy link
Member

The UpdateSnapshot method needs to be hidden and split into two separate convenience methods: Archive and Recover.
These APIs need to be hand-written wrappers on top of UpdateSnapshot to hide the complexity of setting up a SnapshotUpdateParameters from the end-user:

Response<UpdateSnapshotResult> UpdateSnapshot(
UpdateSnapshotRequestContentType const& contentType,
std::string const& name,
std::string const& accept,
SnapshotUpdateParameters const& entity,
UpdateSnapshotOptions const& options = {},
Core::Context const& context = {}) const;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Configuration Azure.ApplicationModel.Configuration
Projects
None yet
Development

No branches or pull requests

1 participant