import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { Diagnostics } from "../operationsInterfaces" ; import * as coreClient from "@azure/core-client" ; import * as Mappers from "../models/mappers" ; import * as Parameters from "../models/parameters" ; import { WebSiteManagementClient } from "../webSiteManagementClient" ; import { DetectorResponse , DiagnosticsListHostingEnvironmentDetectorResponsesNextOptionalParams , DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams , DiagnosticsListSiteDetectorResponsesNextOptionalParams , DiagnosticsListSiteDetectorResponsesOptionalParams , DiagnosticCategory , DiagnosticsListSiteDiagnosticCategoriesNextOptionalParams , DiagnosticsListSiteDiagnosticCategoriesOptionalParams , AnalysisDefinition , DiagnosticsListSiteAnalysesNextOptionalParams , DiagnosticsListSiteAnalysesOptionalParams , DetectorDefinitionResource , DiagnosticsListSiteDetectorsNextOptionalParams , DiagnosticsListSiteDetectorsOptionalParams , DiagnosticsListSiteDetectorResponsesSlotNextOptionalParams , DiagnosticsListSiteDetectorResponsesSlotOptionalParams , DiagnosticsListSiteDiagnosticCategoriesSlotNextOptionalParams , DiagnosticsListSiteDiagnosticCategoriesSlotOptionalParams , DiagnosticsListSiteAnalysesSlotNextOptionalParams , DiagnosticsListSiteAnalysesSlotOptionalParams , DiagnosticsListSiteDetectorsSlotNextOptionalParams , DiagnosticsListSiteDetectorsSlotOptionalParams , DiagnosticsListHostingEnvironmentDetectorResponsesResponse , DiagnosticsGetHostingEnvironmentDetectorResponseOptionalParams , DiagnosticsGetHostingEnvironmentDetectorResponseResponse , DiagnosticsListSiteDetectorResponsesResponse , DiagnosticsGetSiteDetectorResponseOptionalParams , DiagnosticsGetSiteDetectorResponseResponse , DiagnosticsListSiteDiagnosticCategoriesResponse , DiagnosticsGetSiteDiagnosticCategoryOptionalParams , DiagnosticsGetSiteDiagnosticCategoryResponse , DiagnosticsListSiteAnalysesResponse , DiagnosticsGetSiteAnalysisOptionalParams , DiagnosticsGetSiteAnalysisResponse , DiagnosticsExecuteSiteAnalysisOptionalParams , DiagnosticsExecuteSiteAnalysisResponse , DiagnosticsListSiteDetectorsResponse , DiagnosticsGetSiteDetectorOptionalParams , DiagnosticsGetSiteDetectorResponse , DiagnosticsExecuteSiteDetectorOptionalParams , DiagnosticsExecuteSiteDetectorResponse , DiagnosticsListSiteDetectorResponsesSlotResponse , DiagnosticsGetSiteDetectorResponseSlotOptionalParams , DiagnosticsGetSiteDetectorResponseSlotResponse , DiagnosticsListSiteDiagnosticCategoriesSlotResponse , DiagnosticsGetSiteDiagnosticCategorySlotOptionalParams , DiagnosticsGetSiteDiagnosticCategorySlotResponse , DiagnosticsListSiteAnalysesSlotResponse , DiagnosticsGetSiteAnalysisSlotOptionalParams , DiagnosticsGetSiteAnalysisSlotResponse , DiagnosticsExecuteSiteAnalysisSlotOptionalParams , DiagnosticsExecuteSiteAnalysisSlotResponse , DiagnosticsListSiteDetectorsSlotResponse , DiagnosticsGetSiteDetectorSlotOptionalParams , DiagnosticsGetSiteDetectorSlotResponse , DiagnosticsExecuteSiteDetectorSlotOptionalParams , DiagnosticsExecuteSiteDetectorSlotResponse , DiagnosticsListHostingEnvironmentDetectorResponsesNextResponse , DiagnosticsListSiteDetectorResponsesNextResponse , DiagnosticsListSiteDiagnosticCategoriesNextResponse , DiagnosticsListSiteAnalysesNextResponse , DiagnosticsListSiteDetectorsNextResponse , DiagnosticsListSiteDetectorResponsesSlotNextResponse , DiagnosticsListSiteDiagnosticCategoriesSlotNextResponse , DiagnosticsListSiteAnalysesSlotNextResponse , DiagnosticsListSiteDetectorsSlotNextResponse } from "../models" ; /** Class containing Diagnostics operations. */ export class DiagnosticsImpl implements Diagnostics { private readonly client : WebSiteManagementClient ; param client constructor ( client ) { this . client = client ; } param resourceGroupName param name param options public listHostingEnvironmentDetectorResponses ( resourceGroupName , name , options ? ) { const iter = this . listHostingEnvironmentDetectorResponsesPagingAll ( resourceGroupName , name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listHostingEnvironmentDetectorResponsesPagingPage ( resourceGroupName , name , options ) ; } } ; } private async * listHostingEnvironmentDetectorResponsesPagingPage ( resourceGroupName , name , options ? ) { let result = await this . _listHostingEnvironmentDetectorResponses ( resourceGroupName , name , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listHostingEnvironmentDetectorResponsesNext ( resourceGroupName , name , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listHostingEnvironmentDetectorResponsesPagingAll ( resourceGroupName , name , options ? ) { for await ( const page of this . listHostingEnvironmentDetectorResponsesPagingPage ( resourceGroupName , name , options ) ) { yield * page ; } } param resourceGroupName param siteName param options public listSiteDetectorResponses ( resourceGroupName , siteName , options ? ) { const iter = this . listSiteDetectorResponsesPagingAll ( resourceGroupName , siteName , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSiteDetectorResponsesPagingPage ( resourceGroupName , siteName , options ) ; } } ; } private async * listSiteDetectorResponsesPagingPage ( resourceGroupName , siteName , options ? ) { let result = await this . _listSiteDetectorResponses ( resourceGroupName , siteName , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSiteDetectorResponsesNext ( resourceGroupName , siteName , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSiteDetectorResponsesPagingAll ( resourceGroupName , siteName , options ? ) { for await ( const page of this . listSiteDetectorResponsesPagingPage ( resourceGroupName , siteName , options ) ) { yield * page ; } } param resourceGroupName param siteName param options public listSiteDiagnosticCategories ( resourceGroupName , siteName , options ? ) { const iter = this . listSiteDiagnosticCategoriesPagingAll ( resourceGroupName , siteName , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSiteDiagnosticCategoriesPagingPage ( resourceGroupName , siteName , options ) ; } } ; } private async * listSiteDiagnosticCategoriesPagingPage ( resourceGroupName , siteName , options ? ) { let result = await this . _listSiteDiagnosticCategories ( resourceGroupName , siteName , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSiteDiagnosticCategoriesNext ( resourceGroupName , siteName , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSiteDiagnosticCategoriesPagingAll ( resourceGroupName , siteName , options ? ) { for await ( const page of this . listSiteDiagnosticCategoriesPagingPage ( resourceGroupName , siteName , options ) ) { yield * page ; } } param resourceGroupName param siteName param diagnosticCategory param options public listSiteAnalyses ( resourceGroupName , siteName , diagnosticCategory , options ? ) { const iter = this . listSiteAnalysesPagingAll ( resourceGroupName , siteName , diagnosticCategory , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSiteAnalysesPagingPage ( resourceGroupName , siteName , diagnosticCategory , options ) ; } } ; } private async * listSiteAnalysesPagingPage ( resourceGroupName , siteName , diagnosticCategory , options ? ) { let result = await this . _listSiteAnalyses ( resourceGroupName , siteName , diagnosticCategory , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSiteAnalysesNext ( resourceGroupName , siteName , diagnosticCategory , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSiteAnalysesPagingAll ( resourceGroupName , siteName , diagnosticCategory , options ? ) { for await ( const page of this . listSiteAnalysesPagingPage ( resourceGroupName , siteName , diagnosticCategory , options ) ) { yield * page ; } } param resourceGroupName param siteName param diagnosticCategory param options public listSiteDetectors ( resourceGroupName , siteName , diagnosticCategory , options ? ) { const iter = this . listSiteDetectorsPagingAll ( resourceGroupName , siteName , diagnosticCategory , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSiteDetectorsPagingPage ( resourceGroupName , siteName , diagnosticCategory , options ) ; } } ; } private async * listSiteDetectorsPagingPage ( resourceGroupName , siteName , diagnosticCategory , options ? ) { let result = await this . _listSiteDetectors ( resourceGroupName , siteName , diagnosticCategory , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSiteDetectorsNext ( resourceGroupName , siteName , diagnosticCategory , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSiteDetectorsPagingAll ( resourceGroupName , siteName , diagnosticCategory , options ? ) { for await ( const page of this . listSiteDetectorsPagingPage ( resourceGroupName , siteName , diagnosticCategory , options ) ) { yield * page ; } } param resourceGroupName param siteName param slot param options public listSiteDetectorResponsesSlot ( resourceGroupName , siteName , slot , options ? ) { const iter = this . listSiteDetectorResponsesSlotPagingAll ( resourceGroupName , siteName , slot , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSiteDetectorResponsesSlotPagingPage ( resourceGroupName , siteName , slot , options ) ; } } ; } private async * listSiteDetectorResponsesSlotPagingPage ( resourceGroupName , siteName , slot , options ? ) { let result = await this . _listSiteDetectorResponsesSlot ( resourceGroupName , siteName , slot , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSiteDetectorResponsesSlotNext ( resourceGroupName , siteName , slot , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSiteDetectorResponsesSlotPagingAll ( resourceGroupName , siteName , slot , options ? ) { for await ( const page of this . listSiteDetectorResponsesSlotPagingPage ( resourceGroupName , siteName , slot , options ) ) { yield * page ; } } param resourceGroupName param siteName param slot param options public listSiteDiagnosticCategoriesSlot ( resourceGroupName , siteName , slot , options ? ) { const iter = this . listSiteDiagnosticCategoriesSlotPagingAll ( resourceGroupName , siteName , slot , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSiteDiagnosticCategoriesSlotPagingPage ( resourceGroupName , siteName , slot , options ) ; } } ; } private async * listSiteDiagnosticCategoriesSlotPagingPage ( resourceGroupName , siteName , slot , options ? ) { let result = await this . _listSiteDiagnosticCategoriesSlot ( resourceGroupName , siteName , slot , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSiteDiagnosticCategoriesSlotNext ( resourceGroupName , siteName , slot , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSiteDiagnosticCategoriesSlotPagingAll ( resourceGroupName , siteName , slot , options ? ) { for await ( const page of this . listSiteDiagnosticCategoriesSlotPagingPage ( resourceGroupName , siteName , slot , options ) ) { yield * page ; } } param resourceGroupName param siteName param diagnosticCategory param slot param options public listSiteAnalysesSlot ( resourceGroupName , siteName , diagnosticCategory , slot , options ? ) { const iter = this . listSiteAnalysesSlotPagingAll ( resourceGroupName , siteName , diagnosticCategory , slot , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSiteAnalysesSlotPagingPage ( resourceGroupName , siteName , diagnosticCategory , slot , options ) ; } } ; } private async * listSiteAnalysesSlotPagingPage ( resourceGroupName , siteName , diagnosticCategory , slot , options ? ) { let result = await this . _listSiteAnalysesSlot ( resourceGroupName , siteName , diagnosticCategory , slot , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSiteAnalysesSlotNext ( resourceGroupName , siteName , diagnosticCategory , slot , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSiteAnalysesSlotPagingAll ( resourceGroupName , siteName , diagnosticCategory , slot , options ? ) { for await ( const page of this . listSiteAnalysesSlotPagingPage ( resourceGroupName , siteName , diagnosticCategory , slot , options ) ) { yield * page ; } } param resourceGroupName param siteName param diagnosticCategory param slot param options public listSiteDetectorsSlot ( resourceGroupName , siteName , diagnosticCategory , slot , options ? ) { const iter = this . listSiteDetectorsSlotPagingAll ( resourceGroupName , siteName , diagnosticCategory , slot , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( ) => { return this . listSiteDetectorsSlotPagingPage ( resourceGroupName , siteName , diagnosticCategory , slot , options ) ; } } ; } private async * listSiteDetectorsSlotPagingPage ( resourceGroupName , siteName , diagnosticCategory , slot , options ? ) { let result = await this . _listSiteDetectorsSlot ( resourceGroupName , siteName , diagnosticCategory , slot , options ) ; yield result . value || [ ] ; let continuationToken = result . nextLink ; while ( continuationToken ) { result = await this . _listSiteDetectorsSlotNext ( resourceGroupName , siteName , diagnosticCategory , slot , continuationToken , options ) ; continuationToken = result . nextLink ; yield result . value || [ ] ; } } private async * listSiteDetectorsSlotPagingAll ( resourceGroupName , siteName , diagnosticCategory , slot , options ? ) { for await ( const page of this . listSiteDetectorsSlotPagingPage ( resourceGroupName , siteName , diagnosticCategory , slot , options ) ) { yield * page ; } } param resourceGroupName param name param options private _listHostingEnvironmentDetectorResponses ( resourceGroupName , name , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , options } , listHostingEnvironmentDetectorResponsesOperationSpec ) ; } param resourceGroupName param name param detectorName param options getHostingEnvironmentDetectorResponse ( resourceGroupName , name , detectorName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , detectorName , options } , getHostingEnvironmentDetectorResponseOperationSpec ) ; } param resourceGroupName param siteName param options private _listSiteDetectorResponses ( resourceGroupName , siteName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , options } , listSiteDetectorResponsesOperationSpec ) ; } param resourceGroupName param siteName param detectorName param options getSiteDetectorResponse ( resourceGroupName , siteName , detectorName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , detectorName , options } , getSiteDetectorResponseOperationSpec ) ; } param resourceGroupName param siteName param options private _listSiteDiagnosticCategories ( resourceGroupName , siteName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , options } , listSiteDiagnosticCategoriesOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param options getSiteDiagnosticCategory ( resourceGroupName , siteName , diagnosticCategory , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , options } , getSiteDiagnosticCategoryOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param options private _listSiteAnalyses ( resourceGroupName , siteName , diagnosticCategory , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , options } , listSiteAnalysesOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param analysisName param options getSiteAnalysis ( resourceGroupName , siteName , diagnosticCategory , analysisName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , analysisName , options } , getSiteAnalysisOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param analysisName param options executeSiteAnalysis ( resourceGroupName , siteName , diagnosticCategory , analysisName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , analysisName , options } , executeSiteAnalysisOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param options private _listSiteDetectors ( resourceGroupName , siteName , diagnosticCategory , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , options } , listSiteDetectorsOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param detectorName param options getSiteDetector ( resourceGroupName , siteName , diagnosticCategory , detectorName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , detectorName , options } , getSiteDetectorOperationSpec ) ; } param resourceGroupName param siteName param detectorName param diagnosticCategory param options executeSiteDetector ( resourceGroupName , siteName , detectorName , diagnosticCategory , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , detectorName , diagnosticCategory , options } , executeSiteDetectorOperationSpec ) ; } param resourceGroupName param siteName param slot param options private _listSiteDetectorResponsesSlot ( resourceGroupName , siteName , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , slot , options } , listSiteDetectorResponsesSlotOperationSpec ) ; } param resourceGroupName param siteName param detectorName param slot param options getSiteDetectorResponseSlot ( resourceGroupName , siteName , detectorName , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , detectorName , slot , options } , getSiteDetectorResponseSlotOperationSpec ) ; } param resourceGroupName param siteName param slot param options private _listSiteDiagnosticCategoriesSlot ( resourceGroupName , siteName , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , slot , options } , listSiteDiagnosticCategoriesSlotOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param slot param options getSiteDiagnosticCategorySlot ( resourceGroupName , siteName , diagnosticCategory , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , slot , options } , getSiteDiagnosticCategorySlotOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param slot param options private _listSiteAnalysesSlot ( resourceGroupName , siteName , diagnosticCategory , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , slot , options } , listSiteAnalysesSlotOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param analysisName param slot param options getSiteAnalysisSlot ( resourceGroupName , siteName , diagnosticCategory , analysisName , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , analysisName , slot , options } , getSiteAnalysisSlotOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param analysisName param slot param options executeSiteAnalysisSlot ( resourceGroupName , siteName , diagnosticCategory , analysisName , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , analysisName , slot , options } , executeSiteAnalysisSlotOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param slot param options private _listSiteDetectorsSlot ( resourceGroupName , siteName , diagnosticCategory , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , slot , options } , listSiteDetectorsSlotOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param detectorName param slot param options getSiteDetectorSlot ( resourceGroupName , siteName , diagnosticCategory , detectorName , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , detectorName , slot , options } , getSiteDetectorSlotOperationSpec ) ; } param resourceGroupName param siteName param detectorName param diagnosticCategory param slot param options executeSiteDetectorSlot ( resourceGroupName , siteName , detectorName , diagnosticCategory , slot , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , detectorName , diagnosticCategory , slot , options } , executeSiteDetectorSlotOperationSpec ) ; } param resourceGroupName param name param nextLink param options private _listHostingEnvironmentDetectorResponsesNext ( resourceGroupName , name , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , name , nextLink , options } , listHostingEnvironmentDetectorResponsesNextOperationSpec ) ; } param resourceGroupName param siteName param nextLink param options private _listSiteDetectorResponsesNext ( resourceGroupName , siteName , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , nextLink , options } , listSiteDetectorResponsesNextOperationSpec ) ; } param resourceGroupName param siteName param nextLink param options private _listSiteDiagnosticCategoriesNext ( resourceGroupName , siteName , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , nextLink , options } , listSiteDiagnosticCategoriesNextOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param nextLink param options private _listSiteAnalysesNext ( resourceGroupName , siteName , diagnosticCategory , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , nextLink , options } , listSiteAnalysesNextOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param nextLink param options private _listSiteDetectorsNext ( resourceGroupName , siteName , diagnosticCategory , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , nextLink , options } , listSiteDetectorsNextOperationSpec ) ; } param resourceGroupName param siteName param slot param nextLink param options private _listSiteDetectorResponsesSlotNext ( resourceGroupName , siteName , slot , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , slot , nextLink , options } , listSiteDetectorResponsesSlotNextOperationSpec ) ; } param resourceGroupName param siteName param slot param nextLink param options private _listSiteDiagnosticCategoriesSlotNext ( resourceGroupName , siteName , slot , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , slot , nextLink , options } , listSiteDiagnosticCategoriesSlotNextOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param slot param nextLink param options private _listSiteAnalysesSlotNext ( resourceGroupName , siteName , diagnosticCategory , slot , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , slot , nextLink , options } , listSiteAnalysesSlotNextOperationSpec ) ; } param resourceGroupName param siteName param diagnosticCategory param slot param nextLink param options private _listSiteDetectorsSlotNext ( resourceGroupName , siteName , diagnosticCategory , slot , nextLink , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , siteName , diagnosticCategory , slot , nextLink , options } , listSiteDetectorsSlotNextOperationSpec ) ; } } const serializer = coreClient . createSerializer ( Mappers , false ) ; const listHostingEnvironmentDetectorResponsesOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorResponseCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name ] , headerParameters : [ Parameters . accept ] , serializer } ; const getHostingEnvironmentDetectorResponseOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorResponse } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . startTime , Parameters . endTime , Parameters . timeGrain ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . detectorName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDetectorResponsesOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorResponseCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName ] , headerParameters : [ Parameters . accept ] , serializer } ; const getSiteDetectorResponseOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorResponse } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . startTime , Parameters . endTime , Parameters . timeGrain ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . detectorName , Parameters . siteName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDiagnosticCategoriesOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticCategoryCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName ] , headerParameters : [ Parameters . accept ] , serializer } ; const getSiteDiagnosticCategoryOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticCategory } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteAnalysesOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticAnalysisCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory ] , headerParameters : [ Parameters . accept ] , serializer } ; const getSiteAnalysisOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AnalysisDefinition } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory , Parameters . analysisName ] , headerParameters : [ Parameters . accept ] , serializer } ; const executeSiteAnalysisOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . DiagnosticAnalysis } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . startTime , Parameters . endTime , Parameters . timeGrain ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory , Parameters . analysisName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDetectorsOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticDetectorCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory ] , headerParameters : [ Parameters . accept ] , serializer } ; const getSiteDetectorOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorDefinitionResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . detectorName , Parameters . siteName , Parameters . diagnosticCategory ] , headerParameters : [ Parameters . accept ] , serializer } ; const executeSiteDetectorOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . DiagnosticDetectorResponse } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . startTime , Parameters . endTime , Parameters . timeGrain ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . detectorName , Parameters . siteName , Parameters . diagnosticCategory ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDetectorResponsesSlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorResponseCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const getSiteDetectorResponseSlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorResponse } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . startTime , Parameters . endTime , Parameters . timeGrain ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . detectorName , Parameters . siteName , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDiagnosticCategoriesSlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticCategoryCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const getSiteDiagnosticCategorySlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticCategory } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteAnalysesSlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticAnalysisCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const getSiteAnalysisSlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . AnalysisDefinition } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory , Parameters . analysisName , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const executeSiteAnalysisSlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . DiagnosticAnalysis } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . startTime , Parameters . endTime , Parameters . timeGrain ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory , Parameters . analysisName , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDetectorsSlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticDetectorCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . siteName , Parameters . diagnosticCategory , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const getSiteDetectorSlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorDefinitionResource } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . detectorName , Parameters . siteName , Parameters . diagnosticCategory , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const executeSiteDetectorSlotOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute" , httpMethod : "POST" , responses : { 200 : { bodyMapper : Mappers . DiagnosticDetectorResponse } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion , Parameters . startTime , Parameters . endTime , Parameters . timeGrain ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . detectorName , Parameters . siteName , Parameters . diagnosticCategory , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const listHostingEnvironmentDetectorResponsesNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorResponseCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . name , Parameters . nextLink ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDetectorResponsesNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorResponseCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . nextLink , Parameters . siteName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDiagnosticCategoriesNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticCategoryCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . nextLink , Parameters . siteName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteAnalysesNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticAnalysisCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . nextLink , Parameters . siteName , Parameters . diagnosticCategory ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDetectorsNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticDetectorCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . nextLink , Parameters . siteName , Parameters . diagnosticCategory ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDetectorResponsesSlotNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DetectorResponseCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . nextLink , Parameters . siteName , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDiagnosticCategoriesSlotNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticCategoryCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . nextLink , Parameters . siteName , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteAnalysesSlotNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticAnalysisCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . nextLink , Parameters . siteName , Parameters . diagnosticCategory , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ; const listSiteDetectorsSlotNextOperationSpec = { path : "{nextLink}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . DiagnosticDetectorCollection } , default : { bodyMapper : Mappers . DefaultErrorResponse } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . nextLink , Parameters . siteName , Parameters . diagnosticCategory , Parameters . slot ] , headerParameters : [ Parameters . accept ] , serializer } ;