Class PricingTier

java.lang.Object
com.microsoft.azure.management.appservice.PricingTier

public final class PricingTier extends Object
Defines App service pricing tiers.
  • Field Details

    • BASIC_B1

      public static final PricingTier BASIC_B1
      Basic pricing tier with a small size.
    • BASIC_B2

      public static final PricingTier BASIC_B2
      Basic pricing tier with a medium size.
    • BASIC_B3

      public static final PricingTier BASIC_B3
      Basic pricing tier with a large size.
    • STANDARD_S1

      public static final PricingTier STANDARD_S1
      Standard pricing tier with a small size.
    • STANDARD_S2

      public static final PricingTier STANDARD_S2
      Standard pricing tier with a medium size.
    • STANDARD_S3

      public static final PricingTier STANDARD_S3
      Standard pricing tier with a large size.
    • PREMIUM_P1

      public static final PricingTier PREMIUM_P1
      Premium pricing tier with a small size.
    • PREMIUM_P2

      public static final PricingTier PREMIUM_P2
      Premium pricing tier with a medium size.
    • PREMIUM_P3

      public static final PricingTier PREMIUM_P3
      Premium pricing tier with a large size.
    • PREMIUM_P1V2

      public static final PricingTier PREMIUM_P1V2
      V2 Premium pricing tier with a small size.
    • PREMIUM_P2V2

      public static final PricingTier PREMIUM_P2V2
      V2 Premium pricing tier with a medium size.
    • PREMIUM_P3V2

      public static final PricingTier PREMIUM_P3V2
      V2 Premium pricing tier with a large size.
    • FREE_F1

      public static final PricingTier FREE_F1
      Free pricing tier. This does not work with Linux web apps, host name bindings, and SSL bindings.
    • SHARED_D1

      public static final PricingTier SHARED_D1
      Shared pricing tier. This does not work with Linux web apps, host name bindings, and SSL bindings.
  • Constructor Details

    • PricingTier

      public PricingTier(String tier, String size)
      Creates a custom app service pricing tier.
      Parameters:
      tier - the tier name
      size - the size of the plan
  • Method Details

    • fromSkuDescription

      public static PricingTier fromSkuDescription(SkuDescription skuDescription)
      Parses a serialized value to an AppServicePricingTier instance.
      Parameters:
      skuDescription - the serialized value to parse.
      Returns:
      the parsed AppServicePricingTier object, or null if unable to parse.
    • getAll

      public static Collection<PricingTier> getAll()
      Lists the pre-defined app service pricing tiers.
      Returns:
      immutable collection of the pre-defined app service pricing tiers
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toSkuDescription

      public SkuDescription toSkuDescription()
      Returns:
      the underneath sku description
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object