Interface BigDataPoolsClient
-
public interface BigDataPoolsClient
An instance of this class provides access to all the operations defined in BigDataPoolsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BigDataPoolResourceInfoInner>,BigDataPoolResourceInfoInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo, Boolean force)
Create a new Big Data pool.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BigDataPoolResourceInfoInner>,BigDataPoolResourceInfoInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo, Boolean force, com.azure.core.util.Context context)
Create a new Big Data pool.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object>
beginDelete(String resourceGroupName, String workspaceName, String bigDataPoolName)
Delete a Big Data pool from the workspace.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object>
beginDelete(String resourceGroupName, String workspaceName, String bigDataPoolName, com.azure.core.util.Context context)
Delete a Big Data pool from the workspace.BigDataPoolResourceInfoInner
createOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo)
Create a new Big Data pool.BigDataPoolResourceInfoInner
createOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo, Boolean force)
Create a new Big Data pool.BigDataPoolResourceInfoInner
createOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo, Boolean force, com.azure.core.util.Context context)
Create a new Big Data pool.Object
delete(String resourceGroupName, String workspaceName, String bigDataPoolName)
Delete a Big Data pool from the workspace.Object
delete(String resourceGroupName, String workspaceName, String bigDataPoolName, com.azure.core.util.Context context)
Delete a Big Data pool from the workspace.BigDataPoolResourceInfoInner
get(String resourceGroupName, String workspaceName, String bigDataPoolName)
Get a Big Data pool.com.azure.core.http.rest.Response<BigDataPoolResourceInfoInner>
getWithResponse(String resourceGroupName, String workspaceName, String bigDataPoolName, com.azure.core.util.Context context)
Get a Big Data pool.com.azure.core.http.rest.PagedIterable<BigDataPoolResourceInfoInner>
listByWorkspace(String resourceGroupName, String workspaceName)
List Big Data pools in a workspace.com.azure.core.http.rest.PagedIterable<BigDataPoolResourceInfoInner>
listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
List Big Data pools in a workspace.BigDataPoolResourceInfoInner
update(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolPatchInfo bigDataPoolPatchInfo)
Patch a Big Data pool.com.azure.core.http.rest.Response<BigDataPoolResourceInfoInner>
updateWithResponse(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolPatchInfo bigDataPoolPatchInfo, com.azure.core.util.Context context)
Patch a Big Data pool.
-
-
-
Method Detail
-
get
BigDataPoolResourceInfoInner get(String resourceGroupName, String workspaceName, String bigDataPoolName)
Get a Big Data pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.- Returns:
- a Big Data pool.
- 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<BigDataPoolResourceInfoInner> getWithResponse(String resourceGroupName, String workspaceName, String bigDataPoolName, com.azure.core.util.Context context)
Get a Big Data pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.context
- The context to associate with this operation.- Returns:
- a Big Data pool 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.
-
update
BigDataPoolResourceInfoInner update(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolPatchInfo bigDataPoolPatchInfo)
Patch a Big Data pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.bigDataPoolPatchInfo
- The updated Big Data pool properties.- Returns:
- big Data pool.
- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<BigDataPoolResourceInfoInner> updateWithResponse(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolPatchInfo bigDataPoolPatchInfo, com.azure.core.util.Context context)
Patch a Big Data pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.bigDataPoolPatchInfo
- The updated Big Data pool properties.context
- The context to associate with this operation.- Returns:
- big Data pool 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BigDataPoolResourceInfoInner>,BigDataPoolResourceInfoInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo, Boolean force)
Create a new Big Data pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.bigDataPoolInfo
- The Big Data pool to create.force
- Whether to stop any running jobs in the Big Data pool.- Returns:
- the
SyncPoller
for polling of big Data pool. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BigDataPoolResourceInfoInner>,BigDataPoolResourceInfoInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo, Boolean force, com.azure.core.util.Context context)
Create a new Big Data pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.bigDataPoolInfo
- The Big Data pool to create.force
- Whether to stop any running jobs in the Big Data pool.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of big Data pool. - 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.
-
createOrUpdate
BigDataPoolResourceInfoInner createOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo, Boolean force)
Create a new Big Data pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.bigDataPoolInfo
- The Big Data pool to create.force
- Whether to stop any running jobs in the Big Data pool.- Returns:
- big Data pool.
- 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.
-
createOrUpdate
BigDataPoolResourceInfoInner createOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo)
Create a new Big Data pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.bigDataPoolInfo
- The Big Data pool to create.- Returns:
- big Data pool.
- 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.
-
createOrUpdate
BigDataPoolResourceInfoInner createOrUpdate(String resourceGroupName, String workspaceName, String bigDataPoolName, BigDataPoolResourceInfoInner bigDataPoolInfo, Boolean force, com.azure.core.util.Context context)
Create a new Big Data pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.bigDataPoolInfo
- The Big Data pool to create.force
- Whether to stop any running jobs in the Big Data pool.context
- The context to associate with this operation.- Returns:
- big Data pool.
- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginDelete(String resourceGroupName, String workspaceName, String bigDataPoolName)
Delete a Big Data pool from the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.- Returns:
- the
SyncPoller
for polling of any object. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Object>,Object> beginDelete(String resourceGroupName, String workspaceName, String bigDataPoolName, com.azure.core.util.Context context)
Delete a Big Data pool from the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of any object. - 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
Object delete(String resourceGroupName, String workspaceName, String bigDataPoolName)
Delete a Big Data pool from the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.- Returns:
- any object.
- 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
Object delete(String resourceGroupName, String workspaceName, String bigDataPoolName, com.azure.core.util.Context context)
Delete a Big Data pool from the workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.bigDataPoolName
- Big Data pool name.context
- The context to associate with this operation.- Returns:
- any object.
- 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.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<BigDataPoolResourceInfoInner> listByWorkspace(String resourceGroupName, String workspaceName)
List Big Data pools in a workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- collection of Big Data pools as 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.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<BigDataPoolResourceInfoInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
List Big Data pools in a workspace.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.- Returns:
- collection of Big Data pools as 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.
-
-