func (f Future) Status() string {
	if f.ps.State == "" {
		return "Unknown"
	}
	return f.ps.State
}
Status returns the last status message of the operation.
package azure
import (
	"bytes"
	"context"
	"encoding/json"
	"fmt"
	"io/ioutil"
	"net/http"
	"strings"
	"time"
	"github.com/Azure/go-autorest/autorest"
	"github.com/Azure/go-autorest/autorest/date"
)
const (
	headerAsyncOperation = "Azure-AsyncOperation"
)
const (
	operationInProgress string = "InProgress"
	operationCanceled   string = "Canceled"
	operationFailed     string = "Failed"
	operationSucceeded  string = "Succeeded"
)
var pollingCodes = [...]int{http.StatusAccepted, http.StatusCreated, http.StatusOK}
type Future struct {
	req  *http.Request
	resp *http.Response
	ps   pollingState
}
func NewFuture(req *http.Request) Future {
	return Future{req: req}
}
func (f Future) Response() *http.Response {
	return f.resp
}