Interface PriceSheets
public interface PriceSheets
Resource collection API of PriceSheets.
-
Method Summary
Modifier and TypeMethodDescriptionGets a URL to download the pricesheet for an invoice.download(String billingAccountName, String billingProfileName, String invoiceName, com.azure.core.util.Context context) Gets a URL to download the pricesheet for an invoice.downloadByBillingProfile(String billingAccountName, String billingProfileName) Gets a URL to download the current month's pricesheet for a billing profile.downloadByBillingProfile(String billingAccountName, String billingProfileName, com.azure.core.util.Context context) Gets a URL to download the current month's pricesheet for a billing profile.
-
Method Details
-
download
Gets a URL to download the pricesheet for an invoice. 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.invoiceName- The ID that uniquely identifies an invoice.- Returns:
- a URL to download the pricesheet for an invoice.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
download
DownloadUrl download(String billingAccountName, String billingProfileName, String invoiceName, com.azure.core.util.Context context) Gets a URL to download the pricesheet for an invoice. 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.invoiceName- The ID that uniquely identifies an invoice.context- The context to associate with this operation.- Returns:
- a URL to download the pricesheet for an invoice.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
downloadByBillingProfile
Gets a URL to download the current month's pricesheet for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.Due to Azure product growth, the Azure price sheet download experience in this preview version will be updated from a single csv file to a Zip file containing multiple csv files, each with max 200k records.- Parameters:
billingAccountName- The ID that uniquely identifies a billing account.billingProfileName- The ID that uniquely identifies a billing profile.- Returns:
- a URL to download the current month's pricesheet for a billing profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
downloadByBillingProfile
DownloadUrl downloadByBillingProfile(String billingAccountName, String billingProfileName, com.azure.core.util.Context context) Gets a URL to download the current month's pricesheet for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.Due to Azure product growth, the Azure price sheet download experience in this preview version will be updated from a single csv file to a Zip file containing multiple csv files, each with max 200k records.- 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 URL to download the current month's pricesheet for a billing profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-