FeatureFlags Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. signalr. models. FeatureFlags
- com.
- com.
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
Feature |
ENABLE_CONNECTIVITY_LOGS
Static value Enable |
static final
Feature |
ENABLE_LIVE_TRACE
Static value Enable |
static final
Feature |
ENABLE_MESSAGING_LOGS
Static value Enable |
static final
Feature |
SERVICE_MODE
Static value Service |
Constructor Summary
Constructor | Description |
---|---|
FeatureFlags() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Feature |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Feature |
fromString(String name)
Creates or finds a Feature |
static
Collection<Feature |
values()
Gets known Feature |
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
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:
Returns:
values
public static Collection
Gets known FeatureFlags values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for