Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web ant93.2 2021 01 15 (#14805) #15190

Merged
merged 1 commit into from
Jul 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Web ant93.2 2021 01 15 (#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… (#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 <naveed.aziz@gmail.com>

* Add x-ms-pageable for ListBasicPublishingCredentialsPolicies APIs (#14960)

Co-authored-by: Naveed Aziz <naveed.aziz@gmail.com>
(cherry picked from commit d9249ed)
  • Loading branch information
naveedaz committed Jul 14, 2021
commit 773507424780aa5a0153a6e2e37abb6587122d4d

Large diffs are not rendered by default.

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"
]
}
]
}
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"
]
}
]
}
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
}
}
]
}
}
}
}
}
Loading