ComputePolicies Interface

public interface ComputePolicies

Resource collection API of ComputePolicies.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new ComputePolicy resource.

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

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

abstract void deleteById(String id)

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

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

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 ComputePolicy get(String resourceGroupName, String accountName, String computePolicyName)

Gets the specified Data Lake Analytics compute policy.

abstract ComputePolicy getById(String id)

Gets the specified Data Lake Analytics compute policy.

abstract Response<ComputePolicy> getByIdWithResponse(String id, Context context)

Gets the specified Data Lake Analytics compute policy.

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

Gets the specified Data Lake Analytics compute policy.

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

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

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

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

Method Details

define

public abstract ComputePolicy.DefinitionStages.Blank define(String name)

Begins definition for a new ComputePolicy resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ComputePolicy definition.

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.

deleteById

public abstract void deleteById(String id)

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

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

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

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

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 ComputePolicy 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.

getById

public abstract ComputePolicy getById(String id)

Gets the specified Data Lake Analytics compute policy.

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

public abstract Response<ComputePolicy> getByIdWithResponse(String id, Context context)

Gets the specified Data Lake Analytics compute policy.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

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

getWithResponse

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

listByAccount

public abstract PagedIterable<ComputePolicy> 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>.

Applies to