From 5a3cac15e29b675887105dcbeb51584cca5750d7 Mon Sep 17 00:00:00 2001 From: Jessica Li Date: Fri, 12 Nov 2021 12:55:56 -0800 Subject: [PATCH] Product Backlog Item 12546377: [AFDX][CDN][RP][SWAGGER] Add CustomDomains property definition end EndpointProperties per swagger issue? (#20) --- .../Microsoft.Cdn/stable/2021-06-01/cdn.json | 15 +++++++++++++++ .../stable/2021-06-01/examples/Endpoints_Get.json | 9 +++++++++ .../examples/Endpoints_ListByProfile.json | 9 +++++++++ 3 files changed, 33 insertions(+) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json index c99a3a883b7a..26804b71ff04 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json @@ -2598,6 +2598,21 @@ "$ref": "#/definitions/DeepCreatedOriginGroup" } }, + "customDomains": { + "description": "The custom domains under the endpoint.", + "type": "array", + "readOnly": true, + "items": { + "hostName": { + "description": "The host name of the custom domain. Must be a domain name.", + "type": "string" + }, + "validationData": { + "description": "Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.", + "type": "string" + } + } + }, "resourceState": { "description": "Resource status of the endpoint.", "readOnly": true, diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Endpoints_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Endpoints_Get.json index 102e751e1986..83d90364332e 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Endpoints_Get.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Endpoints_Get.json @@ -55,6 +55,15 @@ } } ], + "customDomains": [ + { + "name": "www-someDomain-net", + "properties": { + "hostName": "www.someDomain.Net", + "validationData": null + } + } + ], "contentTypesToCompress": [], "isCompressionEnabled": false, "optimizationType": "DynamicSiteAcceleration", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Endpoints_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Endpoints_ListByProfile.json index dfd67cd940f5..cab27074d625 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Endpoints_ListByProfile.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/examples/Endpoints_ListByProfile.json @@ -60,6 +60,15 @@ } } ], + "customDomains": [ + { + "name": "www-someDomain-net", + "properties": { + "hostName": "www.someDomain.Net", + "validationData": null + } + } + ], "contentTypesToCompress": [], "isCompressionEnabled": false, "optimizationType": "DynamicSiteAcceleration",