public interface ComputePolicies
Modifier and Type | Method and Description |
---|---|
ComputePolicy |
createOrUpdate(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.
|
ServiceFuture<ComputePolicy> |
createOrUpdateAsync(String resourceGroupName,
String accountName,
String computePolicyName,
CreateOrUpdateComputePolicyParameters parameters,
ServiceCallback<ComputePolicy> serviceCallback)
Creates or updates the specified compute policy.
|
rx.Observable<ServiceResponse<ComputePolicy>> |
createOrUpdateWithServiceResponseAsync(String resourceGroupName,
String accountName,
String computePolicyName,
CreateOrUpdateComputePolicyParameters parameters)
Creates or updates the specified compute policy.
|
void |
delete(String resourceGroupName,
String accountName,
String computePolicyName)
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.
|
ServiceFuture<Void> |
deleteAsync(String resourceGroupName,
String accountName,
String computePolicyName,
ServiceCallback<Void> serviceCallback)
Deletes the specified compute policy from the specified Data Lake Analytics account.
|
rx.Observable<ServiceResponse<Void>> |
deleteWithServiceResponseAsync(String resourceGroupName,
String accountName,
String computePolicyName)
Deletes the specified compute policy from the specified Data Lake Analytics account.
|
ComputePolicy |
get(String resourceGroupName,
String accountName,
String computePolicyName)
Gets the specified Data Lake Analytics compute policy.
|
rx.Observable<ComputePolicy> |
getAsync(String resourceGroupName,
String accountName,
String computePolicyName)
Gets the specified Data Lake Analytics compute policy.
|
ServiceFuture<ComputePolicy> |
getAsync(String resourceGroupName,
String accountName,
String computePolicyName,
ServiceCallback<ComputePolicy> serviceCallback)
Gets the specified Data Lake Analytics compute policy.
|
rx.Observable<ServiceResponse<ComputePolicy>> |
getWithServiceResponseAsync(String resourceGroupName,
String accountName,
String computePolicyName)
Gets the specified Data Lake Analytics compute policy.
|
PagedList<ComputePolicy> |
listByAccount(String resourceGroupName,
String accountName)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.
|
rx.Observable<Page<ComputePolicy>> |
listByAccountAsync(String resourceGroupName,
String accountName)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.
|
ServiceFuture<List<ComputePolicy>> |
listByAccountAsync(String resourceGroupName,
String accountName,
ListOperationCallback<ComputePolicy> serviceCallback)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.
|
PagedList<ComputePolicy> |
listByAccountNext(String nextPageLink)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.
|
rx.Observable<Page<ComputePolicy>> |
listByAccountNextAsync(String nextPageLink)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.
|
ServiceFuture<List<ComputePolicy>> |
listByAccountNextAsync(String nextPageLink,
ServiceFuture<List<ComputePolicy>> serviceFuture,
ListOperationCallback<ComputePolicy> serviceCallback)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.
|
rx.Observable<ServiceResponse<Page<ComputePolicy>>> |
listByAccountNextWithServiceResponseAsync(String nextPageLink)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.
|
rx.Observable<ServiceResponse<Page<ComputePolicy>>> |
listByAccountWithServiceResponseAsync(String resourceGroupName,
String accountName)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.
|
ComputePolicy |
update(String resourceGroupName,
String accountName,
String computePolicyName)
Updates the specified compute policy.
|
ComputePolicy |
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.
|
ServiceFuture<ComputePolicy> |
updateAsync(String resourceGroupName,
String accountName,
String computePolicyName,
ServiceCallback<ComputePolicy> serviceCallback)
Updates the specified compute policy.
|
rx.Observable<ComputePolicy> |
updateAsync(String resourceGroupName,
String accountName,
String computePolicyName,
UpdateComputePolicyParameters parameters)
Updates the specified compute policy.
|
ServiceFuture<ComputePolicy> |
updateAsync(String resourceGroupName,
String accountName,
String computePolicyName,
UpdateComputePolicyParameters parameters,
ServiceCallback<ComputePolicy> serviceCallback)
Updates the specified compute policy.
|
rx.Observable<ServiceResponse<ComputePolicy>> |
updateWithServiceResponseAsync(String resourceGroupName,
String accountName,
String computePolicyName)
Updates the specified compute policy.
|
rx.Observable<ServiceResponse<ComputePolicy>> |
updateWithServiceResponseAsync(String resourceGroupName,
String accountName,
String computePolicyName,
UpdateComputePolicyParameters parameters)
Updates the specified compute policy.
|
PagedList<ComputePolicy> listByAccount(String resourceGroupName, String accountName)
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<List<ComputePolicy>> listByAccountAsync(String resourceGroupName, String accountName, ListOperationCallback<ComputePolicy> serviceCallback)
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.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Page<ComputePolicy>> listByAccountAsync(String resourceGroupName, String accountName)
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponse<Page<ComputePolicy>>> listByAccountWithServiceResponseAsync(String resourceGroupName, String accountName)
resourceGroupName
- The name of the Azure resource group.accountName
- The name of the Data Lake Analytics account.IllegalArgumentException
- thrown if parameters fail the validationComputePolicy createOrUpdate(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters 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.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<ComputePolicy> createOrUpdateAsync(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters, ServiceCallback<ComputePolicy> serviceCallback)
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.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ComputePolicy> createOrUpdateAsync(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters 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.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponse<ComputePolicy>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters 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.IllegalArgumentException
- thrown if parameters fail the validationComputePolicy get(String resourceGroupName, String accountName, String computePolicyName)
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.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<ComputePolicy> getAsync(String resourceGroupName, String accountName, String computePolicyName, ServiceCallback<ComputePolicy> serviceCallback)
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.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ComputePolicy> getAsync(String resourceGroupName, String accountName, String computePolicyName)
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.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponse<ComputePolicy>> getWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName)
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.IllegalArgumentException
- thrown if parameters fail the validationComputePolicy update(String resourceGroupName, String accountName, String computePolicyName)
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.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<ComputePolicy> updateAsync(String resourceGroupName, String accountName, String computePolicyName, ServiceCallback<ComputePolicy> serviceCallback)
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.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ComputePolicy> updateAsync(String resourceGroupName, String accountName, String computePolicyName)
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.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponse<ComputePolicy>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName)
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.IllegalArgumentException
- thrown if parameters fail the validationComputePolicy update(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters 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.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<ComputePolicy> updateAsync(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters, ServiceCallback<ComputePolicy> serviceCallback)
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.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ComputePolicy> updateAsync(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters 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.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponse<ComputePolicy>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters 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.IllegalArgumentException
- thrown if parameters fail the validationvoid delete(String resourceGroupName, String accountName, String computePolicyName)
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.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<Void> deleteAsync(String resourceGroupName, String accountName, String computePolicyName, ServiceCallback<Void> serviceCallback)
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.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Void> deleteAsync(String resourceGroupName, String accountName, String computePolicyName)
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.ServiceResponse
object if successful.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName)
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.ServiceResponse
object if successful.IllegalArgumentException
- thrown if parameters fail the validationPagedList<ComputePolicy> listByAccountNext(String nextPageLink)
nextPageLink
- The NextLink from the previous successful call to List operation.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentServiceFuture<List<ComputePolicy>> listByAccountNextAsync(String nextPageLink, ServiceFuture<List<ComputePolicy>> serviceFuture, ListOperationCallback<ComputePolicy> serviceCallback)
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.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validationrx.Observable<Page<ComputePolicy>> listByAccountNextAsync(String nextPageLink)
nextPageLink
- The NextLink from the previous successful call to List operation.IllegalArgumentException
- thrown if parameters fail the validationrx.Observable<ServiceResponse<Page<ComputePolicy>>> listByAccountNextWithServiceResponseAsync(String nextPageLink)
nextPageLink
- The NextLink from the previous successful call to List operation.IllegalArgumentException
- thrown if parameters fail the validationCopyright © 2019. All rights reserved.