Skip to content

Commit

Permalink
[Microsoft.Cache] Add 200 response code to PrivateEndpointConnections…
Browse files Browse the repository at this point in the history
…_Put (#20620)

* Add 200 response code to PrivateEndpointConnections_Put

* Update Examples for 200 response code.
  • Loading branch information
samsaha-ms authored Sep 9, 2022
1 parent 208c91d commit ada3207
Show file tree
Hide file tree
Showing 8 changed files with 96 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit ada3207

Please sign in to comment.