PricingTier Class

public final class PricingTier
extends ExpandableStringEnum<PricingTier>

Indicates whether the Defender plan is enabled on the selected scope. Microsoft Defender for Cloud is provided in two pricing tiers: free and standard. The standard tier offers advanced security capabilities, while the free tier offers basic security features.

Field Summary

Modifier and Type Field and Description
static final PricingTier FREE

Static value Free for PricingTier.

static final PricingTier STANDARD

Static value Standard for PricingTier.

Constructor Summary

Constructor Description
PricingTier()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PricingTier value.

Method Summary

Modifier and Type Method and Description
static PricingTier fromString(String name)

Creates or finds a PricingTier from its string representation.

static Collection<PricingTier> values()

Gets known PricingTier values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FREE

public static final PricingTier FREE

Static value Free for PricingTier.

STANDARD

public static final PricingTier STANDARD

Static value Standard for PricingTier.

Constructor Details

PricingTier

@Deprecated
public PricingTier()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PricingTier value.

Method Details

fromString

public static PricingTier fromString(String name)

Creates or finds a PricingTier from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PricingTier.

values

public static Collection<PricingTier> values()

Gets known PricingTier values.

Returns:

known PricingTier values.

Applies to