sdk/python/pulumi_azure_nextgen/eventgrid/latest/list_domain_shared_access_keys.py
def list_domain_shared_access_keys(domain_name: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDomainSharedAccessKeysResult:
    """
    Shared access keys of the Domain.
    Latest API Version: 2020-06-01.


    :param str domain_name: Name of the domain.
    :param str resource_group_name: The name of the resource group within the user's subscription.
    """
    pulumi.log.warn("list_domain_shared_access_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:eventgrid:listDomainSharedAccessKeys'.")
    __args__ = dict()
    __args__['domainName'] = domain_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:eventgrid/latest:listDomainSharedAccessKeys', __args__, opts=opts, typ=ListDomainSharedAccessKeysResult).value

    return AwaitableListDomainSharedAccessKeysResult(
        key1=__ret__.key1,
        key2=__ret__.key2)

    Shared access keys of the Domain.
    Latest API Version: 2020-06-01.


    :param str domain_name: Name of the domain.
    :param str resource_group_name: The name of the resource group within the user's subscription.
    
Shared access keys of the Domain.
Shared access keys of the Domain .
def list_domain_shared_access_keys(domain_name: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDomainSharedAccessKeysResult:
    pulumi.log.warn("list_domain_shared_access_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:eventgrid:listDomainSharedAccessKeys'.")
    __args__ = dict()
    __args__['domainName'] = domain_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:eventgrid/latest:listDomainSharedAccessKeys', __args__, opts=opts, typ=ListDomainSharedAccessKeysResult).value
    return AwaitableListDomainSharedAccessKeysResult(
        key1=__ret__.key1,
        key2=__ret__.key2)
def list_domain_shared_access_keys ( domain_name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListDomainSharedAccessKeysResult : pulumi . log . warn ( "list_domain_shared_access_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:eventgrid:listDomainSharedAccessKeys'." ) __args__ = dict ( ) __args__ [ 'domainName' ] = domain_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:eventgrid/latest:listDomainSharedAccessKeys' , __args__ , opts = opts , typ = ListDomainSharedAccessKeysResult ) . value return AwaitableListDomainSharedAccessKeysResult ( key1 = __ret__ . key1 , key2 = __ret__ . key2 )
Shared access keys of the Domain.
Shared access keys of the Domain .
"""
    Shared access keys of the Domain.
    Latest API Version: 2020-06-01.


    :param str domain_name: Name of the domain.
    :param str resource_group_name: The name of the resource group within the user's subscription.
    """
domain_name
Optional[str]
Name of the domain.
Name of the domain .
resource_group_name
Optional[str]
The name of the resource group within the user's subscription.
The name of the resource group within the user ' s subscription .
opts
Optional[pulumi.InvokeOptions]