BillingRoleDefinitionsClient Interface

public interface BillingRoleDefinitionsClient

An instance of this class provides access to all the operations defined in BillingRoleDefinitionsClient.

Method Summary

Modifier and Type Method and Description
abstract BillingRoleDefinitionInner getByBillingAccount(String billingAccountName, String roleDefinitionName)

Gets the definition for a role on a billing account.

abstract Response<BillingRoleDefinitionInner> getByBillingAccountWithResponse(String billingAccountName, String roleDefinitionName, Context context)

Gets the definition for a role on a billing account.

abstract BillingRoleDefinitionInner getByBillingProfile(String billingAccountName, String billingProfileName, String roleDefinitionName)

Gets the definition for a role on a billing profile.

abstract Response<BillingRoleDefinitionInner> getByBillingProfileWithResponse(String billingAccountName, String billingProfileName, String roleDefinitionName, Context context)

Gets the definition for a role on a billing profile.

abstract BillingRoleDefinitionInner getByCustomer(String billingAccountName, String billingProfileName, String customerName, String roleDefinitionName)

Gets the definition for a role on a customer.

abstract Response<BillingRoleDefinitionInner> getByCustomerWithResponse(String billingAccountName, String billingProfileName, String customerName, String roleDefinitionName, Context context)

Gets the definition for a role on a customer.

abstract BillingRoleDefinitionInner getByDepartment(String billingAccountName, String departmentName, String roleDefinitionName)

Gets the definition for a role on a department.

abstract Response<BillingRoleDefinitionInner> getByDepartmentWithResponse(String billingAccountName, String departmentName, String roleDefinitionName, Context context)

Gets the definition for a role on a department.

abstract BillingRoleDefinitionInner getByEnrollmentAccount(String billingAccountName, String enrollmentAccountName, String roleDefinitionName)

Gets the definition for a role on an enrollment account.

abstract Response<BillingRoleDefinitionInner> getByEnrollmentAccountWithResponse(String billingAccountName, String enrollmentAccountName, String roleDefinitionName, Context context)

Gets the definition for a role on an enrollment account.

abstract BillingRoleDefinitionInner getByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName, String roleDefinitionName)

Gets the definition for a role on an invoice section.

abstract Response<BillingRoleDefinitionInner> getByInvoiceSectionWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, String roleDefinitionName, Context context)

Gets the definition for a role on an invoice section.

abstract PagedIterable<BillingRoleDefinitionInner> listByBillingAccount(String billingAccountName)

Lists the role definitions for a billing account.

abstract PagedIterable<BillingRoleDefinitionInner> listByBillingAccount(String billingAccountName, Context context)

Lists the role definitions for a billing account.

abstract PagedIterable<BillingRoleDefinitionInner> listByBillingProfile(String billingAccountName, String billingProfileName)

Lists the role definitions for a billing profile.

abstract PagedIterable<BillingRoleDefinitionInner> listByBillingProfile(String billingAccountName, String billingProfileName, Context context)

Lists the role definitions for a billing profile.

abstract PagedIterable<BillingRoleDefinitionInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName)

Lists the role definitions for a customer.

abstract PagedIterable<BillingRoleDefinitionInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName, Context context)

Lists the role definitions for a customer.

abstract PagedIterable<BillingRoleDefinitionInner> listByDepartment(String billingAccountName, String departmentName)

List the definition for a department.

abstract PagedIterable<BillingRoleDefinitionInner> listByDepartment(String billingAccountName, String departmentName, Context context)

List the definition for a department.

abstract PagedIterable<BillingRoleDefinitionInner> listByEnrollmentAccount(String billingAccountName, String enrollmentAccountName)

List the definition for an enrollment account.

abstract PagedIterable<BillingRoleDefinitionInner> listByEnrollmentAccount(String billingAccountName, String enrollmentAccountName, Context context)

List the definition for an enrollment account.

abstract PagedIterable<BillingRoleDefinitionInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName)

Lists the role definitions for an invoice section.

abstract PagedIterable<BillingRoleDefinitionInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

Lists the role definitions for an invoice section.

Method Details

getByBillingAccount

public abstract BillingRoleDefinitionInner getByBillingAccount(String billingAccountName, String roleDefinitionName)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
roleDefinitionName - The ID that uniquely identifies a role definition.

Returns:

the definition for a role on a billing account.

getByBillingAccountWithResponse

public abstract Response<BillingRoleDefinitionInner> getByBillingAccountWithResponse(String billingAccountName, String roleDefinitionName, Context context)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
roleDefinitionName - The ID that uniquely identifies a role definition.
context - The context to associate with this operation.

Returns:

the definition for a role on a billing account along with Response<T>.

getByBillingProfile

public abstract BillingRoleDefinitionInner getByBillingProfile(String billingAccountName, String billingProfileName, String roleDefinitionName)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
roleDefinitionName - The ID that uniquely identifies a role definition.

Returns:

the definition for a role on a billing profile.

getByBillingProfileWithResponse

public abstract Response<BillingRoleDefinitionInner> getByBillingProfileWithResponse(String billingAccountName, String billingProfileName, String roleDefinitionName, Context context)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
roleDefinitionName - The ID that uniquely identifies a role definition.
context - The context to associate with this operation.

Returns:

the definition for a role on a billing profile along with Response<T>.

getByCustomer

public abstract BillingRoleDefinitionInner getByCustomer(String billingAccountName, String billingProfileName, String customerName, String roleDefinitionName)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
customerName - The ID that uniquely identifies a customer.
roleDefinitionName - The ID that uniquely identifies a role definition.

Returns:

the definition for a role on a customer.

getByCustomerWithResponse

public abstract Response<BillingRoleDefinitionInner> getByCustomerWithResponse(String billingAccountName, String billingProfileName, String customerName, String roleDefinitionName, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
customerName - The ID that uniquely identifies a customer.
roleDefinitionName - The ID that uniquely identifies a role definition.
context - The context to associate with this operation.

Returns:

the definition for a role on a customer along with Response<T>.

getByDepartment

public abstract BillingRoleDefinitionInner getByDepartment(String billingAccountName, String departmentName, String roleDefinitionName)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
departmentName - The name of the department.
roleDefinitionName - The ID that uniquely identifies a role definition.

Returns:

the definition for a role on a department.

getByDepartmentWithResponse

public abstract Response<BillingRoleDefinitionInner> getByDepartmentWithResponse(String billingAccountName, String departmentName, String roleDefinitionName, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
departmentName - The name of the department.
roleDefinitionName - The ID that uniquely identifies a role definition.
context - The context to associate with this operation.

Returns:

the definition for a role on a department along with Response<T>.

getByEnrollmentAccount

public abstract BillingRoleDefinitionInner getByEnrollmentAccount(String billingAccountName, String enrollmentAccountName, String roleDefinitionName)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
enrollmentAccountName - The name of the enrollment account.
roleDefinitionName - The ID that uniquely identifies a role definition.

Returns:

the definition for a role on an enrollment account.

getByEnrollmentAccountWithResponse

public abstract Response<BillingRoleDefinitionInner> getByEnrollmentAccountWithResponse(String billingAccountName, String enrollmentAccountName, String roleDefinitionName, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
enrollmentAccountName - The name of the enrollment account.
roleDefinitionName - The ID that uniquely identifies a role definition.
context - The context to associate with this operation.

Returns:

the definition for a role on an enrollment account along with Response<T>.

getByInvoiceSection

public abstract BillingRoleDefinitionInner getByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName, String roleDefinitionName)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
invoiceSectionName - The ID that uniquely identifies an invoice section.
roleDefinitionName - The ID that uniquely identifies a role definition.

Returns:

the definition for a role on an invoice section.

getByInvoiceSectionWithResponse

public abstract Response<BillingRoleDefinitionInner> getByInvoiceSectionWithResponse(String billingAccountName, String billingProfileName, String invoiceSectionName, String roleDefinitionName, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
invoiceSectionName - The ID that uniquely identifies an invoice section.
roleDefinitionName - The ID that uniquely identifies a role definition.
context - The context to associate with this operation.

Returns:

the definition for a role on an invoice section along with Response<T>.

listByBillingAccount

public abstract PagedIterable<BillingRoleDefinitionInner> listByBillingAccount(String billingAccountName)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingAccount

public abstract PagedIterable<BillingRoleDefinitionInner> listByBillingAccount(String billingAccountName, Context context)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingProfile

public abstract PagedIterable<BillingRoleDefinitionInner> listByBillingProfile(String billingAccountName, String billingProfileName)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingProfile

public abstract PagedIterable<BillingRoleDefinitionInner> listByBillingProfile(String billingAccountName, String billingProfileName, Context context)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByCustomer

public abstract PagedIterable<BillingRoleDefinitionInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
customerName - The ID that uniquely identifies a customer.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByCustomer

public abstract PagedIterable<BillingRoleDefinitionInner> listByCustomer(String billingAccountName, String billingProfileName, String customerName, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
customerName - The ID that uniquely identifies a customer.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByDepartment

public abstract PagedIterable<BillingRoleDefinitionInner> listByDepartment(String billingAccountName, String departmentName)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
departmentName - The name of the department.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByDepartment

public abstract PagedIterable<BillingRoleDefinitionInner> listByDepartment(String billingAccountName, String departmentName, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
departmentName - The name of the department.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByEnrollmentAccount

public abstract PagedIterable<BillingRoleDefinitionInner> listByEnrollmentAccount(String billingAccountName, String enrollmentAccountName)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
enrollmentAccountName - The name of the enrollment account.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByEnrollmentAccount

public abstract PagedIterable<BillingRoleDefinitionInner> listByEnrollmentAccount(String billingAccountName, String enrollmentAccountName, Context context)

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

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
enrollmentAccountName - The name of the enrollment account.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByInvoiceSection

public abstract PagedIterable<BillingRoleDefinitionInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
invoiceSectionName - The ID that uniquely identifies an invoice section.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByInvoiceSection

public abstract PagedIterable<BillingRoleDefinitionInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName, Context context)

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.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
invoiceSectionName - The ID that uniquely identifies an invoice section.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

Applies to