forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web ant93.2 2021 01 15 (Azure#14805)
* Adds base for updating Microsoft.Web from version stable/2021-01-01 to version 2021-01-15 * Updates readme * Updates API version in new specs and examples * Add Cert and Domain Registration APIs. Fix publishingcredentialpolici… (Azure#14738) * Add Cert and Domain Registration APIs. Fix publishingcredentialpolicies collection API response. Add networkconfig API verbs for sites and slots * Fix examples * Fix issue R4037 * Fix lintDiff issues * Fix more issues Co-authored-by: Naveed Aziz <[email protected]> * Add x-ms-pageable for ListBasicPublishingCredentialsPolicies APIs (Azure#14960) Co-authored-by: Naveed Aziz <[email protected]>
- Loading branch information
Showing
155 changed files
with
69,175 additions
and
1 deletion.
There are no files selected for viewing
1,727 changes: 1,727 additions & 0 deletions
1,727
...ager/Microsoft.CertificateRegistration/stable/2021-01-15/AppServiceCertificateOrders.json
Large diffs are not rendered by default.
Oops, something went wrong.
190 changes: 190 additions & 0 deletions
190
...ger/Microsoft.CertificateRegistration/stable/2021-01-15/CertificateOrdersDiagnostics.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2021-01-15", | ||
"title": "CertificateOrdersDiagnostics API Client" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"paths": { | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors": { | ||
"get": { | ||
"tags": [ | ||
"CertificateOrdersDiagnostics" | ||
], | ||
"summary": "Microsoft.CertificateRegistration to get the list of detectors for this RP.", | ||
"description": "Description for Microsoft.CertificateRegistration to get the list of detectors for this RP.", | ||
"operationId": "CertificateOrdersDiagnostics_ListAppServiceCertificateOrderDetectorResponse", | ||
"parameters": [ | ||
{ | ||
"$ref": "#/parameters/resourceGroupNameParameter" | ||
}, | ||
{ | ||
"name": "certificateOrderName", | ||
"in": "path", | ||
"description": "The certificate order name for which the response is needed.", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
{ | ||
"$ref": "#/parameters/subscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "#/parameters/apiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"schema": { | ||
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DetectorResponseCollection" | ||
} | ||
}, | ||
"default": { | ||
"description": "App Service error response.", | ||
"schema": { | ||
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DefaultErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"List app service certificate detector response": { | ||
"$ref": "./examples/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json" | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/detectors/{detectorName}": { | ||
"get": { | ||
"tags": [ | ||
"CertificateOrdersDiagnostics" | ||
], | ||
"summary": "Microsoft.CertificateRegistration call to get a detector response from App Lens.", | ||
"description": "Description for Microsoft.CertificateRegistration call to get a detector response from App Lens.", | ||
"operationId": "CertificateOrdersDiagnostics_GetAppServiceCertificateOrderDetectorResponse", | ||
"parameters": [ | ||
{ | ||
"$ref": "#/parameters/resourceGroupNameParameter" | ||
}, | ||
{ | ||
"name": "certificateOrderName", | ||
"in": "path", | ||
"description": "The certificate order name for which the response is needed.", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "detectorName", | ||
"in": "path", | ||
"description": "The detector name which needs to be run.", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "startTime", | ||
"in": "query", | ||
"description": "The start time for detector response.", | ||
"type": "string", | ||
"format": "date-time" | ||
}, | ||
{ | ||
"name": "endTime", | ||
"in": "query", | ||
"description": "The end time for the detector response.", | ||
"type": "string", | ||
"format": "date-time" | ||
}, | ||
{ | ||
"name": "timeGrain", | ||
"in": "query", | ||
"description": "The time grain for the detector response.", | ||
"type": "string", | ||
"pattern": "PT[1-9][0-9]+[SMH]" | ||
}, | ||
{ | ||
"$ref": "#/parameters/subscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "#/parameters/apiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"schema": { | ||
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DetectorResponse" | ||
} | ||
}, | ||
"default": { | ||
"description": "App Service error response.", | ||
"schema": { | ||
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DefaultErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"Get app service certificate order detector response": { | ||
"$ref": "./examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": {}, | ||
"parameters": { | ||
"subscriptionIdParameter": { | ||
"name": "subscriptionId", | ||
"in": "path", | ||
"description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
"resourceGroupNameParameter": { | ||
"name": "resourceGroupName", | ||
"in": "path", | ||
"description": "Name of the resource group to which the resource belongs.", | ||
"required": true, | ||
"type": "string", | ||
"maxLength": 90, | ||
"minLength": 1, | ||
"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"apiVersionParameter": { | ||
"name": "api-version", | ||
"in": "query", | ||
"description": "API Version", | ||
"required": true, | ||
"type": "string" | ||
} | ||
}, | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"description": "Azure Active Directory OAuth2 Flow", | ||
"flow": "implicit", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
} | ||
}, | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
] | ||
} |
91 changes: 91 additions & 0 deletions
91
.../Microsoft.CertificateRegistration/stable/2021-01-15/CertificateRegistrationProvider.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2021-01-15", | ||
"title": "CertificateRegistrationProvider API Client" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"paths": { | ||
"/providers/Microsoft.CertificateRegistration/operations": { | ||
"get": { | ||
"tags": [ | ||
"CertificateRegistrationProvider" | ||
], | ||
"summary": "Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider", | ||
"description": "Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider", | ||
"operationId": "CertificateRegistrationProvider_ListOperations", | ||
"parameters": [ | ||
{ | ||
"$ref": "#/parameters/apiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"schema": { | ||
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/CsmOperationCollection" | ||
} | ||
}, | ||
"default": { | ||
"description": "App Service error response.", | ||
"schema": { | ||
"$ref": "../../../Microsoft.Web/stable/2021-01-15/CommonDefinitions.json#/definitions/DefaultErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"List operations": { | ||
"$ref": "./examples/ListOperations.json" | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": {}, | ||
"parameters": { | ||
"subscriptionIdParameter": { | ||
"name": "subscriptionId", | ||
"in": "path", | ||
"description": "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
"apiVersionParameter": { | ||
"name": "api-version", | ||
"in": "query", | ||
"description": "API Version", | ||
"required": true, | ||
"type": "string" | ||
} | ||
}, | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"description": "Azure Active Directory OAuth2 Flow", | ||
"flow": "implicit", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
} | ||
}, | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
] | ||
} |
90 changes: 90 additions & 0 deletions
90
...stable/2021-01-15/examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5700fc96-77b4-4f8d-afce-c353d8c443bd", | ||
"resourceGroupName": "Sample-WestUSResourceGroup", | ||
"certificateOrderName": "SampleCertificateOrderName", | ||
"detectorName": "AutoRenewStatus", | ||
"api-version": "2021-01-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5700fc96-77b4-4f8d-afce-c353d8c443bd/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.CertificateRegistration/certificateOrders/SampleCertificateOrderName/detectors/AutoRenewStatus", | ||
"name": "AutoRenewStatus", | ||
"properties": { | ||
"metadata": { | ||
"id": "AutoRenewStatus", | ||
"name": "AutoRenewStatus", | ||
"description": "Check auto renew status", | ||
"category": null, | ||
"supportTopicList": [], | ||
"type": "Detector", | ||
"score": 0.0 | ||
}, | ||
"dataset": [ | ||
{ | ||
"table": { | ||
"tableName": "", | ||
"columns": [ | ||
{ | ||
"columnName": "Status", | ||
"dataType": "String", | ||
"columnType": null | ||
}, | ||
{ | ||
"columnName": "Message", | ||
"dataType": "String", | ||
"columnType": null | ||
}, | ||
{ | ||
"columnName": "Data.Name", | ||
"dataType": "String", | ||
"columnType": null | ||
}, | ||
{ | ||
"columnName": "Data.Value", | ||
"dataType": "String", | ||
"columnType": null | ||
}, | ||
{ | ||
"columnName": "Expanded", | ||
"dataType": "String", | ||
"columnType": null | ||
}, | ||
{ | ||
"columnName": "Solutions", | ||
"dataType": "String", | ||
"columnType": null | ||
} | ||
], | ||
"rows": [ | ||
[ | ||
"Info", | ||
"App Service Certificate name SampleCertificateOrderName", | ||
"Certificate for", | ||
"<b>*.mysampledomain.com</b>", | ||
"False", | ||
"null" | ||
], | ||
[ | ||
"Info", | ||
"App Service Certificate name SampleCertificateOrderName", | ||
"Certificate Status", | ||
"<b>Issued</b>", | ||
"False", | ||
"null" | ||
] | ||
] | ||
}, | ||
"renderingProperties": { | ||
"type": "Insights", | ||
"title": null, | ||
"description": null | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.