Skip to content

[Enhancement] py42 get status of jobId #397

Description

@pboushy

Summary

I can't find any way to get the current status of a job kicked off by archive.stream_to_device, it'd be really nice to have a method like archive.job_status(jobId)

Proposed API

sdk.archive.job_status(jobId)
you pass it a jobId from a previous archive.stream_to_device() call, and it returns a response with the same json blob or better as the stream_to_device result does.

Intended Use Case

Allow scheduled jobs to check the status of an initiated restore.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions