你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Configuration Class

Provides the home for all of the configurable policies in the pipeline.

A new Configuration object provides no default policies and does not specify in what order the policies will be added to the pipeline. The SDK developer must specify each of the policy defaults as required by the service and use the policies in the Configuration to construct the pipeline correctly, as well as inserting any unexposed/non-configurable policies.

Constructor

Configuration(**kwargs: Any)

Keyword-Only Parameters

Name Description
polling_interval

Polling interval while doing LRO operations, if Retry-After is not set.

Variables

Name Description
headers_policy

Provides parameters for custom or additional headers to be sent with the request.

proxy_policy

Provides configuration parameters for proxy.

redirect_policy

Provides configuration parameters for redirects.

retry_policy

Provides configuration parameters for retries in the pipeline.

custom_hook_policy

Provides configuration parameters for a custom hook.

logging_policy

Provides configuration parameters for logging.

http_logging_policy

Provides configuration parameters for HTTP specific logging.

user_agent_policy

Provides configuration parameters to append custom values to the User-Agent header.

authentication_policy

Provides configuration parameters for adding a bearer token Authorization header to requests.

request_id_policy

Provides configuration parameters for adding a request id to requests.