Partager via


SiteLogsConfig Class

Definition

Configuration of App Service site logs.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SiteLogsConfigTypeConverter))]
public class SiteLogsConfig : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISiteLogsConfig, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SiteLogsConfigTypeConverter))>]
type SiteLogsConfig = class
    interface ISiteLogsConfig
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class SiteLogsConfig
Implements ISiteLogsConfig, IValidates
Inheritance
SiteLogsConfig
Attributes
Implements

Constructors

SiteLogsConfig()

Creates an new SiteLogsConfig 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.

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SiteLogsConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SiteLogsConfig.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SiteLogsConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to