From 6af3972f453d7958656e78ef4d72a9d9edfae951 Mon Sep 17 00:00:00 2001 From: Maxim Kim Date: Fri, 3 Apr 2020 14:36:24 -0700 Subject: [PATCH] protocol settings for gateway hostname configuraitons --- .../stable/2019-12-01/definitions.json | 12 ++++++++++++ ...agementCreateGatewayHostnameConfiguration.json | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-12-01/definitions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-12-01/definitions.json index 490ae700e22e..6da7aa9b37c2 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-12-01/definitions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-12-01/definitions.json @@ -5525,6 +5525,18 @@ "negotiateClientCertificate": { "type": "boolean", "description": "Determines whether gateway requests client certificate" + }, + "tls10Enabled": { + "type": "boolean", + "description": "Specifies if TLS 1.0 is supported" + }, + "tls11Enabled": { + "type": "boolean", + "description": "Specifies if TLS 1.1 is supported" + }, + "http2Enabled": { + "type": "boolean", + "description": "Specifies if HTTP/2.0 is supported" } }, "description": "Gateway hostname configuration details." diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-12-01/examples/ApiManagementCreateGatewayHostnameConfiguration.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-12-01/examples/ApiManagementCreateGatewayHostnameConfiguration.json index e06f423962b1..96c12e852f02 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-12-01/examples/ApiManagementCreateGatewayHostnameConfiguration.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-12-01/examples/ApiManagementCreateGatewayHostnameConfiguration.json @@ -10,7 +10,10 @@ "properties": { "hostname": "*", "certificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1", - "negotiateClientCertificate": false + "negotiateClientCertificate": false, + "tls10Enabled": false, + "tls11Enabled": false, + "http2Enabled": true } } }, @@ -23,7 +26,10 @@ "properties": { "hostname": "*", "certificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1", - "negotiateClientCertificate": false + "negotiateClientCertificate": false, + "tls10Enabled": false, + "tls11Enabled": false, + "http2Enabled": true } } }, @@ -35,7 +41,10 @@ "properties": { "hostname": "*", "certificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1", - "negotiateClientCertificate": false + "negotiateClientCertificate": false, + "tls10Enabled": false, + "tls11Enabled": false, + "http2Enabled": true } } }