Interface DataControllers
public interface DataControllers
Resource collection API of DataControllers.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new DataControllerResource resource.void
Deletes a dataController resource.void
deleteById
(String id) Deletes a dataController resource.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes a dataController resource.void
deleteByResourceGroup
(String resourceGroupName, String dataControllerName) Deletes a dataController resource.Retrieves a dataController resource.com.azure.core.http.rest.Response<DataControllerResource>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Retrieves a dataController resource.getByResourceGroup
(String resourceGroupName, String dataControllerName) Retrieves a dataController resource.com.azure.core.http.rest.Response<DataControllerResource>
getByResourceGroupWithResponse
(String resourceGroupName, String dataControllerName, com.azure.core.util.Context context) Retrieves a dataController resource.com.azure.core.http.rest.PagedIterable<DataControllerResource>
list()
List dataController resources in the subscription.com.azure.core.http.rest.PagedIterable<DataControllerResource>
list
(com.azure.core.util.Context context) List dataController resources in the subscription.com.azure.core.http.rest.PagedIterable<DataControllerResource>
listByResourceGroup
(String resourceGroupName) List dataController resources in the resource group.com.azure.core.http.rest.PagedIterable<DataControllerResource>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List dataController resources in the resource group.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<DataControllerResource> list()List dataController resources in the subscription.- Returns:
- the paginated response with
PagedIterable
. - Throws:
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<DataControllerResource> list(com.azure.core.util.Context context) List dataController resources in the subscription.- Parameters:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<DataControllerResource> listByResourceGroup(String resourceGroupName) List dataController resources in the resource group.- Parameters:
resourceGroupName
- The name of the Azure resource group.- 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<DataControllerResource> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List dataController resources in the resource group.- Parameters:
resourceGroupName
- The name of the Azure resource group.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.
-
deleteByResourceGroup
Deletes a dataController resource.- Parameters:
resourceGroupName
- The name of the Azure resource group.dataControllerName
- The dataControllerName parameter.- 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
void delete(String resourceGroupName, String dataControllerName, com.azure.core.util.Context context) Deletes a dataController resource.- Parameters:
resourceGroupName
- The name of the Azure resource group.dataControllerName
- The dataControllerName parameter.context
- The context to associate with this operation.- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DataControllerResource> getByResourceGroupWithResponse(String resourceGroupName, String dataControllerName, com.azure.core.util.Context context) Retrieves a dataController resource.- Parameters:
resourceGroupName
- The name of the Azure resource group.dataControllerName
- The dataControllerName parameter.context
- The context to associate with this operation.- Returns:
- data controller resource 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.
-
getByResourceGroup
Retrieves a dataController resource.- Parameters:
resourceGroupName
- The name of the Azure resource group.dataControllerName
- The dataControllerName parameter.- Returns:
- data controller resource.
- 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.
-
getById
Retrieves a dataController resource.- Parameters:
id
- the resource ID.- Returns:
- data controller resource 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<DataControllerResource> getByIdWithResponse(String id, com.azure.core.util.Context context) Retrieves a dataController resource.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- data controller resource 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.
-
deleteById
Deletes a dataController resource.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Deletes a dataController resource.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- 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.
-
define
Begins definition for a new DataControllerResource resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new DataControllerResource definition.
-