You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Purging the queue immediately after create if requried. We are using the purge queue optional parameter
37
+
# Purging the queue immediately after create if required. Queue is purged if purge trigger is set to any integer value. We are using the purge trigger and purge type optional parameter.
38
+
# We are purging the queue immediately after create.
36
39
resource"oci_queue_queue""test_queue2" {
37
40
#Required
38
41
compartment_id=var.compartment_id
39
42
display_name=var.queue_display_name
40
43
41
44
#Optional
42
-
purge_queue=true
45
+
purge_trigger=1
43
46
purge_type="normal"
44
47
45
48
}
46
49
47
-
# Normal queue creation if purge queue parameter is set to false. This will not trigger the purge queue operation. In addition, presence of purge type if purge queue is false or absent is a no-op.
50
+
# Normal queue creation if purge trigger parameter is unset. This will not trigger the purge queue operation. In addition, presence of purge type if purge trigger is unset is a no-op.
@@ -48,7 +50,7 @@ The following arguments are supported:
48
50
*`timeout_in_seconds` - (Optional) (Updatable) The default polling timeout of the messages in the queue, in seconds.
49
51
*`visibility_in_seconds` - (Optional) (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds.
50
52
*`purge_trigger` - (Optional) (Updatable) An optional property when incremented triggers Purge. Could be set to any integer value.
51
-
53
+
*`purge_type` - (Optional) (Updatable) An optional value that specifies the purge behavior for the Queue. Could be set to NORMAL, DLQ or BOTH. If unset, the default value is NORMAL
52
54
53
55
** IMPORTANT **
54
56
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
0 commit comments