Language

CapturedLog Class

Definition

Log file.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.CapturedLogTypeConverter))]
public class CapturedLog : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ICapturedLog, Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.CapturedLogTypeConverter))>]
type CapturedLog = class
    interface ICapturedLog
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class CapturedLog
Implements ICapturedLog, IValidates
Inheritance
CapturedLog
Attributes
Implements

Constructors

Name Description
CapturedLog()

Creates an new CapturedLog instance.

Properties

Name Description
CreatedTime

Creation timestamp of the log file.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

LastModifiedTime

Last modified timestamp of the log file.

Name

The name of the resource

PropertiesType

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

SizeInKb

Size (in KB) of the log file.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Url

URL to download the log file from.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CapturedLog.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CapturedLog.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CapturedLog into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to