{"openapi":"3.0.0","info":{"title":"Diagnostics API Client","version":"2018-02-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/Diagnostics.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"web-Diagnostics","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors":{"get":{"description":"List Hosting Environment Detector Responses","operationId":"Diagnostics_ListHostingEnvironmentDetectorResponses","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"name","required":true,"schema":{"type":"string"},"examples":{"Get App Service Environment Detector Responses":{"value":"SampleAppServiceEnvironment"}}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectorResponseCollection"},"examples":{"Get App Service Environment Detector Responses":{"$ref":"#/components/examples/Get_App_Service_Environment_Detector_Responses"}}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"List Hosting Environment Detector Responses","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}":{"get":{"description":"Get Hosting Environment Detector Response","operationId":"Diagnostics_GetHostingEnvironmentDetectorResponse","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"App Service Environment Name","in":"path","name":"name","required":true,"schema":{"type":"string"},"examples":{"Get App Service Environment Detector Responses":{"value":"SampleAppServiceEnvironment"}}},{"description":"Detector Resource Name","in":"path","name":"detectorName","required":true,"schema":{"type":"string"},"examples":{"Get App Service Environment Detector Responses":{"value":"runtimeavailability"}}},{"description":"Start Time","in":"query","name":"startTime","schema":{"type":"string","format":"date-time"}},{"description":"End Time","in":"query","name":"endTime","schema":{"type":"string","format":"date-time"}},{"description":"Time Grain","in":"query","name":"timeGrain","schema":{"type":"string","pattern":"PT[1-9][0-9]+[SMH]"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectorResponse"},"examples":{"Get App Service Environment Detector Responses":{"$ref":"#/components/examples/Get_App_Service_Environment_Detector_Responses"}}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Hosting Environment Detector Response","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors":{"get":{"description":"List Site Detector Responses","operationId":"Diagnostics_ListSiteDetectorResponses","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"},"examples":{"Get App Detector Responses":{"value":"SampleApp"},"Get App Slot Detector Responses":{"value":"SampleApp"}}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectorResponseCollection"},"examples":{"Get App Detector Responses":{"$ref":"#/components/examples/Get_App_Detector_Responses"},"Get App Slot Detector Responses":{"$ref":"#/components/examples/Get_App_Slot_Detector_Responses"}}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"List Site Detector Responses","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}":{"get":{"description":"Get site detector response","operationId":"Diagnostics_GetSiteDetectorResponse","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"},"examples":{"Get App Detector Response":{"value":"SampleApp"},"Get App Slot Detector Response":{"value":"SampleApp"}}},{"description":"Detector Resource Name","in":"path","name":"detectorName","required":true,"schema":{"type":"string"},"examples":{"Get App Detector Response":{"value":"runtimeavailability"},"Get App Slot Detector Response":{"value":"runtimeavailability"}}},{"description":"Start Time","in":"query","name":"startTime","schema":{"type":"string","format":"date-time"}},{"description":"End Time","in":"query","name":"endTime","schema":{"type":"string","format":"date-time"}},{"description":"Time Grain","in":"query","name":"timeGrain","schema":{"type":"string","pattern":"PT[1-9][0-9]+[SMH]"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectorResponse"},"examples":{"Get App Detector Response":{"$ref":"#/components/examples/Get_App_Detector_Response"},"Get App Slot Detector Response":{"$ref":"#/components/examples/Get_App_Slot_Detector_Response"}}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get site detector response","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics":{"get":{"description":"Get Diagnostics Categories","operationId":"Diagnostics_ListSiteDiagnosticCategories","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticCategoryCollection"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Diagnostics Categories","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}":{"get":{"description":"Get Diagnostics Category","operationId":"Diagnostics_GetSiteDiagnosticCategory","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticCategory"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Diagnostics Category","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses":{"get":{"description":"Get Site Analyses","operationId":"Diagnostics_ListSiteAnalyses","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticAnalysisCollection"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Site Analyses","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}":{"get":{"description":"Get Site Analysis","operationId":"Diagnostics_GetSiteAnalysis","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Analysis Name","in":"path","name":"analysisName","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticAnalysis"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Site Analysis","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute":{"post":{"description":"Execute Analysis","operationId":"Diagnostics_ExecuteSiteAnalysis","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Category Name","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Analysis Resource Name","in":"path","name":"analysisName","required":true,"schema":{"type":"string"}},{"description":"Start Time","in":"query","name":"startTime","schema":{"type":"string","format":"date-time"}},{"description":"End Time","in":"query","name":"endTime","schema":{"type":"string","format":"date-time"}},{"description":"Time Grain","in":"query","name":"timeGrain","schema":{"type":"string","pattern":"PT[1-9][0-9]+[SMH]"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticAnalysis"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Execute Analysis","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors":{"get":{"description":"Get Detectors","operationId":"Diagnostics_ListSiteDetectors","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticDetectorCollection"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Detectors","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}":{"get":{"description":"Get Detector","operationId":"Diagnostics_GetSiteDetector","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Detector Name","in":"path","name":"detectorName","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticDetectorCollection"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Detector","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute":{"post":{"description":"Execute Detector","operationId":"Diagnostics_ExecuteSiteDetector","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Detector Resource Name","in":"path","name":"detectorName","required":true,"schema":{"type":"string"}},{"description":"Category Name","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Start Time","in":"query","name":"startTime","schema":{"type":"string","format":"date-time"}},{"description":"End Time","in":"query","name":"endTime","schema":{"type":"string","format":"date-time"}},{"description":"Time Grain","in":"query","name":"timeGrain","schema":{"type":"string","pattern":"PT[1-9][0-9]+[SMH]"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticDetectorResponse"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Execute Detector","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors":{"get":{"description":"List Site Detector Responses","operationId":"Diagnostics_ListSiteDetectorResponsesSlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"},"examples":{"Get App Detector Responses":{"value":"SampleApp"},"Get App Slot Detector Responses":{"value":"SampleApp"}}},{"description":"Slot Name","in":"path","name":"slot","required":true,"schema":{"type":"string"},"examples":{"Get App Slot Detector Responses":{"value":"staging"}}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectorResponseCollection"},"examples":{"Get App Detector Responses":{"$ref":"#/components/examples/Get_App_Detector_Responses"},"Get App Slot Detector Responses":{"$ref":"#/components/examples/Get_App_Slot_Detector_Responses"}}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"List Site Detector Responses","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}":{"get":{"description":"Get site detector response","operationId":"Diagnostics_GetSiteDetectorResponseSlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"},"examples":{"Get App Detector Response":{"value":"SampleApp"},"Get App Slot Detector Response":{"value":"SampleApp"}}},{"description":"Detector Resource Name","in":"path","name":"detectorName","required":true,"schema":{"type":"string"},"examples":{"Get App Detector Response":{"value":"runtimeavailability"},"Get App Slot Detector Response":{"value":"runtimeavailability"}}},{"description":"Slot Name","in":"path","name":"slot","required":true,"schema":{"type":"string"},"examples":{"Get App Slot Detector Response":{"value":"staging"}}},{"description":"Start Time","in":"query","name":"startTime","schema":{"type":"string","format":"date-time"}},{"description":"End Time","in":"query","name":"endTime","schema":{"type":"string","format":"date-time"}},{"description":"Time Grain","in":"query","name":"timeGrain","schema":{"type":"string","pattern":"PT[1-9][0-9]+[SMH]"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectorResponse"},"examples":{"Get App Detector Response":{"$ref":"#/components/examples/Get_App_Detector_Response"},"Get App Slot Detector Response":{"$ref":"#/components/examples/Get_App_Slot_Detector_Response"}}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get site detector response","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics":{"get":{"description":"Get Diagnostics Categories","operationId":"Diagnostics_ListSiteDiagnosticCategoriesSlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Slot Name","in":"path","name":"slot","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticCategoryCollection"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Diagnostics Categories","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}":{"get":{"description":"Get Diagnostics Category","operationId":"Diagnostics_GetSiteDiagnosticCategorySlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Slot Name","in":"path","name":"slot","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticCategory"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Diagnostics Category","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses":{"get":{"description":"Get Site Analyses","operationId":"Diagnostics_ListSiteAnalysesSlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Slot Name","in":"path","name":"slot","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticAnalysisCollection"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Site Analyses","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}":{"get":{"description":"Get Site Analysis","operationId":"Diagnostics_GetSiteAnalysisSlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Analysis Name","in":"path","name":"analysisName","required":true,"schema":{"type":"string"}},{"description":"Slot - optional","in":"path","name":"slot","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticAnalysis"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Site Analysis","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute":{"post":{"description":"Execute Analysis","operationId":"Diagnostics_ExecuteSiteAnalysisSlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Category Name","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Analysis Resource Name","in":"path","name":"analysisName","required":true,"schema":{"type":"string"}},{"description":"Slot Name","in":"path","name":"slot","required":true,"schema":{"type":"string"}},{"description":"Start Time","in":"query","name":"startTime","schema":{"type":"string","format":"date-time"}},{"description":"End Time","in":"query","name":"endTime","schema":{"type":"string","format":"date-time"}},{"description":"Time Grain","in":"query","name":"timeGrain","schema":{"type":"string","pattern":"PT[1-9][0-9]+[SMH]"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticAnalysis"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Execute Analysis","tags":["Diagnostics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors":{"get":{"description":"Get Detectors","operationId":"Diagnostics_ListSiteDetectorsSlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Slot Name","in":"path","name":"slot","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticDetectorCollection"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Detectors","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}":{"get":{"description":"Get Detector","operationId":"Diagnostics_GetSiteDetectorSlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Diagnostic Category","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Detector Name","in":"path","name":"detectorName","required":true,"schema":{"type":"string"}},{"description":"Slot Name","in":"path","name":"slot","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticDetectorCollection"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Get Detector","tags":["Diagnostics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute":{"post":{"description":"Execute Detector","operationId":"Diagnostics_ExecuteSiteDetectorSlot","parameters":[{"$ref":"#/components/parameters/resourceGroupNameParameter"},{"description":"Site Name","in":"path","name":"siteName","required":true,"schema":{"type":"string"}},{"description":"Detector Resource Name","in":"path","name":"detectorName","required":true,"schema":{"type":"string"}},{"description":"Category Name","in":"path","name":"diagnosticCategory","required":true,"schema":{"type":"string"}},{"description":"Slot Name","in":"path","name":"slot","required":true,"schema":{"type":"string"}},{"description":"Start Time","in":"query","name":"startTime","schema":{"type":"string","format":"date-time"}},{"description":"End Time","in":"query","name":"endTime","schema":{"type":"string","format":"date-time"}},{"description":"Time Grain","in":"query","name":"timeGrain","schema":{"type":"string","pattern":"PT[1-9][0-9]+[SMH]"}},{"$ref":"#/components/parameters/subscriptionIdParameter"},{"$ref":"#/components/parameters/apiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticDetectorResponse"}}}},"default":{"description":"App Service error response.","content":{"application/json":{"schema":{"description":"App Service error response.","properties":{"error":{"description":"Error model.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"details":{"items":{"description":"Detailed errors.","properties":{"code":{"description":"Standardized string to programmatically identify the error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true},"type":"array"},"innererror":{"description":"More information to debug error.","readOnly":true,"type":"string"},"message":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"},"target":{"description":"Detailed error description and debugging information.","readOnly":true,"type":"string"}},"readOnly":true,"type":"object"}},"type":"object"}}}}},"summary":"Execute Detector","tags":["Diagnostics"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Get_App_Service_Environment_Detector_Responses":{"value":{"id":"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability","name":"runtimeavailability","properties":{"dataset":[{"renderingProperties":{"description":"This detector breaks down the number of requests that your apps on this app service environment received for each status code.","renderingType":"TimeSeries","title":"Requests by Status Code"},"table":{"columns":[{"columnName":"PreciseTimeStamp","columnType":"datetime","dataType":"DateTime"},{"columnName":"count_Http2xx","columnType":"long","dataType":"Int64"},{"columnName":"count_Http3xx","columnType":"long","dataType":"Int64"},{"columnName":"count_Http4xx","columnType":"long","dataType":"Int64"},{"columnName":"count_Http5xx","columnType":"long","dataType":"Int64"}],"rows":[["2018-03-27T00:25:00Z","772705","0","0","0"],["2018-03-27T00:30:00Z","787069","0","0","0"],["2018-03-27T00:35:00Z","781627","0","1","0"],["2018-03-27T00:40:00Z","785017","0","0","0"],["2018-03-27T00:45:00Z","783518","0","0","0"],["2018-03-27T00:50:00Z","785783","0","0","0"],["2018-03-27T00:55:00Z","772874","0","0","0"],["2018-03-27T01:00:00Z","787162","0","0","0"],["2018-03-27T01:05:00Z","782036","0","0","0"],["2018-03-27T01:10:00Z","784642","0","0","0"]],"tableName":"Table_0"}}],"metadata":{"category":"Availability and Performance","description":"This detector analyzes all the requests to all applications running on this app service environment.","subCategory":"App Availability","supportTopicId":""}}}},"Get_App_Detector_Responses":{"value":{"value":[{"id":"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability","name":"runtimeavailability","properties":{"dataset":[],"metadata":{"category":"Availability and Performance","description":"This detector analyzes the requests to your application.","subCategory":"App Availability","supportTopicId":""}}}]}},"Get_App_Slot_Detector_Responses":{"value":{"value":[{"id":"/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability","name":"runtimeavailability","properties":{"dataset":[],"metadata":{"category":"Availability and Performance","description":"This detector analyzes the requests to your application.","subCategory":"App Availability","supportTopicId":""}}}]}},"Get_App_Detector_Response":{"value":{"id":"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/detectors/runtimeavailability","name":"runtimeavailability","properties":{"dataset":[{"renderingProperties":{"description":"This detector breaks down the number of requests that your app received for each status code.","renderingType":"TimeSeries","title":"Requests by Status Code"},"table":{"columns":[{"columnName":"PreciseTimeStamp","columnType":"datetime","dataType":"DateTime"},{"columnName":"count_Http2xx","columnType":"long","dataType":"Int64"},{"columnName":"count_Http3xx","columnType":"long","dataType":"Int64"},{"columnName":"count_Http4xx","columnType":"long","dataType":"Int64"},{"columnName":"count_Http5xx","columnType":"long","dataType":"Int64"}],"rows":[["2018-03-27T00:25:00Z","772705","0","0","0"],["2018-03-27T00:30:00Z","787069","0","0","0"],["2018-03-27T00:35:00Z","781627","0","1","0"],["2018-03-27T00:40:00Z","785017","0","0","0"],["2018-03-27T00:45:00Z","783518","0","0","0"],["2018-03-27T00:50:00Z","785783","0","0","0"],["2018-03-27T00:55:00Z","772874","0","0","0"],["2018-03-27T01:00:00Z","787162","0","0","0"],["2018-03-27T01:05:00Z","782036","0","0","0"],["2018-03-27T01:10:00Z","784642","0","0","0"]],"tableName":"Table_0"}}],"metadata":{"category":"Availability and Performance","description":"This detector analyzes the requests to your application.","subCategory":"Web App Down","supportTopicId":""}}}},"Get_App_Slot_Detector_Response":{"value":{"id":"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/sites/BuggyBakery/slots/staging/detectors/runtimeavailability","name":"runtimeavailability","properties":{"dataset":[{"renderingProperties":{"description":"This detector breaks down the number of requests that your app received for each status code.","renderingType":"TimeSeries","title":"Requests by Status Code"},"table":{"columns":[{"columnName":"PreciseTimeStamp","columnType":"datetime","dataType":"DateTime"},{"columnName":"count_Http2xx","columnType":"long","dataType":"Int64"},{"columnName":"count_Http3xx","columnType":"long","dataType":"Int64"},{"columnName":"count_Http4xx","columnType":"long","dataType":"Int64"},{"columnName":"count_Http5xx","columnType":"long","dataType":"Int64"}],"rows":[["2018-03-27T00:25:00Z","772705","0","0","0"],["2018-03-27T00:30:00Z","787069","0","0","0"],["2018-03-27T00:35:00Z","781627","0","1","0"],["2018-03-27T00:40:00Z","785017","0","0","0"],["2018-03-27T00:45:00Z","783518","0","0","0"],["2018-03-27T00:50:00Z","785783","0","0","0"],["2018-03-27T00:55:00Z","772874","0","0","0"],["2018-03-27T01:00:00Z","787162","0","0","0"],["2018-03-27T01:05:00Z","782036","0","0","0"],["2018-03-27T01:10:00Z","784642","0","0","0"]],"tableName":"Table_0"}}],"metadata":{"category":"Availability and Performance","description":"This detector analyzes the requests to your application.","subCategory":"Web App Down","supportTopicId":""}}}}},"parameters":{"apiVersionParameter":{"description":"API Version","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Get App Service Environment Detector Responses":{"value":"2016-03-01"},"Get App Detector Responses":{"value":"2016-03-01"},"Get App Slot Detector Responses":{"value":"2016-03-01"},"Get App Detector Response":{"value":"2016-03-01"},"Get App Slot Detector Response":{"value":"2016-03-01"}}},"resourceGroupNameParameter":{"description":"Name of the resource group to which the resource belongs.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+[^\\.]$"},"examples":{"Get App Service Environment Detector Responses":{"value":"Sample-WestUSResourceGroup"},"Get App Detector Responses":{"value":"Sample-WestUSResourceGroup"},"Get App Slot Detector Responses":{"value":"Sample-WestUSResourceGroup"},"Get App Detector Response":{"value":"Sample-WestUSResourceGroup"},"Get App Slot Detector Response":{"value":"Sample-WestUSResourceGroup"}}},"subscriptionIdParameter":{"description":"Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Get App Service Environment Detector Responses":{"value":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"},"Get App Detector Responses":{"value":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"},"Get App Slot Detector Responses":{"value":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"},"Get App Detector Response":{"value":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"},"Get App Slot Detector Response":{"value":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"AbnormalTimePeriod":{"description":"Class representing Abnormal Time Period identified in diagnosis","properties":{"endTime":{"description":"End time of the downtime","format":"date-time","type":"string"},"events":{"description":"List of Possible Cause of downtime","items":{"$ref":"#/components/schemas/DetectorAbnormalTimePeriod"},"type":"array"},"solutions":{"description":"List of proposed solutions","items":{"$ref":"#/components/schemas/Solution"},"type":"array"},"startTime":{"description":"Start time of the downtime","format":"date-time","type":"string"}},"type":"object"},"AnalysisData":{"description":"Class Representing Detector Evidence used for analysis","properties":{"data":{"description":"Additional Source Data","items":{"items":{"description":"Name value pair.","properties":{"name":{"description":"Pair name.","type":"string"},"value":{"description":"Pair value.","type":"string"}},"type":"object"},"type":"array"},"type":"array"},"detectorDefinition":{"$ref":"#/components/schemas/DetectorDefinition"},"detectorMetaData":{"$ref":"#/components/schemas/ResponseMetaData"},"metrics":{"description":"Source Metrics","items":{"$ref":"#/components/schemas/DiagnosticMetricSet"},"type":"array"},"source":{"description":"Name of the Detector","type":"string"}},"type":"object"},"AnalysisDefinition":{"allOf":[{"description":"Azure proxy only resource. This resource is not tracked by Azure Resource Manager.","properties":{"id":{"description":"Resource Id.","readOnly":true,"type":"string"},"kind":{"description":"Kind of resource.","type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"Definition of Analysis","properties":{"properties":{"description":"AnalysisDefinition resource specific properties","properties":{"description":{"description":"Description of the Analysis","readOnly":true,"type":"string"}},"x-ms-client-flatten":true}},"type":"object"},"DataSource":{"description":"Class representing data source used by the detectors","properties":{"dataSourceUri":{"description":"Datasource Uri Links","items":{"description":"Name value pair.","properties":{"name":{"description":"Pair name.","type":"string"},"value":{"description":"Pair value.","type":"string"}},"type":"object"},"type":"array"},"instructions":{"description":"Instructions if any for the data source","items":{"type":"string"},"type":"array"}},"type":"object"},"DataTableResponseColumn":{"description":"Column definition","properties":{"columnName":{"description":"Name of the column","type":"string"},"columnType":{"description":"Column Type","type":"string"},"dataType":{"description":"Data type which looks like 'String' or 'Int32'.","type":"string"}},"type":"object"},"DataTableResponseObject":{"description":"Data Table which defines columns and raw row values","properties":{"columns":{"description":"List of columns with data types","items":{"$ref":"#/components/schemas/DataTableResponseColumn"},"type":"array"},"rows":{"description":"Raw row values","items":{"items":{"type":"string"},"type":"array"},"type":"array"},"tableName":{"description":"Name of the table","type":"string"}},"type":"object"},"DetectorAbnormalTimePeriod":{"description":"Class representing Abnormal Time Period detected.","properties":{"endTime":{"description":"End time of the correlated event","format":"date-time","type":"string"},"message":{"description":"Message describing the event","type":"string"},"metaData":{"description":"Downtime metadata","items":{"items":{"description":"Name value pair.","properties":{"name":{"description":"Pair name.","type":"string"},"value":{"description":"Pair value.","type":"string"}},"type":"object"},"type":"array"},"type":"array"},"priority":{"description":"Represents the rank of the Detector","format":"double","type":"number"},"solutions":{"description":"List of proposed solutions","items":{"$ref":"#/components/schemas/Solution"},"type":"array"},"source":{"description":"Represents the name of the Detector","type":"string"},"startTime":{"description":"Start time of the correlated event","format":"date-time","type":"string"},"type":{"description":"Represents the type of the Detector","enum":["ServiceIncident","AppDeployment","AppCrash","RuntimeIssueDetected","AseDeployment","UserIssue","PlatformIssue","Other"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"IssueType"}}},"type":"object"},"DetectorDefinition":{"allOf":[{"description":"Azure proxy only resource. This resource is not tracked by Azure Resource Manager.","properties":{"id":{"description":"Resource Id.","readOnly":true,"type":"string"},"kind":{"description":"Kind of resource.","type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"Class representing detector definition","properties":{"properties":{"description":"DetectorDefinition resource specific properties","properties":{"description":{"description":"Description of the detector","readOnly":true,"type":"string"},"displayName":{"description":"Display name of the detector","readOnly":true,"type":"string"},"isEnabled":{"description":"Flag representing whether detector is enabled or not.","readOnly":true,"type":"boolean"},"rank":{"description":"Detector Rank","format":"double","readOnly":true,"type":"number"}},"x-ms-client-flatten":true}},"type":"object"},"DetectorInfo":{"description":"Definition of Detector","properties":{"category":{"description":"Support Category","readOnly":true,"type":"string"},"description":{"description":"Short description of the detector and its purpose","readOnly":true,"type":"string"},"subCategory":{"description":"Support Sub Category","readOnly":true,"type":"string"},"supportTopicId":{"description":"Support Topic Id","readOnly":true,"type":"string"}},"type":"object"},"DetectorResponse":{"allOf":[{"description":"Azure proxy only resource. This resource is not tracked by Azure Resource Manager.","properties":{"id":{"description":"Resource Id.","readOnly":true,"type":"string"},"kind":{"description":"Kind of resource.","type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"Class representing Response from Detector","properties":{"properties":{"description":"DetectorResponse resource specific properties","properties":{"dataset":{"description":"Data Set","items":{"$ref":"#/components/schemas/DiagnosticData"},"type":"array"},"metadata":{"$ref":"#/components/schemas/DetectorInfo"}},"x-ms-client-flatten":true}},"type":"object"},"DetectorResponseCollection":{"description":"Collection of detector responses","properties":{"nextLink":{"description":"Link to next page of resources.","readOnly":true,"type":"string"},"value":{"description":"Collection of resources.","items":{"$ref":"#/components/schemas/DetectorResponse"},"type":"array"}},"required":["value"],"type":"object"},"DiagnosticAnalysis":{"allOf":[{"description":"Azure proxy only resource. This resource is not tracked by Azure Resource Manager.","properties":{"id":{"description":"Resource Id.","readOnly":true,"type":"string"},"kind":{"description":"Kind of resource.","type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"Class representing a diagnostic analysis done on an application","properties":{"properties":{"description":"DiagnosticAnalysis resource specific properties","properties":{"abnormalTimePeriods":{"description":"List of time periods.","items":{"$ref":"#/components/schemas/AbnormalTimePeriod"},"type":"array"},"endTime":{"description":"End time of the period","format":"date-time","type":"string"},"nonCorrelatedDetectors":{"description":"Data by each detector for detectors that did not corelate","items":{"$ref":"#/components/schemas/DetectorDefinition"},"type":"array"},"payload":{"description":"Data by each detector","items":{"$ref":"#/components/schemas/AnalysisData"},"type":"array"},"startTime":{"description":"Start time of the period","format":"date-time","type":"string"}},"x-ms-client-flatten":true}},"type":"object"},"DiagnosticAnalysisCollection":{"description":"Collection of Diagnostic Analyses","properties":{"nextLink":{"description":"Link to next page of resources.","readOnly":true,"type":"string"},"value":{"description":"Collection of resources.","items":{"$ref":"#/components/schemas/AnalysisDefinition"},"type":"array"}},"required":["value"],"type":"object"},"DiagnosticCategory":{"allOf":[{"description":"Azure proxy only resource. This resource is not tracked by Azure Resource Manager.","properties":{"id":{"description":"Resource Id.","readOnly":true,"type":"string"},"kind":{"description":"Kind of resource.","type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"Class representing detector definition","properties":{"properties":{"description":"DiagnosticCategory resource specific properties","properties":{"description":{"description":"Description of the diagnostic category","readOnly":true,"type":"string"}},"x-ms-client-flatten":true}},"type":"object"},"DiagnosticCategoryCollection":{"description":"Collection of Diagnostic Categories","properties":{"nextLink":{"description":"Link to next page of resources.","readOnly":true,"type":"string"},"value":{"description":"Collection of resources.","items":{"$ref":"#/components/schemas/DiagnosticCategory"},"type":"array"}},"required":["value"],"type":"object"},"DiagnosticData":{"description":"Set of data with rendering instructions","properties":{"renderingProperties":{"$ref":"#/components/schemas/Rendering"},"table":{"$ref":"#/components/schemas/DataTableResponseObject"}},"type":"object"},"DiagnosticDetectorCollection":{"description":"Collection of Diagnostic Detectors","properties":{"nextLink":{"description":"Link to next page of resources.","readOnly":true,"type":"string"},"value":{"description":"Collection of resources.","items":{"$ref":"#/components/schemas/DetectorDefinition"},"type":"array"}},"required":["value"],"type":"object"},"DiagnosticDetectorResponse":{"allOf":[{"description":"Azure proxy only resource. This resource is not tracked by Azure Resource Manager.","properties":{"id":{"description":"Resource Id.","readOnly":true,"type":"string"},"kind":{"description":"Kind of resource.","type":"string"},"name":{"description":"Resource Name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"Class representing Response from Diagnostic Detectors","properties":{"properties":{"description":"DiagnosticDetectorResponse resource specific properties","properties":{"abnormalTimePeriods":{"description":"List of Correlated events found by the detector","items":{"$ref":"#/components/schemas/DetectorAbnormalTimePeriod"},"type":"array"},"data":{"description":"Additional Data that detector wants to send.","items":{"items":{"description":"Name value pair.","properties":{"name":{"description":"Pair name.","type":"string"},"value":{"description":"Pair value.","type":"string"}},"type":"object"},"type":"array"},"type":"array"},"detectorDefinition":{"$ref":"#/components/schemas/DetectorDefinition"},"endTime":{"description":"End time of the period","format":"date-time","type":"string"},"issueDetected":{"description":"Flag representing Issue was detected.","type":"boolean"},"metrics":{"description":"Metrics provided by the detector","items":{"$ref":"#/components/schemas/DiagnosticMetricSet"},"type":"array"},"responseMetaData":{"$ref":"#/components/schemas/ResponseMetaData"},"startTime":{"description":"Start time of the period","format":"date-time","type":"string"}},"x-ms-client-flatten":true}},"type":"object"},"DiagnosticMetricSample":{"description":"Class representing Diagnostic Metric","properties":{"isAggregated":{"description":"Whether the values are aggregates across all workers or not","type":"boolean"},"maximum":{"description":"Maximum of the metric sampled during the time period","format":"double","type":"number"},"minimum":{"description":"Minimum of the metric sampled during the time period","format":"double","type":"number"},"roleInstance":{"description":"Role Instance. Null if this counter is not per instance \nThis is returned and should be whichever instance name we desire to be returned\ni.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) \nwhere RDWORKERNAME is Machine name below and RoleInstance name in parenthesis","type":"string"},"timestamp":{"description":"Time at which metric is measured","format":"date-time","type":"string"},"total":{"description":"Total value of the metric. If multiple measurements are made this will have sum of all.","format":"double","type":"number"}},"type":"object"},"DiagnosticMetricSet":{"description":"Class representing Diagnostic Metric information","properties":{"endTime":{"description":"End time of the period","format":"date-time","type":"string"},"name":{"description":"Name of the metric","type":"string"},"startTime":{"description":"Start time of the period","format":"date-time","type":"string"},"timeGrain":{"description":"Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D","type":"string"},"unit":{"description":"Metric's unit","type":"string"},"values":{"description":"Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}","items":{"$ref":"#/components/schemas/DiagnosticMetricSample"},"type":"array"}},"type":"object"},"Rendering":{"description":"Instructions for rendering the data","properties":{"description":{"description":"Description of the data that will help it be interpreted","type":"string"},"title":{"description":"Title of data","type":"string"},"type":{"description":"Rendering Type","enum":["NoGraph","Table","TimeSeries","TimeSeriesPerInstance"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"RenderingType"}}},"type":"object"},"ResponseMetaData":{"properties":{"dataSource":{"$ref":"#/components/schemas/DataSource"}},"type":"object"},"Solution":{"description":"Class Representing Solution for problems detected.","properties":{"data":{"description":"Solution Data.","items":{"items":{"description":"Name value pair.","properties":{"name":{"description":"Pair name.","type":"string"},"value":{"description":"Pair value.","type":"string"}},"type":"object"},"type":"array"},"type":"array"},"description":{"description":"Description of the solution","type":"string"},"displayName":{"description":"Display Name of the solution","type":"string"},"id":{"description":"Solution Id.","format":"double","type":"number"},"metadata":{"description":"Solution Metadata.","items":{"items":{"description":"Name value pair.","properties":{"name":{"description":"Pair name.","type":"string"},"value":{"description":"Pair value.","type":"string"}},"type":"object"},"type":"array"},"type":"array"},"order":{"description":"Order of the solution.","format":"double","type":"number"},"type":{"description":"Type of Solution","enum":["QuickSolution","DeepInvestigation","BestPractices"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"SolutionType"}}},"type":"object"}}}}