Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@uzaxirr
Copy link
Contributor

@uzaxirr uzaxirr commented May 13, 2025

\

… read, update, delete, and restore functionalities
@uzaxirr uzaxirr requested a review from Copilot May 13, 2025 11:24
@uzaxirr uzaxirr self-assigned this May 13, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces functionality for managing instance snapshots, including creating, retrieving, listing, updating, deleting, and restoring snapshots.

  • Added new types representing snapshots and their statuses.
  • Implemented API endpoint wrappers for snapshot management.

}

// RestoreInstanceSnapshot restores a snapshot of an instance
func (c *Client) RestoreInstanceSnapshot(instanceID, snapshotID string, params *RestoreInstanceSnapshotParams) (*ResourceSnapshotRestore, error) {
Copy link

Copilot AI May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding documentation or a code comment for the ResourceSnapshotRestore type to clarify its structure and usage, as it is used as the return type for the restore operation.

Copilot uses AI. Check for mistakes.
@uzaxirr uzaxirr merged commit 0a8c342 into master May 13, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants