getTopic

suspend fun getTopic(argument: GetTopicPlainArgs): GetTopicResult

Get properties of a topic. Uses Azure REST API version 2022-06-15. Other available API versions: 2020-04-01-preview, 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview, 2025-02-15.

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