Expand description
HTTP pipeline policies.
Structs§
- Bearer
Token Authorization Policy - Authentication policy for a bearer token.
- Client
Request IdPolicy - Adds a
x-ms-client-request-id(or custom) header to each request. - Public
ApiInstrumentation Information - Information about the public API being instrumented.
- Retry
Headers - Headers that may be used to determine how long to wait before retrying a request.
The boolean indicates if the header is a standard
Retry-Afterheader (true) or a service-specific header (false). - Retry
Policy Count - A wrapper around a retry count to be used in the context of a retry policy.
- Transport
Policy - The final pipeline policy that defines the HTTP transport.
- User
Agent Policy - Sets the
User-Agentheader with useful information in a typical format for Azure SDKs.
Traits§
- Policy
- A pipeline policy.
- Retry
Policy - A retry policy.
Functions§
- create_
public_ api_ span - Creates a span for the public API instrumentation policy.
- get_
retry_ after - Get the duration to delay between retry attempts, provided by the headers from the response.
Type Aliases§
- Policy
Result - A specialized
Resulttype for policies.