Share via


HttpMessageDiagnostic Class

Definition

Http message diagnostic settings.

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

Constructors

HttpMessageDiagnostic()

Initializes a new instance of HttpMessageDiagnostic.

Properties

BodyBytes

Number of request body bytes to log.

DataMasking

Data masking settings.

Headers

Array of HTTP Headers to log.

Explicit Interface Implementations

IJsonModel<HttpMessageDiagnostic>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HttpMessageDiagnostic>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HttpMessageDiagnostic>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HttpMessageDiagnostic>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HttpMessageDiagnostic>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to