ConnectionsClient.GetWorkspace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
- Please try the simpler GetWorkspace(CancellationToken) convenience overload with strongly typed models first.
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
Azure SDK for .NET