openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 74.6 kB
JSON
{"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/schem