Class CreateQueueDetails
The information about a new queue.
Inherited Members
Namespace: Oci.QueueService.Models
Assembly: OCI.DotNetSDK.Queue.dll
Syntax
public class CreateQueueDetails
Properties
ChannelConsumptionLimit
Declaration
[JsonProperty(PropertyName = "channelConsumptionLimit")]
public int? ChannelConsumptionLimit { get; set; }
Property Value
Type | Description |
---|---|
int? | The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment containing the queue. |
Remarks
Required
CustomEncryptionKeyId
Declaration
[JsonProperty(PropertyName = "customEncryptionKeyId")]
public string CustomEncryptionKeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the custom encryption key to be used to encrypt messages content. |
DeadLetterQueueDeliveryCount
Declaration
[JsonProperty(PropertyName = "deadLetterQueueDeliveryCount")]
public int? DeadLetterQueueDeliveryCount { get; set; }
Property Value
Type | Description |
---|---|
int? | 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. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The user-friendly name of the queue. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
RetentionInSeconds
Declaration
[JsonProperty(PropertyName = "retentionInSeconds")]
public int? RetentionInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | The retention period of messages in the queue, in seconds. |
TimeoutInSeconds
Declaration
[JsonProperty(PropertyName = "timeoutInSeconds")]
public int? TimeoutInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | The default polling timeout of the messages in the queue, in seconds. |
VisibilityInSeconds
Declaration
[JsonProperty(PropertyName = "visibilityInSeconds")]
public int? VisibilityInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | The default visibility timeout of the messages consumed from the queue, in seconds. |