Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Applicable ¶
Applicable returns true if the LRO is using Azure-AsyncOperation.
Types ¶
type Poller ¶
type Poller struct { // The poller's type, used for resume token processing. Type string `json:"type"` // The URL from Azure-AsyncOperation header. AsyncURL string `json:"asyncURL"` // The URL from Location header. LocURL string `json:"locURL"` // The URL from the initial LRO request. OrigURL string `json:"origURL"` // The HTTP method from the initial LRO request. Method string `json:"method"` // The value of final-state-via from swagger, can be the empty string. FinalState string `json:"finalState"` // The LRO's current state. CurState string `json:"state"` }
Poller is an LRO poller that uses the Azure-AsyncOperation pattern.
func (*Poller) FinalGetURL ¶
FinalGetURL returns the URL to perform a final GET for the payload, or the empty string if not required.
Click to show internal directories.
Click to hide internal directories.