RetryOptions Class
Retry Options.
Defines retry policies that can be passed as parameters to various operations.
- Inheritance
-
builtins.objectRetryOptions
Constructor
RetryOptions(first_retry_interval_in_milliseconds: int, max_number_of_attempts: int)
Parameters
Name | Description |
---|---|
first_retry_interval_in_milliseconds
Required
|
|
max_number_of_attempts
Required
|
|
Methods
to_json |
Convert object into a json dictionary. |
to_json
Convert object into a json dictionary.
to_json() -> Dict[str, int | str]
Returns
Type | Description |
---|---|
The instance of the class converted into a json dictionary |
Attributes
first_retry_interval_in_milliseconds
Get the first retry interval (ms).
Must be greater than 0
Returns
Type | Description |
---|---|
The value indicating the first retry interval |
max_number_of_attempts
Get Max Number of Attempts.
Returns
Type | Description |
---|---|
Value indicating the max number of attempts to retry |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for