SiteLogsConfig Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configuration of App Service site logs.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.SiteLogsConfigTypeConverter))]
public class SiteLogsConfig : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISiteLogsConfig, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.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.Functions.Models.Api20231201.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. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |