1. Packages
  2. Azure Native v1
  3. API Docs
  4. notificationhubs
  5. getNotificationHubAuthorizationRule
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.getNotificationHubAuthorizationRule

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 NotificationHub by name. API Version: 2017-04-01.

    Using getNotificationHubAuthorizationRule

    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 getNotificationHubAuthorizationRule(args: GetNotificationHubAuthorizationRuleArgs, opts?: InvokeOptions): Promise<GetNotificationHubAuthorizationRuleResult>
    function getNotificationHubAuthorizationRuleOutput(args: GetNotificationHubAuthorizationRuleOutputArgs, opts?: InvokeOptions): Output<GetNotificationHubAuthorizationRuleResult>
    def get_notification_hub_authorization_rule(authorization_rule_name: Optional[str] = None,
                                                namespace_name: Optional[str] = None,
                                                notification_hub_name: Optional[str] = None,
                                                resource_group_name: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetNotificationHubAuthorizationRuleResult
    def get_notification_hub_authorization_rule_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
                                                namespace_name: Optional[pulumi.Input[str]] = None,
                                                notification_hub_name: Optional[pulumi.Input[str]] = None,
                                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetNotificationHubAuthorizationRuleResult]
    func LookupNotificationHubAuthorizationRule(ctx *Context, args *LookupNotificationHubAuthorizationRuleArgs, opts ...InvokeOption) (*LookupNotificationHubAuthorizationRuleResult, error)
    func LookupNotificationHubAuthorizationRuleOutput(ctx *Context, args *LookupNotificationHubAuthorizationRuleOutputArgs, opts ...InvokeOption) LookupNotificationHubAuthorizationRuleResultOutput

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

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

    The following arguments are supported:

    AuthorizationRuleName string
    authorization rule name.
    NamespaceName string
    The namespace name
    NotificationHubName string
    The notification hub name.
    ResourceGroupName string
    The name of the resource group.
    AuthorizationRuleName string
    authorization rule name.
    NamespaceName string
    The namespace name
    NotificationHubName string
    The notification hub name.
    ResourceGroupName string
    The name of the resource group.
    authorizationRuleName String
    authorization rule name.
    namespaceName String
    The namespace name
    notificationHubName String
    The notification hub name.
    resourceGroupName String
    The name of the resource group.
    authorizationRuleName string
    authorization rule name.
    namespaceName string
    The namespace name
    notificationHubName string
    The notification hub name.
    resourceGroupName string
    The name of the resource group.
    authorization_rule_name str
    authorization rule name.
    namespace_name str
    The namespace name
    notification_hub_name str
    The notification hub name.
    resource_group_name str
    The name of the resource group.
    authorizationRuleName String
    authorization rule name.
    namespaceName String
    The namespace name
    notificationHubName String
    The notification hub name.
    resourceGroupName String
    The name of the resource group.

    getNotificationHubAuthorizationRule 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