From f5725deed0cfff23bf9fa35afe256268a61338ba Mon Sep 17 00:00:00 2001 From: Sindhuri Date: Wed, 16 Feb 2022 13:28:47 -0800 Subject: [PATCH 1/4] Adding originResponseTimeoutSeconds and Identity to profile update properties --- .../Microsoft.Cdn/stable/2021-06-01/cdn.json | 19 +++++++++++++++++++ 1 file changed, 19 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 661b54fb0355..379750dccb3a 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 @@ -2593,10 +2593,29 @@ "additionalProperties": { "type": "string" } + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProfilePropertiesUpdateParameters" } }, "x-ms-azure-resource": true }, + "ProfilePropertiesUpdateParameters": { + "description": "The JSON object containing profile update parameters.", + "properties": { + "originResponseTimeoutSeconds": { + "description": "Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.", + "type": "integer", + "format": "int32", + "minimum": 16, + "exclusiveMinimum": false + }, + "identity": { + "description": "Managed service identity.", + "$ref": "#/definitions/ManagedServiceIdentity" + } + }, "SsoUri": { "description": "The URI required to login to the supplemental portal from the Azure portal.", "type": "object", From 963d41eaf7ffc175f3e68e161f1268ab8d294f14 Mon Sep 17 00:00:00 2001 From: Bo Zhang Date: Thu, 17 Feb 2022 19:20:16 +0800 Subject: [PATCH 2/4] Fix json syntax --- .../resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 379750dccb3a..6ac70c7bacd6 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 @@ -2614,7 +2614,8 @@ "identity": { "description": "Managed service identity.", "$ref": "#/definitions/ManagedServiceIdentity" - } + } + } }, "SsoUri": { "description": "The URI required to login to the supplemental portal from the Azure portal.", From 560c89555fef4a3445c18eab1d51a706d34a367a Mon Sep 17 00:00:00 2001 From: Bo Zhang Date: Thu, 17 Feb 2022 19:47:09 +0800 Subject: [PATCH 3/4] Fix incorrect type for compressionSettings and SharedPrivateLinkkResourceProperties --- .../Microsoft.Cdn/stable/2021-06-01/afdx.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/afdx.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/afdx.json index 03e0a8e13e41..b55af008caf5 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/afdx.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01/afdx.json @@ -4873,9 +4873,7 @@ "sharedPrivateLinkResource": { "description": "The properties of the private link resource for private origin.", "type": "object", - "items": { - "$ref": "#/definitions/SharedPrivateLinkResourceProperties" - } + "$ref": "#/definitions/SharedPrivateLinkResourceProperties" }, "enabledState": { "description": "Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.", @@ -5251,9 +5249,7 @@ "compressionSettings": { "description": "compression settings.", "type": "object", - "items": { - "$ref": "#/definitions/CompressionSettings" - } + "$ref": "#/definitions/CompressionSettings" } } }, From cd127157a40da48306ce66efb38f47474f2d25a8 Mon Sep 17 00:00:00 2001 From: Bo Zhang Date: Fri, 18 Feb 2022 14:37:47 +0800 Subject: [PATCH 4/4] Add type info to fix lint error --- .../resource-manager/Microsoft.Cdn/stable/2021-06-01/cdn.json | 1 + 1 file changed, 1 insertion(+) 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 6ac70c7bacd6..614004a8e412 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 @@ -2602,6 +2602,7 @@ "x-ms-azure-resource": true }, "ProfilePropertiesUpdateParameters": { + "type": "object", "description": "The JSON object containing profile update parameters.", "properties": { "originResponseTimeoutSeconds": {