sdk/python/pulumi_azure_nextgen/eventhub/latest/list_event_hub_keys.py
def list_event_hub_keys(authorization_rule_name: Optional[str] = None,
                        event_hub_name: Optional[str] = None,
                        namespace_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListEventHubKeysResult:
    """
    Namespace/EventHub Connection String
    Latest API Version: 2017-04-01.


    :param str authorization_rule_name: The authorization rule name.
    :param str event_hub_name: The Event Hub name
    :param str namespace_name: The Namespace name
    :param str resource_group_name: Name of the resource group within the azure subscription.
    """
    pulumi.log.warn("list_event_hub_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:eventhub:listEventHubKeys'.")
    __args__ = dict()
    __args__['authorizationRuleName'] = authorization_rule_name
    __args__['eventHubName'] = event_hub_name
    __args__['namespaceName'] = namespace_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:eventhub/latest:listEventHubKeys', __args__, opts=opts, typ=ListEventHubKeysResult).value

    return AwaitableListEventHubKeysResult(
        alias_primary_connection_string=__ret__.alias_primary_connection_string,
        alias_secondary_connection_string=__ret__.alias_secondary_connection_string,
        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/EventHub Connection String
    Latest API Version: 2017-04-01.


    :param str authorization_rule_name: The authorization rule name.
    :param str event_hub_name: The Event Hub name
    :param str namespace_name: The Namespace name
    :param str resource_group_name: Name of the resource group within the azure subscription.
    
Namespace/EventHub Connection String
Latest API Version: 2017-04-01.
Namespace / EventHub Connection String Latest API Version : 2017 - 04 - 01 .
def list_event_hub_keys(authorization_rule_name: Optional[str] = None,
                        event_hub_name: Optional[str] = None,
                        namespace_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListEventHubKeysResult:
    pulumi.log.warn("list_event_hub_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:eventhub:listEventHubKeys'.")
    __args__ = dict()
    __args__['authorizationRuleName'] = authorization_rule_name
    __args__['eventHubName'] = event_hub_name
    __args__['namespaceName'] = namespace_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:eventhub/latest:listEventHubKeys', __args__, opts=opts, typ=ListEventHubKeysResult).value
    return AwaitableListEventHubKeysResult(
        alias_primary_connection_string=__ret__.alias_primary_connection_string,
        alias_secondary_connection_string=__ret__.alias_secondary_connection_string,
        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_event_hub_keys ( authorization_rule_name : Optional [ str ] = None , event_hub_name : Optional [ str ] = None , namespace_name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListEventHubKeysResult : pulumi . log . warn ( "list_event_hub_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:eventhub:listEventHubKeys'." ) __args__ = dict ( ) __args__ [ 'authorizationRuleName' ] = authorization_rule_name __args__ [ 'eventHubName' ] = event_hub_name __args__ [ 'namespaceName' ] = namespace_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:eventhub/latest:listEventHubKeys' , __args__ , opts = opts , typ = ListEventHubKeysResult ) . value return AwaitableListEventHubKeysResult ( alias_primary_connection_string = __ret__ . alias_primary_connection_string , alias_secondary_connection_string = __ret__ . alias_secondary_connection_string , 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/EventHub Connection String
Latest API Version: 2017-04-01.
Namespace / EventHub Connection String Latest API Version : 2017 - 04 - 01 .
"""
    Namespace/EventHub Connection String
    Latest API Version: 2017-04-01.


    :param str authorization_rule_name: The authorization rule name.
    :param str event_hub_name: The Event Hub name
    :param str namespace_name: The Namespace name
    :param str resource_group_name: Name of the resource group within the azure subscription.
    """
authorization_rule_name
Optional[str]
The authorization rule name.
The authorization rule name .
event_hub_name
Optional[str]
The Event Hub name
The Event Hub name
namespace_name
Optional[str]
The Namespace name
The Namespace name
resource_group_name
Optional[str]
Name of the resource group within the azure subscription.
Name of the resource group within the azure subscription .
opts
Optional[pulumi.InvokeOptions]