getTopicAuthorizationRule

Use this data source to access information about a ServiceBus Topic Authorization Rule within a ServiceBus Topic.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.servicebus.ServicebusFunctions;
import com.pulumi.azure.servicebus.inputs.GetTopicAuthorizationRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ServicebusFunctions.getTopicAuthorizationRule(GetTopicAuthorizationRuleArgs.builder()
.name("example-tfex_name")
.resourceGroupName("example-resources")
.namespaceName("example-namespace")
.topicName("example-servicebus_topic")
.build());
ctx.export("servicebusAuthorizationRuleId", data.azurem_servicebus_topic_authorization_rule().example().id());
}
}

Return

A collection of values returned by getTopicAuthorizationRule.

Parameters

argument

A collection of arguments for invoking getTopicAuthorizationRule.


suspend fun getTopicAuthorizationRule(name: String, namespaceName: String? = null, queueName: String? = null, resourceGroupName: String? = null, topicId: String? = null, topicName: String? = null): GetTopicAuthorizationRuleResult

Return

A collection of values returned by getTopicAuthorizationRule.

See also

Parameters

name

The name of the ServiceBus Topic Authorization Rule resource.

namespaceName

The name of the ServiceBus Namespace.

queueName
resourceGroupName

The name of the resource group in which the ServiceBus Namespace exists.

topicId
topicName

The name of the ServiceBus Topic.


Return

A collection of values returned by getTopicAuthorizationRule.

See also

Parameters

argument

Builder for com.pulumi.azure.servicebus.kotlin.inputs.GetTopicAuthorizationRulePlainArgs.