1. Packages
  2. Packages
  3. Azure Native
  4. API Docs
  5. machinelearningservices
  6. getWorkspaceConnection
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Get the detail of a workspace connection. API Version: 2021-01-01.

    Using getWorkspaceConnection

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWorkspaceConnection(args: GetWorkspaceConnectionArgs, opts?: InvokeOptions): Promise<GetWorkspaceConnectionResult>
    function getWorkspaceConnectionOutput(args: GetWorkspaceConnectionOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceConnectionResult>
    def get_workspace_connection(connection_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 workspace_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetWorkspaceConnectionResult
    def get_workspace_connection_output(connection_name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 workspace_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceConnectionResult]
    func LookupWorkspaceConnection(ctx *Context, args *LookupWorkspaceConnectionArgs, opts ...InvokeOption) (*LookupWorkspaceConnectionResult, error)
    func LookupWorkspaceConnectionOutput(ctx *Context, args *LookupWorkspaceConnectionOutputArgs, opts ...InvokeOption) LookupWorkspaceConnectionResultOutput

    > Note: This function is named LookupWorkspaceConnection in the Go SDK.

    public static class GetWorkspaceConnection 
    {
        public static Task<GetWorkspaceConnectionResult> InvokeAsync(GetWorkspaceConnectionArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkspaceConnectionResult> Invoke(GetWorkspaceConnectionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkspaceConnectionResult> getWorkspaceConnection(GetWorkspaceConnectionArgs args, InvokeOptions options)
    public static Output<GetWorkspaceConnectionResult> getWorkspaceConnection(GetWorkspaceConnectionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:machinelearningservices:getWorkspaceConnection
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ConnectionName string
    Friendly name of the workspace connection
    ResourceGroupName string
    Name of the resource group in which workspace is located.
    WorkspaceName string
    Name of Azure Machine Learning workspace.
    ConnectionName string
    Friendly name of the workspace connection
    ResourceGroupName string
    Name of the resource group in which workspace is located.
    WorkspaceName string
    Name of Azure Machine Learning workspace.
    connectionName String
    Friendly name of the workspace connection
    resourceGroupName String
    Name of the resource group in which workspace is located.
    workspaceName String
    Name of Azure Machine Learning workspace.
    connectionName string
    Friendly name of the workspace connection
    resourceGroupName string
    Name of the resource group in which workspace is located.
    workspaceName string
    Name of Azure Machine Learning workspace.
    connection_name str
    Friendly name of the workspace connection
    resource_group_name str
    Name of the resource group in which workspace is located.
    workspace_name str
    Name of Azure Machine Learning workspace.
    connectionName String
    Friendly name of the workspace connection
    resourceGroupName String
    Name of the resource group in which workspace is located.
    workspaceName String
    Name of Azure Machine Learning workspace.

    getWorkspaceConnection Result

    The following output properties are available:

    Id string
    ResourceId of the workspace connection.
    Name string
    Friendly name of the workspace connection.
    Type string
    Resource type of workspace connection.
    AuthType string
    Authorization type of the workspace connection.
    Category string
    Category of the workspace connection.
    Target string
    Target of the workspace connection.
    Value string
    Value details of the workspace connection.
    ValueFormat string
    format for the workspace connection value
    Id string
    ResourceId of the workspace connection.
    Name string
    Friendly name of the workspace connection.
    Type string
    Resource type of workspace connection.
    AuthType string
    Authorization type of the workspace connection.
    Category string
    Category of the workspace connection.
    Target string
    Target of the workspace connection.
    Value string
    Value details of the workspace connection.
    ValueFormat string
    format for the workspace connection value
    id String
    ResourceId of the workspace connection.
    name String
    Friendly name of the workspace connection.
    type String
    Resource type of workspace connection.
    authType String
    Authorization type of the workspace connection.
    category String
    Category of the workspace connection.
    target String
    Target of the workspace connection.
    value String
    Value details of the workspace connection.
    valueFormat String
    format for the workspace connection value
    id string
    ResourceId of the workspace connection.
    name string
    Friendly name of the workspace connection.
    type string
    Resource type of workspace connection.
    authType string
    Authorization type of the workspace connection.
    category string
    Category of the workspace connection.
    target string
    Target of the workspace connection.
    value string
    Value details of the workspace connection.
    valueFormat string
    format for the workspace connection value
    id str
    ResourceId of the workspace connection.
    name str
    Friendly name of the workspace connection.
    type str
    Resource type of workspace connection.
    auth_type str
    Authorization type of the workspace connection.
    category str
    Category of the workspace connection.
    target str
    Target of the workspace connection.
    value str
    Value details of the workspace connection.
    value_format str
    format for the workspace connection value
    id String
    ResourceId of the workspace connection.
    name String
    Friendly name of the workspace connection.
    type String
    Resource type of workspace connection.
    authType String
    Authorization type of the workspace connection.
    category String
    Category of the workspace connection.
    target String
    Target of the workspace connection.
    value String
    Value details of the workspace connection.
    valueFormat String
    format for the workspace connection value

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v1.103.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.