Interface PriceSheetsClient


public interface PriceSheetsClient
An instance of this class provides access to all the operations defined in PriceSheetsClient.
  • Method Details

    • beginDownload

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DownloadUrlInner>,DownloadUrlInner> beginDownload(String billingAccountName, String billingProfileName, String invoiceName)
      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:
      the SyncPoller for polling of 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.
    • beginDownload

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DownloadUrlInner>,DownloadUrlInner> beginDownload(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:
      the SyncPoller for polling of 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

      DownloadUrlInner download(String billingAccountName, String billingProfileName, String invoiceName)
      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

      DownloadUrlInner 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.
    • beginDownloadByBillingProfile

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DownloadUrlInner>,DownloadUrlInner> beginDownloadByBillingProfile(String billingAccountName, String billingProfileName)
      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:
      the SyncPoller for polling of 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.
    • beginDownloadByBillingProfile

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DownloadUrlInner>,DownloadUrlInner> beginDownloadByBillingProfile(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:
      the SyncPoller for polling of 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

      DownloadUrlInner downloadByBillingProfile(String billingAccountName, String billingProfileName)
      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

      DownloadUrlInner 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.