This resource provides the Consumer Group resource in Oracle Cloud Infrastructure Queue service.
Creates a new consumer group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testConsumerGroup = new oci.queue.ConsumerGroup("test_consumer_group", {
displayName: consumerGroupDisplayName,
queueId: testQueue.id,
consumerGroupFilter: consumerGroupConsumerGroupFilter,
deadLetterQueueDeliveryCount: consumerGroupDeadLetterQueueDeliveryCount,
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
isEnabled: consumerGroupIsEnabled,
});
import pulumi
import pulumi_oci as oci
test_consumer_group = oci.queue.ConsumerGroup("test_consumer_group",
display_name=consumer_group_display_name,
queue_id=test_queue["id"],
consumer_group_filter=consumer_group_consumer_group_filter,
dead_letter_queue_delivery_count=consumer_group_dead_letter_queue_delivery_count,
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
is_enabled=consumer_group_is_enabled)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/queue"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := queue.NewConsumerGroup(ctx, "test_consumer_group", &queue.ConsumerGroupArgs{
DisplayName: pulumi.Any(consumerGroupDisplayName),
QueueId: pulumi.Any(testQueue.Id),
ConsumerGroupFilter: pulumi.Any(consumerGroupConsumerGroupFilter),
DeadLetterQueueDeliveryCount: pulumi.Any(consumerGroupDeadLetterQueueDeliveryCount),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
IsEnabled: pulumi.Any(consumerGroupIsEnabled),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testConsumerGroup = new Oci.Queue.ConsumerGroup("test_consumer_group", new()
{
DisplayName = consumerGroupDisplayName,
QueueId = testQueue.Id,
ConsumerGroupFilter = consumerGroupConsumerGroupFilter,
DeadLetterQueueDeliveryCount = consumerGroupDeadLetterQueueDeliveryCount,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
IsEnabled = consumerGroupIsEnabled,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Queue.ConsumerGroup;
import com.pulumi.oci.Queue.ConsumerGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testConsumerGroup = new ConsumerGroup("testConsumerGroup", ConsumerGroupArgs.builder()
.displayName(consumerGroupDisplayName)
.queueId(testQueue.id())
.consumerGroupFilter(consumerGroupConsumerGroupFilter)
.deadLetterQueueDeliveryCount(consumerGroupDeadLetterQueueDeliveryCount)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.isEnabled(consumerGroupIsEnabled)
.build());
}
}
resources:
testConsumerGroup:
type: oci:Queue:ConsumerGroup
name: test_consumer_group
properties:
displayName: ${consumerGroupDisplayName}
queueId: ${testQueue.id}
consumerGroupFilter: ${consumerGroupConsumerGroupFilter}
deadLetterQueueDeliveryCount: ${consumerGroupDeadLetterQueueDeliveryCount}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
isEnabled: ${consumerGroupIsEnabled}
Create ConsumerGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConsumerGroup(name: string, args: ConsumerGroupArgs, opts?: CustomResourceOptions);@overload
def ConsumerGroup(resource_name: str,
args: ConsumerGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConsumerGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
queue_id: Optional[str] = None,
consumer_group_filter: Optional[str] = None,
dead_letter_queue_delivery_count: Optional[int] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_enabled: Optional[bool] = None)func NewConsumerGroup(ctx *Context, name string, args ConsumerGroupArgs, opts ...ResourceOption) (*ConsumerGroup, error)public ConsumerGroup(string name, ConsumerGroupArgs args, CustomResourceOptions? opts = null)
public ConsumerGroup(String name, ConsumerGroupArgs args)
public ConsumerGroup(String name, ConsumerGroupArgs args, CustomResourceOptions options)
type: oci:Queue:ConsumerGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConsumerGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConsumerGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConsumerGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConsumerGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConsumerGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var consumerGroupResource = new Oci.Queue.ConsumerGroup("consumerGroupResource", new()
{
DisplayName = "string",
QueueId = "string",
ConsumerGroupFilter = "string",
DeadLetterQueueDeliveryCount = 0,
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
IsEnabled = false,
});
example, err := queue.NewConsumerGroup(ctx, "consumerGroupResource", &queue.ConsumerGroupArgs{
DisplayName: pulumi.String("string"),
QueueId: pulumi.String("string"),
ConsumerGroupFilter: pulumi.String("string"),
DeadLetterQueueDeliveryCount: pulumi.Int(0),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
})
var consumerGroupResource = new ConsumerGroup("consumerGroupResource", ConsumerGroupArgs.builder()
.displayName("string")
.queueId("string")
.consumerGroupFilter("string")
.deadLetterQueueDeliveryCount(0)
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.isEnabled(false)
.build());
consumer_group_resource = oci.queue.ConsumerGroup("consumerGroupResource",
display_name="string",
queue_id="string",
consumer_group_filter="string",
dead_letter_queue_delivery_count=0,
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
is_enabled=False)
const consumerGroupResource = new oci.queue.ConsumerGroup("consumerGroupResource", {
displayName: "string",
queueId: "string",
consumerGroupFilter: "string",
deadLetterQueueDeliveryCount: 0,
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
isEnabled: false,
});
type: oci:Queue:ConsumerGroup
properties:
consumerGroupFilter: string
deadLetterQueueDeliveryCount: 0
definedTags:
string: string
displayName: string
freeformTags:
string: string
isEnabled: false
queueId: string
ConsumerGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConsumerGroup resource accepts the following input properties:
- Display
Name string - (Updatable) The user-friendly name of the consumer group.
- Queue
Id string The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Consumer
Group stringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- Dead
Letter intQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Is
Enabled bool - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- Display
Name string - (Updatable) The user-friendly name of the consumer group.
- Queue
Id string The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Consumer
Group stringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- Dead
Letter intQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Is
Enabled bool - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- display
Name String - (Updatable) The user-friendly name of the consumer group.
- queue
Id String The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- consumer
Group StringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- dead
Letter IntegerQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is
Enabled Boolean - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- display
Name string - (Updatable) The user-friendly name of the consumer group.
- queue
Id string The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- consumer
Group stringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- dead
Letter numberQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is
Enabled boolean - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- display_
name str - (Updatable) The user-friendly name of the consumer group.
- queue_
id str The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- consumer_
group_ strfilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- dead_
letter_ intqueue_ delivery_ count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is_
enabled bool - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- display
Name String - (Updatable) The user-friendly name of the consumer group.
- queue
Id String The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- consumer
Group StringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- dead
Letter NumberQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is
Enabled Boolean - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConsumerGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Any additional details about the current state of the consumer group.
- State string
- The current state of the consumer group.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - Time
Updated string - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Any additional details about the current state of the consumer group.
- State string
- The current state of the consumer group.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - Time
Updated string - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Any additional details about the current state of the consumer group.
- state String
- The current state of the consumer group.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - time
Updated String - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Any additional details about the current state of the consumer group.
- state string
- The current state of the consumer group.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - time
Updated string - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - Any additional details about the current state of the consumer group.
- state str
- The current state of the consumer group.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - time_
updated str - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Any additional details about the current state of the consumer group.
- state String
- The current state of the consumer group.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - time
Updated String - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
Look up Existing ConsumerGroup Resource
Get an existing ConsumerGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConsumerGroupState, opts?: CustomResourceOptions): ConsumerGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
consumer_group_filter: Optional[str] = None,
dead_letter_queue_delivery_count: Optional[int] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_enabled: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
queue_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> ConsumerGroupfunc GetConsumerGroup(ctx *Context, name string, id IDInput, state *ConsumerGroupState, opts ...ResourceOption) (*ConsumerGroup, error)public static ConsumerGroup Get(string name, Input<string> id, ConsumerGroupState? state, CustomResourceOptions? opts = null)public static ConsumerGroup get(String name, Output<String> id, ConsumerGroupState state, CustomResourceOptions options)resources: _: type: oci:Queue:ConsumerGroup get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Consumer
Group stringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- Dead
Letter intQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - (Updatable) The user-friendly name of the consumer group.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Is
Enabled bool - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- Lifecycle
Details string - Any additional details about the current state of the consumer group.
- Queue
Id string The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
- The current state of the consumer group.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - Time
Updated string - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- Consumer
Group stringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- Dead
Letter intQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - (Updatable) The user-friendly name of the consumer group.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Is
Enabled bool - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- Lifecycle
Details string - Any additional details about the current state of the consumer group.
- Queue
Id string The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- State string
- The current state of the consumer group.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - Time
Updated string - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- consumer
Group StringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- dead
Letter IntegerQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - (Updatable) The user-friendly name of the consumer group.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is
Enabled Boolean - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- lifecycle
Details String - Any additional details about the current state of the consumer group.
- queue
Id String The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
- The current state of the consumer group.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - time
Updated String - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- consumer
Group stringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- dead
Letter numberQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name string - (Updatable) The user-friendly name of the consumer group.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is
Enabled boolean - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- lifecycle
Details string - Any additional details about the current state of the consumer group.
- queue
Id string The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state string
- The current state of the consumer group.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - time
Updated string - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- consumer_
group_ strfilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- dead_
letter_ intqueue_ delivery_ count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display_
name str - (Updatable) The user-friendly name of the consumer group.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is_
enabled bool - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- lifecycle_
details str - Any additional details about the current state of the consumer group.
- queue_
id str The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state str
- The current state of the consumer group.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - time_
updated str - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
- consumer
Group StringFilter - (Updatable) The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group. The primary consumer group cannot have any filter.
- dead
Letter NumberQueue Delivery Count - (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. If the value isn't specified, it will be using the value defined at the queue level.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - (Updatable) The user-friendly name of the consumer group.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - is
Enabled Boolean - (Updatable) Used to enable or disable the consumer group. An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
- lifecycle
Details String - Any additional details about the current state of the consumer group.
- queue
Id String The OCID of the associated queue.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- state String
- The current state of the consumer group.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time that the consumer group was created, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z - time
Updated String - The time that the consumer group was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-20T00:00:07.405Z
Import
ConsumerGroups can be imported using the id, e.g.
$ pulumi import oci:Queue/consumerGroup:ConsumerGroup test_consumer_group "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
