BillingRoleDefinitionOperations interface

Interface representing a BillingRoleDefinitionOperations.

Methods

getByBillingAccount(string, string, BillingRoleDefinitionGetByBillingAccountOptionalParams)

Gets the definition for a role 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, BillingRoleDefinitionGetByBillingProfileOptionalParams)

Gets the definition for a role 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, BillingRoleDefinitionGetByCustomerOptionalParams)

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

getByDepartment(string, string, string, BillingRoleDefinitionGetByDepartmentOptionalParams)

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

getByEnrollmentAccount(string, string, string, BillingRoleDefinitionGetByEnrollmentAccountOptionalParams)

Gets the definition for a role on an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.

getByInvoiceSection(string, string, string, string, BillingRoleDefinitionGetByInvoiceSectionOptionalParams)

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

listByBillingAccount(string, BillingRoleDefinitionListByBillingAccountOptionalParams)

Lists the role definitions for 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, BillingRoleDefinitionListByBillingProfileOptionalParams)

Lists the role definitions for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

listByCustomer(string, string, string, BillingRoleDefinitionListByCustomerOptionalParams)

Lists the role definitions for a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

listByDepartment(string, string, BillingRoleDefinitionListByDepartmentOptionalParams)

List the definition for a department. The operation is supported for billing accounts with agreement type Enterprise Agreement.

listByEnrollmentAccount(string, string, BillingRoleDefinitionListByEnrollmentAccountOptionalParams)

List the definition for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.

listByInvoiceSection(string, string, string, BillingRoleDefinitionListByInvoiceSectionOptionalParams)

Lists the role definitions for an invoice section. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Method Details

getByBillingAccount(string, string, BillingRoleDefinitionGetByBillingAccountOptionalParams)

Gets the definition for a role 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, roleDefinitionName: string, options?: BillingRoleDefinitionGetByBillingAccountOptionalParams): Promise<BillingRoleDefinition>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

roleDefinitionName

string

The ID that uniquely identifies a role definition.

Returns

getByBillingProfile(string, string, string, BillingRoleDefinitionGetByBillingProfileOptionalParams)

Gets the definition for a role 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, roleDefinitionName: string, options?: BillingRoleDefinitionGetByBillingProfileOptionalParams): Promise<BillingRoleDefinition>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

billingProfileName

string

The ID that uniquely identifies a billing profile.

roleDefinitionName

string

The ID that uniquely identifies a role definition.

Returns

getByCustomer(string, string, string, string, BillingRoleDefinitionGetByCustomerOptionalParams)

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

function getByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, roleDefinitionName: string, options?: BillingRoleDefinitionGetByCustomerOptionalParams): Promise<BillingRoleDefinition>

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.

roleDefinitionName

string

The ID that uniquely identifies a role definition.

options
BillingRoleDefinitionGetByCustomerOptionalParams

The options parameters.

Returns

getByDepartment(string, string, string, BillingRoleDefinitionGetByDepartmentOptionalParams)

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

function getByDepartment(billingAccountName: string, departmentName: string, roleDefinitionName: string, options?: BillingRoleDefinitionGetByDepartmentOptionalParams): Promise<BillingRoleDefinition>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

departmentName

string

The name of the department.

roleDefinitionName

string

The ID that uniquely identifies a role definition.

options
BillingRoleDefinitionGetByDepartmentOptionalParams

The options parameters.

Returns

getByEnrollmentAccount(string, string, string, BillingRoleDefinitionGetByEnrollmentAccountOptionalParams)

Gets the definition for a role on an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.

function getByEnrollmentAccount(billingAccountName: string, enrollmentAccountName: string, roleDefinitionName: string, options?: BillingRoleDefinitionGetByEnrollmentAccountOptionalParams): Promise<BillingRoleDefinition>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

enrollmentAccountName

string

The name of the enrollment account.

roleDefinitionName

string

The ID that uniquely identifies a role definition.

Returns

getByInvoiceSection(string, string, string, string, BillingRoleDefinitionGetByInvoiceSectionOptionalParams)

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

function getByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, roleDefinitionName: string, options?: BillingRoleDefinitionGetByInvoiceSectionOptionalParams): Promise<BillingRoleDefinition>

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.

roleDefinitionName

string

The ID that uniquely identifies a role definition.

Returns

listByBillingAccount(string, BillingRoleDefinitionListByBillingAccountOptionalParams)

Lists the role definitions for 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?: BillingRoleDefinitionListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition, BillingRoleDefinition[], PageSettings>

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

Returns

listByBillingProfile(string, string, BillingRoleDefinitionListByBillingProfileOptionalParams)

Lists the role definitions for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingRoleDefinitionListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition, BillingRoleDefinition[], 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, BillingRoleDefinitionListByCustomerOptionalParams)

Lists the role definitions for a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.

function listByCustomer(billingAccountName: string, billingProfileName: string, customerName: string, options?: BillingRoleDefinitionListByCustomerOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition, BillingRoleDefinition[], 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
BillingRoleDefinitionListByCustomerOptionalParams

The options parameters.

Returns

listByDepartment(string, string, BillingRoleDefinitionListByDepartmentOptionalParams)

List the definition for a department. The operation is supported for billing accounts with agreement type Enterprise Agreement.

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

Parameters

billingAccountName

string

The ID that uniquely identifies a billing account.

departmentName

string

The name of the department.

options
BillingRoleDefinitionListByDepartmentOptionalParams

The options parameters.

Returns

listByEnrollmentAccount(string, string, BillingRoleDefinitionListByEnrollmentAccountOptionalParams)

List the definition for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.

function listByEnrollmentAccount(billingAccountName: string, enrollmentAccountName: string, options?: BillingRoleDefinitionListByEnrollmentAccountOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition, BillingRoleDefinition[], 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, BillingRoleDefinitionListByInvoiceSectionOptionalParams)

Lists the role definitions for an invoice section. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

function listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingRoleDefinitionListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition, BillingRoleDefinition[], 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