sdk/python/pulumi_azure_nextgen/cognitiveservices/latest/list_account_keys.py
def list_account_keys(account_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListAccountKeysResult:
    """
    The access keys for the cognitive services account.
    Latest API Version: 2017-04-18.


    :param str account_name: The name of Cognitive Services account.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    """
    pulumi.log.warn("list_account_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:cognitiveservices:listAccountKeys'.")
    __args__ = dict()
    __args__['accountName'] = account_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:cognitiveservices/latest:listAccountKeys', __args__, opts=opts, typ=ListAccountKeysResult).value

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

    The access keys for the cognitive services account.
    Latest API Version: 2017-04-18.


    :param str account_name: The name of Cognitive Services account.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    
The access keys for the cognitive services account.
The access keys for the cognitive services account .
def list_account_keys(account_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListAccountKeysResult:
    pulumi.log.warn("list_account_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:cognitiveservices:listAccountKeys'.")
    __args__ = dict()
    __args__['accountName'] = account_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:cognitiveservices/latest:listAccountKeys', __args__, opts=opts, typ=ListAccountKeysResult).value
    return AwaitableListAccountKeysResult(
        key1=__ret__.key1,
        key2=__ret__.key2)
def list_account_keys ( account_name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListAccountKeysResult : pulumi . log . warn ( "list_account_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:cognitiveservices:listAccountKeys'." ) __args__ = dict ( ) __args__ [ 'accountName' ] = account_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:cognitiveservices/latest:listAccountKeys' , __args__ , opts = opts , typ = ListAccountKeysResult ) . value return AwaitableListAccountKeysResult ( key1 = __ret__ . key1 , key2 = __ret__ . key2 )
The access keys for the cognitive services account.
The access keys for the cognitive services account .
"""
    The access keys for the cognitive services account.
    Latest API Version: 2017-04-18.


    :param str account_name: The name of Cognitive Services account.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    """
account_name
Optional[str]
The name of Cognitive Services account.
The name of Cognitive Services account .
resource_group_name
Optional[str]
The name of the resource group. The name is case insensitive.
The name of the resource group . The name is case insensitive .
opts
Optional[pulumi.InvokeOptions]