ArmWebPubSubModelFactory.LiveTraceConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Live trace configuration of a Microsoft.SignalRService resource.
public static Azure.ResourceManager.WebPubSub.Models.LiveTraceConfiguration LiveTraceConfiguration(bool? isEnabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.LiveTraceCategory> categories = default);
static member LiveTraceConfiguration : Nullable<bool> * seq<Azure.ResourceManager.WebPubSub.Models.LiveTraceCategory> -> Azure.ResourceManager.WebPubSub.Models.LiveTraceConfiguration
Public Shared Function LiveTraceConfiguration (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional categories As IEnumerable(Of LiveTraceCategory) = Nothing) As LiveTraceConfiguration
Parameters
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.
- categories
- IEnumerable<LiveTraceCategory>
Gets or sets the list of category configurations.
Returns
A new LiveTraceConfiguration instance for mocking.