|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "info": { |
| 4 | + "version": "2023-01-01", |
| 5 | + "title": "CertificateOrdersDiagnostics API Client" |
| 6 | + }, |
| 7 | + "host": "management.azure.com", |
| 8 | + "schemes": [ |
| 9 | + "https" |
| 10 | + ], |
| 11 | + "consumes": [ |
| 12 | + "application/json" |
| 13 | + ], |
| 14 | + "produces": [ |
| 15 | + "application/json" |
| 16 | + ], |
| 17 | + "paths": { |
| 18 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors": { |
| 19 | + "get": { |
| 20 | + "tags": [ |
| 21 | + "CertificateOrdersDiagnostics" |
| 22 | + ], |
| 23 | + "summary": "Microsoft.CertificateRegistration to get the list of detectors for this RP.", |
| 24 | + "description": "Description for Microsoft.CertificateRegistration to get the list of detectors for this RP.", |
| 25 | + "operationId": "CertificateOrdersDiagnostics_ListAppServiceCertificateOrderDetectorResponse", |
| 26 | + "parameters": [ |
| 27 | + { |
| 28 | + "$ref": "#/parameters/resourceGroupNameParameter" |
| 29 | + }, |
| 30 | + { |
| 31 | + "name": "certificateOrderName", |
| 32 | + "in": "path", |
| 33 | + "description": "The certificate order name for which the response is needed.", |
| 34 | + "required": true, |
| 35 | + "type": "string" |
| 36 | + }, |
| 37 | + { |
| 38 | + "$ref": "#/parameters/subscriptionIdParameter" |
| 39 | + }, |
| 40 | + { |
| 41 | + "$ref": "#/parameters/apiVersionParameter" |
| 42 | + } |
| 43 | + ], |
| 44 | + "responses": { |
| 45 | + "200": { |
| 46 | + "description": "OK", |
| 47 | + "schema": { |
| 48 | + "$ref": "../../../Microsoft.Web/stable/2023-01-01/CommonDefinitions.json#/definitions/DetectorResponseCollection" |
| 49 | + } |
| 50 | + }, |
| 51 | + "default": { |
| 52 | + "description": "App Service error response.", |
| 53 | + "schema": { |
| 54 | + "$ref": "../../../Microsoft.Web/stable/2023-01-01/CommonDefinitions.json#/definitions/DefaultErrorResponse" |
| 55 | + } |
| 56 | + } |
| 57 | + }, |
| 58 | + "x-ms-examples": { |
| 59 | + "List app service certificate detector response": { |
| 60 | + "$ref": "./examples/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json" |
| 61 | + } |
| 62 | + }, |
| 63 | + "x-ms-pageable": { |
| 64 | + "nextLinkName": "nextLink" |
| 65 | + } |
| 66 | + } |
| 67 | + }, |
| 68 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors/{detectorName}": { |
| 69 | + "get": { |
| 70 | + "tags": [ |
| 71 | + "CertificateOrdersDiagnostics" |
| 72 | + ], |
| 73 | + "summary": "Microsoft.CertificateRegistration call to get a detector response from App Lens.", |
| 74 | + "description": "Description for Microsoft.CertificateRegistration call to get a detector response from App Lens.", |
| 75 | + "operationId": "CertificateOrdersDiagnostics_GetAppServiceCertificateOrderDetectorResponse", |
| 76 | + "parameters": [ |
| 77 | + { |
| 78 | + "$ref": "#/parameters/resourceGroupNameParameter" |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "certificateOrderName", |
| 82 | + "in": "path", |
| 83 | + "description": "The certificate order name for which the response is needed.", |
| 84 | + "required": true, |
| 85 | + "type": "string" |
| 86 | + }, |
| 87 | + { |
| 88 | + "name": "detectorName", |
| 89 | + "in": "path", |
| 90 | + "description": "The detector name which needs to be run.", |
| 91 | + "required": true, |
| 92 | + "type": "string" |
| 93 | + }, |
| 94 | + { |
| 95 | + "name": "startTime", |
| 96 | + "in": "query", |
| 97 | + "description": "The start time for detector response.", |
| 98 | + "type": "string", |
| 99 | + "format": "date-time" |
| 100 | + }, |
| 101 | + { |
| 102 | + "name": "endTime", |
| 103 | + "in": "query", |
| 104 | + "description": "The end time for the detector response.", |
| 105 | + "type": "string", |
| 106 | + "format": "date-time" |
| 107 | + }, |
| 108 | + { |
| 109 | + "name": "timeGrain", |
| 110 | + "in": "query", |
| 111 | + "description": "The time grain for the detector response.", |
| 112 | + "type": "string", |
| 113 | + "pattern": "PT[1-9][0-9]+[SMH]" |
| 114 | + }, |
| 115 | + { |
| 116 | + "$ref": "#/parameters/subscriptionIdParameter" |
| 117 | + }, |
| 118 | + { |
| 119 | + "$ref": "#/parameters/apiVersionParameter" |
| 120 | + } |
| 121 | + ], |
| 122 | + "responses": { |
| 123 | + "200": { |
| 124 | + "description": "OK", |
| 125 | + "schema": { |
| 126 | + "$ref": "../../../Microsoft.Web/stable/2023-01-01/CommonDefinitions.json#/definitions/DetectorResponse" |
| 127 | + } |
| 128 | + }, |
| 129 | + "default": { |
| 130 | + "description": "App Service error response.", |
| 131 | + "schema": { |
| 132 | + "$ref": "../../../Microsoft.Web/stable/2023-01-01/CommonDefinitions.json#/definitions/DefaultErrorResponse" |
| 133 | + } |
| 134 | + } |
| 135 | + }, |
| 136 | + "x-ms-examples": { |
| 137 | + "Get app service certificate order detector response": { |
| 138 | + "$ref": "./examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json" |
| 139 | + } |
| 140 | + } |
| 141 | + } |
| 142 | + } |
| 143 | + }, |
| 144 | + "definitions": {}, |
| 145 | + "parameters": { |
| 146 | + "subscriptionIdParameter": { |
| 147 | + "name": "subscriptionId", |
| 148 | + "in": "path", |
| 149 | + "description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", |
| 150 | + "required": true, |
| 151 | + "type": "string" |
| 152 | + }, |
| 153 | + "resourceGroupNameParameter": { |
| 154 | + "name": "resourceGroupName", |
| 155 | + "in": "path", |
| 156 | + "description": "Name of the resource group to which the resource belongs.", |
| 157 | + "required": true, |
| 158 | + "type": "string", |
| 159 | + "maxLength": 90, |
| 160 | + "minLength": 1, |
| 161 | + "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", |
| 162 | + "x-ms-parameter-location": "method" |
| 163 | + }, |
| 164 | + "apiVersionParameter": { |
| 165 | + "name": "api-version", |
| 166 | + "in": "query", |
| 167 | + "description": "API Version", |
| 168 | + "required": true, |
| 169 | + "type": "string" |
| 170 | + } |
| 171 | + }, |
| 172 | + "securityDefinitions": { |
| 173 | + "azure_auth": { |
| 174 | + "type": "oauth2", |
| 175 | + "description": "Azure Active Directory OAuth2 Flow", |
| 176 | + "flow": "implicit", |
| 177 | + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", |
| 178 | + "scopes": { |
| 179 | + "user_impersonation": "impersonate your user account" |
| 180 | + } |
| 181 | + } |
| 182 | + }, |
| 183 | + "security": [ |
| 184 | + { |
| 185 | + "azure_auth": [ |
| 186 | + "user_impersonation" |
| 187 | + ] |
| 188 | + } |
| 189 | + ] |
| 190 | +} |
0 commit comments