DepartmentsClient Interface
public interface DepartmentsClient
An instance of this class provides access to all the operations defined in DepartmentsClient.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Department |
get(String billingAccountName, String departmentName)
Gets a department by ID. |
|
abstract
Response<Department |
getWithResponse(String billingAccountName, String departmentName, Context context)
Gets a department by ID. |
|
abstract
Paged |
listByBillingAccount(String billingAccountName)
Lists the departments that a user has access to. |
|
abstract
Paged |
listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, String search, Context context)
Lists the departments that a user has access to. |
Method Details
get
public abstract DepartmentInner get(String billingAccountName, String departmentName)
Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
getWithResponse
public abstract Response<DepartmentInner> getWithResponse(String billingAccountName, String departmentName, Context context)
Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
listByBillingAccount
public abstract PagedIterable<DepartmentInner> listByBillingAccount(String billingAccountName)
Lists the departments that a user has access to. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns:
listByBillingAccount
public abstract PagedIterable<DepartmentInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, String search, Context context)
Lists the departments that a user has access to. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns: