Show / Hide Table of Contents

Class GetTopicAuthorizationRule

Inheritance
System.Object
GetTopicAuthorizationRule
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.ServiceBus
Assembly: Pulumi.Azure.dll
Syntax
public static class GetTopicAuthorizationRule

Methods

View Source

InvokeAsync(GetTopicAuthorizationRuleArgs, InvokeOptions)

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

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.ServiceBus.GetTopicAuthorizationRule.InvokeAsync(new Azure.ServiceBus.GetTopicAuthorizationRuleArgs
    {
        Name = "example-tfex_name",
        NamespaceName = "example-namespace",
        ResourceGroupName = "example-resources",
        TopicName = "example-servicebus_topic",
    }));
    this.ServicebusAuthorizationRuleId = data.Azurem_servicebus_topic_authorization_rule.Example.Id;
}

[Output("servicebusAuthorizationRuleId")]
public Output<string> ServicebusAuthorizationRuleId { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetTopicAuthorizationRuleResult> InvokeAsync(GetTopicAuthorizationRuleArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetTopicAuthorizationRuleArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetTopicAuthorizationRuleResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.