sdk/python/pulumi_azure_nextgen/machinelearning/latest/list_workspace_keys.py
def list_workspace_keys(resource_group_name: Optional[str] = None,
                        workspace_name: Optional[str] = None,
                        opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListWorkspaceKeysResult:
    """
    Workspace authorization keys for a workspace.
    Latest API Version: 2016-04-01.


    :param str resource_group_name: The name of the resource group to which the machine learning workspace belongs.
    :param str workspace_name: The name of the machine learning workspace.
    """
    pulumi.log.warn("list_workspace_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:machinelearning:listWorkspaceKeys'.")
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['workspaceName'] = workspace_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:machinelearning/latest:listWorkspaceKeys', __args__, opts=opts, typ=ListWorkspaceKeysResult).value

    return AwaitableListWorkspaceKeysResult(
        primary_token=__ret__.primary_token,
        secondary_token=__ret__.secondary_token)

    Workspace authorization keys for a workspace.
    Latest API Version: 2016-04-01.


    :param str resource_group_name: The name of the resource group to which the machine learning workspace belongs.
    :param str workspace_name: The name of the machine learning workspace.
    
Workspace authorization keys for a workspace.
Workspace authorization keys for a workspace .
def list_workspace_keys(resource_group_name: Optional[str] = None,
                        workspace_name: Optional[str] = None,
                        opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListWorkspaceKeysResult:
    pulumi.log.warn("list_workspace_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:machinelearning:listWorkspaceKeys'.")
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['workspaceName'] = workspace_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:machinelearning/latest:listWorkspaceKeys', __args__, opts=opts, typ=ListWorkspaceKeysResult).value
    return AwaitableListWorkspaceKeysResult(
        primary_token=__ret__.primary_token,
        secondary_token=__ret__.secondary_token)
def list_workspace_keys ( resource_group_name : Optional [ str ] = None , workspace_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListWorkspaceKeysResult : pulumi . log . warn ( "list_workspace_keys is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:machinelearning:listWorkspaceKeys'." ) __args__ = dict ( ) __args__ [ 'resourceGroupName' ] = resource_group_name __args__ [ 'workspaceName' ] = workspace_name if opts is None : opts = pulumi . InvokeOptions ( ) if opts . version is None : opts . version = _utilities . get_version ( ) __ret__ = pulumi . runtime . invoke ( 'azure-nextgen:machinelearning/latest:listWorkspaceKeys' , __args__ , opts = opts , typ = ListWorkspaceKeysResult ) . value return AwaitableListWorkspaceKeysResult ( primary_token = __ret__ . primary_token , secondary_token = __ret__ . secondary_token )
Workspace authorization keys for a workspace.
Workspace authorization keys for a workspace .
"""
    Workspace authorization keys for a workspace.
    Latest API Version: 2016-04-01.


    :param str resource_group_name: The name of the resource group to which the machine learning workspace belongs.
    :param str workspace_name: The name of the machine learning workspace.
    """
resource_group_name
Optional[str]
The name of the resource group to which the machine learning workspace belongs.
The name of the resource group to which the machine learning workspace belongs .
workspace_name
Optional[str]
The name of the machine learning workspace.
The name of the machine learning workspace .
opts
Optional[pulumi.InvokeOptions]