getTopic

suspend fun getTopic(argument: GetTopicPlainArgs): GetTopicResult

Get properties of a topic. Uses Azure REST API version 2025-02-15. Other available API versions: 2022-06-15, 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native eventgrid [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

EventGrid Topic

Parameters

argument

null


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

Return

EventGrid Topic

Parameters

resourceGroupName

The name of the resource group within the user's subscription.

topicName

Name of the topic.

See also


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

Return

EventGrid Topic

Parameters

argument

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

See also