Partager via


PricingTier Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.PricingTier

public final class PricingTier

Defines App service pricing tiers.

Field Summary

Modifier and Type Field and Description
static final PricingTier BASIC_B1

Basic pricing tier with a small size.

static final PricingTier BASIC_B2

Basic pricing tier with a medium size.

static final PricingTier BASIC_B3

Basic pricing tier with a large size.

static final PricingTier FREE_F1

Free pricing tier.

static final PricingTier PREMIUM_P1

Premium pricing tier with a small size.

static final PricingTier PREMIUM_P1V2

V2 Premium pricing tier with a small size.

static final PricingTier PREMIUM_P1V3

V3 Premium pricing tier with a small size.

static final PricingTier PREMIUM_P2

Premium pricing tier with a medium size.

static final PricingTier PREMIUM_P2V2

V2 Premium pricing tier with a medium size.

static final PricingTier PREMIUM_P2V3

V3 Premium pricing tier with a medium size.

static final PricingTier PREMIUM_P3

Premium pricing tier with a large size.

static final PricingTier PREMIUM_P3V2

V2 Premium pricing tier with a large size.

static final PricingTier PREMIUM_P3V3

V3 Premium pricing tier with a large size.

static final PricingTier SHARED_D1

Shared pricing tier.

static final PricingTier STANDARD_S1

Standard pricing tier with a small size.

static final PricingTier STANDARD_S2

Standard pricing tier with a medium size.

static 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)
static PricingTier fromSkuDescription(SkuDescription skuDescription)

Parses a serialized value to an AppServicePricingTier instance.

static Collection<PricingTier> getAll()

Lists the pre-defined app service pricing tiers.

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

Methods inherited from java.lang.Object

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.

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.

PREMIUM_P1

public static final PricingTier PREMIUM_P1

Premium pricing tier with a small size.

PREMIUM_P1V2

public static final PricingTier PREMIUM_P1V2

V2 Premium pricing tier with a small size.

PREMIUM_P1V3

public static final PricingTier PREMIUM_P1V3

V3 Premium pricing tier with a small size.

PREMIUM_P2

public static final PricingTier PREMIUM_P2

Premium pricing tier with a medium size.

PREMIUM_P2V2

public static final PricingTier PREMIUM_P2V2

V2 Premium pricing tier with a medium size.

PREMIUM_P2V3

public static final PricingTier PREMIUM_P2V3

V3 Premium pricing tier with a medium size.

PREMIUM_P3

public static final PricingTier PREMIUM_P3

Premium pricing tier with a large size.

PREMIUM_P3V2

public static final PricingTier PREMIUM_P3V2

V2 Premium pricing tier with a large size.

PREMIUM_P3V3

public static final PricingTier PREMIUM_P3V3

V3 Premium pricing tier with a large size.

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.

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.

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)

Overrides:

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

getAll

public static Collection getAll()

Lists the pre-defined app service pricing tiers.

Returns:

immutable collection of the pre-defined app service pricing tiers

hashCode

public int hashCode()

Overrides:

PricingTier.hashCode()

toSkuDescription

public SkuDescription toSkuDescription()

Returns:

the underneath sku description

toString

public String toString()

Overrides:

PricingTier.toString()

Applies to