Class WorkspaceClient
java.lang.Object
com.azure.analytics.synapse.artifacts.WorkspaceClient
Initializes a new instance of the synchronous ArtifactsClient type.
-
Method Summary
Modifier and TypeMethodDescriptionget()
Get Workspace.com.azure.core.http.rest.Response<Workspace>
getWithResponse
(com.azure.core.util.Context context) Get Workspace.
-
Method Details
-
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.
-