ComputePoliciesClient Interface

public interface ComputePoliciesClient

An instance of this class provides access to all the operations defined in ComputePoliciesClient.

Method Summary

Modifier and Type Method and Description
abstract ComputePolicyInner createOrUpdate(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters)

Creates or updates the specified compute policy.

abstract Response<ComputePolicyInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters, Context context)

Creates or updates the specified compute policy.

abstract void delete(String resourceGroupName, String accountName, String computePolicyName)

Deletes the specified compute policy from the specified Data Lake Analytics account.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String computePolicyName, Context context)

Deletes the specified compute policy from the specified Data Lake Analytics account.

abstract ComputePolicyInner get(String resourceGroupName, String accountName, String computePolicyName)

Gets the specified Data Lake Analytics compute policy.

abstract Response<ComputePolicyInner> getWithResponse(String resourceGroupName, String accountName, String computePolicyName, Context context)

Gets the specified Data Lake Analytics compute policy.

abstract PagedIterable<ComputePolicyInner> listByAccount(String resourceGroupName, String accountName)

Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.

abstract PagedIterable<ComputePolicyInner> listByAccount(String resourceGroupName, String accountName, Context context)

Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account.

abstract ComputePolicyInner update(String resourceGroupName, String accountName, String computePolicyName)

Updates the specified compute policy.

abstract Response<ComputePolicyInner> updateWithResponse(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters, Context context)

Updates the specified compute policy.

Method Details

createOrUpdate

public abstract ComputePolicyInner 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:

data Lake Analytics compute policy information.

createOrUpdateWithResponse

public abstract Response<ComputePolicyInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String computePolicyName, CreateOrUpdateComputePolicyParameters parameters, Context context)

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.
context - The context to associate with this operation.

Returns:

data Lake Analytics compute policy information along with Response<T>.

delete

public abstract void delete(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.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String computePolicyName, Context context)

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.
context - The context to associate with this operation.

Returns:

get

public abstract ComputePolicyInner get(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 specified Data Lake Analytics compute policy.

getWithResponse

public abstract Response<ComputePolicyInner> getWithResponse(String resourceGroupName, String accountName, String computePolicyName, Context context)

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.
context - The context to associate with this operation.

Returns:

the specified Data Lake Analytics compute policy along with Response<T>.

listByAccount

public abstract PagedIterable<ComputePolicyInner> 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 list of compute policies in the account as paginated response with PagedIterable<T>.

listByAccount

public abstract PagedIterable<ComputePolicyInner> listByAccount(String resourceGroupName, String accountName, Context context)

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.
context - The context to associate with this operation.

Returns:

the list of compute policies in the account as paginated response with PagedIterable<T>.

update

public abstract ComputePolicyInner update(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:

data Lake Analytics compute policy information.

updateWithResponse

public abstract Response<ComputePolicyInner> updateWithResponse(String resourceGroupName, String accountName, String computePolicyName, UpdateComputePolicyParameters parameters, Context context)

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.
context - The context to associate with this operation.

Returns:

data Lake Analytics compute policy information along with Response<T>.

Applies to