HttpLogsConfig 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.
Http logs configuration.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.HttpLogsConfigTypeConverter))]
public class HttpLogsConfig : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IHttpLogsConfig
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.HttpLogsConfigTypeConverter))>]
type HttpLogsConfig = class
interface IHttpLogsConfig
interface IJsonSerializable
Public Class HttpLogsConfig
Implements IHttpLogsConfig
- Inheritance
-
HttpLogsConfig
- Attributes
- Implements
Constructors
HttpLogsConfig() |
Creates an new HttpLogsConfig instance. |
Properties
AzureBlobStorageEnabled |
True if configuration is enabled, false if it is disabled and null if configuration is not set. |
AzureBlobStorageRetentionInDay |
Retention in days. Remove blobs older than X days. 0 or lower means no retention. |
AzureBlobStorageSasUrl |
SAS url to a azure blob container with read/write/list/delete permissions. |
FileSystemEnabled |
True if configuration is enabled, false if it is disabled and null if configuration is not set. |
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. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of HttpLogsConfig. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of HttpLogsConfig. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IHttpLogsConfig. |
FromJsonString(String) |
Creates a new instance of HttpLogsConfig, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of HttpLogsConfig into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |