ProductsClient Interface
public interface ProductsClient
An instance of this class provides access to all the operations defined in ProductsClient.
Method Summary
Method Details
beginMove
public abstract SyncPoller<PollResult<ProductInner>,ProductInner> beginMove(String billingAccountName, String productName, MoveProductRequest parameters)
Moves a product's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
beginMove
public abstract SyncPoller<PollResult<ProductInner>,ProductInner> beginMove(String billingAccountName, String productName, MoveProductRequest parameters, Context context)
Moves a product's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
get
public abstract ProductInner get(String billingAccountName, String productName)
Gets a product by ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
getWithResponse
public abstract Response<ProductInner> getWithResponse(String billingAccountName, String productName, Context context)
Gets a product by ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
listByBillingAccount
public abstract PagedIterable<ProductInner> listByBillingAccount(String billingAccountName)
Lists the products for a billing account. These don't include products billed based on usage. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Parameters:
Returns:
listByBillingAccount
public abstract PagedIterable<ProductInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the products for a billing account. These don't include products billed based on usage. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Parameters:
Returns:
listByBillingProfile
public abstract PagedIterable<ProductInner> listByBillingProfile(String billingAccountName, String billingProfileName)
Lists the products for a billing profile. These don't include products billed based on usage. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Parameters:
Returns:
listByBillingProfile
public abstract PagedIterable<ProductInner> listByBillingProfile(String billingAccountName, String billingProfileName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the products for a billing profile. These don't include products billed based on usage. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Parameters:
Returns:
listByCustomer
public abstract PagedIterable<ProductInner> listByCustomer(String billingAccountName, String customerName)
Lists the products for a customer. These don't include products billed based on usage.The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
listByCustomer
public abstract PagedIterable<ProductInner> listByCustomer(String billingAccountName, String customerName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the products for a customer. These don't include products billed based on usage.The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Parameters:
Returns:
listByInvoiceSection
public abstract PagedIterable<ProductInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName)
Lists the products for an invoice section. These don't include products billed based on usage. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
listByInvoiceSection
public abstract PagedIterable<ProductInner> listByInvoiceSection(String billingAccountName, String billingProfileName, String invoiceSectionName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
Lists the products for an invoice section. These don't include products billed based on usage. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
move
public abstract ProductInner move(String billingAccountName, String productName, MoveProductRequest parameters)
Moves a product's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
move
public abstract ProductInner move(String billingAccountName, String productName, MoveProductRequest parameters, Context context)
Moves a product's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
update
public abstract ProductInner update(String billingAccountName, String productName, ProductPatch parameters)
Updates the properties of a Product. Currently, auto renew can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
updateWithResponse
public abstract Response<ProductInner> updateWithResponse(String billingAccountName, String productName, ProductPatch parameters, Context context)
Updates the properties of a Product. Currently, auto renew can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
validateMoveEligibility
public abstract MoveProductEligibilityResultInner validateMoveEligibility(String billingAccountName, String productName, MoveProductRequest parameters)
Validates if a product's charges can be moved to a new invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns:
validateMoveEligibilityWithResponse
public abstract Response<MoveProductEligibilityResultInner> validateMoveEligibilityWithResponse(String billingAccountName, String productName, MoveProductRequest parameters, Context context)
Validates if a product's charges can be moved to a new invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Parameters:
Returns: