ResourcesCoverageStatus Class

public final class ResourcesCoverageStatus
extends ExpandableStringEnum<ResourcesCoverageStatus>

This field is available for subscription-level only, and reflects the coverage status of the resources under the subscription. Please note: The "pricingTier" field reflects the plan status of the subscription. However, since the plan status can also be defined at the resource level, there might be misalignment between the subscription's plan status and the resource status. This field helps indicate the coverage status of the resources.

Field Summary

Modifier and Type Field and Description
static final ResourcesCoverageStatus FULLY_COVERED

This value indicates that all resources associated with the subscription have the Defender plan enabled.

static final ResourcesCoverageStatus NOT_COVERED

This value indicates that the Defender plan is disabled for all resources under the subscription.

static final ResourcesCoverageStatus PARTIALLY_COVERED

This value indicates that some resources under the subscription have the Defender plan enabled, while others have it disabled.

Constructor Summary

Constructor Description
ResourcesCoverageStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourcesCoverageStatus value.

Method Summary

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

Creates or finds a ResourcesCoverageStatus from its string representation.

static Collection<ResourcesCoverageStatus> values()

Gets known ResourcesCoverageStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FULLY_COVERED

public static final ResourcesCoverageStatus FULLY_COVERED

This value indicates that all resources associated with the subscription have the Defender plan enabled.

NOT_COVERED

public static final ResourcesCoverageStatus NOT_COVERED

This value indicates that the Defender plan is disabled for all resources under the subscription. None of the resources are protected by the Defender plan.

PARTIALLY_COVERED

public static final ResourcesCoverageStatus PARTIALLY_COVERED

This value indicates that some resources under the subscription have the Defender plan enabled, while others have it disabled. There is a mixed coverage status among resources.

Constructor Details

ResourcesCoverageStatus

@Deprecated
public ResourcesCoverageStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourcesCoverageStatus value.

Method Details

fromString

public static ResourcesCoverageStatus fromString(String name)

Creates or finds a ResourcesCoverageStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ResourcesCoverageStatus.

values

public static Collection<ResourcesCoverageStatus> values()

Gets known ResourcesCoverageStatus values.

Returns:

known ResourcesCoverageStatus values.

Applies to