Skip to content

Expose backup/restore operation status on poller objects #14169

@chlowell

Description

@chlowell

Currently the only way to get an operation's job ID from a poller is by examining the status object held by the polling method, for example:

backup_poller = backup_client.begin_full_backup(container_uri, sas_token)
job_id = backup_poller.polling_method().resource().id

It would be more ergonomic and discoverable if the poller itself exposed the ID, or even the entire status object. Looks like such a change would require subclassing LROPoller.

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.KeyVault

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions