EnrollmentAccounts interface
Interface representing a EnrollmentAccounts.
Methods
get(string, string, Enrollment |
Gets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
get |
Gets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
list |
Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
list |
Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
Method Details
get(string, string, EnrollmentAccountsGetOptionalParams)
Gets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
function get(billingAccountName: string, enrollmentAccountName: string, options?: EnrollmentAccountsGetOptionalParams): Promise<EnrollmentAccount>
Parameters
- billingAccountName
-
string
The ID that uniquely identifies a billing account.
- enrollmentAccountName
-
string
The name of the enrollment account.
The options parameters.
Returns
Promise<EnrollmentAccount>
getByDepartment(string, string, string, EnrollmentAccountsGetByDepartmentOptionalParams)
Gets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
function getByDepartment(billingAccountName: string, departmentName: string, enrollmentAccountName: string, options?: EnrollmentAccountsGetByDepartmentOptionalParams): Promise<EnrollmentAccount>
Parameters
- billingAccountName
-
string
The ID that uniquely identifies a billing account.
- departmentName
-
string
The name of the department.
- enrollmentAccountName
-
string
The name of the enrollment account.
The options parameters.
Returns
Promise<EnrollmentAccount>
listByBillingAccount(string, EnrollmentAccountsListByBillingAccountOptionalParams)
Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
function listByBillingAccount(billingAccountName: string, options?: EnrollmentAccountsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<EnrollmentAccount, EnrollmentAccount[], PageSettings>
Parameters
- billingAccountName
-
string
The ID that uniquely identifies a billing account.
The options parameters.
Returns
listByDepartment(string, string, EnrollmentAccountsListByDepartmentOptionalParams)
Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
function listByDepartment(billingAccountName: string, departmentName: string, options?: EnrollmentAccountsListByDepartmentOptionalParams): PagedAsyncIterableIterator<EnrollmentAccount, EnrollmentAccount[], PageSettings>
Parameters
- billingAccountName
-
string
The ID that uniquely identifies a billing account.
- departmentName
-
string
The name of the department.
The options parameters.