From 1f678febe2eb58838ce58dadddf22c2a60f08d77 Mon Sep 17 00:00:00 2001 From: Hanyun Tao Date: Wed, 8 May 2019 12:36:46 -0700 Subject: [PATCH 1/3] make "name" optional in DeliveryRule --- .../resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json index 659de4b1ad91..b497fdec1c3c 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json @@ -2241,7 +2241,6 @@ "description": "A rule that specifies a set of actions and conditions", "type": "object", "required": [ - "name", "order", "actions" ], From 141cdd9701def76fae2e352346c12c53891da0d0 Mon Sep 17 00:00:00 2001 From: Hanyun Tao Date: Wed, 8 May 2019 13:11:45 -0700 Subject: [PATCH 2/3] update example --- .../stable/2019-04-15/examples/CustomDomains_Delete.json | 4 +--- .../examples/CustomDomains_DisableCustomHttps.json | 4 +--- .../CustomDomains_EnableCustomHttpsUsingBYOC.json | 4 +--- ...mains_EnableCustomHttpsUsingCDNManagedCertificate.json | 4 +--- .../stable/2019-04-15/examples/Endpoints_Delete.json | 8 ++------ .../stable/2019-04-15/examples/Endpoints_LoadContent.json | 8 ++------ .../2019-04-15/examples/Endpoints_PurgeContent.json | 8 ++------ .../stable/2019-04-15/examples/Profiles_Delete.json | 8 ++------ 8 files changed, 12 insertions(+), 36 deletions(-) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_Delete.json index 8da1f6b620bc..8f13cdac0915 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_Delete.json @@ -8,9 +8,7 @@ "customDomainName": "www-someDomain-net" }, "responses": { - "200": { - "body": {} - }, + "200": {}, "202": { "body": { "name": "www-someDomain-net", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_DisableCustomHttps.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_DisableCustomHttps.json index 4e6ff6e13bb0..6e1d5c67a8d6 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_DisableCustomHttps.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_DisableCustomHttps.json @@ -8,9 +8,7 @@ "customDomainName": "www-someDomain-net" }, "responses": { - "200": { - "body": {} - }, + "200": {}, "202": { "body": { "name": "www-someDomain-net", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json index 8dc22bfcd328..a8be7225ff27 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json @@ -22,9 +22,7 @@ } }, "responses": { - "200": { - "body": {} - }, + "200": {}, "202": { "body": { "name": "www-someDomain-net", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json index 75c62ffe9cbe..881fab7eb0d6 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json @@ -16,9 +16,7 @@ } }, "responses": { - "200": { - "body": {} - }, + "200": {}, "202": { "body": { "name": "www-someDomain-net", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_Delete.json index 6ea542e54f3c..8b89bdc6f2d2 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_Delete.json @@ -7,11 +7,7 @@ "endpointName": "endpoint1" }, "responses": { - "202": { - "body": {} - }, - "204": { - "body": {} - } + "202": {}, + "204": {} } } \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_LoadContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_LoadContent.json index f73807e5f45d..b21cd163c1b2 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_LoadContent.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_LoadContent.json @@ -10,11 +10,7 @@ } }, "responses": { - "200": { - "body": {} - }, - "202": { - "body": {} - } + "200": {}, + "202": {} } } \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_PurgeContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_PurgeContent.json index f73807e5f45d..b21cd163c1b2 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_PurgeContent.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Endpoints_PurgeContent.json @@ -10,11 +10,7 @@ } }, "responses": { - "200": { - "body": {} - }, - "202": { - "body": {} - } + "200": {}, + "202": {} } } \ No newline at end of file diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Profiles_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Profiles_Delete.json index 5c560118cd34..cb255fcc906d 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Profiles_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/Profiles_Delete.json @@ -6,11 +6,7 @@ "profileName": "profile1" }, "responses": { - "202": { - "body": {} - }, - "204": { - "body": {} - } + "202": {}, + "204": {} } } \ No newline at end of file From 59a8254f54b35c810758387cdd9f07d4505a5ea9 Mon Sep 17 00:00:00 2001 From: Hanyun Tao Date: Wed, 8 May 2019 13:30:22 -0700 Subject: [PATCH 3/3] update again --- .../stable/2019-04-15/examples/CustomDomains_Delete.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_Delete.json index 8f13cdac0915..5ddb3c2785af 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_Delete.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/examples/CustomDomains_Delete.json @@ -24,8 +24,6 @@ } } }, - "204": { - "body": {} - } + "204": {} } }