Skip to content

Commit ada3207

Browse files
authored
[Microsoft.Cache] Add 200 response code to PrivateEndpointConnections_Put (#20620)
* Add 200 response code to PrivateEndpointConnections_Put * Update Examples for 200 response code.
1 parent 208c91d commit ada3207

File tree

8 files changed

+96
-0
lines changed

8 files changed

+96
-0
lines changed

specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/examples/RedisCachePutPrivateEndpointConnection.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@
1515
}
1616
},
1717
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01",
21+
"name": "pectest01",
22+
"type": "Microsoft.Cache/Redis/privateEndpointConnections",
23+
"properties": {
24+
"provisioningState": "Succeeded",
25+
"privateEndpoint": {
26+
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01"
27+
},
28+
"privateLinkServiceConnectionState": {
29+
"status": "Approved",
30+
"description": "Auto-Approved",
31+
"actionsRequired": "None"
32+
}
33+
}
34+
}
35+
},
1836
"201": {
1937
"body": {
2038
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01",

specification/redis/resource-manager/Microsoft.Cache/stable/2020-06-01/redis.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,12 @@
16591659
}
16601660
],
16611661
"responses": {
1662+
"200": {
1663+
"description": "OK -- Update the private endpoint connection properties successfully.",
1664+
"schema": {
1665+
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection"
1666+
}
1667+
},
16621668
"201": {
16631669
"description": "OK -- Update the private endpoint connection properties successfully.",
16641670
"schema": {

specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/examples/RedisCachePutPrivateEndpointConnection.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@
1515
}
1616
},
1717
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01",
21+
"name": "pectest01",
22+
"type": "Microsoft.Cache/Redis/privateEndpointConnections",
23+
"properties": {
24+
"provisioningState": "Succeeded",
25+
"privateEndpoint": {
26+
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01"
27+
},
28+
"privateLinkServiceConnectionState": {
29+
"status": "Approved",
30+
"description": "Auto-Approved",
31+
"actionsRequired": "None"
32+
}
33+
}
34+
}
35+
},
1836
"201": {
1937
"body": {
2038
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01",

specification/redis/resource-manager/Microsoft.Cache/stable/2020-12-01/redis.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,12 @@
16621662
}
16631663
],
16641664
"responses": {
1665+
"200": {
1666+
"description": "OK -- Update the private endpoint connection properties successfully.",
1667+
"schema": {
1668+
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection"
1669+
}
1670+
},
16651671
"201": {
16661672
"description": "OK -- Update the private endpoint connection properties successfully.",
16671673
"schema": {

specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/examples/RedisCachePutPrivateEndpointConnection.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@
1515
}
1616
},
1717
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01",
21+
"name": "pectest01",
22+
"type": "Microsoft.Cache/Redis/privateEndpointConnections",
23+
"properties": {
24+
"provisioningState": "Succeeded",
25+
"privateEndpoint": {
26+
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01"
27+
},
28+
"privateLinkServiceConnectionState": {
29+
"status": "Approved",
30+
"description": "Auto-Approved",
31+
"actionsRequired": "None"
32+
}
33+
}
34+
}
35+
},
1836
"201": {
1937
"body": {
2038
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01",

specification/redis/resource-manager/Microsoft.Cache/stable/2021-06-01/redis.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,12 @@
16621662
}
16631663
],
16641664
"responses": {
1665+
"200": {
1666+
"description": "OK -- Update the private endpoint connection properties successfully.",
1667+
"schema": {
1668+
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection"
1669+
}
1670+
},
16651671
"201": {
16661672
"description": "OK -- Update the private endpoint connection properties successfully.",
16671673
"schema": {

specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/examples/RedisCachePutPrivateEndpointConnection.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@
1515
}
1616
},
1717
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01",
21+
"name": "pectest01",
22+
"type": "Microsoft.Cache/Redis/privateEndpointConnections",
23+
"properties": {
24+
"provisioningState": "Succeeded",
25+
"privateEndpoint": {
26+
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Network/privateEndpoints/petest01"
27+
},
28+
"privateLinkServiceConnectionState": {
29+
"status": "Approved",
30+
"description": "Auto-Approved",
31+
"actionsRequired": "None"
32+
}
33+
}
34+
}
35+
},
1836
"201": {
1937
"body": {
2038
"id": "/subscriptions/{subscriptionId}/resourceGroups/rgtest01/providers/Microsoft.Cache/Redis/cachetest01/privateEndpointConnections/pectest01",

specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/redis.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,6 +1676,12 @@
16761676
}
16771677
],
16781678
"responses": {
1679+
"200": {
1680+
"description": "OK -- Update the private endpoint connection properties successfully.",
1681+
"schema": {
1682+
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection"
1683+
}
1684+
},
16791685
"201": {
16801686
"description": "OK -- Update the private endpoint connection properties successfully.",
16811687
"schema": {

0 commit comments

Comments
 (0)