EnrollmentAccountsClient Interface

public interface EnrollmentAccountsClient

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

Method Summary

Modifier and Type Method and Description
abstract EnrollmentAccountInner get(String billingAccountName, String enrollmentAccountName)

Gets an enrollment account by ID.

abstract EnrollmentAccountInner getByDepartment(String billingAccountName, String departmentName, String enrollmentAccountName)

Gets an enrollment account by department.

abstract Response<EnrollmentAccountInner> getByDepartmentWithResponse(String billingAccountName, String departmentName, String enrollmentAccountName, Context context)

Gets an enrollment account by department.

abstract Response<EnrollmentAccountInner> getWithResponse(String billingAccountName, String enrollmentAccountName, Context context)

Gets an enrollment account by ID.

abstract PagedIterable<EnrollmentAccountInner> listByBillingAccount(String billingAccountName)

Lists the enrollment accounts for a billing account.

abstract PagedIterable<EnrollmentAccountInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the enrollment accounts for a billing account.

abstract PagedIterable<EnrollmentAccountInner> listByDepartment(String billingAccountName, String departmentName)

Lists the enrollment accounts for a department.

abstract PagedIterable<EnrollmentAccountInner> listByDepartment(String billingAccountName, String departmentName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the enrollment accounts for a department.

Method Details

get

public abstract EnrollmentAccountInner get(String billingAccountName, String enrollmentAccountName)

Gets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
enrollmentAccountName - The name of the enrollment account.

Returns:

an enrollment account by ID.

getByDepartment

public abstract EnrollmentAccountInner getByDepartment(String billingAccountName, String departmentName, String enrollmentAccountName)

Gets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
departmentName - The name of the department.
enrollmentAccountName - The name of the enrollment account.

Returns:

an enrollment account by department.

getByDepartmentWithResponse

public abstract Response<EnrollmentAccountInner> getByDepartmentWithResponse(String billingAccountName, String departmentName, String enrollmentAccountName, Context context)

Gets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
departmentName - The name of the department.
enrollmentAccountName - The name of the enrollment account.
context - The context to associate with this operation.

Returns:

an enrollment account by department along with Response<T>.

getWithResponse

public abstract Response<EnrollmentAccountInner> getWithResponse(String billingAccountName, String enrollmentAccountName, Context context)

Gets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
enrollmentAccountName - The name of the enrollment account.
context - The context to associate with this operation.

Returns:

an enrollment account by ID along with Response<T>.

listByBillingAccount

public abstract PagedIterable<EnrollmentAccountInner> listByBillingAccount(String billingAccountName)

Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingAccount

public abstract PagedIterable<EnrollmentAccountInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByDepartment

public abstract PagedIterable<EnrollmentAccountInner> listByDepartment(String billingAccountName, String departmentName)

Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
departmentName - The name of the department.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByDepartment

public abstract PagedIterable<EnrollmentAccountInner> listByDepartment(String billingAccountName, String departmentName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
departmentName - The name of the department.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

Applies to