com.pulumi.azure.servicebus.kotlin.outputs.GetQueueResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.servicebus.kotlin.outputs
import kotlin.Boolean
import kotlin.Deprecated
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getQueue.
* @property autoDeleteOnIdle The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
* @property deadLetteringOnMessageExpiration Boolean flag which controls whether the Queue has dead letter support when a message expires.
* @property defaultMessageTtl The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on a message itself.
* @property duplicateDetectionHistoryTimeWindow The ISO 8601 timespan duration during which duplicates can be detected.
* @property enableBatchedOperations Boolean flag which controls whether server-side batched operations are enabled.
* @property enableExpress Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
* @property enablePartitioning Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers.
* @property forwardDeadLetteredMessagesTo The name of a Queue or Topic to automatically forward dead lettered messages to.
* @property forwardTo The name of a Queue or Topic to automatically forward messages to. Please [see the documentation](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-auto-forwarding) for more information.
* @property id The provider-assigned unique ID for this managed resource.
* @property lockDuration The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers.
* @property maxDeliveryCount Integer value which controls when a message is automatically dead lettered.
* @property maxSizeInMegabytes Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of [Service Bus Quotas](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-quotas).
* @property name
* @property namespaceId
* @property namespaceName
* @property requiresDuplicateDetection Boolean flag which controls whether the Queue requires duplicate detection.
* @property requiresSession Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages.
* @property resourceGroupName
* @property status The status of the Queue. Possible values are `Active`, `Creating`, `Deleting`, `Disabled`, `ReceiveDisabled`, `Renaming`, `SendDisabled`, `Unknown`.
*/
public data class GetQueueResult(
public val autoDeleteOnIdle: String,
public val deadLetteringOnMessageExpiration: Boolean,
public val defaultMessageTtl: String,
public val duplicateDetectionHistoryTimeWindow: String,
public val enableBatchedOperations: Boolean,
public val enableExpress: Boolean,
public val enablePartitioning: Boolean,
public val forwardDeadLetteredMessagesTo: String,
public val forwardTo: String,
public val id: String,
public val lockDuration: String,
public val maxDeliveryCount: Int,
public val maxSizeInMegabytes: Int,
public val name: String,
public val namespaceId: String? = null,
@Deprecated(
message = """
`namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the
AzureRM Provider.
""",
)
public val namespaceName: String? = null,
public val requiresDuplicateDetection: Boolean,
public val requiresSession: Boolean,
@Deprecated(
message = """
`resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of
the AzureRM Provider.
""",
)
public val resourceGroupName: String? = null,
public val status: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.servicebus.outputs.GetQueueResult):
GetQueueResult = GetQueueResult(
autoDeleteOnIdle = javaType.autoDeleteOnIdle(),
deadLetteringOnMessageExpiration = javaType.deadLetteringOnMessageExpiration(),
defaultMessageTtl = javaType.defaultMessageTtl(),
duplicateDetectionHistoryTimeWindow = javaType.duplicateDetectionHistoryTimeWindow(),
enableBatchedOperations = javaType.enableBatchedOperations(),
enableExpress = javaType.enableExpress(),
enablePartitioning = javaType.enablePartitioning(),
forwardDeadLetteredMessagesTo = javaType.forwardDeadLetteredMessagesTo(),
forwardTo = javaType.forwardTo(),
id = javaType.id(),
lockDuration = javaType.lockDuration(),
maxDeliveryCount = javaType.maxDeliveryCount(),
maxSizeInMegabytes = javaType.maxSizeInMegabytes(),
name = javaType.name(),
namespaceId = javaType.namespaceId().map({ args0 -> args0 }).orElse(null),
namespaceName = javaType.namespaceName().map({ args0 -> args0 }).orElse(null),
requiresDuplicateDetection = javaType.requiresDuplicateDetection(),
requiresSession = javaType.requiresSession(),
resourceGroupName = javaType.resourceGroupName().map({ args0 -> args0 }).orElse(null),
status = javaType.status(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy