Package version:

Storage Blob retry options interface.

interface StorageRetryOptions {
    maxRetryDelayInMs?: number;
    maxTries?: number;
    retryDelayInMs?: number;
    retryPolicyType?: StorageRetryPolicyType;
    tryTimeoutInMs?: number;
}

Properties

maxRetryDelayInMs?: number

Optional. Specifies the maximum delay allowed before retrying an operation (default is 120s or 120 * 1000ms). If you specify 0, then you must also specify 0 for retryDelayInMs.

maxTries?: number

Optional. Max try number of attempts, default is 4. A value of 1 means 1 try and no retries. A value smaller than 1 means default retry number of attempts.

retryDelayInMs?: number

Optional. Specifies the amount of delay to use before retrying an operation (default is 4s or 4 * 1000ms). The delay increases (exponentially or linearly) with each retry up to a maximum specified by maxRetryDelayInMs. If you specify 0, then you must also specify 0 for maxRetryDelayInMs.

retryPolicyType?: StorageRetryPolicyType

Optional. StorageRetryPolicyType, default is exponential retry policy.

tryTimeoutInMs?: number

Optional. Indicates the maximum time in ms allowed for any single try of an HTTP request. A value of zero or undefined means no default timeout on SDK client, Azure Storage server's default timeout policy will be used.