Class AzureRateCardOperations

All Implemented Interfaces:
IPartnerComponent<String>, IPartnerComponentString, IAzureRateCard

public class AzureRateCardOperations
extends BasePartnerComponentString
implements IAzureRateCard
  • Constructor Details

    • AzureRateCardOperations

      public AzureRateCardOperations​(IPartner rootPartnerOperations)
      Initializes a new instance of the "AzureRateCardOperations" class.
      Parameters:
      rootPartnerOperations - The root partner operations instance.
  • Method Details

    • get

      public AzureRateCard get​(String currency, String region)
      Gets the Azure rate card which provides real-time prices for Azure offers.
      Specified by:
      get in interface IAzureRateCard
      Parameters:
      currency - An optional three letter ISO code for the currency in which the resource rates will be provided. The default is the currency associated with the market in the partner's profile.
      region - An optional two-letter ISO country/region code that indicates the market where the offer is purchased. The default is the country/region code set in the partner profile.
      Returns:
      The Azure rate card for the partner.
    • getShared

      public AzureRateCard getShared​(String currency, String region)
      Gets the Azure CSL rate card which provides real-time prices for Azure offers.
      Specified by:
      getShared in interface IAzureRateCard
      Parameters:
      currency - An optional three letter ISO code for the currency in which the resource rates will be provided. The default is the currency associated with the market in the partner's profile.
      region - An optional two-letter ISO country/region code that indicates the market where the offer is purchased. The default is the country/region code set in the partner profile.
      Returns:
      The Azure rate card for the partner.