Share via


ResourceLogCategory Class

Definition

Resource log category configuration of a Microsoft.SignalRService resource.

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

Constructors

ResourceLogCategory()

Initializes a new instance of ResourceLogCategory.

Properties

Enabled

Indicates whether or the resource log category is enabled. Available values: true, false. Case insensitive.

Name

Gets or sets the resource log category's name. Available values: ConnectivityLogs, MessagingLogs. Case insensitive.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ResourceLogCategory>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceLogCategory>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceLogCategory>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceLogCategory>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceLogCategory>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to