Share via


RequestLogging Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.RequestLoggingTypeConverter))]
public class RequestLogging : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IRequestLogging
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.RequestLoggingTypeConverter))>]
type RequestLogging = class
    interface IRequestLogging
    interface IJsonSerializable
Public Class RequestLogging
Implements IRequestLogging
Inheritance
RequestLogging
Attributes
Implements

Constructors

RequestLogging()

Creates an new RequestLogging instance.

Properties

CaptureHeader

For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RequestLogging.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RequestLogging.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IRequestLogging.

FromJsonString(String)

Creates a new instance of RequestLogging, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RequestLogging into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to