Partager via


SiteLogsConfigProperties Class

Definition

SiteLogsConfig resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SiteLogsConfigPropertiesTypeConverter))]
public class SiteLogsConfigProperties : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISiteLogsConfigProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SiteLogsConfigPropertiesTypeConverter))>]
type SiteLogsConfigProperties = class
    interface ISiteLogsConfigProperties
    interface IJsonSerializable
Public Class SiteLogsConfigProperties
Implements ISiteLogsConfigProperties
Inheritance
SiteLogsConfigProperties
Attributes
Implements

Constructors

SiteLogsConfigProperties()

Creates an new SiteLogsConfigProperties instance.

Properties

ApplicationLogsAzureBlobStorageRetentionInDay

Retention in days. Remove blobs older than X days. 0 or lower means no retention.

ApplicationLogsAzureBlobStorageSasUrl

SAS url to a azure blob container with read/write/list/delete permissions.

AzureBlobStorageEnabled

True if configuration is enabled, false if it is disabled and null if configuration is not set.

AzureBlobStorageLevel

Log level.

AzureTableStorageLevel

Log level.

AzureTableStorageSasUrl

SAS URL to an Azure table with add/query/delete permissions.

DetailedErrorMessageEnabled

True if configuration is enabled, false if it is disabled and null if configuration is not set.

FailedRequestTracingEnabled

True if configuration is enabled, false if it is disabled and null if configuration is not set.

FileSystemEnabled

True if configuration is enabled, false if it is disabled and null if configuration is not set.

FileSystemLevel

Log level.

FileSystemRetentionInDay

Retention in days. Remove files older than X days. 0 or lower means no retention.

FileSystemRetentionInMb

Maximum size in megabytes that http log files can use. When reached old log files will be removed to make space for new ones. Value can range between 25 and 100.

HttpLogsAzureBlobStorageRetentionInDay

Retention in days. Remove blobs older than X days. 0 or lower means no retention.

HttpLogsAzureBlobStorageSasUrl

SAS url to a azure blob container with read/write/list/delete permissions.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SiteLogsConfigProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SiteLogsConfigProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISiteLogsConfigProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SiteLogsConfigProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to