getTopic

suspend fun getTopic(argument: GetTopicPlainArgs): GetTopicResult

Returns a description for the specified topic. Uses Azure REST API version 2024-01-01. Other available API versions: 2018-01-01-preview, 2021-01-01-preview, 2021-06-01-preview, 2021-11-01, 2022-01-01-preview, 2022-10-01-preview, 2023-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native servicebus [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

Description of topic resource.

Parameters

argument

null


suspend fun getTopic(namespaceName: String, resourceGroupName: String, topicName: String): GetTopicResult

Return

Description of topic resource.

Parameters

namespaceName

The namespace name

resourceGroupName

The name of the resource group. The name is case insensitive.

topicName

The topic name.

See also


suspend fun getTopic(argument: suspend GetTopicPlainArgsBuilder.() -> Unit): GetTopicResult

Return

Description of topic resource.

Parameters

argument

Builder for com.pulumi.azurenative.servicebus.kotlin.inputs.GetTopicPlainArgs.

See also