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

Diagnostics interface

表示诊断的接口。

方法

executeSiteAnalysis(string, string, string, string, DiagnosticsExecuteSiteAnalysisOptionalParams)

执行分析的说明

executeSiteAnalysisSlot(string, string, string, string, string, DiagnosticsExecuteSiteAnalysisSlotOptionalParams)

执行分析的说明

executeSiteDetector(string, string, string, string, DiagnosticsExecuteSiteDetectorOptionalParams)

执行检测器的说明

executeSiteDetectorSlot(string, string, string, string, string, DiagnosticsExecuteSiteDetectorSlotOptionalParams)

执行检测器的说明

getHostingEnvironmentDetectorResponse(string, string, string, DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams)

获取宿主环境检测器响应的说明

getSiteAnalysis(string, string, string, string, DiagnosticsGetSiteAnalysisOptionalParams)

获取网站分析的说明

getSiteAnalysisSlot(string, string, string, string, string, DiagnosticsGetSiteAnalysisSlotOptionalParams)

获取网站分析的说明

getSiteDetector(string, string, string, string, DiagnosticsGetSiteDetectorOptionalParams)

获取检测器的说明

getSiteDetectorResponse(string, string, string, DiagnosticsGetSiteDetectorResponseOptionalParams)

获取站点检测器响应的说明

getSiteDetectorResponseSlot(string, string, string, string, DiagnosticsGetSiteDetectorResponseSlotOptionalParams)

获取站点检测器响应的说明

getSiteDetectorSlot(string, string, string, string, string, DiagnosticsGetSiteDetectorSlotOptionalParams)

获取检测器的说明

getSiteDiagnosticCategory(string, string, string, DiagnosticsGetSiteDiagnosticCategoryOptionalParams)

获取诊断类别的说明

getSiteDiagnosticCategorySlot(string, string, string, string, DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams)

获取诊断类别的说明

listHostingEnvironmentDetectorResponses(string, string, DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams)

列出宿主环境检测器响应的说明

listSiteAnalyses(string, string, string, DiagnosticsListSiteAnalysesOptionalParams)

获取站点分析的说明

listSiteAnalysesSlot(string, string, string, string, DiagnosticsListSiteAnalysesSlotOptionalParams)

获取站点分析的说明

listSiteDetectorResponses(string, string, DiagnosticsListSiteDetectorResponsesOptionalParams)

列出站点检测器响应的说明

listSiteDetectorResponsesSlot(string, string, string, DiagnosticsListSiteDetectorResponsesSlotOptionalParams)

列出站点检测器响应的说明

listSiteDetectors(string, string, string, DiagnosticsListSiteDetectorsOptionalParams)

获取检测器的说明

listSiteDetectorsSlot(string, string, string, string, DiagnosticsListSiteDetectorsSlotOptionalParams)

获取检测器的说明

listSiteDiagnosticCategories(string, string, DiagnosticsListSiteDiagnosticCategoriesOptionalParams)

获取诊断类别的说明

listSiteDiagnosticCategoriesSlot(string, string, string, DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams)

获取诊断类别的说明

方法详细信息

executeSiteAnalysis(string, string, string, string, DiagnosticsExecuteSiteAnalysisOptionalParams)

执行分析的说明

function executeSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options?: DiagnosticsExecuteSiteAnalysisOptionalParams): Promise<DiagnosticAnalysis>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

Category Name

analysisName

string

分析资源名称

返回

executeSiteAnalysisSlot(string, string, string, string, string, DiagnosticsExecuteSiteAnalysisSlotOptionalParams)

执行分析的说明

function executeSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options?: DiagnosticsExecuteSiteAnalysisSlotOptionalParams): Promise<DiagnosticAnalysis>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

Category Name

analysisName

string

分析资源名称

slot

string

槽名称

返回

executeSiteDetector(string, string, string, string, DiagnosticsExecuteSiteDetectorOptionalParams)

执行检测器的说明

function executeSiteDetector(resourceGroupName: string, siteName: string, detectorName: string, diagnosticCategory: string, options?: DiagnosticsExecuteSiteDetectorOptionalParams): Promise<DiagnosticDetectorResponse>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

detectorName

string

检测器资源名称

diagnosticCategory

string

Category Name

返回

executeSiteDetectorSlot(string, string, string, string, string, DiagnosticsExecuteSiteDetectorSlotOptionalParams)

执行检测器的说明

function executeSiteDetectorSlot(resourceGroupName: string, siteName: string, detectorName: string, diagnosticCategory: string, slot: string, options?: DiagnosticsExecuteSiteDetectorSlotOptionalParams): Promise<DiagnosticDetectorResponse>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

detectorName

string

检测器资源名称

diagnosticCategory

string

Category Name

slot

string

槽名称

返回

getHostingEnvironmentDetectorResponse(string, string, string, DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams)

获取宿主环境检测器响应的说明

function getHostingEnvironmentDetectorResponse(resourceGroupName: string, name: string, detectorName: string, options?: DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams): Promise<DetectorResponse>

参数

resourceGroupName

string

资源所属的资源组的名称。

name

string

应用服务环境名称

detectorName

string

检测器资源名称

返回

Promise<DetectorResponse>

getSiteAnalysis(string, string, string, string, DiagnosticsGetSiteAnalysisOptionalParams)

获取网站分析的说明

function getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options?: DiagnosticsGetSiteAnalysisOptionalParams): Promise<AnalysisDefinition>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

analysisName

string

分析名称

返回

getSiteAnalysisSlot(string, string, string, string, string, DiagnosticsGetSiteAnalysisSlotOptionalParams)

获取网站分析的说明

function getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options?: DiagnosticsGetSiteAnalysisSlotOptionalParams): Promise<AnalysisDefinition>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

analysisName

string

分析名称

slot

string

槽 - 可选

返回

getSiteDetector(string, string, string, string, DiagnosticsGetSiteDetectorOptionalParams)

获取检测器的说明

function getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, options?: DiagnosticsGetSiteDetectorOptionalParams): Promise<DetectorDefinitionResource>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

detectorName

string

检测器名称

返回

getSiteDetectorResponse(string, string, string, DiagnosticsGetSiteDetectorResponseOptionalParams)

获取站点检测器响应的说明

function getSiteDetectorResponse(resourceGroupName: string, siteName: string, detectorName: string, options?: DiagnosticsGetSiteDetectorResponseOptionalParams): Promise<DetectorResponse>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

detectorName

string

检测器资源名称

返回

Promise<DetectorResponse>

getSiteDetectorResponseSlot(string, string, string, string, DiagnosticsGetSiteDetectorResponseSlotOptionalParams)

获取站点检测器响应的说明

function getSiteDetectorResponseSlot(resourceGroupName: string, siteName: string, detectorName: string, slot: string, options?: DiagnosticsGetSiteDetectorResponseSlotOptionalParams): Promise<DetectorResponse>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

detectorName

string

检测器资源名称

slot

string

槽名称

返回

Promise<DetectorResponse>

getSiteDetectorSlot(string, string, string, string, string, DiagnosticsGetSiteDetectorSlotOptionalParams)

获取检测器的说明

function getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, options?: DiagnosticsGetSiteDetectorSlotOptionalParams): Promise<DetectorDefinitionResource>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

detectorName

string

检测器名称

slot

string

槽名称

返回

getSiteDiagnosticCategory(string, string, string, DiagnosticsGetSiteDiagnosticCategoryOptionalParams)

获取诊断类别的说明

function getSiteDiagnosticCategory(resourceGroupName: string, siteName: string, diagnosticCategory: string, options?: DiagnosticsGetSiteDiagnosticCategoryOptionalParams): Promise<DiagnosticCategory>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

返回

getSiteDiagnosticCategorySlot(string, string, string, string, DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams)

获取诊断类别的说明

function getSiteDiagnosticCategorySlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options?: DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams): Promise<DiagnosticCategory>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

slot

string

槽名称

返回

listHostingEnvironmentDetectorResponses(string, string, DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams)

列出宿主环境检测器响应的说明

function listHostingEnvironmentDetectorResponses(resourceGroupName: string, name: string, options?: DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams): PagedAsyncIterableIterator<DetectorResponse, DetectorResponse[], PageSettings>

参数

resourceGroupName

string

资源所属的资源组的名称。

name

string

站点名称

返回

listSiteAnalyses(string, string, string, DiagnosticsListSiteAnalysesOptionalParams)

获取站点分析的说明

function listSiteAnalyses(resourceGroupName: string, siteName: string, diagnosticCategory: string, options?: DiagnosticsListSiteAnalysesOptionalParams): PagedAsyncIterableIterator<AnalysisDefinition, AnalysisDefinition[], PageSettings>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

返回

listSiteAnalysesSlot(string, string, string, string, DiagnosticsListSiteAnalysesSlotOptionalParams)

获取站点分析的说明

function listSiteAnalysesSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options?: DiagnosticsListSiteAnalysesSlotOptionalParams): PagedAsyncIterableIterator<AnalysisDefinition, AnalysisDefinition[], PageSettings>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

slot

string

槽名称

返回

listSiteDetectorResponses(string, string, DiagnosticsListSiteDetectorResponsesOptionalParams)

列出站点检测器响应的说明

function listSiteDetectorResponses(resourceGroupName: string, siteName: string, options?: DiagnosticsListSiteDetectorResponsesOptionalParams): PagedAsyncIterableIterator<DetectorResponse, DetectorResponse[], PageSettings>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

返回

listSiteDetectorResponsesSlot(string, string, string, DiagnosticsListSiteDetectorResponsesSlotOptionalParams)

列出站点检测器响应的说明

function listSiteDetectorResponsesSlot(resourceGroupName: string, siteName: string, slot: string, options?: DiagnosticsListSiteDetectorResponsesSlotOptionalParams): PagedAsyncIterableIterator<DetectorResponse, DetectorResponse[], PageSettings>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

slot

string

槽名称

返回

listSiteDetectors(string, string, string, DiagnosticsListSiteDetectorsOptionalParams)

获取检测器的说明

function listSiteDetectors(resourceGroupName: string, siteName: string, diagnosticCategory: string, options?: DiagnosticsListSiteDetectorsOptionalParams): PagedAsyncIterableIterator<DetectorDefinitionResource, DetectorDefinitionResource[], PageSettings>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

返回

listSiteDetectorsSlot(string, string, string, string, DiagnosticsListSiteDetectorsSlotOptionalParams)

获取检测器的说明

function listSiteDetectorsSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, slot: string, options?: DiagnosticsListSiteDetectorsSlotOptionalParams): PagedAsyncIterableIterator<DetectorDefinitionResource, DetectorDefinitionResource[], PageSettings>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

diagnosticCategory

string

诊断类别

slot

string

槽名称

返回

listSiteDiagnosticCategories(string, string, DiagnosticsListSiteDiagnosticCategoriesOptionalParams)

获取诊断类别的说明

function listSiteDiagnosticCategories(resourceGroupName: string, siteName: string, options?: DiagnosticsListSiteDiagnosticCategoriesOptionalParams): PagedAsyncIterableIterator<DiagnosticCategory, DiagnosticCategory[], PageSettings>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

返回

listSiteDiagnosticCategoriesSlot(string, string, string, DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams)

获取诊断类别的说明

function listSiteDiagnosticCategoriesSlot(resourceGroupName: string, siteName: string, slot: string, options?: DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams): PagedAsyncIterableIterator<DiagnosticCategory, DiagnosticCategory[], PageSettings>

参数

resourceGroupName

string

资源所属的资源组的名称。

siteName

string

站点名称

slot

string

槽名称

返回