![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.servicebus.kotlin.outputs.GetTopicResult.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 getTopic.
* @property autoDeleteOnIdle The ISO 8601 timespan duration of the idle interval after which the Topic is automatically deleted, minimum of 5 minutes.
* @property defaultMessageTtl The ISO 8601 timespan duration of TTL of messages sent to this topic if no TTL value is set on the message itself.
* @property duplicateDetectionHistoryTimeWindow The ISO 8601 timespan duration during which duplicates can be detected.
* @property enableBatchedOperations Boolean flag which controls if server-side batched operations are enabled.
* @property enableExpress Boolean flag which controls whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
* @property enablePartitioning Boolean flag which controls whether to enable the topic to be partitioned across multiple message brokers.
* @property id The provider-assigned unique ID for this managed resource.
* @property maxSizeInMegabytes Integer value which controls the size of memory allocated for the topic. For supported values see the "Queue/topic size" section of [this document](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 Topic requires duplicate detection.
* @property resourceGroupName
* @property status The Status of the Service Bus Topic. Acceptable values are Active or Disabled.
* @property supportOrdering Boolean flag which controls whether the Topic supports ordering.
*/
public data class GetTopicResult(
public val autoDeleteOnIdle: String,
public val defaultMessageTtl: String,
public val duplicateDetectionHistoryTimeWindow: String,
public val enableBatchedOperations: Boolean,
public val enableExpress: Boolean,
public val enablePartitioning: Boolean,
public val id: String,
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,
@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 val supportOrdering: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.servicebus.outputs.GetTopicResult): GetTopicResult = GetTopicResult(
autoDeleteOnIdle = javaType.autoDeleteOnIdle(),
defaultMessageTtl = javaType.defaultMessageTtl(),
duplicateDetectionHistoryTimeWindow = javaType.duplicateDetectionHistoryTimeWindow(),
enableBatchedOperations = javaType.enableBatchedOperations(),
enableExpress = javaType.enableExpress(),
enablePartitioning = javaType.enablePartitioning(),
id = javaType.id(),
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(),
resourceGroupName = javaType.resourceGroupName().map({ args0 -> args0 }).orElse(null),
status = javaType.status(),
supportOrdering = javaType.supportOrdering(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy