Documentation
¶
Index ¶
- type GetQueuesArgs
- type GetQueuesFilter
- type GetQueuesFilterArgs
- type GetQueuesFilterArray
- type GetQueuesFilterArrayInput
- type GetQueuesFilterArrayOutput
- func (GetQueuesFilterArrayOutput) ElementType() reflect.Type
- func (o GetQueuesFilterArrayOutput) Index(i pulumi.IntInput) GetQueuesFilterOutput
- func (o GetQueuesFilterArrayOutput) ToGetQueuesFilterArrayOutput() GetQueuesFilterArrayOutput
- func (o GetQueuesFilterArrayOutput) ToGetQueuesFilterArrayOutputWithContext(ctx context.Context) GetQueuesFilterArrayOutput
- type GetQueuesFilterInput
- type GetQueuesFilterOutput
- func (GetQueuesFilterOutput) ElementType() reflect.Type
- func (o GetQueuesFilterOutput) Name() pulumi.StringOutput
- func (o GetQueuesFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetQueuesFilterOutput) ToGetQueuesFilterOutput() GetQueuesFilterOutput
- func (o GetQueuesFilterOutput) ToGetQueuesFilterOutputWithContext(ctx context.Context) GetQueuesFilterOutput
- func (o GetQueuesFilterOutput) Values() pulumi.StringArrayOutput
- type GetQueuesOutputArgs
- type GetQueuesQueueCollection
- type GetQueuesQueueCollectionArgs
- func (GetQueuesQueueCollectionArgs) ElementType() reflect.Type
- func (i GetQueuesQueueCollectionArgs) ToGetQueuesQueueCollectionOutput() GetQueuesQueueCollectionOutput
- func (i GetQueuesQueueCollectionArgs) ToGetQueuesQueueCollectionOutputWithContext(ctx context.Context) GetQueuesQueueCollectionOutput
- type GetQueuesQueueCollectionArray
- func (GetQueuesQueueCollectionArray) ElementType() reflect.Type
- func (i GetQueuesQueueCollectionArray) ToGetQueuesQueueCollectionArrayOutput() GetQueuesQueueCollectionArrayOutput
- func (i GetQueuesQueueCollectionArray) ToGetQueuesQueueCollectionArrayOutputWithContext(ctx context.Context) GetQueuesQueueCollectionArrayOutput
- type GetQueuesQueueCollectionArrayInput
- type GetQueuesQueueCollectionArrayOutput
- func (GetQueuesQueueCollectionArrayOutput) ElementType() reflect.Type
- func (o GetQueuesQueueCollectionArrayOutput) Index(i pulumi.IntInput) GetQueuesQueueCollectionOutput
- func (o GetQueuesQueueCollectionArrayOutput) ToGetQueuesQueueCollectionArrayOutput() GetQueuesQueueCollectionArrayOutput
- func (o GetQueuesQueueCollectionArrayOutput) ToGetQueuesQueueCollectionArrayOutputWithContext(ctx context.Context) GetQueuesQueueCollectionArrayOutput
- type GetQueuesQueueCollectionInput
- type GetQueuesQueueCollectionItem
- type GetQueuesQueueCollectionItemArgs
- func (GetQueuesQueueCollectionItemArgs) ElementType() reflect.Type
- func (i GetQueuesQueueCollectionItemArgs) ToGetQueuesQueueCollectionItemOutput() GetQueuesQueueCollectionItemOutput
- func (i GetQueuesQueueCollectionItemArgs) ToGetQueuesQueueCollectionItemOutputWithContext(ctx context.Context) GetQueuesQueueCollectionItemOutput
- type GetQueuesQueueCollectionItemArray
- func (GetQueuesQueueCollectionItemArray) ElementType() reflect.Type
- func (i GetQueuesQueueCollectionItemArray) ToGetQueuesQueueCollectionItemArrayOutput() GetQueuesQueueCollectionItemArrayOutput
- func (i GetQueuesQueueCollectionItemArray) ToGetQueuesQueueCollectionItemArrayOutputWithContext(ctx context.Context) GetQueuesQueueCollectionItemArrayOutput
- type GetQueuesQueueCollectionItemArrayInput
- type GetQueuesQueueCollectionItemArrayOutput
- func (GetQueuesQueueCollectionItemArrayOutput) ElementType() reflect.Type
- func (o GetQueuesQueueCollectionItemArrayOutput) Index(i pulumi.IntInput) GetQueuesQueueCollectionItemOutput
- func (o GetQueuesQueueCollectionItemArrayOutput) ToGetQueuesQueueCollectionItemArrayOutput() GetQueuesQueueCollectionItemArrayOutput
- func (o GetQueuesQueueCollectionItemArrayOutput) ToGetQueuesQueueCollectionItemArrayOutputWithContext(ctx context.Context) GetQueuesQueueCollectionItemArrayOutput
- type GetQueuesQueueCollectionItemInput
- type GetQueuesQueueCollectionItemOutput
- func (o GetQueuesQueueCollectionItemOutput) ChannelConsumptionLimit() pulumi.IntOutput
- func (o GetQueuesQueueCollectionItemOutput) CompartmentId() pulumi.StringOutput
- func (o GetQueuesQueueCollectionItemOutput) CustomEncryptionKeyId() pulumi.StringOutput
- func (o GetQueuesQueueCollectionItemOutput) DeadLetterQueueDeliveryCount() pulumi.IntOutput
- func (o GetQueuesQueueCollectionItemOutput) DefinedTags() pulumi.MapOutput
- func (o GetQueuesQueueCollectionItemOutput) DisplayName() pulumi.StringOutput
- func (GetQueuesQueueCollectionItemOutput) ElementType() reflect.Type
- func (o GetQueuesQueueCollectionItemOutput) FreeformTags() pulumi.MapOutput
- func (o GetQueuesQueueCollectionItemOutput) Id() pulumi.StringOutput
- func (o GetQueuesQueueCollectionItemOutput) LifecycleDetails() pulumi.StringOutput
- func (o GetQueuesQueueCollectionItemOutput) MessagesEndpoint() pulumi.StringOutput
- func (o GetQueuesQueueCollectionItemOutput) PurgeTrigger() pulumi.IntOutput
- func (o GetQueuesQueueCollectionItemOutput) PurgeType() pulumi.StringOutput
- func (o GetQueuesQueueCollectionItemOutput) RetentionInSeconds() pulumi.IntOutput
- func (o GetQueuesQueueCollectionItemOutput) State() pulumi.StringOutput
- func (o GetQueuesQueueCollectionItemOutput) SystemTags() pulumi.MapOutput
- func (o GetQueuesQueueCollectionItemOutput) TimeCreated() pulumi.StringOutput
- func (o GetQueuesQueueCollectionItemOutput) TimeUpdated() pulumi.StringOutput
- func (o GetQueuesQueueCollectionItemOutput) TimeoutInSeconds() pulumi.IntOutput
- func (o GetQueuesQueueCollectionItemOutput) ToGetQueuesQueueCollectionItemOutput() GetQueuesQueueCollectionItemOutput
- func (o GetQueuesQueueCollectionItemOutput) ToGetQueuesQueueCollectionItemOutputWithContext(ctx context.Context) GetQueuesQueueCollectionItemOutput
- func (o GetQueuesQueueCollectionItemOutput) VisibilityInSeconds() pulumi.IntOutput
- type GetQueuesQueueCollectionOutput
- func (GetQueuesQueueCollectionOutput) ElementType() reflect.Type
- func (o GetQueuesQueueCollectionOutput) Items() GetQueuesQueueCollectionItemArrayOutput
- func (o GetQueuesQueueCollectionOutput) ToGetQueuesQueueCollectionOutput() GetQueuesQueueCollectionOutput
- func (o GetQueuesQueueCollectionOutput) ToGetQueuesQueueCollectionOutputWithContext(ctx context.Context) GetQueuesQueueCollectionOutput
- type GetQueuesResult
- type GetQueuesResultOutput
- func (o GetQueuesResultOutput) CompartmentId() pulumi.StringPtrOutput
- func (o GetQueuesResultOutput) DisplayName() pulumi.StringPtrOutput
- func (GetQueuesResultOutput) ElementType() reflect.Type
- func (o GetQueuesResultOutput) Filters() GetQueuesFilterArrayOutput
- func (o GetQueuesResultOutput) Id() pulumi.StringPtrOutput
- func (o GetQueuesResultOutput) QueueCollections() GetQueuesQueueCollectionArrayOutput
- func (o GetQueuesResultOutput) State() pulumi.StringPtrOutput
- func (o GetQueuesResultOutput) ToGetQueuesResultOutput() GetQueuesResultOutput
- func (o GetQueuesResultOutput) ToGetQueuesResultOutputWithContext(ctx context.Context) GetQueuesResultOutput
- type LookupQueueArgs
- type LookupQueueOutputArgs
- type LookupQueueResult
- type LookupQueueResultOutput
- func (o LookupQueueResultOutput) ChannelConsumptionLimit() pulumi.IntOutput
- func (o LookupQueueResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupQueueResultOutput) CustomEncryptionKeyId() pulumi.StringOutput
- func (o LookupQueueResultOutput) DeadLetterQueueDeliveryCount() pulumi.IntOutput
- func (o LookupQueueResultOutput) DefinedTags() pulumi.MapOutput
- func (o LookupQueueResultOutput) DisplayName() pulumi.StringOutput
- func (LookupQueueResultOutput) ElementType() reflect.Type
- func (o LookupQueueResultOutput) FreeformTags() pulumi.MapOutput
- func (o LookupQueueResultOutput) Id() pulumi.StringOutput
- func (o LookupQueueResultOutput) LifecycleDetails() pulumi.StringOutput
- func (o LookupQueueResultOutput) MessagesEndpoint() pulumi.StringOutput
- func (o LookupQueueResultOutput) PurgeTrigger() pulumi.IntOutput
- func (o LookupQueueResultOutput) PurgeType() pulumi.StringOutput
- func (o LookupQueueResultOutput) QueueId() pulumi.StringOutput
- func (o LookupQueueResultOutput) RetentionInSeconds() pulumi.IntOutput
- func (o LookupQueueResultOutput) State() pulumi.StringOutput
- func (o LookupQueueResultOutput) SystemTags() pulumi.MapOutput
- func (o LookupQueueResultOutput) TimeCreated() pulumi.StringOutput
- func (o LookupQueueResultOutput) TimeUpdated() pulumi.StringOutput
- func (o LookupQueueResultOutput) TimeoutInSeconds() pulumi.IntOutput
- func (o LookupQueueResultOutput) ToLookupQueueResultOutput() LookupQueueResultOutput
- func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx context.Context) LookupQueueResultOutput
- func (o LookupQueueResultOutput) VisibilityInSeconds() pulumi.IntOutput
- type Queue
- type QueueArgs
- type QueueArray
- type QueueArrayInput
- type QueueArrayOutput
- type QueueInput
- type QueueMap
- type QueueMapInput
- type QueueMapOutput
- type QueueOutput
- func (o QueueOutput) ChannelConsumptionLimit() pulumi.IntOutput
- func (o QueueOutput) CompartmentId() pulumi.StringOutput
- func (o QueueOutput) CustomEncryptionKeyId() pulumi.StringOutput
- func (o QueueOutput) DeadLetterQueueDeliveryCount() pulumi.IntOutput
- func (o QueueOutput) DefinedTags() pulumi.MapOutput
- func (o QueueOutput) DisplayName() pulumi.StringOutput
- func (QueueOutput) ElementType() reflect.Type
- func (o QueueOutput) FreeformTags() pulumi.MapOutput
- func (o QueueOutput) LifecycleDetails() pulumi.StringOutput
- func (o QueueOutput) MessagesEndpoint() pulumi.StringOutput
- func (o QueueOutput) PurgeTrigger() pulumi.IntPtrOutput
- func (o QueueOutput) PurgeType() pulumi.StringPtrOutput
- func (o QueueOutput) RetentionInSeconds() pulumi.IntOutput
- func (o QueueOutput) State() pulumi.StringOutput
- func (o QueueOutput) SystemTags() pulumi.MapOutput
- func (o QueueOutput) TimeCreated() pulumi.StringOutput
- func (o QueueOutput) TimeUpdated() pulumi.StringOutput
- func (o QueueOutput) TimeoutInSeconds() pulumi.IntOutput
- func (o QueueOutput) ToQueueOutput() QueueOutput
- func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput
- func (o QueueOutput) VisibilityInSeconds() pulumi.IntOutput
- type QueueState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetQueuesArgs ¶
type GetQueuesArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `pulumi:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `pulumi:"displayName"` Filters []GetQueuesFilter `pulumi:"filters"` // The unique queue identifier. Id *string `pulumi:"id"` // A filter to return only resources their lifecycleState matches the given lifecycleState. State *string `pulumi:"state"` }
A collection of arguments for invoking getQueues.
type GetQueuesFilter ¶
type GetQueuesFilterArgs ¶
type GetQueuesFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetQueuesFilterArgs) ElementType ¶
func (GetQueuesFilterArgs) ElementType() reflect.Type
func (GetQueuesFilterArgs) ToGetQueuesFilterOutput ¶
func (i GetQueuesFilterArgs) ToGetQueuesFilterOutput() GetQueuesFilterOutput
func (GetQueuesFilterArgs) ToGetQueuesFilterOutputWithContext ¶
func (i GetQueuesFilterArgs) ToGetQueuesFilterOutputWithContext(ctx context.Context) GetQueuesFilterOutput
type GetQueuesFilterArray ¶
type GetQueuesFilterArray []GetQueuesFilterInput
func (GetQueuesFilterArray) ElementType ¶
func (GetQueuesFilterArray) ElementType() reflect.Type
func (GetQueuesFilterArray) ToGetQueuesFilterArrayOutput ¶
func (i GetQueuesFilterArray) ToGetQueuesFilterArrayOutput() GetQueuesFilterArrayOutput
func (GetQueuesFilterArray) ToGetQueuesFilterArrayOutputWithContext ¶
func (i GetQueuesFilterArray) ToGetQueuesFilterArrayOutputWithContext(ctx context.Context) GetQueuesFilterArrayOutput
type GetQueuesFilterArrayInput ¶
type GetQueuesFilterArrayInput interface { pulumi.Input ToGetQueuesFilterArrayOutput() GetQueuesFilterArrayOutput ToGetQueuesFilterArrayOutputWithContext(context.Context) GetQueuesFilterArrayOutput }
GetQueuesFilterArrayInput is an input type that accepts GetQueuesFilterArray and GetQueuesFilterArrayOutput values. You can construct a concrete instance of `GetQueuesFilterArrayInput` via:
GetQueuesFilterArray{ GetQueuesFilterArgs{...} }
type GetQueuesFilterArrayOutput ¶
type GetQueuesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetQueuesFilterArrayOutput) ElementType ¶
func (GetQueuesFilterArrayOutput) ElementType() reflect.Type
func (GetQueuesFilterArrayOutput) Index ¶
func (o GetQueuesFilterArrayOutput) Index(i pulumi.IntInput) GetQueuesFilterOutput
func (GetQueuesFilterArrayOutput) ToGetQueuesFilterArrayOutput ¶
func (o GetQueuesFilterArrayOutput) ToGetQueuesFilterArrayOutput() GetQueuesFilterArrayOutput
func (GetQueuesFilterArrayOutput) ToGetQueuesFilterArrayOutputWithContext ¶
func (o GetQueuesFilterArrayOutput) ToGetQueuesFilterArrayOutputWithContext(ctx context.Context) GetQueuesFilterArrayOutput
type GetQueuesFilterInput ¶
type GetQueuesFilterInput interface { pulumi.Input ToGetQueuesFilterOutput() GetQueuesFilterOutput ToGetQueuesFilterOutputWithContext(context.Context) GetQueuesFilterOutput }
GetQueuesFilterInput is an input type that accepts GetQueuesFilterArgs and GetQueuesFilterOutput values. You can construct a concrete instance of `GetQueuesFilterInput` via:
GetQueuesFilterArgs{...}
type GetQueuesFilterOutput ¶
type GetQueuesFilterOutput struct{ *pulumi.OutputState }
func (GetQueuesFilterOutput) ElementType ¶
func (GetQueuesFilterOutput) ElementType() reflect.Type
func (GetQueuesFilterOutput) Name ¶
func (o GetQueuesFilterOutput) Name() pulumi.StringOutput
func (GetQueuesFilterOutput) Regex ¶
func (o GetQueuesFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetQueuesFilterOutput) ToGetQueuesFilterOutput ¶
func (o GetQueuesFilterOutput) ToGetQueuesFilterOutput() GetQueuesFilterOutput
func (GetQueuesFilterOutput) ToGetQueuesFilterOutputWithContext ¶
func (o GetQueuesFilterOutput) ToGetQueuesFilterOutputWithContext(ctx context.Context) GetQueuesFilterOutput
func (GetQueuesFilterOutput) Values ¶
func (o GetQueuesFilterOutput) Values() pulumi.StringArrayOutput
type GetQueuesOutputArgs ¶
type GetQueuesOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` Filters GetQueuesFilterArrayInput `pulumi:"filters"` // The unique queue identifier. Id pulumi.StringPtrInput `pulumi:"id"` // A filter to return only resources their lifecycleState matches the given lifecycleState. State pulumi.StringPtrInput `pulumi:"state"` }
A collection of arguments for invoking getQueues.
func (GetQueuesOutputArgs) ElementType ¶
func (GetQueuesOutputArgs) ElementType() reflect.Type
type GetQueuesQueueCollection ¶
type GetQueuesQueueCollection struct {
Items []GetQueuesQueueCollectionItem `pulumi:"items"`
}
type GetQueuesQueueCollectionArgs ¶
type GetQueuesQueueCollectionArgs struct {
Items GetQueuesQueueCollectionItemArrayInput `pulumi:"items"`
}
func (GetQueuesQueueCollectionArgs) ElementType ¶
func (GetQueuesQueueCollectionArgs) ElementType() reflect.Type
func (GetQueuesQueueCollectionArgs) ToGetQueuesQueueCollectionOutput ¶
func (i GetQueuesQueueCollectionArgs) ToGetQueuesQueueCollectionOutput() GetQueuesQueueCollectionOutput
func (GetQueuesQueueCollectionArgs) ToGetQueuesQueueCollectionOutputWithContext ¶
func (i GetQueuesQueueCollectionArgs) ToGetQueuesQueueCollectionOutputWithContext(ctx context.Context) GetQueuesQueueCollectionOutput
type GetQueuesQueueCollectionArray ¶
type GetQueuesQueueCollectionArray []GetQueuesQueueCollectionInput
func (GetQueuesQueueCollectionArray) ElementType ¶
func (GetQueuesQueueCollectionArray) ElementType() reflect.Type
func (GetQueuesQueueCollectionArray) ToGetQueuesQueueCollectionArrayOutput ¶
func (i GetQueuesQueueCollectionArray) ToGetQueuesQueueCollectionArrayOutput() GetQueuesQueueCollectionArrayOutput
func (GetQueuesQueueCollectionArray) ToGetQueuesQueueCollectionArrayOutputWithContext ¶
func (i GetQueuesQueueCollectionArray) ToGetQueuesQueueCollectionArrayOutputWithContext(ctx context.Context) GetQueuesQueueCollectionArrayOutput
type GetQueuesQueueCollectionArrayInput ¶
type GetQueuesQueueCollectionArrayInput interface { pulumi.Input ToGetQueuesQueueCollectionArrayOutput() GetQueuesQueueCollectionArrayOutput ToGetQueuesQueueCollectionArrayOutputWithContext(context.Context) GetQueuesQueueCollectionArrayOutput }
GetQueuesQueueCollectionArrayInput is an input type that accepts GetQueuesQueueCollectionArray and GetQueuesQueueCollectionArrayOutput values. You can construct a concrete instance of `GetQueuesQueueCollectionArrayInput` via:
GetQueuesQueueCollectionArray{ GetQueuesQueueCollectionArgs{...} }
type GetQueuesQueueCollectionArrayOutput ¶
type GetQueuesQueueCollectionArrayOutput struct{ *pulumi.OutputState }
func (GetQueuesQueueCollectionArrayOutput) ElementType ¶
func (GetQueuesQueueCollectionArrayOutput) ElementType() reflect.Type
func (GetQueuesQueueCollectionArrayOutput) Index ¶
func (o GetQueuesQueueCollectionArrayOutput) Index(i pulumi.IntInput) GetQueuesQueueCollectionOutput
func (GetQueuesQueueCollectionArrayOutput) ToGetQueuesQueueCollectionArrayOutput ¶
func (o GetQueuesQueueCollectionArrayOutput) ToGetQueuesQueueCollectionArrayOutput() GetQueuesQueueCollectionArrayOutput
func (GetQueuesQueueCollectionArrayOutput) ToGetQueuesQueueCollectionArrayOutputWithContext ¶
func (o GetQueuesQueueCollectionArrayOutput) ToGetQueuesQueueCollectionArrayOutputWithContext(ctx context.Context) GetQueuesQueueCollectionArrayOutput
type GetQueuesQueueCollectionInput ¶
type GetQueuesQueueCollectionInput interface { pulumi.Input ToGetQueuesQueueCollectionOutput() GetQueuesQueueCollectionOutput ToGetQueuesQueueCollectionOutputWithContext(context.Context) GetQueuesQueueCollectionOutput }
GetQueuesQueueCollectionInput is an input type that accepts GetQueuesQueueCollectionArgs and GetQueuesQueueCollectionOutput values. You can construct a concrete instance of `GetQueuesQueueCollectionInput` via:
GetQueuesQueueCollectionArgs{...}
type GetQueuesQueueCollectionItem ¶
type GetQueuesQueueCollectionItem struct { // 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. ChannelConsumptionLimit int `pulumi:"channelConsumptionLimit"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId string `pulumi:"compartmentId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId string `pulumi:"customEncryptionKeyId"` // 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. DeadLetterQueueDeliveryCount int `pulumi:"deadLetterQueueDeliveryCount"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` // A filter to return only resources that match the entire display name given. DisplayName string `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // The unique queue identifier. Id string `pulumi:"id"` // Any additional details about the current state of the queue. LifecycleDetails string `pulumi:"lifecycleDetails"` // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint string `pulumi:"messagesEndpoint"` PurgeTrigger int `pulumi:"purgeTrigger"` PurgeType string `pulumi:"purgeType"` // The retention period of the messages in the queue, in seconds. RetentionInSeconds int `pulumi:"retentionInSeconds"` // A filter to return only resources their lifecycleState matches the given lifecycleState. State string `pulumi:"state"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags map[string]interface{} `pulumi:"systemTags"` // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated string `pulumi:"timeCreated"` // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated string `pulumi:"timeUpdated"` // The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds int `pulumi:"timeoutInSeconds"` // The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds int `pulumi:"visibilityInSeconds"` }
type GetQueuesQueueCollectionItemArgs ¶
type GetQueuesQueueCollectionItemArgs struct { // 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. ChannelConsumptionLimit pulumi.IntInput `pulumi:"channelConsumptionLimit"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId pulumi.StringInput `pulumi:"customEncryptionKeyId"` // 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. DeadLetterQueueDeliveryCount pulumi.IntInput `pulumi:"deadLetterQueueDeliveryCount"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags pulumi.MapInput `pulumi:"definedTags"` // A filter to return only resources that match the entire display name given. DisplayName pulumi.StringInput `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags pulumi.MapInput `pulumi:"freeformTags"` // The unique queue identifier. Id pulumi.StringInput `pulumi:"id"` // Any additional details about the current state of the queue. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint pulumi.StringInput `pulumi:"messagesEndpoint"` PurgeTrigger pulumi.IntInput `pulumi:"purgeTrigger"` PurgeType pulumi.StringInput `pulumi:"purgeType"` // The retention period of the messages in the queue, in seconds. RetentionInSeconds pulumi.IntInput `pulumi:"retentionInSeconds"` // A filter to return only resources their lifecycleState matches the given lifecycleState. State pulumi.StringInput `pulumi:"state"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.MapInput `pulumi:"systemTags"` // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` // The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds pulumi.IntInput `pulumi:"timeoutInSeconds"` // The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds pulumi.IntInput `pulumi:"visibilityInSeconds"` }
func (GetQueuesQueueCollectionItemArgs) ElementType ¶
func (GetQueuesQueueCollectionItemArgs) ElementType() reflect.Type
func (GetQueuesQueueCollectionItemArgs) ToGetQueuesQueueCollectionItemOutput ¶
func (i GetQueuesQueueCollectionItemArgs) ToGetQueuesQueueCollectionItemOutput() GetQueuesQueueCollectionItemOutput
func (GetQueuesQueueCollectionItemArgs) ToGetQueuesQueueCollectionItemOutputWithContext ¶
func (i GetQueuesQueueCollectionItemArgs) ToGetQueuesQueueCollectionItemOutputWithContext(ctx context.Context) GetQueuesQueueCollectionItemOutput
type GetQueuesQueueCollectionItemArray ¶
type GetQueuesQueueCollectionItemArray []GetQueuesQueueCollectionItemInput
func (GetQueuesQueueCollectionItemArray) ElementType ¶
func (GetQueuesQueueCollectionItemArray) ElementType() reflect.Type
func (GetQueuesQueueCollectionItemArray) ToGetQueuesQueueCollectionItemArrayOutput ¶
func (i GetQueuesQueueCollectionItemArray) ToGetQueuesQueueCollectionItemArrayOutput() GetQueuesQueueCollectionItemArrayOutput
func (GetQueuesQueueCollectionItemArray) ToGetQueuesQueueCollectionItemArrayOutputWithContext ¶
func (i GetQueuesQueueCollectionItemArray) ToGetQueuesQueueCollectionItemArrayOutputWithContext(ctx context.Context) GetQueuesQueueCollectionItemArrayOutput
type GetQueuesQueueCollectionItemArrayInput ¶
type GetQueuesQueueCollectionItemArrayInput interface { pulumi.Input ToGetQueuesQueueCollectionItemArrayOutput() GetQueuesQueueCollectionItemArrayOutput ToGetQueuesQueueCollectionItemArrayOutputWithContext(context.Context) GetQueuesQueueCollectionItemArrayOutput }
GetQueuesQueueCollectionItemArrayInput is an input type that accepts GetQueuesQueueCollectionItemArray and GetQueuesQueueCollectionItemArrayOutput values. You can construct a concrete instance of `GetQueuesQueueCollectionItemArrayInput` via:
GetQueuesQueueCollectionItemArray{ GetQueuesQueueCollectionItemArgs{...} }
type GetQueuesQueueCollectionItemArrayOutput ¶
type GetQueuesQueueCollectionItemArrayOutput struct{ *pulumi.OutputState }
func (GetQueuesQueueCollectionItemArrayOutput) ElementType ¶
func (GetQueuesQueueCollectionItemArrayOutput) ElementType() reflect.Type
func (GetQueuesQueueCollectionItemArrayOutput) ToGetQueuesQueueCollectionItemArrayOutput ¶
func (o GetQueuesQueueCollectionItemArrayOutput) ToGetQueuesQueueCollectionItemArrayOutput() GetQueuesQueueCollectionItemArrayOutput
func (GetQueuesQueueCollectionItemArrayOutput) ToGetQueuesQueueCollectionItemArrayOutputWithContext ¶
func (o GetQueuesQueueCollectionItemArrayOutput) ToGetQueuesQueueCollectionItemArrayOutputWithContext(ctx context.Context) GetQueuesQueueCollectionItemArrayOutput
type GetQueuesQueueCollectionItemInput ¶
type GetQueuesQueueCollectionItemInput interface { pulumi.Input ToGetQueuesQueueCollectionItemOutput() GetQueuesQueueCollectionItemOutput ToGetQueuesQueueCollectionItemOutputWithContext(context.Context) GetQueuesQueueCollectionItemOutput }
GetQueuesQueueCollectionItemInput is an input type that accepts GetQueuesQueueCollectionItemArgs and GetQueuesQueueCollectionItemOutput values. You can construct a concrete instance of `GetQueuesQueueCollectionItemInput` via:
GetQueuesQueueCollectionItemArgs{...}
type GetQueuesQueueCollectionItemOutput ¶
type GetQueuesQueueCollectionItemOutput struct{ *pulumi.OutputState }
func (GetQueuesQueueCollectionItemOutput) ChannelConsumptionLimit ¶
func (o GetQueuesQueueCollectionItemOutput) ChannelConsumptionLimit() pulumi.IntOutput
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.
func (GetQueuesQueueCollectionItemOutput) CompartmentId ¶
func (o GetQueuesQueueCollectionItemOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
func (GetQueuesQueueCollectionItemOutput) CustomEncryptionKeyId ¶
func (o GetQueuesQueueCollectionItemOutput) CustomEncryptionKeyId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content.
func (GetQueuesQueueCollectionItemOutput) DeadLetterQueueDeliveryCount ¶
func (o GetQueuesQueueCollectionItemOutput) DeadLetterQueueDeliveryCount() pulumi.IntOutput
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.
func (GetQueuesQueueCollectionItemOutput) DefinedTags ¶
func (o GetQueuesQueueCollectionItemOutput) DefinedTags() pulumi.MapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
func (GetQueuesQueueCollectionItemOutput) DisplayName ¶
func (o GetQueuesQueueCollectionItemOutput) DisplayName() pulumi.StringOutput
A filter to return only resources that match the entire display name given.
func (GetQueuesQueueCollectionItemOutput) ElementType ¶
func (GetQueuesQueueCollectionItemOutput) ElementType() reflect.Type
func (GetQueuesQueueCollectionItemOutput) FreeformTags ¶
func (o GetQueuesQueueCollectionItemOutput) FreeformTags() pulumi.MapOutput
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
func (GetQueuesQueueCollectionItemOutput) Id ¶
func (o GetQueuesQueueCollectionItemOutput) Id() pulumi.StringOutput
The unique queue identifier.
func (GetQueuesQueueCollectionItemOutput) LifecycleDetails ¶
func (o GetQueuesQueueCollectionItemOutput) LifecycleDetails() pulumi.StringOutput
Any additional details about the current state of the queue.
func (GetQueuesQueueCollectionItemOutput) MessagesEndpoint ¶
func (o GetQueuesQueueCollectionItemOutput) MessagesEndpoint() pulumi.StringOutput
The endpoint to use to consume or publish messages in the queue.
func (GetQueuesQueueCollectionItemOutput) PurgeTrigger ¶
func (o GetQueuesQueueCollectionItemOutput) PurgeTrigger() pulumi.IntOutput
func (GetQueuesQueueCollectionItemOutput) PurgeType ¶
func (o GetQueuesQueueCollectionItemOutput) PurgeType() pulumi.StringOutput
func (GetQueuesQueueCollectionItemOutput) RetentionInSeconds ¶
func (o GetQueuesQueueCollectionItemOutput) RetentionInSeconds() pulumi.IntOutput
The retention period of the messages in the queue, in seconds.
func (GetQueuesQueueCollectionItemOutput) State ¶
func (o GetQueuesQueueCollectionItemOutput) State() pulumi.StringOutput
A filter to return only resources their lifecycleState matches the given lifecycleState.
func (GetQueuesQueueCollectionItemOutput) SystemTags ¶
func (o GetQueuesQueueCollectionItemOutput) SystemTags() pulumi.MapOutput
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (GetQueuesQueueCollectionItemOutput) TimeCreated ¶
func (o GetQueuesQueueCollectionItemOutput) TimeCreated() pulumi.StringOutput
The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`
func (GetQueuesQueueCollectionItemOutput) TimeUpdated ¶
func (o GetQueuesQueueCollectionItemOutput) TimeUpdated() pulumi.StringOutput
The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`
func (GetQueuesQueueCollectionItemOutput) TimeoutInSeconds ¶
func (o GetQueuesQueueCollectionItemOutput) TimeoutInSeconds() pulumi.IntOutput
The default polling timeout of the messages in the queue, in seconds.
func (GetQueuesQueueCollectionItemOutput) ToGetQueuesQueueCollectionItemOutput ¶
func (o GetQueuesQueueCollectionItemOutput) ToGetQueuesQueueCollectionItemOutput() GetQueuesQueueCollectionItemOutput
func (GetQueuesQueueCollectionItemOutput) ToGetQueuesQueueCollectionItemOutputWithContext ¶
func (o GetQueuesQueueCollectionItemOutput) ToGetQueuesQueueCollectionItemOutputWithContext(ctx context.Context) GetQueuesQueueCollectionItemOutput
func (GetQueuesQueueCollectionItemOutput) VisibilityInSeconds ¶
func (o GetQueuesQueueCollectionItemOutput) VisibilityInSeconds() pulumi.IntOutput
The default visibility timeout of the messages consumed from the queue, in seconds.
type GetQueuesQueueCollectionOutput ¶
type GetQueuesQueueCollectionOutput struct{ *pulumi.OutputState }
func (GetQueuesQueueCollectionOutput) ElementType ¶
func (GetQueuesQueueCollectionOutput) ElementType() reflect.Type
func (GetQueuesQueueCollectionOutput) Items ¶
func (o GetQueuesQueueCollectionOutput) Items() GetQueuesQueueCollectionItemArrayOutput
func (GetQueuesQueueCollectionOutput) ToGetQueuesQueueCollectionOutput ¶
func (o GetQueuesQueueCollectionOutput) ToGetQueuesQueueCollectionOutput() GetQueuesQueueCollectionOutput
func (GetQueuesQueueCollectionOutput) ToGetQueuesQueueCollectionOutputWithContext ¶
func (o GetQueuesQueueCollectionOutput) ToGetQueuesQueueCollectionOutputWithContext(ctx context.Context) GetQueuesQueueCollectionOutput
type GetQueuesResult ¶
type GetQueuesResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId *string `pulumi:"compartmentId"` // A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `pulumi:"displayName"` Filters []GetQueuesFilter `pulumi:"filters"` // A unique identifier for the queue that is immutable on creation. Id *string `pulumi:"id"` // The list of queue_collection. QueueCollections []GetQueuesQueueCollection `pulumi:"queueCollections"` // The current state of the queue. State *string `pulumi:"state"` }
A collection of values returned by getQueues.
func GetQueues ¶
func GetQueues(ctx *pulumi.Context, args *GetQueuesArgs, opts ...pulumi.InvokeOption) (*GetQueuesResult, error)
This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service.
Returns a list of queues.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Queue" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Queue.GetQueues(ctx, &queue.GetQueuesArgs{ CompartmentId: pulumi.StringRef(compartmentId), DisplayName: pulumi.StringRef(queueDisplayName), Id: pulumi.StringRef(queueId), State: pulumi.StringRef(queueState), }, nil) if err != nil { return err } return nil }) }
```
type GetQueuesResultOutput ¶
type GetQueuesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getQueues.
func GetQueuesOutput ¶
func GetQueuesOutput(ctx *pulumi.Context, args GetQueuesOutputArgs, opts ...pulumi.InvokeOption) GetQueuesResultOutput
func (GetQueuesResultOutput) CompartmentId ¶
func (o GetQueuesResultOutput) CompartmentId() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue.
func (GetQueuesResultOutput) DisplayName ¶
func (o GetQueuesResultOutput) DisplayName() pulumi.StringPtrOutput
A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information.
func (GetQueuesResultOutput) ElementType ¶
func (GetQueuesResultOutput) ElementType() reflect.Type
func (GetQueuesResultOutput) Filters ¶
func (o GetQueuesResultOutput) Filters() GetQueuesFilterArrayOutput
func (GetQueuesResultOutput) Id ¶
func (o GetQueuesResultOutput) Id() pulumi.StringPtrOutput
A unique identifier for the queue that is immutable on creation.
func (GetQueuesResultOutput) QueueCollections ¶
func (o GetQueuesResultOutput) QueueCollections() GetQueuesQueueCollectionArrayOutput
The list of queue_collection.
func (GetQueuesResultOutput) State ¶
func (o GetQueuesResultOutput) State() pulumi.StringPtrOutput
The current state of the queue.
func (GetQueuesResultOutput) ToGetQueuesResultOutput ¶
func (o GetQueuesResultOutput) ToGetQueuesResultOutput() GetQueuesResultOutput
func (GetQueuesResultOutput) ToGetQueuesResultOutputWithContext ¶
func (o GetQueuesResultOutput) ToGetQueuesResultOutputWithContext(ctx context.Context) GetQueuesResultOutput
type LookupQueueArgs ¶
type LookupQueueArgs struct { // The unique queue identifier. QueueId string `pulumi:"queueId"` }
A collection of arguments for invoking getQueue.
type LookupQueueOutputArgs ¶
type LookupQueueOutputArgs struct { // The unique queue identifier. QueueId pulumi.StringInput `pulumi:"queueId"` }
A collection of arguments for invoking getQueue.
func (LookupQueueOutputArgs) ElementType ¶
func (LookupQueueOutputArgs) ElementType() reflect.Type
type LookupQueueResult ¶
type LookupQueueResult struct { // 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. ChannelConsumptionLimit int `pulumi:"channelConsumptionLimit"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId string `pulumi:"compartmentId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId string `pulumi:"customEncryptionKeyId"` // 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. DeadLetterQueueDeliveryCount int `pulumi:"deadLetterQueueDeliveryCount"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` // A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName string `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // A unique identifier for the queue that is immutable on creation. Id string `pulumi:"id"` // Any additional details about the current state of the queue. LifecycleDetails string `pulumi:"lifecycleDetails"` // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint string `pulumi:"messagesEndpoint"` PurgeTrigger int `pulumi:"purgeTrigger"` PurgeType string `pulumi:"purgeType"` QueueId string `pulumi:"queueId"` // The retention period of the messages in the queue, in seconds. RetentionInSeconds int `pulumi:"retentionInSeconds"` // The current state of the queue. State string `pulumi:"state"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags map[string]interface{} `pulumi:"systemTags"` // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated string `pulumi:"timeCreated"` // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated string `pulumi:"timeUpdated"` // The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds int `pulumi:"timeoutInSeconds"` // The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds int `pulumi:"visibilityInSeconds"` }
A collection of values returned by getQueue.
func LookupQueue ¶
func LookupQueue(ctx *pulumi.Context, args *LookupQueueArgs, opts ...pulumi.InvokeOption) (*LookupQueueResult, error)
This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service.
Gets a queue by identifier.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Queue" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Queue.GetQueue(ctx, &queue.GetQueueArgs{ QueueId: testQueueOciQueueQueue.Id, }, nil) if err != nil { return err } return nil }) }
```
type LookupQueueResultOutput ¶
type LookupQueueResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getQueue.
func LookupQueueOutput ¶
func LookupQueueOutput(ctx *pulumi.Context, args LookupQueueOutputArgs, opts ...pulumi.InvokeOption) LookupQueueResultOutput
func (LookupQueueResultOutput) ChannelConsumptionLimit ¶
func (o LookupQueueResultOutput) ChannelConsumptionLimit() pulumi.IntOutput
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.
func (LookupQueueResultOutput) CompartmentId ¶
func (o LookupQueueResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue.
func (LookupQueueResultOutput) CustomEncryptionKeyId ¶
func (o LookupQueueResultOutput) CustomEncryptionKeyId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content.
func (LookupQueueResultOutput) DeadLetterQueueDeliveryCount ¶
func (o LookupQueueResultOutput) DeadLetterQueueDeliveryCount() pulumi.IntOutput
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.
func (LookupQueueResultOutput) DefinedTags ¶
func (o LookupQueueResultOutput) DefinedTags() pulumi.MapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
func (LookupQueueResultOutput) DisplayName ¶
func (o LookupQueueResultOutput) DisplayName() pulumi.StringOutput
A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information.
func (LookupQueueResultOutput) ElementType ¶
func (LookupQueueResultOutput) ElementType() reflect.Type
func (LookupQueueResultOutput) FreeformTags ¶
func (o LookupQueueResultOutput) FreeformTags() pulumi.MapOutput
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
func (LookupQueueResultOutput) Id ¶
func (o LookupQueueResultOutput) Id() pulumi.StringOutput
A unique identifier for the queue that is immutable on creation.
func (LookupQueueResultOutput) LifecycleDetails ¶
func (o LookupQueueResultOutput) LifecycleDetails() pulumi.StringOutput
Any additional details about the current state of the queue.
func (LookupQueueResultOutput) MessagesEndpoint ¶
func (o LookupQueueResultOutput) MessagesEndpoint() pulumi.StringOutput
The endpoint to use to consume or publish messages in the queue.
func (LookupQueueResultOutput) PurgeTrigger ¶
func (o LookupQueueResultOutput) PurgeTrigger() pulumi.IntOutput
func (LookupQueueResultOutput) PurgeType ¶
func (o LookupQueueResultOutput) PurgeType() pulumi.StringOutput
func (LookupQueueResultOutput) QueueId ¶
func (o LookupQueueResultOutput) QueueId() pulumi.StringOutput
func (LookupQueueResultOutput) RetentionInSeconds ¶
func (o LookupQueueResultOutput) RetentionInSeconds() pulumi.IntOutput
The retention period of the messages in the queue, in seconds.
func (LookupQueueResultOutput) State ¶
func (o LookupQueueResultOutput) State() pulumi.StringOutput
The current state of the queue.
func (LookupQueueResultOutput) SystemTags ¶
func (o LookupQueueResultOutput) SystemTags() pulumi.MapOutput
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (LookupQueueResultOutput) TimeCreated ¶
func (o LookupQueueResultOutput) TimeCreated() pulumi.StringOutput
The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`
func (LookupQueueResultOutput) TimeUpdated ¶
func (o LookupQueueResultOutput) TimeUpdated() pulumi.StringOutput
The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`
func (LookupQueueResultOutput) TimeoutInSeconds ¶
func (o LookupQueueResultOutput) TimeoutInSeconds() pulumi.IntOutput
The default polling timeout of the messages in the queue, in seconds.
func (LookupQueueResultOutput) ToLookupQueueResultOutput ¶
func (o LookupQueueResultOutput) ToLookupQueueResultOutput() LookupQueueResultOutput
func (LookupQueueResultOutput) ToLookupQueueResultOutputWithContext ¶
func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx context.Context) LookupQueueResultOutput
func (LookupQueueResultOutput) VisibilityInSeconds ¶
func (o LookupQueueResultOutput) VisibilityInSeconds() pulumi.IntOutput
The default visibility timeout of the messages consumed from the queue, in seconds.
type Queue ¶
type Queue struct { pulumi.CustomResourceState // (Updatable) 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. ChannelConsumptionLimit pulumi.IntOutput `pulumi:"channelConsumptionLimit"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId pulumi.StringOutput `pulumi:"customEncryptionKeyId"` // (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. DeadLetterQueueDeliveryCount pulumi.IntOutput `pulumi:"deadLetterQueueDeliveryCount"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags pulumi.MapOutput `pulumi:"definedTags"` // (Updatable) The user-friendly name of the queue. DisplayName pulumi.StringOutput `pulumi:"displayName"` // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` // Any additional details about the current state of the queue. LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint pulumi.StringOutput `pulumi:"messagesEndpoint"` // (Updatable) An optional property when incremented triggers Purge. Could be set to any integer value. PurgeTrigger pulumi.IntPtrOutput `pulumi:"purgeTrigger"` // (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 // // ** 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 PurgeType pulumi.StringPtrOutput `pulumi:"purgeType"` // The retention period of messages in the queue, in seconds. RetentionInSeconds pulumi.IntOutput `pulumi:"retentionInSeconds"` // The current state of the queue. State pulumi.StringOutput `pulumi:"state"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.MapOutput `pulumi:"systemTags"` // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` // (Updatable) The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds pulumi.IntOutput `pulumi:"timeoutInSeconds"` // (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds pulumi.IntOutput `pulumi:"visibilityInSeconds"` }
This resource provides the Queue resource in Oracle Cloud Infrastructure Queue service.
Creates a new queue.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Queue" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Queue.NewQueue(ctx, "test_queue", &Queue.QueueArgs{ CompartmentId: pulumi.Any(compartmentId), DisplayName: pulumi.Any(queueDisplayName), ChannelConsumptionLimit: pulumi.Any(queueChannelConsumptionLimit), CustomEncryptionKeyId: pulumi.Any(testKey.Id), DeadLetterQueueDeliveryCount: pulumi.Any(queueDeadLetterQueueDeliveryCount), PurgeTrigger: pulumi.Any(purgeTrigger), PurgeType: pulumi.Any(purgeType), DefinedTags: pulumi.Map{ "foo-namespace.bar-key": pulumi.Any("value"), }, FreeformTags: pulumi.Map{ "bar-key": pulumi.Any("value"), }, RetentionInSeconds: pulumi.Any(queueRetentionInSeconds), TimeoutInSeconds: pulumi.Any(queueTimeoutInSeconds), VisibilityInSeconds: pulumi.Any(queueVisibilityInSeconds), }) if err != nil { return err } return nil }) }
```
## Import
Queues can be imported using the `id`, e.g.
```sh $ pulumi import oci:Queue/queue:Queue test_queue "id" ```
func GetQueue ¶
func GetQueue(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QueueState, opts ...pulumi.ResourceOption) (*Queue, error)
GetQueue gets an existing Queue resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewQueue ¶
func NewQueue(ctx *pulumi.Context, name string, args *QueueArgs, opts ...pulumi.ResourceOption) (*Queue, error)
NewQueue registers a new resource with the given unique name, arguments, and options.
func (*Queue) ElementType ¶
func (*Queue) ToQueueOutput ¶
func (i *Queue) ToQueueOutput() QueueOutput
func (*Queue) ToQueueOutputWithContext ¶
func (i *Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput
type QueueArgs ¶
type QueueArgs struct { // (Updatable) 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. ChannelConsumptionLimit pulumi.IntPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId pulumi.StringInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId pulumi.StringPtrInput // (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. DeadLetterQueueDeliveryCount pulumi.IntPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags pulumi.MapInput // (Updatable) The user-friendly name of the queue. DisplayName pulumi.StringInput // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags pulumi.MapInput // (Updatable) An optional property when incremented triggers Purge. Could be set to any integer value. PurgeTrigger pulumi.IntPtrInput // (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 // // ** 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 PurgeType pulumi.StringPtrInput // The retention period of messages in the queue, in seconds. RetentionInSeconds pulumi.IntPtrInput // (Updatable) The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds pulumi.IntPtrInput // (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds pulumi.IntPtrInput }
The set of arguments for constructing a Queue resource.
func (QueueArgs) ElementType ¶
type QueueArray ¶
type QueueArray []QueueInput
func (QueueArray) ElementType ¶
func (QueueArray) ElementType() reflect.Type
func (QueueArray) ToQueueArrayOutput ¶
func (i QueueArray) ToQueueArrayOutput() QueueArrayOutput
func (QueueArray) ToQueueArrayOutputWithContext ¶
func (i QueueArray) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput
type QueueArrayInput ¶
type QueueArrayInput interface { pulumi.Input ToQueueArrayOutput() QueueArrayOutput ToQueueArrayOutputWithContext(context.Context) QueueArrayOutput }
QueueArrayInput is an input type that accepts QueueArray and QueueArrayOutput values. You can construct a concrete instance of `QueueArrayInput` via:
QueueArray{ QueueArgs{...} }
type QueueArrayOutput ¶
type QueueArrayOutput struct{ *pulumi.OutputState }
func (QueueArrayOutput) ElementType ¶
func (QueueArrayOutput) ElementType() reflect.Type
func (QueueArrayOutput) Index ¶
func (o QueueArrayOutput) Index(i pulumi.IntInput) QueueOutput
func (QueueArrayOutput) ToQueueArrayOutput ¶
func (o QueueArrayOutput) ToQueueArrayOutput() QueueArrayOutput
func (QueueArrayOutput) ToQueueArrayOutputWithContext ¶
func (o QueueArrayOutput) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput
type QueueInput ¶
type QueueInput interface { pulumi.Input ToQueueOutput() QueueOutput ToQueueOutputWithContext(ctx context.Context) QueueOutput }
type QueueMap ¶
type QueueMap map[string]QueueInput
func (QueueMap) ElementType ¶
func (QueueMap) ToQueueMapOutput ¶
func (i QueueMap) ToQueueMapOutput() QueueMapOutput
func (QueueMap) ToQueueMapOutputWithContext ¶
func (i QueueMap) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput
type QueueMapInput ¶
type QueueMapInput interface { pulumi.Input ToQueueMapOutput() QueueMapOutput ToQueueMapOutputWithContext(context.Context) QueueMapOutput }
QueueMapInput is an input type that accepts QueueMap and QueueMapOutput values. You can construct a concrete instance of `QueueMapInput` via:
QueueMap{ "key": QueueArgs{...} }
type QueueMapOutput ¶
type QueueMapOutput struct{ *pulumi.OutputState }
func (QueueMapOutput) ElementType ¶
func (QueueMapOutput) ElementType() reflect.Type
func (QueueMapOutput) MapIndex ¶
func (o QueueMapOutput) MapIndex(k pulumi.StringInput) QueueOutput
func (QueueMapOutput) ToQueueMapOutput ¶
func (o QueueMapOutput) ToQueueMapOutput() QueueMapOutput
func (QueueMapOutput) ToQueueMapOutputWithContext ¶
func (o QueueMapOutput) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput
type QueueOutput ¶
type QueueOutput struct{ *pulumi.OutputState }
func (QueueOutput) ChannelConsumptionLimit ¶
func (o QueueOutput) ChannelConsumptionLimit() pulumi.IntOutput
(Updatable) 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.
func (QueueOutput) CompartmentId ¶
func (o QueueOutput) CompartmentId() pulumi.StringOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue.
func (QueueOutput) CustomEncryptionKeyId ¶
func (o QueueOutput) CustomEncryptionKeyId() pulumi.StringOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content.
func (QueueOutput) DeadLetterQueueDeliveryCount ¶
func (o QueueOutput) DeadLetterQueueDeliveryCount() pulumi.IntOutput
(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.
func (QueueOutput) DefinedTags ¶
func (o QueueOutput) DefinedTags() pulumi.MapOutput
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
func (QueueOutput) DisplayName ¶
func (o QueueOutput) DisplayName() pulumi.StringOutput
(Updatable) The user-friendly name of the queue.
func (QueueOutput) ElementType ¶
func (QueueOutput) ElementType() reflect.Type
func (QueueOutput) FreeformTags ¶
func (o QueueOutput) FreeformTags() pulumi.MapOutput
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
func (QueueOutput) LifecycleDetails ¶
func (o QueueOutput) LifecycleDetails() pulumi.StringOutput
Any additional details about the current state of the queue.
func (QueueOutput) MessagesEndpoint ¶
func (o QueueOutput) MessagesEndpoint() pulumi.StringOutput
The endpoint to use to consume or publish messages in the queue.
func (QueueOutput) PurgeTrigger ¶
func (o QueueOutput) PurgeTrigger() pulumi.IntPtrOutput
(Updatable) An optional property when incremented triggers Purge. Could be set to any integer value.
func (QueueOutput) PurgeType ¶
func (o QueueOutput) PurgeType() pulumi.StringPtrOutput
(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
** 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
func (QueueOutput) RetentionInSeconds ¶
func (o QueueOutput) RetentionInSeconds() pulumi.IntOutput
The retention period of messages in the queue, in seconds.
func (QueueOutput) State ¶
func (o QueueOutput) State() pulumi.StringOutput
The current state of the queue.
func (QueueOutput) SystemTags ¶
func (o QueueOutput) SystemTags() pulumi.MapOutput
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
func (QueueOutput) TimeCreated ¶
func (o QueueOutput) TimeCreated() pulumi.StringOutput
The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`
func (QueueOutput) TimeUpdated ¶
func (o QueueOutput) TimeUpdated() pulumi.StringOutput
The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`
func (QueueOutput) TimeoutInSeconds ¶
func (o QueueOutput) TimeoutInSeconds() pulumi.IntOutput
(Updatable) The default polling timeout of the messages in the queue, in seconds.
func (QueueOutput) ToQueueOutput ¶
func (o QueueOutput) ToQueueOutput() QueueOutput
func (QueueOutput) ToQueueOutputWithContext ¶
func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput
func (QueueOutput) VisibilityInSeconds ¶
func (o QueueOutput) VisibilityInSeconds() pulumi.IntOutput
(Updatable) The default visibility timeout of the messages consumed from the queue, in seconds.
type QueueState ¶
type QueueState struct { // (Updatable) 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. ChannelConsumptionLimit pulumi.IntPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId pulumi.StringPtrInput // (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. DeadLetterQueueDeliveryCount pulumi.IntPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags pulumi.MapInput // (Updatable) The user-friendly name of the queue. DisplayName pulumi.StringPtrInput // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags pulumi.MapInput // Any additional details about the current state of the queue. LifecycleDetails pulumi.StringPtrInput // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint pulumi.StringPtrInput // (Updatable) An optional property when incremented triggers Purge. Could be set to any integer value. PurgeTrigger pulumi.IntPtrInput // (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 // // ** 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 PurgeType pulumi.StringPtrInput // The retention period of messages in the queue, in seconds. RetentionInSeconds pulumi.IntPtrInput // The current state of the queue. State pulumi.StringPtrInput // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.MapInput // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated pulumi.StringPtrInput // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated pulumi.StringPtrInput // (Updatable) The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds pulumi.IntPtrInput // (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds pulumi.IntPtrInput }
func (QueueState) ElementType ¶
func (QueueState) ElementType() reflect.Type