Condividi tramite


SignalRFeature Class

Definition

Feature of a resource, which controls the runtime behavior.

public class SignalRFeature : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SignalR.Models.SignalRFeature>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SignalR.Models.SignalRFeature>
public class SignalRFeature
type SignalRFeature = class
    interface IJsonModel<SignalRFeature>
    interface IPersistableModel<SignalRFeature>
type SignalRFeature = class
Public Class SignalRFeature
Implements IJsonModel(Of SignalRFeature), IPersistableModel(Of SignalRFeature)
Public Class SignalRFeature
Inheritance
SignalRFeature
Implements

Constructors

SignalRFeature(SignalRFeatureFlag, String)

Initializes a new instance of SignalRFeature.

Properties

Flag

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.
Properties

Optional properties related to this feature.

Value

Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SignalRFeature>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SignalRFeature>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SignalRFeature>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SignalRFeature>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SignalRFeature>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to