Package com.pulumi.gcp.cloudtasks.inputs
Class QueueRetryConfigArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.cloudtasks.inputs.QueueRetryConfigArgs
-
public final class QueueRetryConfigArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueueRetryConfigArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static QueueRetryConfigArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueueRetryConfigArgs.Builder
builder()
static QueueRetryConfigArgs.Builder
builder(QueueRetryConfigArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxAttempts()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
maxBackoff()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxDoublings()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
maxRetryDuration()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
minBackoff()
-
-
-
Field Detail
-
Empty
public static final QueueRetryConfigArgs Empty
-
-
Method Detail
-
maxAttempts
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxAttempts()
- Returns:
- Number of attempts per task. Cloud Tasks will attempt the task maxAttempts times (that is, if the first attempt fails, then there will be maxAttempts - 1 retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts.
-
maxBackoff
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxBackoff()
- Returns:
- A task will be scheduled for retry between minBackoff and maxBackoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.
-
maxDoublings
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxDoublings()
- Returns:
- The time between retries will double maxDoublings times. A task's retry interval starts at minBackoff, then doubles maxDoublings times, then increases linearly, and finally retries retries at intervals of maxBackoff up to maxAttempts times.
-
maxRetryDuration
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxRetryDuration()
- Returns:
- If positive, maxRetryDuration specifies the time limit for retrying a failed task, measured from when the task was first attempted. Once maxRetryDuration time has passed and the task has been attempted maxAttempts times, no further attempts will be made and the task will be deleted. If zero, then the task age is unlimited.
-
minBackoff
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> minBackoff()
- Returns:
- A task will be scheduled for retry between minBackoff and maxBackoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.
-
builder
public static QueueRetryConfigArgs.Builder builder()
-
builder
public static QueueRetryConfigArgs.Builder builder(QueueRetryConfigArgs defaults)
-
-