FeatureFlags Class

public final class FeatureFlags
extends ExpandableStringEnum<FeatureFlags>

FeatureFlags is the supported features of Azure SignalR service. - ServiceMode: Flag for backend server for SignalR service. Values allowed: "Default": have your own backend server; "Serverless": your application doesn't have a backend server; "Classic": for backward compatibility. Support both Default and Serverless mode but not recommended; "PredefinedOnly": for future use. - EnableConnectivityLogs: "true"/"false", to enable/disable the connectivity log category respectively. - EnableMessagingLogs: "true"/"false", to enable/disable the connectivity log category respectively. - EnableLiveTrace: Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. Please note that live traces are counted as outbound messages that will be charged. Values allowed: "true"/"false", to enable/disable live trace feature.

Field Summary

Modifier and Type Field and Description
static final FeatureFlags ENABLE_CONNECTIVITY_LOGS

Static value EnableConnectivityLogs for FeatureFlags.

static final FeatureFlags ENABLE_LIVE_TRACE

Static value EnableLiveTrace for FeatureFlags.

static final FeatureFlags ENABLE_MESSAGING_LOGS

Static value EnableMessagingLogs for FeatureFlags.

static final FeatureFlags SERVICE_MODE

Static value ServiceMode for FeatureFlags.

Constructor Summary

Constructor Description
FeatureFlags()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FeatureFlags value.

Method Summary

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

Creates or finds a FeatureFlags from its string representation.

static Collection<FeatureFlags> values()

Gets known FeatureFlags values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ENABLE_CONNECTIVITY_LOGS

public static final FeatureFlags ENABLE_CONNECTIVITY_LOGS

Static value EnableConnectivityLogs for FeatureFlags.

ENABLE_LIVE_TRACE

public static final FeatureFlags ENABLE_LIVE_TRACE

Static value EnableLiveTrace for FeatureFlags.

ENABLE_MESSAGING_LOGS

public static final FeatureFlags ENABLE_MESSAGING_LOGS

Static value EnableMessagingLogs for FeatureFlags.

SERVICE_MODE

public static final FeatureFlags SERVICE_MODE

Static value ServiceMode for FeatureFlags.

Constructor Details

FeatureFlags

@Deprecated
public FeatureFlags()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FeatureFlags value.

Method Details

fromString

public static FeatureFlags fromString(String name)

Creates or finds a FeatureFlags from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FeatureFlags.

values

public static Collection values()

Gets known FeatureFlags values.

Returns:

known FeatureFlags values.

Applies to