Compartilhar via


PricingTier Class

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

public class PricingTier

Defines App service pricing tiers.

Field Summary

Modifier and Type Field and Description
final PricingTier BASIC_B1

Basic pricing tier with a small size.

final PricingTier BASIC_B2

Basic pricing tier with a medium size.

final PricingTier BASIC_B3

Basic pricing tier with a large size.

final PricingTier FREE_F1

Free pricing tier. This does not work with Linux web apps, host name bindings, and SSL bindings.

final PricingTier PREMIUM_P1

Premium pricing tier with a small size.

final PricingTier PREMIUM_P2

Premium pricing tier with a medium size.

final PricingTier PREMIUM_P3

Premium pricing tier with a large size.

final PricingTier SHARED_D1

Shared pricing tier. This does not work with Linux web apps, host name bindings, and SSL bindings.

final PricingTier STANDARD_S1

Standard pricing tier with a small size.

final PricingTier STANDARD_S2

Standard pricing tier with a medium size.

final PricingTier STANDARD_S3

Standard pricing tier with a large size.

Constructor Summary

Constructor Description
PricingTier(String tier, String size)

Creates a custom app service pricing tier.

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
PricingTier fromSkuDescription(SkuDescription skuDescription)

Parses a serialized value to an AppServicePricingTier instance.

int hashCode()
SkuDescription toSkuDescription()
String toString()

Field Details

BASIC_B1

public static final PricingTier BASIC_B1= new PricingTier("Basic", "B1")

Basic pricing tier with a small size.

BASIC_B2

public static final PricingTier BASIC_B2= new PricingTier("Basic", "B2")

Basic pricing tier with a medium size.

BASIC_B3

public static final PricingTier BASIC_B3= new PricingTier("Basic", "B3")

Basic pricing tier with a large size.

FREE_F1

public static final PricingTier FREE_F1= new PricingTier("Free", "F1")

Free pricing tier. This does not work with Linux web apps, host name bindings, and SSL bindings.

PREMIUM_P1

public static final PricingTier PREMIUM_P1= new PricingTier("Premium", "P1")

Premium pricing tier with a small size.

PREMIUM_P2

public static final PricingTier PREMIUM_P2= new PricingTier("Premium", "P2")

Premium pricing tier with a medium size.

PREMIUM_P3

public static final PricingTier PREMIUM_P3= new PricingTier("Premium", "P3")

Premium pricing tier with a large size.

SHARED_D1

public static final PricingTier SHARED_D1= new PricingTier("Shared", "D1")

Shared pricing tier. This does not work with Linux web apps, host name bindings, and SSL bindings.

STANDARD_S1

public static final PricingTier STANDARD_S1= new PricingTier("Standard", "S1")

Standard pricing tier with a small size.

STANDARD_S2

public static final PricingTier STANDARD_S2= new PricingTier("Standard", "S2")

Standard pricing tier with a medium size.

STANDARD_S3

public static final PricingTier STANDARD_S3= new PricingTier("Standard", "S3")

Standard pricing tier with a large size.

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

equals

public boolean equals(Object obj)

Parameters:

obj

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.

hashCode

public int hashCode()

toSkuDescription

public SkuDescription toSkuDescription()

Returns:

the underneath sku description

toString

public String toString()

Applies to