Class AzureRateCardOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.ratecards.AzureRateCardOperations
- All Implemented Interfaces:
IPartnerComponent<String>,IPartnerComponentString,IAzureRateCard
public class AzureRateCardOperations extends BasePartnerComponentString implements IAzureRateCard
-
Constructor Summary
Constructors Constructor Description AzureRateCardOperations(IPartner rootPartnerOperations)Initializes a new instance of the "AzureRateCardOperations" class. -
Method Summary
Modifier and Type Method Description AzureRateCardget(String currency, String region)Gets the Azure rate card which provides real-time prices for Azure offers.AzureRateCardgetShared(String currency, String region)Gets the Azure CSL rate card which provides real-time prices for Azure offers.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
AzureRateCardOperations
Initializes a new instance of the "AzureRateCardOperations" class.- Parameters:
rootPartnerOperations- The root partner operations instance.
-
-
Method Details
-
get
Gets the Azure rate card which provides real-time prices for Azure offers.- Specified by:
getin interfaceIAzureRateCard- 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
Gets the Azure CSL rate card which provides real-time prices for Azure offers.- Specified by:
getSharedin interfaceIAzureRateCard- 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.
-