Interface WorkspaceConnectionsClient
public interface WorkspaceConnectionsClient
An instance of this class provides access to all the operations defined in WorkspaceConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String resourceGroupName, String workspaceName, String connectionName, WorkspaceConnectionPropertiesV2BasicResourceInner parameters) The create operation.com.azure.core.http.rest.Response<WorkspaceConnectionPropertiesV2BasicResourceInner>createWithResponse(String resourceGroupName, String workspaceName, String connectionName, WorkspaceConnectionPropertiesV2BasicResourceInner parameters, com.azure.core.util.Context context) The create operation.voidThe delete operation.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String workspaceName, String connectionName, com.azure.core.util.Context context) The delete operation.The get operation.com.azure.core.http.rest.Response<WorkspaceConnectionPropertiesV2BasicResourceInner>getWithResponse(String resourceGroupName, String workspaceName, String connectionName, com.azure.core.util.Context context) The get operation.com.azure.core.http.rest.PagedIterable<WorkspaceConnectionPropertiesV2BasicResourceInner>The list operation.com.azure.core.http.rest.PagedIterable<WorkspaceConnectionPropertiesV2BasicResourceInner>list(String resourceGroupName, String workspaceName, String target, String category, com.azure.core.util.Context context) The list operation.listSecrets(String resourceGroupName, String workspaceName, String connectionName) List all the secrets of a machine learning workspaces connections.com.azure.core.http.rest.Response<WorkspaceConnectionPropertiesV2BasicResourceInner>listSecretsWithResponse(String resourceGroupName, String workspaceName, String connectionName, com.azure.core.util.Context context) List all the secrets of a machine learning workspaces connections.
-
Method Details
-
createWithResponse
com.azure.core.http.rest.Response<WorkspaceConnectionPropertiesV2BasicResourceInner> createWithResponse(String resourceGroupName, String workspaceName, String connectionName, WorkspaceConnectionPropertiesV2BasicResourceInner parameters, com.azure.core.util.Context context) The create operation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.connectionName- Friendly name of the workspace connection.parameters- The object for creating or updating a new workspace connection.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
create
WorkspaceConnectionPropertiesV2BasicResourceInner create(String resourceGroupName, String workspaceName, String connectionName, WorkspaceConnectionPropertiesV2BasicResourceInner parameters) The create operation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.connectionName- Friendly name of the workspace connection.parameters- The object for creating or updating a new workspace connection.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<WorkspaceConnectionPropertiesV2BasicResourceInner> getWithResponse(String resourceGroupName, String workspaceName, String connectionName, com.azure.core.util.Context context) The get operation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.connectionName- Friendly name of the workspace connection.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
WorkspaceConnectionPropertiesV2BasicResourceInner get(String resourceGroupName, String workspaceName, String connectionName) The get operation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.connectionName- Friendly name of the workspace connection.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String connectionName, com.azure.core.util.Context context) The delete operation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.connectionName- Friendly name of the workspace connection.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
The delete operation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.connectionName- Friendly name of the workspace connection.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<WorkspaceConnectionPropertiesV2BasicResourceInner> list(String resourceGroupName, String workspaceName) The list operation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<WorkspaceConnectionPropertiesV2BasicResourceInner> list(String resourceGroupName, String workspaceName, String target, String category, com.azure.core.util.Context context) The list operation.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.target- Target of the workspace connection.category- Category of the workspace connection.context- The context to associate with this operation.- Returns:
- the paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSecretsWithResponse
com.azure.core.http.rest.Response<WorkspaceConnectionPropertiesV2BasicResourceInner> listSecretsWithResponse(String resourceGroupName, String workspaceName, String connectionName, com.azure.core.util.Context context) List all the secrets of a machine learning workspaces connections.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.connectionName- Friendly name of the workspace connection.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSecrets
WorkspaceConnectionPropertiesV2BasicResourceInner listSecrets(String resourceGroupName, String workspaceName, String connectionName) List all the secrets of a machine learning workspaces connections.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.connectionName- Friendly name of the workspace connection.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-