Share via


ConnectionsClient.GetWorkspace Method

Definition

Overloads

GetWorkspace(RequestContext)

[Protocol Method] Gets the properties of the specified machine learning workspace.

GetWorkspace(CancellationToken)

Gets the properties of the specified machine learning workspace.

GetWorkspace(RequestContext)

Source:
ConnectionsClient.cs

[Protocol Method] Gets the properties of the specified machine learning workspace.

public virtual Azure.Response GetWorkspace (Azure.RequestContext context);
abstract member GetWorkspace : Azure.RequestContext -> Azure.Response
override this.GetWorkspace : Azure.RequestContext -> Azure.Response
Public Overridable Function GetWorkspace (context As RequestContext) As Response

Parameters

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to

GetWorkspace(CancellationToken)

Source:
ConnectionsClient.cs

Gets the properties of the specified machine learning workspace.

public virtual Azure.Response<Azure.AI.Projects.GetWorkspaceResponse> GetWorkspace (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkspace : System.Threading.CancellationToken -> Azure.Response<Azure.AI.Projects.GetWorkspaceResponse>
override this.GetWorkspace : System.Threading.CancellationToken -> Azure.Response<Azure.AI.Projects.GetWorkspaceResponse>
Public Overridable Function GetWorkspace (Optional cancellationToken As CancellationToken = Nothing) As Response(Of GetWorkspaceResponse)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to