AdditionalPolicyConfig interface

Used to configure additional policies added to the pipeline at construction.

Properties

policy

A policy to be added.

position

Determines if this policy be applied before or after retry logic. Only use perRetry if you need to modify the request again each time the operation is retried due to retryable service issues.

Property Details

policy

A policy to be added.

policy: PipelinePolicy

Property Value

position

Determines if this policy be applied before or after retry logic. Only use perRetry if you need to modify the request again each time the operation is retried due to retryable service issues.

position: "perCall" | "perRetry"

Property Value

"perCall" | "perRetry"