RetryPolicy Class

RetryPolicy.

Inheritance
RetryPolicy

Constructor

RetryPolicy(*, retry_type=None, retry_interval=None, retry_count: Optional[int] = None, **kwargs)

Parameters

retry_type
str or RetryType
Required

Gets or sets the retry strategy to be used. Possible values include: 'None', 'Fixed'

retry_interval
<xref:timedelta>
Required

Gets or sets the retry interval between retries, specify duration in ISO 8601 format.

retry_count
int
Required

Gets or sets the number of times a retry should be attempted.