Language

CapturedLogProperties Class

Definition

Properties of a log file.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.CapturedLogPropertiesTypeConverter))]
public class CapturedLogProperties : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ICapturedLogProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.CapturedLogPropertiesTypeConverter))>]
type CapturedLogProperties = class
    interface ICapturedLogProperties
    interface IJsonSerializable
Public Class CapturedLogProperties
Implements ICapturedLogProperties
Inheritance
CapturedLogProperties
Attributes
Implements

Constructors

Name Description
CapturedLogProperties()

Creates an new CapturedLogProperties instance.

Properties

Name Description
CreatedTime

Creation timestamp of the log file.

LastModifiedTime

Last modified timestamp of the log file.

SizeInKb

Size (in KB) of the log file.

Type

Type of log file. Can be 'ServerLogs' or 'UpgradeLogs'.

Url

URL to download the log file from.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CapturedLogProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CapturedLogProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ICapturedLogProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CapturedLogProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to