From 55f52b1611ebd013c0d1e1acdd8d9fa287985bf2 Mon Sep 17 00:00:00 2001 From: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com> Date: Wed, 13 Sep 2023 21:23:01 +0000 Subject: [PATCH] backport of commit 27d647f97ac1393a7fd2ba1135772c5bc5ebc193 --- changelog/23059.txt | 3 +++ website/content/api-docs/auth/azure.mdx | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 changelog/23059.txt diff --git a/changelog/23059.txt b/changelog/23059.txt new file mode 100644 index 000000000000..96a2dc461208 --- /dev/null +++ b/changelog/23059.txt @@ -0,0 +1,3 @@ +```release-note:improvement +auth/azure: Added Azure API configurable retry options +``` diff --git a/website/content/api-docs/auth/azure.mdx b/website/content/api-docs/auth/azure.mdx index 949d933bd3ee..3f8eef4e2a57 100644 --- a/website/content/api-docs/auth/azure.mdx +++ b/website/content/api-docs/auth/azure.mdx @@ -41,6 +41,10 @@ virtual machine. This value can also be provided with the `AZURE_CLIENT_ID` environment variable. - `client_secret` `(string: '')` - The client secret for credentials to query the Azure APIs. This value can also be provided with the `AZURE_CLIENT_SECRET` environment variable. +- `max_retries` `(int: 3)` - The maximum number of attempts a failed operation will be + retried before producing an error. +- `max_retry_delay` `(string: '60s')` - The maximum delay, in seconds, allowed before retrying an operation. +- `retry_delay` `(string: '4s')` - The initial amount of delay, in seconds, to use before retrying an operation. Increases exponentially. ### Sample payload