You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -329,6 +329,8 @@ For error responses, the following fields are defined:
329
329
| --- | --- | --- |
330
330
| error | string | A single word in camel case that uniquely identifies the error condition. If present, MUST be a non-empty string. |
331
331
| description | string | A user-facing error message explaining why the request failed. If present, MUST be a non-empty string. |
332
+
| instance_usable | boolean | If an update or deprovisioning operation failed, this flag indicates whether or not the Service Instance is still usable. If `true`, the Service Instance can still be used, `false` otherwise. This field MUST NOT be present for errors of other operations. Defaults to `true`. |
333
+
| update_repeatable | boolean | If an update operation failed, this flag indicates whether this update can be repeated or not. If `true`, the same update operation MAY be repeated and MAY succeed; if `false`, repeating the same update operation will fail again. This field MUST NOT be present for errors of other operations. Defaults to `true`. |
332
334
333
335
### Error Codes
334
336
@@ -788,7 +790,9 @@ For success responses, the following fields are defined:
788
790
| Response Field | Type | Description |
789
791
| --- | --- | --- |
790
792
| state*| string | Valid values are `in progress`, `succeeded`, and `failed`. While `"state": "in progress"`, the Platform SHOULD continue polling. A response with `"state": "succeeded"` or `"state": "failed"` MUST cause the Platform to cease polling. |
791
-
| description | string | A user-facing message that can be used to tell the user details about the status of the operation. |
793
+
| description | string | A user-facing message that can be used to tell the user details about the status of the operation. If present, MUST be a non-empty string. |
794
+
| instance_usable | boolean | If an update or deprovisioning operation failed, this flag indicates whether or not the Service Instance is still usable. If `true`, the Service Instance can still be used, `false` otherwise. This field MUST NOT be present for errors of other operations. Defaults to `true`. |
795
+
| update_repeatable | boolean | If an update operation failed, this flag indicates whether this update can be repeated or not. If `true`, the same update operation MAY be repeated and MAY succeed; if `false`, repeating the same update operation will fail again. This field MUST NOT be present for errors of other operations. Defaults to `true`. |
792
796
793
797
The response MAY also include the `Retry-After` HTTP header. This header will
794
798
indicate how long the Platform SHOULD wait before polling again and is
@@ -1232,6 +1236,28 @@ Responses with any other status code MUST be interpreted as a failure.
1232
1236
When the response includes a 4xx or 5xx status code, the Service Broker MUST
1233
1237
NOT apply any of the requested changes to the Service Instance.
1234
1238
1239
+
When an update fails, the Service Instance can still be usable or unusable
1240
+
or its state could be unknown to the Platform. If a Service Instance became
1241
+
unusable, another update MAY repair the Service Instance.
1242
+
The Platform SHOULD NOT allow the creation of new bindings of an unusable
1243
+
Service Instance until the instance has been deleted or repaired by a
0 commit comments