AadAuthFailureMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.search.models.AadAuthFailureMode

public enum AadAuthFailureMode
extends Enum<AadAuthFailureMode>

Describes what response the data plane API of a search service would send for requests that failed authentication.

Fields

HTTP401WITH_BEARER_CHALLENGE

Indicates that requests that failed authentication should be presented with an HTTP status code of 401 (Unauthorized) and present a Bearer Challenge.

HTTP403

Indicates that requests that failed authentication should be presented with an HTTP status code of 403 (Forbidden).

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static AadAuthFailureMode fromString(String value)

Parses a serialized value to a AadAuthFailureMode instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed AadAuthFailureMode object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static AadAuthFailureMode valueOf(String name)

Parameters

name
String

Returns

values()

public static AadAuthFailureMode[] values()

Returns

Applies to