package body
import "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/pollers/body"
Index ¶
Constants ¶
const Kind = "Body"
Kind is the identifier of this type in a resume token.
Functions ¶
func Applicable ¶
Applicable returns true if the LRO is using no headers, just provisioning state. This is only applicable to PATCH and PUT methods and assumes no polling headers.
Types ¶
type Poller ¶
type Poller struct { // The poller's type, used for resume token processing. Type string `json:"type"` // The URL for polling. PollURL string `json:"pollURL"` // The LRO's current state. CurState string `json:"state"` }
Poller is an LRO poller that uses the Body pattern.
func New ¶
New creates a new Poller from the provided initial response.
func (*Poller) Done ¶
Done returns true if the LRO has reached a terminal state.
func (*Poller) FinalGetURL ¶
FinalGetURL returns the empty string as no final GET is required for this poller type.
func (*Poller) Status ¶
Status returns the status of the LRO.
func (*Poller) URL ¶
URL returns the polling URL.
func (*Poller) Update ¶
Update updates the Poller from the polling response.
Source Files ¶
- Version
- v0.22.0
- Published
- Mar 3, 2022
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 5 minutes ago –
Tools for package owners.