共用方式為


IDefinition<ParentT> 介面

定義

整個 Web 應用程式診斷記錄定義。

public interface IDefinition<ParentT> : Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IBlank<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithApplicationLogLevel<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithAttachForApplicationStorage<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithAttachForWebServerFileSystem<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithAttachForWebServerStorage<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithDetailedErrorMessages<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithDiagnosticLogging<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithFailedRequestTracing<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithQuota<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithRetentionDays<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithStorageLocationForApplication<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppDiagnosticLogs.Definition.IWithStorageLocationForWebServer<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithDiagnosticLogging<'ParentT>
    interface IWithApplicationLogLevel<'ParentT>
    interface IWithStorageLocationForApplication<'ParentT>
    interface IWithStorageLocationForWebServer<'ParentT>
    interface IWithAttachForWebServerStorage<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
    interface IWithDetailedErrorMessages<'ParentT>
    interface IWithFailedRequestTracing<'ParentT>
    interface IWithRetentionDays<'ParentT>
    interface IWithAttachForWebServerFileSystem<'ParentT>
    interface IWithQuota<'ParentT>
    interface IWithAttachForApplicationStorage<'ParentT>
Public Interface IDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInDefinition(Of ParentT), IWithApplicationLogLevel(Of ParentT), IWithAttach(Of ParentT), IWithAttachForApplicationStorage(Of ParentT), IWithAttachForWebServerFileSystem(Of ParentT), IWithAttachForWebServerStorage(Of ParentT), IWithDetailedErrorMessages(Of ParentT), IWithDiagnosticLogging(Of ParentT), IWithFailedRequestTracing(Of ParentT), IWithQuota(Of ParentT), IWithRetentionDays(Of ParentT), IWithStorageLocationForApplication(Of ParentT), IWithStorageLocationForWebServer(Of ParentT)

類型參數

ParentT

最終 Attachable.attach () 的傳回型別。

實作

方法

Attach()

整個 Web 應用程式診斷記錄定義。

(繼承來源 IInDefinition<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>)
WithUnlimitedLogRetentionDays()

指定在特定時間後將不會刪除記錄。

(繼承來源 IWithRetentionDays<ParentT>)
WithWebServerFileSystemQuotaInMB(Int32)

指定檔案系統上允許的記錄大小上限, (MB) 。

(繼承來源 IWithQuota<ParentT>)
WithWebServerLogging()

從網頁伺服器啟用記錄。

(繼承來源 IWithDiagnosticLogging<ParentT>)
WithWebServerLogsStoredOnFileSystem()

指定要在檔案系統上之 Web 服務器記錄的儲存位置。

(繼承來源 IWithStorageLocationForWebServer<ParentT>)
WithWebServerLogsStoredOnStorageBlob(String)

指定要在儲存體 Blob 中開啟之 Web 服務器記錄的儲存體位置。

(繼承來源 IWithStorageLocationForWebServer<ParentT>)

適用於