def get_workspace_connection(connection_name: Optional[str]=None, resource_group_name: Optional[str]=None, workspace_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableGetWorkspaceConnectionResult:
    '\n    Workspace connection.\n\n\n    :param str connection_name: Friendly name of the workspace connection\n    :param str resource_group_name: Name of the resource group in which workspace is located.\n    :param str workspace_name: Name of Azure Machine Learning workspace.\n    '
    __args__ = dict()
    __args__['connectionName'] = connection_name
    __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:machinelearningservices/v20200601:getWorkspaceConnection', __args__, opts=opts, typ=GetWorkspaceConnectionResult).value
    return AwaitableGetWorkspaceConnectionResult(auth_type=__ret__.auth_type, category=__ret__.category, id=__ret__.id, name=__ret__.name, target=__ret__.target, type=__ret__.type, value=__ret__.value)
Workspace connection.


:param str connection_name: Friendly name of the workspace connection
:param str resource_group_name: Name of the resource group in which workspace is located.
:param str workspace_name: Name of Azure Machine Learning workspace.
def get_workspace_connection(connection_name: Optional[str]=None, resource_group_name: Optional[str]=None, workspace_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableGetWorkspaceConnectionResult:
    '\n    Workspace connection.\n\n\n    :param str connection_name: Friendly name of the workspace connection\n    :param str resource_group_name: Name of the resource group in which workspace is located.\n    :param str workspace_name: Name of Azure Machine Learning workspace.\n    '
    __args__ = dict()
    __args__['connectionName'] = connection_name
    __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:machinelearningservices/v20200601:getWorkspaceConnection', __args__, opts=opts, typ=GetWorkspaceConnectionResult).value
    return AwaitableGetWorkspaceConnectionResult(auth_type=__ret__.auth_type, category=__ret__.category, id=__ret__.id, name=__ret__.name, target=__ret__.target, type=__ret__.type, value=__ret__.value)