1. Packages
  2. Azure Native
  3. API Docs
  4. notificationhubs
  5. listNotificationHubKeys
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.notificationhubs.listNotificationHubKeys

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Response for the POST request that returns Namespace or NotificationHub access keys (connection strings). Azure REST API version: 2023-01-01-preview.

    Other available API versions: 2014-09-01, 2016-03-01, 2017-04-01, 2023-09-01, 2023-10-01-preview.

    Using listNotificationHubKeys

    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 listNotificationHubKeys(args: ListNotificationHubKeysArgs, opts?: InvokeOptions): Promise<ListNotificationHubKeysResult>
    function listNotificationHubKeysOutput(args: ListNotificationHubKeysOutputArgs, opts?: InvokeOptions): Output<ListNotificationHubKeysResult>
    def list_notification_hub_keys(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) -> ListNotificationHubKeysResult
    def list_notification_hub_keys_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[ListNotificationHubKeysResult]
    func ListNotificationHubKeys(ctx *Context, args *ListNotificationHubKeysArgs, opts ...InvokeOption) (*ListNotificationHubKeysResult, error)
    func ListNotificationHubKeysOutput(ctx *Context, args *ListNotificationHubKeysOutputArgs, opts ...InvokeOption) ListNotificationHubKeysResultOutput

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

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

    The following arguments are supported:

    AuthorizationRuleName string
    Authorization Rule Name
    NamespaceName string
    Namespace name
    NotificationHubName string
    Notification Hub name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AuthorizationRuleName string
    Authorization Rule Name
    NamespaceName string
    Namespace name
    NotificationHubName string
    Notification Hub name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    authorizationRuleName String
    Authorization Rule Name
    namespaceName String
    Namespace name
    notificationHubName String
    Notification Hub name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    authorizationRuleName string
    Authorization Rule Name
    namespaceName string
    Namespace name
    notificationHubName string
    Notification Hub name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    authorization_rule_name str
    Authorization Rule Name
    namespace_name str
    Namespace name
    notification_hub_name str
    Notification Hub name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    authorizationRuleName String
    Authorization Rule Name
    namespaceName String
    Namespace name
    notificationHubName String
    Notification Hub name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    listNotificationHubKeys Result

    The following output properties are available:

    KeyName string
    Gets or sets keyName of the created AuthorizationRule
    PrimaryConnectionString string
    Gets or sets primaryConnectionString of the AuthorizationRule.
    PrimaryKey string
    Gets or sets primaryKey of the created AuthorizationRule.
    SecondaryConnectionString string
    Gets or sets secondaryConnectionString of the created AuthorizationRule
    SecondaryKey string
    Gets or sets secondaryKey of the created AuthorizationRule
    KeyName string
    Gets or sets keyName of the created AuthorizationRule
    PrimaryConnectionString string
    Gets or sets primaryConnectionString of the AuthorizationRule.
    PrimaryKey string
    Gets or sets primaryKey of the created AuthorizationRule.
    SecondaryConnectionString string
    Gets or sets secondaryConnectionString of the created AuthorizationRule
    SecondaryKey string
    Gets or sets secondaryKey of the created AuthorizationRule
    keyName String
    Gets or sets keyName of the created AuthorizationRule
    primaryConnectionString String
    Gets or sets primaryConnectionString of the AuthorizationRule.
    primaryKey String
    Gets or sets primaryKey of the created AuthorizationRule.
    secondaryConnectionString String
    Gets or sets secondaryConnectionString of the created AuthorizationRule
    secondaryKey String
    Gets or sets secondaryKey of the created AuthorizationRule
    keyName string
    Gets or sets keyName of the created AuthorizationRule
    primaryConnectionString string
    Gets or sets primaryConnectionString of the AuthorizationRule.
    primaryKey string
    Gets or sets primaryKey of the created AuthorizationRule.
    secondaryConnectionString string
    Gets or sets secondaryConnectionString of the created AuthorizationRule
    secondaryKey string
    Gets or sets secondaryKey of the created AuthorizationRule
    key_name str
    Gets or sets keyName of the created AuthorizationRule
    primary_connection_string str
    Gets or sets primaryConnectionString of the AuthorizationRule.
    primary_key str
    Gets or sets primaryKey of the created AuthorizationRule.
    secondary_connection_string str
    Gets or sets secondaryConnectionString of the created AuthorizationRule
    secondary_key str
    Gets or sets secondaryKey of the created AuthorizationRule
    keyName String
    Gets or sets keyName of the created AuthorizationRule
    primaryConnectionString String
    Gets or sets primaryConnectionString of the AuthorizationRule.
    primaryKey String
    Gets or sets primaryKey of the created AuthorizationRule.
    secondaryConnectionString String
    Gets or sets secondaryConnectionString of the created AuthorizationRule
    secondaryKey String
    Gets or sets secondaryKey of the created AuthorizationRule

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi