EnrollmentAccounts interface

Interface representing a EnrollmentAccounts.

Methods

get(string, string, EnrollmentAccountsGetOptionalParams)

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

getByDepartment(string, string, string, EnrollmentAccountsGetByDepartmentOptionalParams)

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

listByBillingAccount(string, EnrollmentAccountsListByBillingAccountOptionalParams)

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

listByDepartment(string, string, EnrollmentAccountsListByDepartmentOptionalParams)

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.

options
EnrollmentAccountsGetOptionalParams

The options parameters.

Returns

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.

options
EnrollmentAccountsGetByDepartmentOptionalParams

The options parameters.

Returns

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.

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.

options
EnrollmentAccountsListByDepartmentOptionalParams

The options parameters.

Returns