Interface ComputePolicies
public interface ComputePolicies
An instance of this class provides access to all the operations defined
in ComputePolicies.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters) Creates or updates the specified compute policy.rx.Observable<ComputePolicy>
createOrUpdateAsync
(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters) Creates or updates the specified compute policy.com.microsoft.rest.ServiceFuture<ComputePolicy>
createOrUpdateAsync
(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters, com.microsoft.rest.ServiceCallback<ComputePolicy> serviceCallback) Creates or updates the specified compute policy.rx.Observable<com.microsoft.rest.ServiceResponse<ComputePolicy>>
createOrUpdateWithServiceResponseAsync
(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters) Creates or updates the specified compute policy.void
Deletes the specified compute policy from the specified Data Lake Analytics account.rx.Observable<Void>
deleteAsync
(String resourceGroupName, String accountName, String computePolicyName) Deletes the specified compute policy from the specified Data Lake Analytics account.com.microsoft.rest.ServiceFuture<Void>
deleteAsync
(String resourceGroupName, String accountName, String computePolicyName, com.microsoft.rest.ServiceCallback<Void> serviceCallback) Deletes the specified compute policy from the specified Data Lake Analytics account.rx.Observable<com.microsoft.rest.ServiceResponse<Void>>
deleteWithServiceResponseAsync
(String resourceGroupName, String accountName, String computePolicyName) Deletes the specified compute policy from the specified Data Lake Analytics account.Gets the specified Data Lake Analytics compute policy.rx.Observable<ComputePolicy>
Gets the specified Data Lake Analytics compute policy.com.microsoft.rest.ServiceFuture<ComputePolicy>
getAsync
(String resourceGroupName, String accountName, String computePolicyName, com.microsoft.rest.ServiceCallback<ComputePolicy> serviceCallback) Gets the specified Data Lake Analytics compute policy.rx.Observable<com.microsoft.rest.ServiceResponse<ComputePolicy>>
getWithServiceResponseAsync
(String resourceGroupName, String accountName, String computePolicyName) Gets the specified Data Lake Analytics compute policy.com.microsoft.azure.PagedList<ComputePolicy>
listByAccount
(String resourceGroupName, String accountName) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.rx.Observable<com.microsoft.azure.Page<ComputePolicy>>
listByAccountAsync
(String resourceGroupName, String accountName) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.com.microsoft.rest.ServiceFuture<List<ComputePolicy>>
listByAccountAsync
(String resourceGroupName, String accountName, com.microsoft.azure.ListOperationCallback<ComputePolicy> serviceCallback) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.com.microsoft.azure.PagedList<ComputePolicy>
listByAccountNext
(String nextPageLink) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.rx.Observable<com.microsoft.azure.Page<ComputePolicy>>
listByAccountNextAsync
(String nextPageLink) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.com.microsoft.rest.ServiceFuture<List<ComputePolicy>>
listByAccountNextAsync
(String nextPageLink, com.microsoft.rest.ServiceFuture<List<ComputePolicy>> serviceFuture, com.microsoft.azure.ListOperationCallback<ComputePolicy> serviceCallback) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<ComputePolicy>>>
listByAccountNextWithServiceResponseAsync
(String nextPageLink) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<ComputePolicy>>>
listByAccountWithServiceResponseAsync
(String resourceGroupName, String accountName) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.Updates the specified compute policy.update
(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters) Updates the specified compute policy.rx.Observable<ComputePolicy>
updateAsync
(String resourceGroupName, String accountName, String computePolicyName) Updates the specified compute policy.rx.Observable<ComputePolicy>
updateAsync
(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters) Updates the specified compute policy.com.microsoft.rest.ServiceFuture<ComputePolicy>
updateAsync
(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters, com.microsoft.rest.ServiceCallback<ComputePolicy> serviceCallback) Updates the specified compute policy.com.microsoft.rest.ServiceFuture<ComputePolicy>
updateAsync
(String resourceGroupName, String accountName, String computePolicyName, com.microsoft.rest.ServiceCallback<ComputePolicy> serviceCallback) Updates the specified compute policy.rx.Observable<com.microsoft.rest.ServiceResponse<ComputePolicy>>
updateWithServiceResponseAsync
(String resourceGroupName, String accountName, String computePolicyName) Updates the specified compute policy.rx.Observable<com.microsoft.rest.ServiceResponse<ComputePolicy>>
updateWithServiceResponseAsync
(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters) Updates the specified compute policy.
-
Method Details
-
listByAccount
com.microsoft.azure.PagedList<ComputePolicy> listByAccount(String resourceGroupName, String accountName) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.- Returns:
- the PagedList<ComputePolicy> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationcom.microsoft.azure.CloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listByAccountAsync
com.microsoft.rest.ServiceFuture<List<ComputePolicy>> listByAccountAsync(String resourceGroupName, String accountName, com.microsoft.azure.ListOperationCallback<ComputePolicy> serviceCallback) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listByAccountAsync
rx.Observable<com.microsoft.azure.Page<ComputePolicy>> listByAccountAsync(String resourceGroupName, String accountName) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.- Returns:
- the observable to the PagedList<ComputePolicy> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listByAccountWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<ComputePolicy>>> listByAccountWithServiceResponseAsync(String resourceGroupName, String accountName) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.- Returns:
- the observable to the PagedList<ComputePolicy> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createOrUpdate
ComputePolicy createOrUpdate(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters) Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to create or update.parameters
- Parameters supplied to create or update the compute policy. The max degree of parallelism per job property, min priority per job property, or both must be present.- Returns:
- the ComputePolicy object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationcom.microsoft.azure.CloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
createOrUpdateAsync
com.microsoft.rest.ServiceFuture<ComputePolicy> createOrUpdateAsync(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters, com.microsoft.rest.ServiceCallback<ComputePolicy> serviceCallback) Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to create or update.parameters
- Parameters supplied to create or update the compute policy. The max degree of parallelism per job property, min priority per job property, or both must be present.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createOrUpdateAsync
rx.Observable<ComputePolicy> createOrUpdateAsync(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters) Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to create or update.parameters
- Parameters supplied to create or update the compute policy. The max degree of parallelism per job property, min priority per job property, or both must be present.- Returns:
- the observable to the ComputePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
createOrUpdateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<ComputePolicy>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters) Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to create or update.parameters
- Parameters supplied to create or update the compute policy. The max degree of parallelism per job property, min priority per job property, or both must be present.- Returns:
- the observable to the ComputePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
Gets the specified Data Lake Analytics compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to retrieve.- Returns:
- the ComputePolicy object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationcom.microsoft.azure.CloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAsync
com.microsoft.rest.ServiceFuture<ComputePolicy> getAsync(String resourceGroupName, String accountName, String computePolicyName, com.microsoft.rest.ServiceCallback<ComputePolicy> serviceCallback) Gets the specified Data Lake Analytics compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to retrieve.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAsync
rx.Observable<ComputePolicy> getAsync(String resourceGroupName, String accountName, String computePolicyName) Gets the specified Data Lake Analytics compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to retrieve.- Returns:
- the observable to the ComputePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<ComputePolicy>> getWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName) Gets the specified Data Lake Analytics compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to retrieve.- Returns:
- the observable to the ComputePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
update
Updates the specified compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to update.- Returns:
- the ComputePolicy object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationcom.microsoft.azure.CloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateAsync
com.microsoft.rest.ServiceFuture<ComputePolicy> updateAsync(String resourceGroupName, String accountName, String computePolicyName, com.microsoft.rest.ServiceCallback<ComputePolicy> serviceCallback) Updates the specified compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to update.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateAsync
rx.Observable<ComputePolicy> updateAsync(String resourceGroupName, String accountName, String computePolicyName) Updates the specified compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to update.- Returns:
- the observable to the ComputePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<ComputePolicy>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName) Updates the specified compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to update.- Returns:
- the observable to the ComputePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
update
ComputePolicy update(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters) Updates the specified compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to update.parameters
- Parameters supplied to update the compute policy.- Returns:
- the ComputePolicy object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationcom.microsoft.azure.CloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateAsync
com.microsoft.rest.ServiceFuture<ComputePolicy> updateAsync(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters, com.microsoft.rest.ServiceCallback<ComputePolicy> serviceCallback) Updates the specified compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to update.parameters
- Parameters supplied to update the compute policy.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateAsync
rx.Observable<ComputePolicy> updateAsync(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters) Updates the specified compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to update.parameters
- Parameters supplied to update the compute policy.- Returns:
- the observable to the ComputePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<ComputePolicy>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters) Updates the specified compute policy.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to update.parameters
- Parameters supplied to update the compute policy.- Returns:
- the observable to the ComputePolicy object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
Deletes the specified compute policy from the specified Data Lake Analytics account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to delete.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationcom.microsoft.azure.CloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteAsync
com.microsoft.rest.ServiceFuture<Void> deleteAsync(String resourceGroupName, String accountName, String computePolicyName, com.microsoft.rest.ServiceCallback<Void> serviceCallback) Deletes the specified compute policy from the specified Data Lake Analytics account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to delete.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteAsync
rx.Observable<Void> deleteAsync(String resourceGroupName, String accountName, String computePolicyName) Deletes the specified compute policy from the specified Data Lake Analytics account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to delete.- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<Void>> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName) Deletes the specified compute policy from the specified Data Lake Analytics account.- Parameters:
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.computePolicyName
- The name of the compute policy to delete.- Returns:
- the
ServiceResponse
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listByAccountNext
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<ComputePolicy> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationcom.microsoft.azure.CloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listByAccountNextAsync
com.microsoft.rest.ServiceFuture<List<ComputePolicy>> listByAccountNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<ComputePolicy>> serviceFuture, com.microsoft.azure.ListOperationCallback<ComputePolicy> serviceCallback) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.serviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listByAccountNextAsync
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<ComputePolicy> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listByAccountNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponse<com.microsoft.azure.Page<ComputePolicy>>> listByAccountNextWithServiceResponseAsync(String nextPageLink) Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<ComputePolicy> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-