From ff8beeaa30ffa4b6cde6b16f8068347d50b1c512 Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Mon, 3 Jan 2022 15:35:10 -0800 Subject: [PATCH 1/2] Remove Certificate Hostname bindings API --- .../stable/2021-03-01/Certificates.json | 49 ------------------- 1 file changed, 49 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Certificates.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Certificates.json index 70fb39a44396..f28c7e76ecc3 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Certificates.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Certificates.json @@ -304,55 +304,6 @@ } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}/hostNameBindings": { - "get": { - "tags": [ - "Certificates" - ], - "summary": "Gets all hostname bindings a certificate is used in.", - "operationId": "Certificates_ListHostnameBindings", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the certificate.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/HostNameBindingCollection" - } - }, - "default": { - "description": "App Service error response.", - "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" - } - } - }, - "x-ms-examples": { - "List hostname bindings using certificate": { - "$ref": "./examples/ListHostnameBindingsOfCertificate.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } } }, "definitions": { From e7d39c44c4e0314923fff79cc9a8a7b12b22cb09 Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Mon, 3 Jan 2022 16:10:40 -0800 Subject: [PATCH 2/2] Remove examples file as well --- .../ListHostnameBindingsOfCertificate.json | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListHostnameBindingsOfCertificate.json diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListHostnameBindingsOfCertificate.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListHostnameBindingsOfCertificate.json deleted file mode 100644 index eec7cc024560..000000000000 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/examples/ListHostnameBindingsOfCertificate.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contosoRG", - "name": "contosoCertificate", - "api-version": "2021-03-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "name": "example.com", - "properties": { - "siteName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoRG/providers/Microsoft.Web/sites/contosoSite1", - "domainId": null, - "sslState": "SniEnabled", - "thumbprint": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "name": "www.example.com", - "properties": { - "siteName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoRG/providers/Microsoft.Web/sites/contosoSite2", - "domainId": null, - "sslState": "IpBasedEnabled", - "thumbprint": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "name": "test.example.com", - "properties": { - "siteName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoRG/providers/Microsoft.Web/sites/contosoSite3", - "domainId": null, - "sslState": "SniEnabled", - "thumbprint": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - } - ], - "nextLink": null - } - } - } -}