Compartilhar via


RetryPolicy Class

RetryPolicy.

Inheritance
msrest.serialization.Model
RetryPolicy

Constructor

RetryPolicy(*, retry_type: str | RetryType | None = None, retry_interval: timedelta | None = None, retry_count: int | None = None, **kwargs)

Parameters

Name Description
retry_type
Required

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

retry_interval
Required

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

retry_count
Required
int

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

Keyword-Only Parameters

Name Description
retry_type
Required
retry_interval
Required
retry_count
Required