@@ -97,6 +97,14 @@ export enum CloseReason {
9797 * - `webSocketConstructorOptions` : Options to pass to the Websocket constructor when you choose to make the connection
9898 * over a WebSocket.
9999 * - `retryOptions` : The retry options for all the operations on the client/producer/consumer.
100+ * - `maxRetries` : The number of times the operation can be retried in case of a retryable error.
101+ * - `maxRetryDelayInMs`: The maximum delay between retries. Applicable only when performing exponential retries.
102+ * - `mode`: Which retry mode to apply, specified by the `RetryMode` enum. Options are `Exponential` and `Fixed`. Defaults to `Fixed`.
103+ * - `retryDelayInMs`: Amount of time to wait in milliseconds before making the next attempt. When `mode` is set to `Exponential`,
104+ * this is used to compute the exponentially increasing delays between retries. Default: 30000 milliseconds.
105+ * - `timeoutInMs`: Amount of time in milliseconds to wait before the operation times out. This will trigger a retry if there are any
106+ * retry attempts remaining. Minimum value: 60000 milliseconds.
107+ *
100108 * A simple usage can be `{ "maxRetries": 4 }`.
101109 *
102110 * Example usage:
@@ -121,6 +129,7 @@ export interface EventHubClientOptions {
121129 /**
122130 * Options to configure the retry policy for all the operations on the client.
123131 * For example, `{ "maxRetries": 4 }` or `{ "maxRetries": 4, "retryDelayInMs": 30000 }`.
132+ *
124133 */
125134 retryOptions ?: RetryOptions ;
126135 /**
@@ -143,7 +152,15 @@ export interface EventHubClientOptions {
143152 * over a WebSocket.
144153 * - `webSocketConstructorOptions` : Options to pass to the Websocket constructor when you choose to make the connection
145154 * over a WebSocket.
146- * - `retryOptions` : The retry options for all the operations on the EventHubConsumerClient.
155+ * - `retryOptions` : The retry options for all the operations on the client/producer/consumer.
156+ * - `maxRetries` : The number of times the operation can be retried in case of a retryable error.
157+ * - `maxRetryDelayInMs`: The maximum delay between retries. Applicable only when performing exponential retries.
158+ * - `mode`: Which retry mode to apply, specified by the `RetryMode` enum. Options are `Exponential` and `Fixed`. Defaults to `Fixed`.
159+ * - `retryDelayInMs`: Amount of time to wait in milliseconds before making the next attempt. When `mode` is set to `Exponential`,
160+ * this is used to compute the exponentially increasing delays between retries. Default: 30000 milliseconds.
161+ * - `timeoutInMs`: Amount of time in milliseconds to wait before the operation times out. This will trigger a retry if there are any
162+ * retry attempts remaining. Minimum value: 60000 milliseconds.
163+ *
147164 * A simple usage can be `{ "maxRetries": 4 }`.
148165 *
149166 * Example usage:
0 commit comments