你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IUpdateDefinition<ParentT> 接口

定义

作为 Web 应用更新的一部分的整个 Web 应用诊断日志定义。

public interface IUpdateDefinition<ParentT> : Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IBlank<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IUpdate<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithApplicationLogLevel<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithAttachForApplicationStorage<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithAttachForWebServerFileSystem<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithAttachForWebServerStorage<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithDetailedErrorMessages<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithDiagnosticLogging<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithFailedRequestTracing<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithoutStorageLocationForApplication<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithQuota<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithRetentionDays<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithStorageLocationForApplication<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithStorageLocationForWebServer<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.ISettable<ParentT>
type IUpdateDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithDiagnosticLogging<'ParentT>
    interface IUpdate<'ParentT>
    interface ISettable<'ParentT>
    interface IWithDetailedErrorMessages<'ParentT>
    interface IWithFailedRequestTracing<'ParentT>
    interface IWithApplicationLogLevel<'ParentT>
    interface IWithoutStorageLocationForApplication<'ParentT>
    interface IWithStorageLocationForApplication<'ParentT>
    interface IWithStorageLocationForWebServer<'ParentT>
    interface IWithAttachForWebServerStorage<'ParentT>
    interface IWithRetentionDays<'ParentT>
    interface IWithAttachForWebServerFileSystem<'ParentT>
    interface IWithQuota<'ParentT>
    interface IWithAttachForApplicationStorage<'ParentT>
Public Interface IUpdateDefinition(Of ParentT)
Implements IBlank(Of ParentT), ISettable(Of ParentT), IUpdate(Of ParentT), IWithApplicationLogLevel(Of ParentT), IWithAttachForApplicationStorage(Of ParentT), IWithAttachForWebServerFileSystem(Of ParentT), IWithAttachForWebServerStorage(Of ParentT), IWithDetailedErrorMessages(Of ParentT), IWithDiagnosticLogging(Of ParentT), IWithFailedRequestTracing(Of ParentT), IWithoutStorageLocationForApplication(Of ParentT), IWithQuota(Of ParentT), IWithRetentionDays(Of ParentT), IWithStorageLocationForApplication(Of ParentT), IWithStorageLocationForWebServer(Of ParentT)

类型参数

ParentT

最终 Update.parent () () } 的返回类型。

实现

方法

Parent()

作为 Web 应用更新的一部分的整个 Web 应用诊断日志定义。

(继承自 ISettable<ParentT>)
WithApplicationLogging()

从 Web 应用程序启用日志记录。

(继承自 IWithDiagnosticLogging<ParentT>)
WithApplicationLogsStoredOnFileSystem()

指定要在文件系统上的应用程序日志的存储位置。

(继承自 IWithStorageLocationForApplication<ParentT>)
WithApplicationLogsStoredOnStorageBlob(String)

指定要在存储 Blob 中存储的应用程序日志的存储位置。

(继承自 IWithStorageLocationForApplication<ParentT>)
WithDetailedErrorMessages(Boolean)

指定是否应从 Web 应用收集详细的错误消息。

(继承自 IWithDetailedErrorMessages<ParentT>)
WithFailedRequestTracing(Boolean)

指定是否应收集有关失败请求的诊断信息。

(继承自 IWithFailedRequestTracing<ParentT>)
WithLogLevel(LogLevel)

指定应用程序日志级别。

(继承自 IWithApplicationLogLevel<ParentT>)
WithLogRetentionDays(Int32)

指定要保留的日志的最大天数。 将删除早于此时间的日志。

(继承自 IWithRetentionDays<ParentT>)
WithoutApplicationLogging()

禁用 Web 应用程序中的日志记录。

(继承自 IWithDiagnosticLogging<ParentT>)
WithoutApplicationLogsStoredOnFileSystem()

停止存储在文件系统上的应用程序日志。

(继承自 IWithoutStorageLocationForApplication<ParentT>)
WithoutApplicationLogsStoredOnStorageBlob()

停止存储 Blob 中的应用程序日志。

(继承自 IWithoutStorageLocationForApplication<ParentT>)
WithoutWebServerLogging()

从 Web 服务器禁用日志记录。

(继承自 IWithDiagnosticLogging<ParentT>)
WithoutWebServerLogsStoredOnFileSystem()

停止要存储在文件系统上的 Web 服务器日志。

(继承自 IWithStorageLocationForWebServer<ParentT>)
WithoutWebServerLogsStoredOnStorageBlob()

停止要存储在存储 Blob 中的 Web 服务器日志。

(继承自 IWithStorageLocationForWebServer<ParentT>)
WithUnlimitedLogRetentionDays()

指定在特定时间后不会删除日志。

(继承自 IWithRetentionDays<ParentT>)
WithWebServerFileSystemQuotaInMB(Int32)

指定文件系统上允许的最大日志大小 (MB) 。

(继承自 IWithQuota<ParentT>)
WithWebServerLogging()

从 Web 服务器启用日志记录。

(继承自 IWithDiagnosticLogging<ParentT>)
WithWebServerLogsStoredOnFileSystem()

指定要在文件系统上的 Web 服务器日志的存储位置。

(继承自 IWithStorageLocationForWebServer<ParentT>)
WithWebServerLogsStoredOnStorageBlob(String)

指定要在存储 Blob 中打开的 Web 服务器日志的存储位置。

(继承自 IWithStorageLocationForWebServer<ParentT>)

适用于