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

IWithAttachForWebServerStorage<ParentT> 接口

定义

Web 应用诊断日志更新的最后阶段,以及存储 Blob 中存储的 Web 服务器日志的额外设置。 在此阶段,可以指定任何剩余的可选设置,或者可以使用 Update.parent () 将 Web 应用诊断日志更新附加到父 Web 应用更新。

public interface IWithAttachForWebServerStorage<ParentT> : Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IUpdate<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithDetailedErrorMessages<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithFailedRequestTracing<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Update.IWithRetentionDays<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.ISettable<ParentT>
type IWithAttachForWebServerStorage<'ParentT> = interface
    interface IUpdate<'ParentT>
    interface ISettable<'ParentT>
    interface IWithDetailedErrorMessages<'ParentT>
    interface IWithFailedRequestTracing<'ParentT>
    interface IWithRetentionDays<'ParentT>
Public Interface IWithAttachForWebServerStorage(Of ParentT)
Implements ISettable(Of ParentT), IUpdate(Of ParentT), IWithDetailedErrorMessages(Of ParentT), IWithFailedRequestTracing(Of ParentT), IWithRetentionDays(Of ParentT)

类型参数

ParentT

Update.parent () 的返回类型。

派生
实现

方法

Parent()

Web 应用诊断日志更新的最后阶段,以及存储 Blob 中存储的 Web 服务器日志的额外设置。 在此阶段,可以指定任何剩余的可选设置,或者可以使用 Update.parent () 将 Web 应用诊断日志更新附加到父 Web 应用更新。

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

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

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

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

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

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

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

指定日志不会超过特定时间删除。

(继承自 IWithRetentionDays<ParentT>)

适用于