job_status
Certain Rubrik operations (on-demand snapshots, live mounts, etc.) may not complete instantaneously. In those cases we have the ability to monitor the status of the job through a job status url provided in the actions API response body. This function will perform a GET operation on the provided url and return the jobs status.
Arguments
Name
Type
Description
Choices
url
str
The job status URL provided by a previous API call.
Keyword Arguments
Name
Type
Description
Choices
Default
wait_for_completion
bool
Flag that determines if the method should wait for the job to complete before exiting.
True
timeout
int
The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error.
15
Returns
Type
Return Value
dict
The response body of the API call.
Example
Last updated