// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
// 
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.Management.WebSites.Models
{
    using System;
    using System.Linq;
    using System.Collections.Generic;
    using Newtonsoft.Json;
    using Microsoft.Rest;
    using Microsoft.Rest.Serialization;
    using Microsoft.Rest.Azure;

    /// <summary>
    /// Application logs to azure table storage configuration
    /// </summary>
    public partial class AzureTableStorageApplicationLogsConfig
    {
        /// <summary>
        /// Initializes a new instance of the
        /// AzureTableStorageApplicationLogsConfig class.
        /// </summary>
        public AzureTableStorageApplicationLogsConfig() { }

        /// <summary>
        /// Initializes a new instance of the
        /// AzureTableStorageApplicationLogsConfig class.
        /// </summary>
        public AzureTableStorageApplicationLogsConfig(LogLevel? level = default(LogLevel?), string sasUrl = default(string))
        {
            Level = level;
            SasUrl = sasUrl;
        }

        /// <summary>
        /// Log level. Possible values include: 'Off', 'Verbose',
        /// 'Information', 'Warning', 'Error'
        /// </summary>
        [JsonProperty(PropertyName = "level")]
        public LogLevel? Level { get; set; }

        /// <summary>
        /// SAS url to an azure table with add/query/delete permissions
        /// </summary>
        [JsonProperty(PropertyName = "sasUrl")]
        public string SasUrl { get; set; }

    }
}
