The type of the getLROStatusFromResponse method. It takes the response as input and returns along the response whether the operation has finished.
The type of which LRO implementation being followed by a specific API.
The potential location of the result of the LRO if specified by the LRO extension in the swagger.
The type of an LRO state which is a tagged union of terminal and in-progress states.
PollProgressCallback
Type of a polling operation state that can actually be resumed.
creates a stepping function that maps an LRO state to another.
Creates a callback to be used to initialize the polling operation state.
of the polling operation
callback that initializes the state of the polling operation
Creates a polling operation.
Detects where the continuation token is and returns it. Notice that azure-asyncoperation must be checked first before the other location headers because there are scenarios where both azure-asyncoperation and location could be present in the same response but azure-asyncoperation should be the one to use for polling.
Creates a polling strategy based on BodyPolling which uses the provisioning state from the result to determine the current operation state
Sends a request to the URI of the provisioned resource if needed.
Generated using TypeDoc
CancelOnProgress is used as the return value of a Poller's onProgress method. When a user invokes onProgress, they're required to pass in a function that will be called as a callback with the new data received each time the poll operation is updated. onProgress returns a function that will prevent any further update to reach the original callback.