sdk/python/pulumi_azure_nextgen/batch/v20181201/list_batch_account_keys.py
def list_batch_account_keys(account_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListBatchAccountKeysResult:
    """
    A set of Azure Batch account keys.


    :param str account_name: The name of the Batch account.
    :param str resource_group_name: The name of the resource group that contains the Batch account.
    """
    __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:batch/v20181201:listBatchAccountKeys', __args__, opts=opts, typ=ListBatchAccountKeysResult).value

    return AwaitableListBatchAccountKeysResult(
        account_name=__ret__.account_name,
        primary=__ret__.primary,
        secondary=__ret__.secondary)

    A set of Azure Batch account keys.


    :param str account_name: The name of the Batch account.
    :param str resource_group_name: The name of the resource group that contains the Batch account.
    
A set of Azure Batch account keys.
A set of Azure Batch account keys .
def list_batch_account_keys(account_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListBatchAccountKeysResult:
    __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:batch/v20181201:listBatchAccountKeys', __args__, opts=opts, typ=ListBatchAccountKeysResult).value
    return AwaitableListBatchAccountKeysResult(
        account_name=__ret__.account_name,
        primary=__ret__.primary,
        secondary=__ret__.secondary)
def list_batch_account_keys ( account_name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListBatchAccountKeysResult : __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:batch/v20181201:listBatchAccountKeys' , __args__ , opts = opts , typ = ListBatchAccountKeysResult ) . value return AwaitableListBatchAccountKeysResult ( account_name = __ret__ . account_name , primary = __ret__ . primary , secondary = __ret__ . secondary )
A set of Azure Batch account keys.
A set of Azure Batch account keys .
"""
    A set of Azure Batch account keys.


    :param str account_name: The name of the Batch account.
    :param str resource_group_name: The name of the resource group that contains the Batch account.
    """
account_name
Optional[str]
The name of the Batch account.
The name of the Batch account .
resource_group_name
Optional[str]
The name of the resource group that contains the Batch account.
The name of the resource group that contains the Batch account .
opts
Optional[pulumi.InvokeOptions]