ComputePolicies Interface
public interface ComputePolicies
An instance of this class provides access to all the operations defined in ComputePolicies.
Method Summary
Modifier and Type | Method and Description |
---|---|
Compute |
createOrUpdate(String resourceGroupName, String accountName, String computePolicyName, ComputePolicyCreateOrUpdateParameters 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. |
Observable<Compute |
createOrUpdateAsync(String resourceGroupName, String accountName, String computePolicyName, ComputePolicyCreateOrUpdateParameters 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. |
ServiceFuture<Compute |
createOrUpdateAsync(String resourceGroupName, String accountName, String computePolicyName, ComputePolicyCreateOrUpdateParameters parameters, final 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. |
Observable<ServiceResponse<Compute |
createOrUpdateWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName, ComputePolicyCreateOrUpdateParameters 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. |
void |
delete(String resourceGroupName, String accountName, String computePolicyName)
Deletes the specified compute policy from the specified Data Lake Analytics account. |
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, final ServiceCallback<Void> serviceCallback)
Deletes the specified compute policy from the specified Data Lake Analytics account. |
Observable<ServiceResponse<Void>> |
deleteWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName)
Deletes the specified compute policy from the specified Data Lake Analytics account. |
Compute |
get(String resourceGroupName, String accountName, String computePolicyName)
Gets the specified Data Lake Analytics compute policy. |
Observable<Compute |
getAsync(String resourceGroupName, String accountName, String computePolicyName)
Gets the specified Data Lake Analytics compute policy. |
ServiceFuture<Compute |
getAsync(String resourceGroupName, String accountName, String computePolicyName, final ServiceCallback<ComputePolicy> serviceCallback)
Gets the specified Data Lake Analytics compute policy. |
Observable<ServiceResponse<Compute |
getWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName)
Gets the specified Data Lake Analytics compute policy. |
PagedList<Compute |
listByAccount(final String resourceGroupName, final String accountName)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies. |
Observable<Page<Compute |
listByAccountAsync(final String resourceGroupName, final String accountName)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies. |
ServiceFuture<List<Compute |
listByAccountAsync(final String resourceGroupName, final String accountName, final ListOperationCallback<ComputePolicy> serviceCallback)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies. |
PagedList<Compute |
listByAccountNext(final String nextPageLink)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies. |
Observable<Page<Compute |
listByAccountNextAsync(final String nextPageLink)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies. |
ServiceFuture<List<Compute |
listByAccountNextAsync(final String nextPageLink, final ServiceFuture<List<ComputePolicy>> serviceFuture, final ListOperationCallback<ComputePolicy> serviceCallback)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies. |
Observable<ServiceResponse<Page<Compute |
listByAccountNextWithServiceResponseAsync(final String nextPageLink)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies. |
Observable<ServiceResponse<Page<Compute |
listByAccountWithServiceResponseAsync(final String resourceGroupName, final String accountName)
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies. |
Compute |
update(String resourceGroupName, String accountName, String computePolicyName)
Updates the specified compute policy. |
Compute |
update(String resourceGroupName, String accountName, String computePolicyName, ComputePolicy parameters)
Updates the specified compute policy. |
Observable<Compute |
updateAsync(String resourceGroupName, String accountName, String computePolicyName)
Updates the specified compute policy. |
Observable<Compute |
updateAsync(String resourceGroupName, String accountName, String computePolicyName, ComputePolicy parameters)
Updates the specified compute policy. |
ServiceFuture<Compute |
updateAsync(String resourceGroupName, String accountName, String computePolicyName, ComputePolicy parameters, final ServiceCallback<ComputePolicy> serviceCallback)
Updates the specified compute policy. |
ServiceFuture<Compute |
updateAsync(String resourceGroupName, String accountName, String computePolicyName, final ServiceCallback<ComputePolicy> serviceCallback)
Updates the specified compute policy. |
Observable<ServiceResponse<Compute |
updateWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName)
Updates the specified compute policy. |
Observable<ServiceResponse<Compute |
updateWithServiceResponseAsync(String resourceGroupName, String accountName, String computePolicyName, ComputePolicy parameters)
Updates the specified compute policy. |
Method Details
createOrUpdate
public ComputePolicy createOrUpdate(String resourceGroupName, String accountName, String computePolicyName, ComputePolicyCreateOrUpdateParameters 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:
Returns:
Throws:
createOrUpdateAsync
public Observable
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:
Returns:
Throws:
createOrUpdateAsync
public ServiceFuture
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:
Returns:
Throws:
createOrUpdateWithServiceResponseAsync
public Observable
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:
Returns:
Throws:
delete
public void delete(String resourceGroupName, String accountName, String computePolicyName)
Deletes the specified compute policy from the specified Data Lake Analytics account.
Parameters:
Throws:
deleteAsync
public Observable
Deletes the specified compute policy from the specified Data Lake Analytics account.
Parameters:
Returns:
Throws:
deleteAsync
public ServiceFuture
Deletes the specified compute policy from the specified Data Lake Analytics account.
Parameters:
Returns:
Throws:
deleteWithServiceResponseAsync
public Observable
Deletes the specified compute policy from the specified Data Lake Analytics account.
Parameters:
Returns:
Throws:
get
public ComputePolicy get(String resourceGroupName, String accountName, String computePolicyName)
Gets the specified Data Lake Analytics compute policy.
Parameters:
Returns:
Throws:
getAsync
public Observable
Gets the specified Data Lake Analytics compute policy.
Parameters:
Returns:
Throws:
getAsync
public ServiceFuture
Gets the specified Data Lake Analytics compute policy.
Parameters:
Returns:
Throws:
getWithServiceResponseAsync
public Observable
Gets the specified Data Lake Analytics compute policy.
Parameters:
Returns:
Throws:
listByAccount
public PagedList
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.
Parameters:
Returns:
Throws:
listByAccountAsync
public Observable
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.
Parameters:
Returns:
Throws:
listByAccountAsync
public ServiceFuture> listByAccountAsync(final String resourceGroupName, final String accountName, final ListOperationCallback
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.
Parameters:
Returns:
Throws:
listByAccountNext
public PagedList
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.
Parameters:
Returns:
Throws:
listByAccountNextAsync
public Observable
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.
Parameters:
Returns:
Throws:
listByAccountNextAsync
public ServiceFuture> listByAccountNextAsync(final String nextPageLink, final ServiceFuture
> serviceFuture, final ListOperationCallback
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.
Parameters:
Returns:
Throws:
listByAccountNextWithServiceResponseAsync
public Observable
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.
Parameters:
Returns:
Throws:
listByAccountWithServiceResponseAsync
public Observable
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.
Parameters:
Returns:
Throws:
update
public ComputePolicy update(String resourceGroupName, String accountName, String computePolicyName)
Updates the specified compute policy.
Parameters:
Returns:
Throws:
update
public ComputePolicy update(String resourceGroupName, String accountName, String computePolicyName, ComputePolicy parameters)
Updates the specified compute policy.
Parameters:
Returns:
Throws:
updateAsync
public Observable
Updates the specified compute policy.
Parameters:
Returns:
Throws:
updateAsync
public Observable
Updates the specified compute policy.
Parameters:
Returns:
Throws:
updateAsync
public ServiceFuture
Updates the specified compute policy.
Parameters:
Returns:
Throws:
updateAsync
public ServiceFuture
Updates the specified compute policy.
Parameters:
Returns:
Throws:
updateWithServiceResponseAsync
public Observable
Updates the specified compute policy.
Parameters:
Returns:
Throws:
updateWithServiceResponseAsync
public Observable
Updates the specified compute policy.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java