# Functions
DecodeByteArray will base-64 decode the provided string into v.
Drain reads the response body to completion then closes it.
EncodeByteArray will base-64 encode the byte slice v.
EncodeQueryParams will parse and encode any query parameters in the specified URL.
FetcherForNextLink is a helper containing boilerplate code to simplify creating a PagingHandler[T].Fetcher from a next link URL.
HasStatusCode returns true if the Response's status code is one of the specified values.
JoinPaths concatenates multiple URL path segments into one path, inserting path separation characters as required.
MarshalAsByteArray will base-64 encode the byte slice v, then calls SetBody.
MarshalAsJSON calls json.Marshal() to get the JSON encoding of v then calls SetBody.
MarshalAsXML calls xml.Marshal() to get the XML encoding of v then calls SetBody.
NewBearerTokenPolicy creates a policy object that authorizes requests with bearer tokens.
NewKeyCredentialPolicy creates a new instance of [KeyCredentialPolicy].
NewLogPolicy creates a request/response logging policy object configured using the specified options.
NewPager creates an instance of Pager using the specified PagingHandler.
NewPipeline creates a pipeline from connection options, with any additional policies as specified.
NewPoller creates a Poller based on the provided initial response.
NewPollerFromResumeToken creates a Poller from a resume token string.
NewRequest creates a new policy.Request with the specified input.
NewRequestFromRequest creates a new policy.Request with an existing *http.Request.
NewRequestIDPolicy returns a policy that add the x-ms-client-request-id header.
NewResponseError creates an *azcore.ResponseError from the provided HTTP response.
NewResponseErrorWithErrorCode creates an *azcore.ResponseError from the provided HTTP response and errorCode.
NewRetryPolicy creates a policy object configured using the specified options.
NewSASCredentialPolicy creates a new instance of [SASCredentialPolicy].
NewTelemetryPolicy creates a telemetry policy object that adds telemetry information to outgoing HTTP requests.
NewUUID returns a new UUID using the RFC4122 algorithm.
Payload reads and returns the response body or an error.
SetMultipartFormData writes the specified keys/values as multi-part form fields with the specified value.
SkipBodyDownload will disable automatic downloading of the response body.
StartSpan starts a new tracing span.
UnmarshalAsByteArray will base-64 decode the received payload and place the result into the value pointed to by v.
UnmarshalAsJSON calls json.Unmarshal() to unmarshal the received payload into the value pointed to by v.
UnmarshalAsXML calls xml.Unmarshal() to unmarshal the received payload into the value pointed to by v.
WithCaptureResponse applies the HTTP response retrieval annotation to the parent context.
WithHTTPHeader adds the specified http.Header to the parent context.
WithRetryOptions adds the specified RetryOptions to the parent context.
# Constants
APIVersionLocationHeader indicates a header.
APIVersionLocationQueryParam indicates a query parameter.
Base64StdFormat uses base64.StdEncoding for encoding and decoding payloads.
Base64URLFormat uses base64.RawURLEncoding for encoding and decoding payloads.
FinalStateViaAzureAsyncOp indicates the final payload comes from the Azure-AsyncOperation URL.
FinalStateViaLocation indicates the final payload comes from the Location URL.
FinalStateViaOpLocation indicates the final payload comes from the Operation-Location URL.
FinalStateViaOriginalURI indicates the final payload comes from the original URL.
# Structs
APIVersionOptions contains options for API versions.
BearerTokenPolicy authorizes requests with bearer tokens acquired from a TokenCredential.
FetcherForNextLinkOptions contains the optional values for [FetcherForNextLink].
KeyCredentialPolicy authorizes requests with a [azcore.KeyCredential].
KeyCredentialPolicyOptions contains the optional values configuring [KeyCredentialPolicy].
NewPollerFromResumeTokenOptions contains the optional parameters for NewPollerFromResumeToken.
NewPollerOptions contains the optional parameters for NewPoller.
Pager provides operations for iterating over paged responses.
PagingHandler contains the required data for constructing a Pager.
PipelineOptions contains Pipeline options for SDK developers.
Poller encapsulates a long-running operation, providing polling facilities until the operation reaches a terminal state.
PollUntilDoneOptions contains the optional values for the Poller[T].PollUntilDone() method.
SASCredentialPolicy authorizes requests with a [azcore.SASCredential].
SASCredentialPolicyOptions contains the optional values configuring [SASCredentialPolicy].
StartSpanOptions contains the optional values for StartSpan.
TracingOptions contains tracing options for SDK developers.
# Interfaces
PollingHandler[T] abstracts the differences among poller implementations.
# Type aliases
APIVersionLocation indicates which part of a request identifies the service version.
Base64Encoding is usesd to specify which base-64 encoder/decoder to use when encoding/decoding a slice of bytes to/from a string.
CtxAPINameKey is used as a context key for adding/retrieving the API name.
FinalStateVia is the enumerated type for the possible final-state-via values.
Pipeline represents a primitive for sending HTTP requests and receiving responses.