Show / Hide Table of Contents

Class GetNamespaceAuthorizationRule

Inheritance
System.Object
GetNamespaceAuthorizationRule
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.EventHub
Assembly: Pulumi.Azure.dll
Syntax
public static class GetNamespaceAuthorizationRule

Methods

View Source

InvokeAsync(GetNamespaceAuthorizationRuleArgs, InvokeOptions)

Use this data source to access information about an Authorization Rule for an Event Hub Namespace.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.EventHub.GetNamespaceAuthorizationRule.InvokeAsync(new Azure.EventHub.GetNamespaceAuthorizationRuleArgs
    {
        Name = "navi",
        ResourceGroupName = "example-resources",
        NamespaceName = "example-ns",
    }));
    this.EventhubAuthorizationRuleId = data.Azurem_eventhub_namespace_authorization_rule.Example.Id;
}

[Output("eventhubAuthorizationRuleId")]
public Output<string> EventhubAuthorizationRuleId { get; set; }
}

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

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