From 1b986cfa7537cac93597fb6588ca34e38dc1bab0 Mon Sep 17 00:00:00 2001 From: Samiran Saha Date: Wed, 7 Sep 2022 13:44:44 +0530 Subject: [PATCH 1/2] Add 200 response code to PrivateEndpointConnections_Put --- .../Microsoft.Cache/stable/2020-06-01/redis.json | 6 ++++++ .../Microsoft.Cache/stable/2020-12-01/redis.json | 6 ++++++ .../Microsoft.Cache/stable/2021-06-01/redis.json | 6 ++++++ .../Microsoft.Cache/stable/2022-05-01/redis.json | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/redis.json index 593254ca1d55..cd8f89538383 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/redis.json @@ -1659,6 +1659,12 @@ } ], "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, "201": { "description": "OK -- Update the private endpoint connection properties successfully.", "schema": { diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/redis.json index 14263551ae35..c61fbca34938 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/redis.json @@ -1662,6 +1662,12 @@ } ], "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, "201": { "description": "OK -- Update the private endpoint connection properties successfully.", "schema": { diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/redis.json index be6fef3a0a54..f4a9c011e816 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/redis.json @@ -1662,6 +1662,12 @@ } ], "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, "201": { "description": "OK -- Update the private endpoint connection properties successfully.", "schema": { diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/redis.json index 642bceb34615..2bbdf7c7c09e 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/redis.json @@ -1676,6 +1676,12 @@ } ], "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, "201": { "description": "OK -- Update the private endpoint connection properties successfully.", "schema": { From fdf1b6ac262c93c2ea527b25340a139b53c7d668 Mon Sep 17 00:00:00 2001 From: Samiran Saha Date: Wed, 7 Sep 2022 14:00:25 +0530 Subject: [PATCH 2/2] Update Examples for 200 response code. --- ...RedisCachePutPrivateEndpointConnection.json | 18 ++++++++++++++++++ ...RedisCachePutPrivateEndpointConnection.json | 18 ++++++++++++++++++ ...RedisCachePutPrivateEndpointConnection.json | 18 ++++++++++++++++++ ...RedisCachePutPrivateEndpointConnection.json | 18 ++++++++++++++++++ 4 files changed, 72 insertions(+) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCachePutPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCachePutPrivateEndpointConnection.json index 2b6fe4673861..00445d191f54 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCachePutPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCachePutPrivateEndpointConnection.json @@ -15,6 +15,24 @@ } }, "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", + "name": "pectest01", + "type": "Microsoft.Cache/Redis/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + }, "201": { "body": { "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/examples/RedisCachePutPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/examples/RedisCachePutPrivateEndpointConnection.json index 092d329a9262..e11c9740d14b 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/examples/RedisCachePutPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/examples/RedisCachePutPrivateEndpointConnection.json @@ -15,6 +15,24 @@ } }, "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", + "name": "pectest01", + "type": "Microsoft.Cache/Redis/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + }, "201": { "body": { "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples/RedisCachePutPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples/RedisCachePutPrivateEndpointConnection.json index b1470ab9a540..861f19bc58db 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples/RedisCachePutPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples/RedisCachePutPrivateEndpointConnection.json @@ -15,6 +15,24 @@ } }, "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", + "name": "pectest01", + "type": "Microsoft.Cache/Redis/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + }, "201": { "body": { "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/examples/RedisCachePutPrivateEndpointConnection.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/examples/RedisCachePutPrivateEndpointConnection.json index 3f411ee53317..8bb39b19276a 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/examples/RedisCachePutPrivateEndpointConnection.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/examples/RedisCachePutPrivateEndpointConnection.json @@ -15,6 +15,24 @@ } }, "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01", + "name": "pectest01", + "type": "Microsoft.Cache/Redis/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + }, "201": { "body": { "id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01",