BillingRoleAssignments interface

Interface representing a BillingRoleAssignments.

Methods

beginCreateByBillingAccount(string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByBillingAccountOptionalParams)

Adds a role assignment on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

beginCreateByBillingAccountAndWait(string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByBillingAccountOptionalParams)

Adds a role assignment on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

beginCreateByBillingProfile(string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByBillingProfileOptionalParams)

Adds a role assignment on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

beginCreateByBillingProfileAndWait(string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByBillingProfileOptionalParams)

Adds a role assignment on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

beginCreateByCustomer(string, string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByCustomerOptionalParams)

Adds a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

beginCreateByCustomerAndWait(string, string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByCustomerOptionalParams)

Adds a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

beginCreateByInvoiceSection(string, string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByInvoiceSectionOptionalParams)

Adds a role assignment on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

beginCreateByInvoiceSectionAndWait(string, string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByInvoiceSectionOptionalParams)

Adds a role assignment on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

beginCreateOrUpdateByBillingAccount(string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByBillingAccountOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

beginCreateOrUpdateByBillingAccountAndWait(string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByBillingAccountOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

beginCreateOrUpdateByDepartment(string, string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByDepartmentOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

beginCreateOrUpdateByDepartmentAndWait(string, string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByDepartmentOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

beginCreateOrUpdateByEnrollmentAccount(string, string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByEnrollmentAccountOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

beginCreateOrUpdateByEnrollmentAccountAndWait(string, string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByEnrollmentAccountOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

beginResolveByBillingAccount(string, BillingRoleAssignmentsResolveByBillingAccountOptionalParams)

Lists the role assignments for the caller on a billing account while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

beginResolveByBillingAccountAndWait(string, BillingRoleAssignmentsResolveByBillingAccountOptionalParams)

Lists the role assignments for the caller on a billing account while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

beginResolveByBillingProfile(string, string, BillingRoleAssignmentsResolveByBillingProfileOptionalParams)

Lists the role assignments for the caller on an billing profile while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

beginResolveByBillingProfileAndWait(string, string, BillingRoleAssignmentsResolveByBillingProfileOptionalParams)

Lists the role assignments for the caller on an billing profile while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

beginResolveByCustomer(string, string, string, BillingRoleAssignmentsResolveByCustomerOptionalParams)

Lists the role assignments for the caller on a customer while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

beginResolveByCustomerAndWait(string, string, string, BillingRoleAssignmentsResolveByCustomerOptionalParams)

Lists the role assignments for the caller on a customer while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

beginResolveByInvoiceSection(string, string, string, BillingRoleAssignmentsResolveByInvoiceSectionOptionalParams)

Lists the role assignments for the caller on an invoice section while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

beginResolveByInvoiceSectionAndWait(string, string, string, BillingRoleAssignmentsResolveByInvoiceSectionOptionalParams)

Lists the role assignments for the caller on an invoice section while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

deleteByBillingAccount(string, string, BillingRoleAssignmentsDeleteByBillingAccountOptionalParams)

Deletes a role assignment on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

deleteByBillingProfile(string, string, string, BillingRoleAssignmentsDeleteByBillingProfileOptionalParams)

Deletes a role assignment on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

deleteByCustomer(string, string, string, string, BillingRoleAssignmentsDeleteByCustomerOptionalParams)

Deletes a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

deleteByDepartment(string, string, string, BillingRoleAssignmentsDeleteByDepartmentOptionalParams)

Deletes a role assignment on a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

deleteByEnrollmentAccount(string, string, string, BillingRoleAssignmentsDeleteByEnrollmentAccountOptionalParams)

Deletes a role assignment on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

deleteByInvoiceSection(string, string, string, string, BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams)

Deletes a role assignment on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

getByBillingAccount(string, string, BillingRoleAssignmentsGetByBillingAccountOptionalParams)

Gets a role assignment for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

getByBillingProfile(string, string, string, BillingRoleAssignmentsGetByBillingProfileOptionalParams)

Gets a role assignment for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

getByCustomer(string, string, string, string, BillingRoleAssignmentsGetByCustomerOptionalParams)

Gets a role assignment for the caller on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

getByDepartment(string, string, string, BillingRoleAssignmentsGetByDepartmentOptionalParams)

Gets a role assignment for the caller on a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

getByEnrollmentAccount(string, string, string, BillingRoleAssignmentsGetByEnrollmentAccountOptionalParams)

Gets a role assignment for the caller on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

getByInvoiceSection(string, string, string, string, BillingRoleAssignmentsGetByInvoiceSectionOptionalParams)

Gets a role assignment for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

listByBillingAccount(string, BillingRoleAssignmentsListByBillingAccountOptionalParams)

Lists the role assignments for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

listByBillingProfile(string, string, BillingRoleAssignmentsListByBillingProfileOptionalParams)

Lists the role assignments for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

listByCustomer(string, string, string, BillingRoleAssignmentsListByCustomerOptionalParams)

Lists the role assignments for the caller on customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

listByDepartment(string, string, BillingRoleAssignmentsListByDepartmentOptionalParams)

Lists the role assignments for the caller on a department. The operation is supported for billing accounts of type Enterprise Agreement.

listByEnrollmentAccount(string, string, BillingRoleAssignmentsListByEnrollmentAccountOptionalParams)

Lists the role assignments for the caller on a enrollment account. The operation is supported for billing accounts of type Enterprise Agreement.

listByInvoiceSection(string, string, string, BillingRoleAssignmentsListByInvoiceSectionOptionalParams)

Lists the role assignments for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

Method Details

beginCreateByBillingAccount(string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByBillingAccountOptionalParams)

Adds a role assignment on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function beginCreateByBillingAccount(billingAccountName: string, parameters: BillingRoleAssignmentProperties, options?: BillingRoleAssignmentsCreateByBillingAccountOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

parameters
BillingRoleAssignmentProperties

The properties of the billing role assignment.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

beginCreateByBillingAccountAndWait(string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByBillingAccountOptionalParams)

Adds a role assignment on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function beginCreateByBillingAccountAndWait(billingAccountName: string, parameters: BillingRoleAssignmentProperties, options?: BillingRoleAssignmentsCreateByBillingAccountOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

parameters
BillingRoleAssignmentProperties

The properties of the billing role assignment.

Returns

beginCreateByBillingProfile(string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByBillingProfileOptionalParams)

Adds a role assignment on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function beginCreateByBillingProfile(billingAccountName: string, billingProfileName: string, parameters: BillingRoleAssignmentProperties, options?: BillingRoleAssignmentsCreateByBillingProfileOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

parameters
BillingRoleAssignmentProperties

The properties of the billing role assignment.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

beginCreateByBillingProfileAndWait(string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByBillingProfileOptionalParams)

Adds a role assignment on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function beginCreateByBillingProfileAndWait(billingAccountName: string, billingProfileName: string, parameters: BillingRoleAssignmentProperties, options?: BillingRoleAssignmentsCreateByBillingProfileOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

parameters
BillingRoleAssignmentProperties

The properties of the billing role assignment.

Returns

beginCreateByCustomer(string, string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByCustomerOptionalParams)

Adds a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

function beginCreateByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, parameters: BillingRoleAssignmentProperties, options?: BillingRoleAssignmentsCreateByCustomerOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

customerName

string

The ID that uniquely identifies a customer.

parameters
BillingRoleAssignmentProperties

The properties of the billing role assignment.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

beginCreateByCustomerAndWait(string, string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByCustomerOptionalParams)

Adds a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

function beginCreateByCustomerAndWait(billingAccountName: string, billingProfileName: string, customerName: string, parameters: BillingRoleAssignmentProperties, options?: BillingRoleAssignmentsCreateByCustomerOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

customerName

string

The ID that uniquely identifies a customer.

parameters
BillingRoleAssignmentProperties

The properties of the billing role assignment.

Returns

beginCreateByInvoiceSection(string, string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByInvoiceSectionOptionalParams)

Adds a role assignment on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

function beginCreateByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: BillingRoleAssignmentProperties, options?: BillingRoleAssignmentsCreateByInvoiceSectionOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

invoiceSectionName

string

The ID that uniquely identifies an invoice section.

parameters
BillingRoleAssignmentProperties

The properties of the billing role assignment.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

beginCreateByInvoiceSectionAndWait(string, string, string, BillingRoleAssignmentProperties, BillingRoleAssignmentsCreateByInvoiceSectionOptionalParams)

Adds a role assignment on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

function beginCreateByInvoiceSectionAndWait(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: BillingRoleAssignmentProperties, options?: BillingRoleAssignmentsCreateByInvoiceSectionOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

invoiceSectionName

string

The ID that uniquely identifies an invoice section.

parameters
BillingRoleAssignmentProperties

The properties of the billing role assignment.

Returns

beginCreateOrUpdateByBillingAccount(string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByBillingAccountOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function beginCreateOrUpdateByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, parameters: BillingRoleAssignment, options?: BillingRoleAssignmentsCreateOrUpdateByBillingAccountOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

parameters
BillingRoleAssignment

The properties of the billing role assignment.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

beginCreateOrUpdateByBillingAccountAndWait(string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByBillingAccountOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function beginCreateOrUpdateByBillingAccountAndWait(billingAccountName: string, billingRoleAssignmentName: string, parameters: BillingRoleAssignment, options?: BillingRoleAssignmentsCreateOrUpdateByBillingAccountOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

parameters
BillingRoleAssignment

The properties of the billing role assignment.

Returns

beginCreateOrUpdateByDepartment(string, string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByDepartmentOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function beginCreateOrUpdateByDepartment(billingAccountName: string, departmentName: string, billingRoleAssignmentName: string, parameters: BillingRoleAssignment, options?: BillingRoleAssignmentsCreateOrUpdateByDepartmentOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

departmentName

string

The name of the department.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

parameters
BillingRoleAssignment

The properties of the billing role assignment.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

beginCreateOrUpdateByDepartmentAndWait(string, string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByDepartmentOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function beginCreateOrUpdateByDepartmentAndWait(billingAccountName: string, departmentName: string, billingRoleAssignmentName: string, parameters: BillingRoleAssignment, options?: BillingRoleAssignmentsCreateOrUpdateByDepartmentOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

departmentName

string

The name of the department.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

parameters
BillingRoleAssignment

The properties of the billing role assignment.

Returns

beginCreateOrUpdateByEnrollmentAccount(string, string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByEnrollmentAccountOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function beginCreateOrUpdateByEnrollmentAccount(billingAccountName: string, enrollmentAccountName: string, billingRoleAssignmentName: string, parameters: BillingRoleAssignment, options?: BillingRoleAssignmentsCreateOrUpdateByEnrollmentAccountOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

enrollmentAccountName

string

The name of the enrollment account.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

parameters
BillingRoleAssignment

The properties of the billing role assignment.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BillingRoleAssignment>, BillingRoleAssignment>>

beginCreateOrUpdateByEnrollmentAccountAndWait(string, string, string, BillingRoleAssignment, BillingRoleAssignmentsCreateOrUpdateByEnrollmentAccountOptionalParams)

Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function beginCreateOrUpdateByEnrollmentAccountAndWait(billingAccountName: string, enrollmentAccountName: string, billingRoleAssignmentName: string, parameters: BillingRoleAssignment, options?: BillingRoleAssignmentsCreateOrUpdateByEnrollmentAccountOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

enrollmentAccountName

string

The name of the enrollment account.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

parameters
BillingRoleAssignment

The properties of the billing role assignment.

Returns

beginResolveByBillingAccount(string, BillingRoleAssignmentsResolveByBillingAccountOptionalParams)

Lists the role assignments for the caller on a billing account while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

function beginResolveByBillingAccount(billingAccountName: string, options?: BillingRoleAssignmentsResolveByBillingAccountOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignmentListResult>, BillingRoleAssignmentListResult>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

Returns

beginResolveByBillingAccountAndWait(string, BillingRoleAssignmentsResolveByBillingAccountOptionalParams)

Lists the role assignments for the caller on a billing account while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

function beginResolveByBillingAccountAndWait(billingAccountName: string, options?: BillingRoleAssignmentsResolveByBillingAccountOptionalParams): Promise<BillingRoleAssignmentListResult>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

Returns

beginResolveByBillingProfile(string, string, BillingRoleAssignmentsResolveByBillingProfileOptionalParams)

Lists the role assignments for the caller on an billing profile while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function beginResolveByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingRoleAssignmentsResolveByBillingProfileOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignmentListResult>, BillingRoleAssignmentListResult>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

Returns

beginResolveByBillingProfileAndWait(string, string, BillingRoleAssignmentsResolveByBillingProfileOptionalParams)

Lists the role assignments for the caller on an billing profile while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function beginResolveByBillingProfileAndWait(billingAccountName: string, billingProfileName: string, options?: BillingRoleAssignmentsResolveByBillingProfileOptionalParams): Promise<BillingRoleAssignmentListResult>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

Returns

beginResolveByCustomer(string, string, string, BillingRoleAssignmentsResolveByCustomerOptionalParams)

Lists the role assignments for the caller on a customer while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

function beginResolveByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, options?: BillingRoleAssignmentsResolveByCustomerOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignmentListResult>, BillingRoleAssignmentListResult>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

customerName

string

The ID that uniquely identifies a customer.

Returns

beginResolveByCustomerAndWait(string, string, string, BillingRoleAssignmentsResolveByCustomerOptionalParams)

Lists the role assignments for the caller on a customer while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

function beginResolveByCustomerAndWait(billingAccountName: string, billingProfileName: string, customerName: string, options?: BillingRoleAssignmentsResolveByCustomerOptionalParams): Promise<BillingRoleAssignmentListResult>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

customerName

string

The ID that uniquely identifies a customer.

Returns

beginResolveByInvoiceSection(string, string, string, BillingRoleAssignmentsResolveByInvoiceSectionOptionalParams)

Lists the role assignments for the caller on an invoice section while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

function beginResolveByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingRoleAssignmentsResolveByInvoiceSectionOptionalParams): Promise<SimplePollerLike<OperationState<BillingRoleAssignmentListResult>, BillingRoleAssignmentListResult>>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

invoiceSectionName

string

The ID that uniquely identifies an invoice section.

Returns

beginResolveByInvoiceSectionAndWait(string, string, string, BillingRoleAssignmentsResolveByInvoiceSectionOptionalParams)

Lists the role assignments for the caller on an invoice section while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

function beginResolveByInvoiceSectionAndWait(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingRoleAssignmentsResolveByInvoiceSectionOptionalParams): Promise<BillingRoleAssignmentListResult>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

invoiceSectionName

string

The ID that uniquely identifies an invoice section.

Returns

deleteByBillingAccount(string, string, BillingRoleAssignmentsDeleteByBillingAccountOptionalParams)

Deletes a role assignment on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

function deleteByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByBillingAccountOptionalParams): Promise<void>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

Promise<void>

deleteByBillingProfile(string, string, string, BillingRoleAssignmentsDeleteByBillingProfileOptionalParams)

Deletes a role assignment on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function deleteByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByBillingProfileOptionalParams): Promise<void>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

Promise<void>

deleteByCustomer(string, string, string, string, BillingRoleAssignmentsDeleteByCustomerOptionalParams)

Deletes a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

function deleteByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByCustomerOptionalParams): Promise<void>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

customerName

string

The ID that uniquely identifies a customer.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

Promise<void>

deleteByDepartment(string, string, string, BillingRoleAssignmentsDeleteByDepartmentOptionalParams)

Deletes a role assignment on a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function deleteByDepartment(billingAccountName: string, departmentName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByDepartmentOptionalParams): Promise<void>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

departmentName

string

The name of the department.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

Promise<void>

deleteByEnrollmentAccount(string, string, string, BillingRoleAssignmentsDeleteByEnrollmentAccountOptionalParams)

Deletes a role assignment on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function deleteByEnrollmentAccount(billingAccountName: string, enrollmentAccountName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByEnrollmentAccountOptionalParams): Promise<void>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

enrollmentAccountName

string

The name of the enrollment account.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

Promise<void>

deleteByInvoiceSection(string, string, string, string, BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams)

Deletes a role assignment on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

function deleteByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams): Promise<void>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

invoiceSectionName

string

The ID that uniquely identifies an invoice section.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

Promise<void>

getByBillingAccount(string, string, BillingRoleAssignmentsGetByBillingAccountOptionalParams)

Gets a role assignment for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

function getByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByBillingAccountOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

getByBillingProfile(string, string, string, BillingRoleAssignmentsGetByBillingProfileOptionalParams)

Gets a role assignment for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByBillingProfileOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

getByCustomer(string, string, string, string, BillingRoleAssignmentsGetByCustomerOptionalParams)

Gets a role assignment for the caller on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

function getByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByCustomerOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

customerName

string

The ID that uniquely identifies a customer.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

options
BillingRoleAssignmentsGetByCustomerOptionalParams

The options parameters.

Returns

getByDepartment(string, string, string, BillingRoleAssignmentsGetByDepartmentOptionalParams)

Gets a role assignment for the caller on a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function getByDepartment(billingAccountName: string, departmentName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByDepartmentOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

departmentName

string

The name of the department.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

options
BillingRoleAssignmentsGetByDepartmentOptionalParams

The options parameters.

Returns

getByEnrollmentAccount(string, string, string, BillingRoleAssignmentsGetByEnrollmentAccountOptionalParams)

Gets a role assignment for the caller on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

function getByEnrollmentAccount(billingAccountName: string, enrollmentAccountName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByEnrollmentAccountOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

enrollmentAccountName

string

The name of the enrollment account.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

getByInvoiceSection(string, string, string, string, BillingRoleAssignmentsGetByInvoiceSectionOptionalParams)

Gets a role assignment for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

function getByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByInvoiceSectionOptionalParams): Promise<BillingRoleAssignment>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

invoiceSectionName

string

The ID that uniquely identifies an invoice section.

billingRoleAssignmentName

string

The ID that uniquely identifies a role assignment.

Returns

listByBillingAccount(string, BillingRoleAssignmentsListByBillingAccountOptionalParams)

Lists the role assignments for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

function listByBillingAccount(billingAccountName: string, options?: BillingRoleAssignmentsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment, BillingRoleAssignment[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

Returns

listByBillingProfile(string, string, BillingRoleAssignmentsListByBillingProfileOptionalParams)

Lists the role assignments for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingRoleAssignmentsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment, BillingRoleAssignment[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

Returns

listByCustomer(string, string, string, BillingRoleAssignmentsListByCustomerOptionalParams)

Lists the role assignments for the caller on customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

function listByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, options?: BillingRoleAssignmentsListByCustomerOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment, BillingRoleAssignment[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

customerName

string

The ID that uniquely identifies a customer.

options
BillingRoleAssignmentsListByCustomerOptionalParams

The options parameters.

Returns

listByDepartment(string, string, BillingRoleAssignmentsListByDepartmentOptionalParams)

Lists the role assignments for the caller on a department. The operation is supported for billing accounts of type Enterprise Agreement.

function listByDepartment(billingAccountName: string, departmentName: string, options?: BillingRoleAssignmentsListByDepartmentOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment, BillingRoleAssignment[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

departmentName

string

The name of the department.

Returns

listByEnrollmentAccount(string, string, BillingRoleAssignmentsListByEnrollmentAccountOptionalParams)

Lists the role assignments for the caller on a enrollment account. The operation is supported for billing accounts of type Enterprise Agreement.

function listByEnrollmentAccount(billingAccountName: string, enrollmentAccountName: string, options?: BillingRoleAssignmentsListByEnrollmentAccountOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment, BillingRoleAssignment[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

enrollmentAccountName

string

The name of the enrollment account.

Returns

listByInvoiceSection(string, string, string, BillingRoleAssignmentsListByInvoiceSectionOptionalParams)

Lists the role assignments for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

function listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingRoleAssignmentsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment, BillingRoleAssignment[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

invoiceSectionName

string

The ID that uniquely identifies an invoice section.

Returns