Interface AccessConnectors
public interface AccessConnectors
Resource collection API of AccessConnectors.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AccessConnector resource.voidDeletes the azure databricks accessConnector.voiddeleteById(String id) Deletes the azure databricks accessConnector.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the azure databricks accessConnector.voiddeleteByResourceGroup(String resourceGroupName, String connectorName) Deletes the azure databricks accessConnector.Gets an azure databricks accessConnector.com.azure.core.http.rest.Response<AccessConnector> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets an azure databricks accessConnector.getByResourceGroup(String resourceGroupName, String connectorName) Gets an azure databricks accessConnector.com.azure.core.http.rest.Response<AccessConnector> getByResourceGroupWithResponse(String resourceGroupName, String connectorName, com.azure.core.util.Context context) Gets an azure databricks accessConnector.com.azure.core.http.rest.PagedIterable<AccessConnector> list()Gets all the azure databricks accessConnectors within a subscription.com.azure.core.http.rest.PagedIterable<AccessConnector> list(com.azure.core.util.Context context) Gets all the azure databricks accessConnectors within a subscription.com.azure.core.http.rest.PagedIterable<AccessConnector> listByResourceGroup(String resourceGroupName) Gets all the azure databricks accessConnectors within a resource group.com.azure.core.http.rest.PagedIterable<AccessConnector> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all the azure databricks accessConnectors within a resource group.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AccessConnector> getByResourceGroupWithResponse(String resourceGroupName, String connectorName, com.azure.core.util.Context context) Gets an azure databricks accessConnector.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectorName- The name of the azure databricks accessConnector.context- The context to associate with this operation.- Returns:
- an azure databricks accessConnector along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Gets an azure databricks accessConnector.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectorName- The name of the azure databricks accessConnector.- Returns:
- an azure databricks accessConnector.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByResourceGroup
Deletes the azure databricks accessConnector.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectorName- The name of the azure databricks accessConnector.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the azure databricks accessConnector.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectorName- The name of the azure databricks accessConnector.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AccessConnector> listByResourceGroup(String resourceGroupName) Gets all the azure databricks accessConnectors within a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- all the azure databricks accessConnectors within a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AccessConnector> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all the azure databricks accessConnectors within a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.context- The context to associate with this operation.- Returns:
- all the azure databricks accessConnectors within a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- 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<AccessConnector> list()Gets all the azure databricks accessConnectors within a subscription.- Returns:
- all the azure databricks accessConnectors within a subscription as paginated response with
PagedIterable. - Throws:
ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
Gets all the azure databricks accessConnectors within a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all the azure databricks accessConnectors within a subscription as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Gets an azure databricks accessConnector.- Parameters:
id- the resource ID.- Returns:
- an azure databricks accessConnector along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdWithResponse
com.azure.core.http.rest.Response<AccessConnector> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets an azure databricks accessConnector.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- an azure databricks accessConnector along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
Deletes the azure databricks accessConnector.- Parameters:
id- the resource ID.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
Deletes the azure databricks accessConnector.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorInfoException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
define
Begins definition for a new AccessConnector resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new AccessConnector definition.
-