sdk/python/pulumi_azure_nextgen/notificationhubs/latest/list_notification_hub_keys.py
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[pulumi.InvokeOptions] = None) -> AwaitableListNotificationHubKeysResult:
    """
    Namespace/NotificationHub Connection String
    Latest API Version: 2017-04-01.


    :param str authorization_rule_name: The connection string of the NotificationHub for the specified authorizationRule.
    :param str namespace_name: The namespace name.
    :param str notification_hub_name: The notification hub name.
    :param str resource_group_name: The name of the resource group.
    """
    pulumi.log.warn("list_notification_hub_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:notificationhubs:listNotificationHubKeys'.")
    __args__ = dict()
    __args__['authorizationRuleName'] = authorization_rule_name
    __args__['namespaceName'] = namespace_name
    __args__['notificationHubName'] = notification_hub_name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:notificationhubs/latest:listNotificationHubKeys', __args__, opts=opts, typ=ListNotificationHubKeysResult).value

    return AwaitableListNotificationHubKeysResult(
        key_name=__ret__.key_name,
        primary_connection_string=__ret__.primary_connection_string,
        primary_key=__ret__.primary_key,
        secondary_connection_string=__ret__.secondary_connection_string,
        secondary_key=__ret__.secondary_key)

    Namespace/NotificationHub Connection String
    Latest API Version: 2017-04-01.


    :param str authorization_rule_name: The connection string of the NotificationHub for the specified authorizationRule.
    :param str namespace_name: The namespace name.
    :param str notification_hub_name: The notification hub name.
    :param str resource_group_name: The name of the resource group.
    
Namespace/NotificationHub Connection String
Latest API Version: 2017-04-01.
Namespace / NotificationHub Connection String Latest API Version : 2017 - 04 - 01 .
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[pulumi.InvokeOptions] = None) -> AwaitableListNotificationHubKeysResult:
    pulumi.log.warn("list_notification_hub_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:notificationhubs:listNotificationHubKeys'.")
    __args__ = dict()
    __args__['authorizationRuleName'] = authorization_rule_name
    __args__['namespaceName'] = namespace_name
    __args__['notificationHubName'] = notification_hub_name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:notificationhubs/latest:listNotificationHubKeys', __args__, opts=opts, typ=ListNotificationHubKeysResult).value
    return AwaitableListNotificationHubKeysResult(
        key_name=__ret__.key_name,
        primary_connection_string=__ret__.primary_connection_string,
        primary_key=__ret__.primary_key,
        secondary_connection_string=__ret__.secondary_connection_string,
        secondary_key=__ret__.secondary_key)
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 [ pulumi . InvokeOptions ] = None ) -> AwaitableListNotificationHubKeysResult : pulumi . log . warn ( "list_notification_hub_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:notificationhubs:listNotificationHubKeys'." ) __args__ = dict ( ) __args__ [ 'authorizationRuleName' ] = authorization_rule_name __args__ [ 'namespaceName' ] = namespace_name __args__ [ 'notificationHubName' ] = notification_hub_name __args__ [ 'resourceGroupName' ] = resource_group_name if opts is None : opts = pulumi . InvokeOptions ( ) if opts . version is None : opts . version = _utilities . get_version ( ) __ret__ = pulumi . runtime . invoke ( 'azure-nextgen:notificationhubs/latest:listNotificationHubKeys' , __args__ , opts = opts , typ = ListNotificationHubKeysResult ) . value return AwaitableListNotificationHubKeysResult ( key_name = __ret__ . key_name , primary_connection_string = __ret__ . primary_connection_string , primary_key = __ret__ . primary_key , secondary_connection_string = __ret__ . secondary_connection_string , secondary_key = __ret__ . secondary_key )
Namespace/NotificationHub Connection String
Latest API Version: 2017-04-01.
Namespace / NotificationHub Connection String Latest API Version : 2017 - 04 - 01 .
"""
    Namespace/NotificationHub Connection String
    Latest API Version: 2017-04-01.


    :param str authorization_rule_name: The connection string of the NotificationHub for the specified authorizationRule.
    :param str namespace_name: The namespace name.
    :param str notification_hub_name: The notification hub name.
    :param str resource_group_name: The name of the resource group.
    """
authorization_rule_name
Optional[str]
The connection string of the NotificationHub for the specified authorizationRule.
The connection string of the NotificationHub for the specified authorizationRule .
namespace_name
Optional[str]
The namespace name.
The namespace name .
notification_hub_name
Optional[str]
The notification hub name.
The notification hub name .
resource_group_name
Optional[str]
The name of the resource group.
The name of the resource group .
opts
Optional[pulumi.InvokeOptions]