1. Packages
  2. Azure Native v1
  3. API Docs
  4. notificationhubs
  5. getNamespaceAuthorizationRule
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.notificationhubs.getNamespaceAuthorizationRule

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets an authorization rule for a namespace by name. API Version: 2017-04-01.

    Using getNamespaceAuthorizationRule

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNamespaceAuthorizationRule(args: GetNamespaceAuthorizationRuleArgs, opts?: InvokeOptions): Promise<GetNamespaceAuthorizationRuleResult>
    function getNamespaceAuthorizationRuleOutput(args: GetNamespaceAuthorizationRuleOutputArgs, opts?: InvokeOptions): Output<GetNamespaceAuthorizationRuleResult>
    def get_namespace_authorization_rule(authorization_rule_name: Optional[str] = None,
                                         namespace_name: Optional[str] = None,
                                         resource_group_name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetNamespaceAuthorizationRuleResult
    def get_namespace_authorization_rule_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
                                         namespace_name: Optional[pulumi.Input[str]] = None,
                                         resource_group_name: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceAuthorizationRuleResult]
    func LookupNamespaceAuthorizationRule(ctx *Context, args *LookupNamespaceAuthorizationRuleArgs, opts ...InvokeOption) (*LookupNamespaceAuthorizationRuleResult, error)
    func LookupNamespaceAuthorizationRuleOutput(ctx *Context, args *LookupNamespaceAuthorizationRuleOutputArgs, opts ...InvokeOption) LookupNamespaceAuthorizationRuleResultOutput

    > Note: This function is named LookupNamespaceAuthorizationRule in the Go SDK.

    public static class GetNamespaceAuthorizationRule 
    {
        public static Task<GetNamespaceAuthorizationRuleResult> InvokeAsync(GetNamespaceAuthorizationRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetNamespaceAuthorizationRuleResult> Invoke(GetNamespaceAuthorizationRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNamespaceAuthorizationRuleResult> getNamespaceAuthorizationRule(GetNamespaceAuthorizationRuleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:notificationhubs:getNamespaceAuthorizationRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AuthorizationRuleName string
    Authorization rule name.
    NamespaceName string
    The namespace name
    ResourceGroupName string
    The name of the resource group.
    AuthorizationRuleName string
    Authorization rule name.
    NamespaceName string
    The namespace name
    ResourceGroupName string
    The name of the resource group.
    authorizationRuleName String
    Authorization rule name.
    namespaceName String
    The namespace name
    resourceGroupName String
    The name of the resource group.
    authorizationRuleName string
    Authorization rule name.
    namespaceName string
    The namespace name
    resourceGroupName string
    The name of the resource group.
    authorization_rule_name str
    Authorization rule name.
    namespace_name str
    The namespace name
    resource_group_name str
    The name of the resource group.
    authorizationRuleName String
    Authorization rule name.
    namespaceName String
    The namespace name
    resourceGroupName String
    The name of the resource group.

    getNamespaceAuthorizationRule Result

    The following output properties are available:

    ClaimType string
    A string that describes the claim type
    ClaimValue string
    A string that describes the claim value
    CreatedTime string
    The created time for this rule
    Id string
    Resource Id
    KeyName string
    A string that describes the authorization rule.
    ModifiedTime string
    The last modified time for this rule
    Name string
    Resource name
    PrimaryKey string
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    Revision int
    The revision number for the rule
    SecondaryKey string
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    Type string
    Resource type
    Location string
    Resource location
    Rights List<string>
    The rights associated with the rule.
    Sku Pulumi.AzureNative.NotificationHubs.Outputs.SkuResponse
    The sku of the created namespace
    Tags Dictionary<string, string>
    Resource tags
    ClaimType string
    A string that describes the claim type
    ClaimValue string
    A string that describes the claim value
    CreatedTime string
    The created time for this rule
    Id string
    Resource Id
    KeyName string
    A string that describes the authorization rule.
    ModifiedTime string
    The last modified time for this rule
    Name string
    Resource name
    PrimaryKey string
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    Revision int
    The revision number for the rule
    SecondaryKey string
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    Type string
    Resource type
    Location string
    Resource location
    Rights []string
    The rights associated with the rule.
    Sku SkuResponse
    The sku of the created namespace
    Tags map[string]string
    Resource tags
    claimType String
    A string that describes the claim type
    claimValue String
    A string that describes the claim value
    createdTime String
    The created time for this rule
    id String
    Resource Id
    keyName String
    A string that describes the authorization rule.
    modifiedTime String
    The last modified time for this rule
    name String
    Resource name
    primaryKey String
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    revision Integer
    The revision number for the rule
    secondaryKey String
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    type String
    Resource type
    location String
    Resource location
    rights List<String>
    The rights associated with the rule.
    sku SkuResponse
    The sku of the created namespace
    tags Map<String,String>
    Resource tags
    claimType string
    A string that describes the claim type
    claimValue string
    A string that describes the claim value
    createdTime string
    The created time for this rule
    id string
    Resource Id
    keyName string
    A string that describes the authorization rule.
    modifiedTime string
    The last modified time for this rule
    name string
    Resource name
    primaryKey string
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    revision number
    The revision number for the rule
    secondaryKey string
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    type string
    Resource type
    location string
    Resource location
    rights string[]
    The rights associated with the rule.
    sku SkuResponse
    The sku of the created namespace
    tags {[key: string]: string}
    Resource tags
    claim_type str
    A string that describes the claim type
    claim_value str
    A string that describes the claim value
    created_time str
    The created time for this rule
    id str
    Resource Id
    key_name str
    A string that describes the authorization rule.
    modified_time str
    The last modified time for this rule
    name str
    Resource name
    primary_key str
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    revision int
    The revision number for the rule
    secondary_key str
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    type str
    Resource type
    location str
    Resource location
    rights Sequence[str]
    The rights associated with the rule.
    sku SkuResponse
    The sku of the created namespace
    tags Mapping[str, str]
    Resource tags
    claimType String
    A string that describes the claim type
    claimValue String
    A string that describes the claim value
    createdTime String
    The created time for this rule
    id String
    Resource Id
    keyName String
    A string that describes the authorization rule.
    modifiedTime String
    The last modified time for this rule
    name String
    Resource name
    primaryKey String
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    revision Number
    The revision number for the rule
    secondaryKey String
    A base64-encoded 256-bit primary key for signing and validating the SAS token.
    type String
    Resource type
    location String
    Resource location
    rights List<String>
    The rights associated with the rule.
    sku Property Map
    The sku of the created namespace
    tags Map<String>
    Resource tags

    Supporting Types

    SkuResponse

    Name string
    Name of the notification hub sku
    Capacity int
    The capacity of the resource
    Family string
    The Sku Family
    Size string
    The Sku size
    Tier string
    The tier of particular sku
    Name string
    Name of the notification hub sku
    Capacity int
    The capacity of the resource
    Family string
    The Sku Family
    Size string
    The Sku size
    Tier string
    The tier of particular sku
    name String
    Name of the notification hub sku
    capacity Integer
    The capacity of the resource
    family String
    The Sku Family
    size String
    The Sku size
    tier String
    The tier of particular sku
    name string
    Name of the notification hub sku
    capacity number
    The capacity of the resource
    family string
    The Sku Family
    size string
    The Sku size
    tier string
    The tier of particular sku
    name str
    Name of the notification hub sku
    capacity int
    The capacity of the resource
    family str
    The Sku Family
    size str
    The Sku size
    tier str
    The tier of particular sku
    name String
    Name of the notification hub sku
    capacity Number
    The capacity of the resource
    family String
    The Sku Family
    size String
    The Sku size
    tier String
    The tier of particular sku

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi