Class LiveTraceConfiguration
java.lang.Object
com.azure.resourcemanager.webpubsub.models.LiveTraceConfiguration
Live trace configuration of a Microsoft.SignalRService resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LiveTraceConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the categories property: Gets or sets the list of category configurations.enabled()
Get the enabled property: Indicates whether or not enable live trace.void
validate()
Validates the instance.withCategories
(List<LiveTraceCategory> categories) Set the categories property: Gets or sets the list of category configurations.withEnabled
(String enabled) Set the enabled property: Indicates whether or not enable live trace.
-
Constructor Details
-
LiveTraceConfiguration
public LiveTraceConfiguration()Creates an instance of LiveTraceConfiguration class.
-
-
Method Details
-
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.
-
withEnabled
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.
-
categories
Get the categories property: Gets or sets the list of category configurations.- Returns:
- the categories value.
-
withCategories
Set the categories property: Gets or sets the list of category configurations.- Parameters:
categories
- the categories value to set.- Returns:
- the LiveTraceConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-