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

Implement full vault backup and restore #13525

Merged
merged 5 commits into from
Sep 4, 2020
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
remove class alias to work around stubgen issue
chlowell committed Sep 4, 2020
commit c776a6d1284b2a7986032a643c2085901da0fac0
Original file line number Diff line number Diff line change
@@ -221,4 +221,14 @@ class RestoreOperation(_Operation):
"""


SelectiveKeyRestoreOperation = RestoreOperation
class SelectiveKeyRestoreOperation(_Operation):
"""A Key Vault operation restoring a single key.

:ivar str status: status of the backup operation
Copy link
Member

Choose a reason for hiding this comment

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

Same question about restore vs. backup operation

:ivar str status_details: more details of the operation's status
:ivar error: Error encountered, if any, during the operation
:type error: ~key_vault_client.models.Error
Copy link
Contributor

Choose a reason for hiding this comment

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

don't think this typing would render properly

Copy link
Member Author

Choose a reason for hiding this comment

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

Right you are. I copied it from the generated model. Fixing it depends on how we expose the error. I made this part of #13575.

:ivar datetime.datetime start_time: UTC start time of the operation
:ivar datetime.datetime end_time: UTC end time of the operation
:ivar str job_id: identifier for the operation
"""