LiveTraceConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.signalr.models.LiveTraceConfiguration

public final class LiveTraceConfiguration

Live trace configuration of a Microsoft.SignalRService resource.

Constructor Summary

Constructor Description
LiveTraceConfiguration()

Creates an instance of LiveTraceConfiguration class.

Method Summary

Modifier and Type Method and Description
List<LiveTraceCategory> 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.

void validate()

Validates the instance.

LiveTraceConfiguration withCategories(List<LiveTraceCategory> categories)

Set the categories property: Gets or sets the list of category configurations.

LiveTraceConfiguration 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 categories()

Get the categories property: Gets or sets the list of category configurations.

Returns:

the categories value.

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:

the enabled value.

validate

public void validate()

Validates the instance.

withCategories

public LiveTraceConfiguration withCategories(List categories)

Set the categories property: Gets or sets the list of category configurations.

Parameters:

categories - the categories value to set.

Returns:

the LiveTraceConfiguration object itself.

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:

enabled - the enabled value to set.

Returns:

the LiveTraceConfiguration object itself.

Applies to