BillingRoleDefinitionOperations interface
Interface representing a BillingRoleDefinitionOperations.
Methods
get |
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. |
get |
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. |
get |
Gets the definition for a role on a customer. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. |
get |
Gets the definition for a role on a department. The operation is supported for billing accounts with agreement type Enterprise Agreement. |
get |
Gets the definition for a role on an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement. |
get |
Gets the definition for a role on an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
list |
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. |
list |
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. |
list |
Lists the role definitions for a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement. |
list |
List the definition for a department. The operation is supported for billing accounts with agreement type Enterprise Agreement. |
list |
List the definition for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement. |
list |
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.
The options parameters.
Returns
Promise<BillingRoleDefinition>
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.
The options parameters.
Returns
Promise<BillingRoleDefinition>
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.
The options parameters.
Returns
Promise<BillingRoleDefinition>
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.
The options parameters.
Returns
Promise<BillingRoleDefinition>
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.
The options parameters.
Returns
Promise<BillingRoleDefinition>
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.
The options parameters.
Returns
Promise<BillingRoleDefinition>
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.
The options parameters.
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.
The options parameters.
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.
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.
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.
The options parameters.
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.
The options parameters.