LiveTraceConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. signalr. models. LiveTraceConfiguration
- com.
Implements
public final class LiveTraceConfiguration
implements JsonSerializable<LiveTraceConfiguration>
Live trace configuration of a Microsoft.SignalRService resource.
Constructor Summary
| Constructor | Description |
|---|---|
| LiveTraceConfiguration() |
Creates an instance of Live |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Live |
categories()
Get the categories property: Gets or sets the list of category configurations. |
| String |
enabled()
Get the enabled property: Indicates whether or not enable live trace. |
|
static
Live |
fromJson(JsonReader jsonReader)
Reads an instance of Live |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Live |
withCategories(List<LiveTraceCategory> categories)
Set the categories property: Gets or sets the list of category configurations. |
|
Live |
withEnabled(String enabled)
Set the enabled property: Indicates whether or not enable live trace. |
Methods inherited from java.lang.Object
Constructor Details
LiveTraceConfiguration
public LiveTraceConfiguration()
Creates an instance of LiveTraceConfiguration class.
Method Details
categories
public List<LiveTraceCategory> categories()
Get the categories property: Gets or sets the list of category configurations.
Returns:
enabled
public String enabled()
Get the enabled property: Indicates whether or not enable live trace. When it's set to true, live trace client can connect to the service. Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". Available values: true, false. Case insensitive.
Returns:
fromJson
public static LiveTraceConfiguration fromJson(JsonReader jsonReader)
Reads an instance of LiveTraceConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withCategories
public LiveTraceConfiguration withCategories(List<LiveTraceCategory> categories)
Set the categories property: Gets or sets the list of category configurations.
Parameters:
Returns:
withEnabled
public LiveTraceConfiguration withEnabled(String enabled)
Set the enabled property: Indicates whether or not enable live trace. When it's set to true, live trace client can connect to the service. Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". Available values: true, false. Case insensitive.
Parameters:
Returns: