DepartmentsOperations interface
Interface representing a Departments operations.
Properties
| get | Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
| list |
Lists the departments that a user has access to. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
Property Details
get
Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
get: (billingAccountName: string, departmentName: string, options?: DepartmentsGetOptionalParams) => Promise<Department>
Property Value
(billingAccountName: string, departmentName: string, options?: DepartmentsGetOptionalParams) => Promise<Department>
listByBillingAccount
Lists the departments that a user has access to. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
listByBillingAccount: (billingAccountName: string, options?: DepartmentsListByBillingAccountOptionalParams) => PagedAsyncIterableIterator<Department, Department[], PageSettings>
Property Value
(billingAccountName: string, options?: DepartmentsListByBillingAccountOptionalParams) => PagedAsyncIterableIterator<Department, Department[], PageSettings>