Class WorkspaceClient
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.WorkspaceClient
-
public final class WorkspaceClient extends Object
Initializes a new instance of the synchronous ArtifactsClient type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Workspace
get()
Get Workspace.com.azure.core.http.rest.Response<Workspace>
getWithResponse(com.azure.core.util.Context context)
Get Workspace.
-
-
-
Method Detail
-
get
public Workspace get()
Get Workspace.- Returns:
- workspace.
- Throws:
ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
public com.azure.core.http.rest.Response<Workspace> getWithResponse(com.azure.core.util.Context context)
Get Workspace.- Parameters:
context
- The context to associate with this operation.- Returns:
- workspace along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-