oci-blockchain 2.8.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/lib/client.d.ts +43 -25
  2. package/lib/client.js +153 -27
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/blockchain-platform-patch-collection.d.ts +26 -0
  5. package/lib/model/blockchain-platform-patch-collection.js +61 -0
  6. package/lib/model/blockchain-platform-patch-collection.js.map +1 -0
  7. package/lib/model/blockchain-platform-patch-summary.d.ts +37 -0
  8. package/lib/model/blockchain-platform-patch-summary.js +29 -0
  9. package/lib/model/blockchain-platform-patch-summary.js.map +1 -0
  10. package/lib/model/blockchain-platform.d.ts +4 -0
  11. package/lib/model/blockchain-platform.js.map +1 -1
  12. package/lib/model/create-blockchain-platform-details.d.ts +4 -0
  13. package/lib/model/create-blockchain-platform-details.js.map +1 -1
  14. package/lib/model/index.d.ts +6 -0
  15. package/lib/model/index.js +7 -1
  16. package/lib/model/index.js.map +1 -1
  17. package/lib/model/upgrade-blockchain-platform-details.d.ts +27 -0
  18. package/lib/model/upgrade-blockchain-platform-details.js +29 -0
  19. package/lib/model/upgrade-blockchain-platform-details.js.map +1 -0
  20. package/lib/model/work-request-summary.d.ts +1 -0
  21. package/lib/model/work-request-summary.js +1 -0
  22. package/lib/model/work-request-summary.js.map +1 -1
  23. package/lib/model/work-request.d.ts +1 -0
  24. package/lib/model/work-request.js +1 -0
  25. package/lib/model/work-request.js.map +1 -1
  26. package/lib/request/change-blockchain-platform-compartment-request.d.ts +1 -1
  27. package/lib/request/create-blockchain-platform-request.d.ts +1 -1
  28. package/lib/request/create-osn-request.d.ts +1 -1
  29. package/lib/request/create-peer-request.d.ts +1 -1
  30. package/lib/request/delete-blockchain-platform-request.d.ts +10 -1
  31. package/lib/request/delete-osn-request.d.ts +1 -1
  32. package/lib/request/delete-peer-request.d.ts +10 -1
  33. package/lib/request/delete-work-request-request.d.ts +1 -1
  34. package/lib/request/get-blockchain-platform-request.d.ts +1 -1
  35. package/lib/request/get-osn-request.d.ts +1 -1
  36. package/lib/request/get-peer-request.d.ts +1 -1
  37. package/lib/request/get-work-request-request.d.ts +1 -1
  38. package/lib/request/index.d.ts +4 -0
  39. package/lib/request/index.js.map +1 -1
  40. package/lib/request/list-blockchain-platform-patches-request.d.ts +34 -0
  41. package/lib/request/list-blockchain-platform-patches-request.js +15 -0
  42. package/lib/request/list-blockchain-platform-patches-request.js.map +1 -0
  43. package/lib/request/list-blockchain-platforms-request.d.ts +1 -1
  44. package/lib/request/list-osns-request.d.ts +1 -1
  45. package/lib/request/list-peers-request.d.ts +1 -1
  46. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  47. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  48. package/lib/request/list-work-requests-request.d.ts +1 -1
  49. package/lib/request/preview-scale-blockchain-platform-request.d.ts +1 -1
  50. package/lib/request/scale-blockchain-platform-request.d.ts +1 -1
  51. package/lib/request/start-blockchain-platform-request.d.ts +1 -1
  52. package/lib/request/stop-blockchain-platform-request.d.ts +1 -1
  53. package/lib/request/update-blockchain-platform-request.d.ts +1 -1
  54. package/lib/request/update-osn-request.d.ts +1 -1
  55. package/lib/request/update-peer-request.d.ts +1 -1
  56. package/lib/request/upgrade-blockchain-platform-request.d.ts +49 -0
  57. package/lib/request/upgrade-blockchain-platform-request.js +15 -0
  58. package/lib/request/upgrade-blockchain-platform-request.js.map +1 -0
  59. package/lib/response/index.d.ts +4 -0
  60. package/lib/response/list-blockchain-platform-patches-response.d.ts +32 -0
  61. package/lib/response/list-blockchain-platform-patches-response.js +15 -0
  62. package/lib/response/list-blockchain-platform-patches-response.js.map +1 -0
  63. package/lib/response/upgrade-blockchain-platform-response.d.ts +25 -0
  64. package/lib/response/upgrade-blockchain-platform-response.js +15 -0
  65. package/lib/response/upgrade-blockchain-platform-response.js.map +1 -0
  66. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -72,7 +72,7 @@ export declare class BlockchainPlatformClient {
72
72
  * @param ChangeBlockchainPlatformCompartmentRequest
73
73
  * @return ChangeBlockchainPlatformCompartmentResponse
74
74
  * @throws OciError when an error occurs
75
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
75
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
76
76
  */
77
77
  changeBlockchainPlatformCompartment(changeBlockchainPlatformCompartmentRequest: requests.ChangeBlockchainPlatformCompartmentRequest): Promise<responses.ChangeBlockchainPlatformCompartmentResponse>;
78
78
  /**
@@ -82,7 +82,7 @@ export declare class BlockchainPlatformClient {
82
82
  * @param CreateBlockchainPlatformRequest
83
83
  * @return CreateBlockchainPlatformResponse
84
84
  * @throws OciError when an error occurs
85
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
85
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
86
86
  */
87
87
  createBlockchainPlatform(createBlockchainPlatformRequest: requests.CreateBlockchainPlatformRequest): Promise<responses.CreateBlockchainPlatformResponse>;
88
88
  /**
@@ -91,7 +91,7 @@ export declare class BlockchainPlatformClient {
91
91
  * @param CreateOsnRequest
92
92
  * @return CreateOsnResponse
93
93
  * @throws OciError when an error occurs
94
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
94
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
95
95
  */
96
96
  createOsn(createOsnRequest: requests.CreateOsnRequest): Promise<responses.CreateOsnResponse>;
97
97
  /**
@@ -100,7 +100,7 @@ export declare class BlockchainPlatformClient {
100
100
  * @param CreatePeerRequest
101
101
  * @return CreatePeerResponse
102
102
  * @throws OciError when an error occurs
103
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
103
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
104
104
  */
105
105
  createPeer(createPeerRequest: requests.CreatePeerRequest): Promise<responses.CreatePeerResponse>;
106
106
  /**
@@ -109,7 +109,7 @@ export declare class BlockchainPlatformClient {
109
109
  * @param DeleteBlockchainPlatformRequest
110
110
  * @return DeleteBlockchainPlatformResponse
111
111
  * @throws OciError when an error occurs
112
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
112
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
113
113
  */
114
114
  deleteBlockchainPlatform(deleteBlockchainPlatformRequest: requests.DeleteBlockchainPlatformRequest): Promise<responses.DeleteBlockchainPlatformResponse>;
115
115
  /**
@@ -118,7 +118,7 @@ export declare class BlockchainPlatformClient {
118
118
  * @param DeleteOsnRequest
119
119
  * @return DeleteOsnResponse
120
120
  * @throws OciError when an error occurs
121
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
121
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
122
122
  */
123
123
  deleteOsn(deleteOsnRequest: requests.DeleteOsnRequest): Promise<responses.DeleteOsnResponse>;
124
124
  /**
@@ -127,7 +127,7 @@ export declare class BlockchainPlatformClient {
127
127
  * @param DeletePeerRequest
128
128
  * @return DeletePeerResponse
129
129
  * @throws OciError when an error occurs
130
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
130
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
131
131
  */
132
132
  deletePeer(deletePeerRequest: requests.DeletePeerRequest): Promise<responses.DeletePeerResponse>;
133
133
  /**
@@ -136,7 +136,7 @@ export declare class BlockchainPlatformClient {
136
136
  * @param DeleteWorkRequestRequest
137
137
  * @return DeleteWorkRequestResponse
138
138
  * @throws OciError when an error occurs
139
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
139
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
140
140
  */
141
141
  deleteWorkRequest(deleteWorkRequestRequest: requests.DeleteWorkRequestRequest): Promise<responses.DeleteWorkRequestResponse>;
142
142
  /**
@@ -145,7 +145,7 @@ export declare class BlockchainPlatformClient {
145
145
  * @param GetBlockchainPlatformRequest
146
146
  * @return GetBlockchainPlatformResponse
147
147
  * @throws OciError when an error occurs
148
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
148
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
149
149
  */
150
150
  getBlockchainPlatform(getBlockchainPlatformRequest: requests.GetBlockchainPlatformRequest): Promise<responses.GetBlockchainPlatformResponse>;
151
151
  /**
@@ -154,7 +154,7 @@ export declare class BlockchainPlatformClient {
154
154
  * @param GetOsnRequest
155
155
  * @return GetOsnResponse
156
156
  * @throws OciError when an error occurs
157
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
157
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
158
158
  */
159
159
  getOsn(getOsnRequest: requests.GetOsnRequest): Promise<responses.GetOsnResponse>;
160
160
  /**
@@ -163,7 +163,7 @@ export declare class BlockchainPlatformClient {
163
163
  * @param GetPeerRequest
164
164
  * @return GetPeerResponse
165
165
  * @throws OciError when an error occurs
166
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
166
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
167
167
  */
168
168
  getPeer(getPeerRequest: requests.GetPeerRequest): Promise<responses.GetPeerResponse>;
169
169
  /**
@@ -172,16 +172,25 @@ export declare class BlockchainPlatformClient {
172
172
  * @param GetWorkRequestRequest
173
173
  * @return GetWorkRequestResponse
174
174
  * @throws OciError when an error occurs
175
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
175
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
176
176
  */
177
177
  getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
178
+ /**
179
+ * List Blockchain Platform Patches
180
+ * This operation does not retry by default if the user has not defined a retry configuration.
181
+ * @param ListBlockchainPlatformPatchesRequest
182
+ * @return ListBlockchainPlatformPatchesResponse
183
+ * @throws OciError when an error occurs
184
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListBlockchainPlatformPatches.ts.html |here} to see how to use ListBlockchainPlatformPatches API.
185
+ */
186
+ listBlockchainPlatformPatches(listBlockchainPlatformPatchesRequest: requests.ListBlockchainPlatformPatchesRequest): Promise<responses.ListBlockchainPlatformPatchesResponse>;
178
187
  /**
179
188
  * Returns a list Blockchain Platform Instances in a compartment
180
189
  * This operation does not retry by default if the user has not defined a retry configuration.
181
190
  * @param ListBlockchainPlatformsRequest
182
191
  * @return ListBlockchainPlatformsResponse
183
192
  * @throws OciError when an error occurs
184
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
193
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
185
194
  */
186
195
  listBlockchainPlatforms(listBlockchainPlatformsRequest: requests.ListBlockchainPlatformsRequest): Promise<responses.ListBlockchainPlatformsResponse>;
187
196
  /**
@@ -190,7 +199,7 @@ export declare class BlockchainPlatformClient {
190
199
  * @param ListOsnsRequest
191
200
  * @return ListOsnsResponse
192
201
  * @throws OciError when an error occurs
193
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
202
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
194
203
  */
195
204
  listOsns(listOsnsRequest: requests.ListOsnsRequest): Promise<responses.ListOsnsResponse>;
196
205
  /**
@@ -199,7 +208,7 @@ export declare class BlockchainPlatformClient {
199
208
  * @param ListPeersRequest
200
209
  * @return ListPeersResponse
201
210
  * @throws OciError when an error occurs
202
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
211
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
203
212
  */
204
213
  listPeers(listPeersRequest: requests.ListPeersRequest): Promise<responses.ListPeersResponse>;
205
214
  /**
@@ -209,7 +218,7 @@ export declare class BlockchainPlatformClient {
209
218
  * @param ListWorkRequestErrorsRequest
210
219
  * @return ListWorkRequestErrorsResponse
211
220
  * @throws OciError when an error occurs
212
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
221
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
213
222
  */
214
223
  listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
215
224
  /**
@@ -219,7 +228,7 @@ export declare class BlockchainPlatformClient {
219
228
  * @param ListWorkRequestLogsRequest
220
229
  * @return ListWorkRequestLogsResponse
221
230
  * @throws OciError when an error occurs
222
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
231
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
223
232
  */
224
233
  listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
225
234
  /**
@@ -229,7 +238,7 @@ export declare class BlockchainPlatformClient {
229
238
  * @param ListWorkRequestsRequest
230
239
  * @return ListWorkRequestsResponse
231
240
  * @throws OciError when an error occurs
232
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
241
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
233
242
  */
234
243
  listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
235
244
  /**
@@ -238,7 +247,7 @@ export declare class BlockchainPlatformClient {
238
247
  * @param PreviewScaleBlockchainPlatformRequest
239
248
  * @return PreviewScaleBlockchainPlatformResponse
240
249
  * @throws OciError when an error occurs
241
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
250
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
242
251
  */
243
252
  previewScaleBlockchainPlatform(previewScaleBlockchainPlatformRequest: requests.PreviewScaleBlockchainPlatformRequest): Promise<responses.PreviewScaleBlockchainPlatformResponse>;
244
253
  /**
@@ -247,7 +256,7 @@ export declare class BlockchainPlatformClient {
247
256
  * @param ScaleBlockchainPlatformRequest
248
257
  * @return ScaleBlockchainPlatformResponse
249
258
  * @throws OciError when an error occurs
250
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
259
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
251
260
  */
252
261
  scaleBlockchainPlatform(scaleBlockchainPlatformRequest: requests.ScaleBlockchainPlatformRequest): Promise<responses.ScaleBlockchainPlatformResponse>;
253
262
  /**
@@ -256,7 +265,7 @@ export declare class BlockchainPlatformClient {
256
265
  * @param StartBlockchainPlatformRequest
257
266
  * @return StartBlockchainPlatformResponse
258
267
  * @throws OciError when an error occurs
259
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
268
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
260
269
  */
261
270
  startBlockchainPlatform(startBlockchainPlatformRequest: requests.StartBlockchainPlatformRequest): Promise<responses.StartBlockchainPlatformResponse>;
262
271
  /**
@@ -265,7 +274,7 @@ export declare class BlockchainPlatformClient {
265
274
  * @param StopBlockchainPlatformRequest
266
275
  * @return StopBlockchainPlatformResponse
267
276
  * @throws OciError when an error occurs
268
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
277
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
269
278
  */
270
279
  stopBlockchainPlatform(stopBlockchainPlatformRequest: requests.StopBlockchainPlatformRequest): Promise<responses.StopBlockchainPlatformResponse>;
271
280
  /**
@@ -274,7 +283,7 @@ export declare class BlockchainPlatformClient {
274
283
  * @param UpdateBlockchainPlatformRequest
275
284
  * @return UpdateBlockchainPlatformResponse
276
285
  * @throws OciError when an error occurs
277
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
286
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
278
287
  */
279
288
  updateBlockchainPlatform(updateBlockchainPlatformRequest: requests.UpdateBlockchainPlatformRequest): Promise<responses.UpdateBlockchainPlatformResponse>;
280
289
  /**
@@ -283,7 +292,7 @@ export declare class BlockchainPlatformClient {
283
292
  * @param UpdateOsnRequest
284
293
  * @return UpdateOsnResponse
285
294
  * @throws OciError when an error occurs
286
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
295
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
287
296
  */
288
297
  updateOsn(updateOsnRequest: requests.UpdateOsnRequest): Promise<responses.UpdateOsnResponse>;
289
298
  /**
@@ -292,7 +301,16 @@ export declare class BlockchainPlatformClient {
292
301
  * @param UpdatePeerRequest
293
302
  * @return UpdatePeerResponse
294
303
  * @throws OciError when an error occurs
295
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
304
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
296
305
  */
297
306
  updatePeer(updatePeerRequest: requests.UpdatePeerRequest): Promise<responses.UpdatePeerResponse>;
307
+ /**
308
+ * Upgrade a Blockchain Platform version
309
+ * This operation does not retry by default if the user has not defined a retry configuration.
310
+ * @param UpgradeBlockchainPlatformRequest
311
+ * @return UpgradeBlockchainPlatformResponse
312
+ * @throws OciError when an error occurs
313
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpgradeBlockchainPlatform.ts.html |here} to see how to use UpgradeBlockchainPlatform API.
314
+ */
315
+ upgradeBlockchainPlatform(upgradeBlockchainPlatformRequest: requests.UpgradeBlockchainPlatformRequest): Promise<responses.UpgradeBlockchainPlatformResponse>;
298
316
  }
package/lib/client.js CHANGED
@@ -150,7 +150,7 @@ class BlockchainPlatformClient {
150
150
  * @param ChangeBlockchainPlatformCompartmentRequest
151
151
  * @return ChangeBlockchainPlatformCompartmentResponse
152
152
  * @throws OciError when an error occurs
153
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
153
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ChangeBlockchainPlatformCompartment.ts.html |here} to see how to use ChangeBlockchainPlatformCompartment API.
154
154
  */
155
155
  changeBlockchainPlatformCompartment(changeBlockchainPlatformCompartmentRequest) {
156
156
  return __awaiter(this, void 0, void 0, function* () {
@@ -211,7 +211,7 @@ class BlockchainPlatformClient {
211
211
  * @param CreateBlockchainPlatformRequest
212
212
  * @return CreateBlockchainPlatformResponse
213
213
  * @throws OciError when an error occurs
214
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
214
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/CreateBlockchainPlatform.ts.html |here} to see how to use CreateBlockchainPlatform API.
215
215
  */
216
216
  createBlockchainPlatform(createBlockchainPlatformRequest) {
217
217
  return __awaiter(this, void 0, void 0, function* () {
@@ -268,7 +268,7 @@ class BlockchainPlatformClient {
268
268
  * @param CreateOsnRequest
269
269
  * @return CreateOsnResponse
270
270
  * @throws OciError when an error occurs
271
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
271
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/CreateOsn.ts.html |here} to see how to use CreateOsn API.
272
272
  */
273
273
  createOsn(createOsnRequest) {
274
274
  return __awaiter(this, void 0, void 0, function* () {
@@ -328,7 +328,7 @@ class BlockchainPlatformClient {
328
328
  * @param CreatePeerRequest
329
329
  * @return CreatePeerResponse
330
330
  * @throws OciError when an error occurs
331
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
331
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/CreatePeer.ts.html |here} to see how to use CreatePeer API.
332
332
  */
333
333
  createPeer(createPeerRequest) {
334
334
  return __awaiter(this, void 0, void 0, function* () {
@@ -387,7 +387,7 @@ class BlockchainPlatformClient {
387
387
  * @param DeleteBlockchainPlatformRequest
388
388
  * @return DeleteBlockchainPlatformResponse
389
389
  * @throws OciError when an error occurs
390
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
390
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/DeleteBlockchainPlatform.ts.html |here} to see how to use DeleteBlockchainPlatform API.
391
391
  */
392
392
  deleteBlockchainPlatform(deleteBlockchainPlatformRequest) {
393
393
  return __awaiter(this, void 0, void 0, function* () {
@@ -400,7 +400,8 @@ class BlockchainPlatformClient {
400
400
  let headerParams = {
401
401
  "Content-Type": common.Constants.APPLICATION_JSON,
402
402
  "opc-request-id": deleteBlockchainPlatformRequest.opcRequestId,
403
- "if-match": deleteBlockchainPlatformRequest.ifMatch
403
+ "if-match": deleteBlockchainPlatformRequest.ifMatch,
404
+ "opc-retry-token": deleteBlockchainPlatformRequest.opcRetryToken
404
405
  };
405
406
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
406
407
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
@@ -445,7 +446,7 @@ class BlockchainPlatformClient {
445
446
  * @param DeleteOsnRequest
446
447
  * @return DeleteOsnResponse
447
448
  * @throws OciError when an error occurs
448
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
449
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/DeleteOsn.ts.html |here} to see how to use DeleteOsn API.
449
450
  */
450
451
  deleteOsn(deleteOsnRequest) {
451
452
  return __awaiter(this, void 0, void 0, function* () {
@@ -504,7 +505,7 @@ class BlockchainPlatformClient {
504
505
  * @param DeletePeerRequest
505
506
  * @return DeletePeerResponse
506
507
  * @throws OciError when an error occurs
507
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
508
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/DeletePeer.ts.html |here} to see how to use DeletePeer API.
508
509
  */
509
510
  deletePeer(deletePeerRequest) {
510
511
  return __awaiter(this, void 0, void 0, function* () {
@@ -518,7 +519,8 @@ class BlockchainPlatformClient {
518
519
  let headerParams = {
519
520
  "Content-Type": common.Constants.APPLICATION_JSON,
520
521
  "opc-request-id": deletePeerRequest.opcRequestId,
521
- "if-match": deletePeerRequest.ifMatch
522
+ "if-match": deletePeerRequest.ifMatch,
523
+ "opc-retry-token": deletePeerRequest.opcRetryToken
522
524
  };
523
525
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
524
526
  const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePeerRequest.retryConfiguration, specRetryConfiguration);
@@ -563,7 +565,7 @@ class BlockchainPlatformClient {
563
565
  * @param DeleteWorkRequestRequest
564
566
  * @return DeleteWorkRequestResponse
565
567
  * @throws OciError when an error occurs
566
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
568
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
567
569
  */
568
570
  deleteWorkRequest(deleteWorkRequestRequest) {
569
571
  return __awaiter(this, void 0, void 0, function* () {
@@ -621,7 +623,7 @@ class BlockchainPlatformClient {
621
623
  * @param GetBlockchainPlatformRequest
622
624
  * @return GetBlockchainPlatformResponse
623
625
  * @throws OciError when an error occurs
624
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
626
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/GetBlockchainPlatform.ts.html |here} to see how to use GetBlockchainPlatform API.
625
627
  */
626
628
  getBlockchainPlatform(getBlockchainPlatformRequest) {
627
629
  return __awaiter(this, void 0, void 0, function* () {
@@ -682,7 +684,7 @@ class BlockchainPlatformClient {
682
684
  * @param GetOsnRequest
683
685
  * @return GetOsnResponse
684
686
  * @throws OciError when an error occurs
685
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
687
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/GetOsn.ts.html |here} to see how to use GetOsn API.
686
688
  */
687
689
  getOsn(getOsnRequest) {
688
690
  return __awaiter(this, void 0, void 0, function* () {
@@ -744,7 +746,7 @@ class BlockchainPlatformClient {
744
746
  * @param GetPeerRequest
745
747
  * @return GetPeerResponse
746
748
  * @throws OciError when an error occurs
747
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
749
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/GetPeer.ts.html |here} to see how to use GetPeer API.
748
750
  */
749
751
  getPeer(getPeerRequest) {
750
752
  return __awaiter(this, void 0, void 0, function* () {
@@ -806,7 +808,7 @@ class BlockchainPlatformClient {
806
808
  * @param GetWorkRequestRequest
807
809
  * @return GetWorkRequestResponse
808
810
  * @throws OciError when an error occurs
809
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
811
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
810
812
  */
811
813
  getWorkRequest(getWorkRequestRequest) {
812
814
  return __awaiter(this, void 0, void 0, function* () {
@@ -866,13 +868,77 @@ class BlockchainPlatformClient {
866
868
  }
867
869
  });
868
870
  }
871
+ /**
872
+ * List Blockchain Platform Patches
873
+ * This operation does not retry by default if the user has not defined a retry configuration.
874
+ * @param ListBlockchainPlatformPatchesRequest
875
+ * @return ListBlockchainPlatformPatchesResponse
876
+ * @throws OciError when an error occurs
877
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListBlockchainPlatformPatches.ts.html |here} to see how to use ListBlockchainPlatformPatches API.
878
+ */
879
+ listBlockchainPlatformPatches(listBlockchainPlatformPatchesRequest) {
880
+ return __awaiter(this, void 0, void 0, function* () {
881
+ if (this.logger)
882
+ this.logger.debug("Calling operation BlockchainPlatformClient#listBlockchainPlatformPatches.");
883
+ const pathParams = {
884
+ "{blockchainPlatformId}": listBlockchainPlatformPatchesRequest.blockchainPlatformId
885
+ };
886
+ const queryParams = {
887
+ "page": listBlockchainPlatformPatchesRequest.page,
888
+ "limit": listBlockchainPlatformPatchesRequest.limit
889
+ };
890
+ let headerParams = {
891
+ "Content-Type": common.Constants.APPLICATION_JSON,
892
+ "opc-request-id": listBlockchainPlatformPatchesRequest.opcRequestId
893
+ };
894
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
895
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBlockchainPlatformPatchesRequest.retryConfiguration, specRetryConfiguration);
896
+ if (this.logger)
897
+ retrier.logger = this.logger;
898
+ const request = yield oci_common_1.composeRequest({
899
+ baseEndpoint: this._endpoint,
900
+ defaultHeaders: this._defaultHeaders,
901
+ path: "/blockchainPlatforms/{blockchainPlatformId}/patches",
902
+ method: "GET",
903
+ pathParams: pathParams,
904
+ headerParams: headerParams,
905
+ queryParams: queryParams
906
+ });
907
+ try {
908
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
909
+ const sdkResponse = oci_common_1.composeResponse({
910
+ responseObject: {},
911
+ body: yield response.json(),
912
+ bodyKey: "blockchainPlatformPatchCollection",
913
+ bodyModel: model.BlockchainPlatformPatchCollection,
914
+ type: "model.BlockchainPlatformPatchCollection",
915
+ responseHeaders: [
916
+ {
917
+ value: response.headers.get("opc-request-id"),
918
+ key: "opcRequestId",
919
+ dataType: "string"
920
+ },
921
+ {
922
+ value: response.headers.get("opc-next-page"),
923
+ key: "opcNextPage",
924
+ dataType: "string"
925
+ }
926
+ ]
927
+ });
928
+ return sdkResponse;
929
+ }
930
+ catch (err) {
931
+ throw err;
932
+ }
933
+ });
934
+ }
869
935
  /**
870
936
  * Returns a list Blockchain Platform Instances in a compartment
871
937
  * This operation does not retry by default if the user has not defined a retry configuration.
872
938
  * @param ListBlockchainPlatformsRequest
873
939
  * @return ListBlockchainPlatformsResponse
874
940
  * @throws OciError when an error occurs
875
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
941
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListBlockchainPlatforms.ts.html |here} to see how to use ListBlockchainPlatforms API.
876
942
  */
877
943
  listBlockchainPlatforms(listBlockchainPlatformsRequest) {
878
944
  return __awaiter(this, void 0, void 0, function* () {
@@ -939,7 +1005,7 @@ class BlockchainPlatformClient {
939
1005
  * @param ListOsnsRequest
940
1006
  * @return ListOsnsResponse
941
1007
  * @throws OciError when an error occurs
942
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
1008
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListOsns.ts.html |here} to see how to use ListOsns API.
943
1009
  */
944
1010
  listOsns(listOsnsRequest) {
945
1011
  return __awaiter(this, void 0, void 0, function* () {
@@ -1007,7 +1073,7 @@ class BlockchainPlatformClient {
1007
1073
  * @param ListPeersRequest
1008
1074
  * @return ListPeersResponse
1009
1075
  * @throws OciError when an error occurs
1010
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
1076
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListPeers.ts.html |here} to see how to use ListPeers API.
1011
1077
  */
1012
1078
  listPeers(listPeersRequest) {
1013
1079
  return __awaiter(this, void 0, void 0, function* () {
@@ -1076,7 +1142,7 @@ class BlockchainPlatformClient {
1076
1142
  * @param ListWorkRequestErrorsRequest
1077
1143
  * @return ListWorkRequestErrorsResponse
1078
1144
  * @throws OciError when an error occurs
1079
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1145
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1080
1146
  */
1081
1147
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1082
1148
  return __awaiter(this, void 0, void 0, function* () {
@@ -1141,7 +1207,7 @@ class BlockchainPlatformClient {
1141
1207
  * @param ListWorkRequestLogsRequest
1142
1208
  * @return ListWorkRequestLogsResponse
1143
1209
  * @throws OciError when an error occurs
1144
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1210
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1145
1211
  */
1146
1212
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1147
1213
  return __awaiter(this, void 0, void 0, function* () {
@@ -1206,7 +1272,7 @@ class BlockchainPlatformClient {
1206
1272
  * @param ListWorkRequestsRequest
1207
1273
  * @return ListWorkRequestsResponse
1208
1274
  * @throws OciError when an error occurs
1209
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1275
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1210
1276
  */
1211
1277
  listWorkRequests(listWorkRequestsRequest) {
1212
1278
  return __awaiter(this, void 0, void 0, function* () {
@@ -1272,7 +1338,7 @@ class BlockchainPlatformClient {
1272
1338
  * @param PreviewScaleBlockchainPlatformRequest
1273
1339
  * @return PreviewScaleBlockchainPlatformResponse
1274
1340
  * @throws OciError when an error occurs
1275
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
1341
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/PreviewScaleBlockchainPlatform.ts.html |here} to see how to use PreviewScaleBlockchainPlatform API.
1276
1342
  */
1277
1343
  previewScaleBlockchainPlatform(previewScaleBlockchainPlatformRequest) {
1278
1344
  return __awaiter(this, void 0, void 0, function* () {
@@ -1334,7 +1400,7 @@ class BlockchainPlatformClient {
1334
1400
  * @param ScaleBlockchainPlatformRequest
1335
1401
  * @return ScaleBlockchainPlatformResponse
1336
1402
  * @throws OciError when an error occurs
1337
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
1403
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/ScaleBlockchainPlatform.ts.html |here} to see how to use ScaleBlockchainPlatform API.
1338
1404
  */
1339
1405
  scaleBlockchainPlatform(scaleBlockchainPlatformRequest) {
1340
1406
  return __awaiter(this, void 0, void 0, function* () {
@@ -1394,7 +1460,7 @@ class BlockchainPlatformClient {
1394
1460
  * @param StartBlockchainPlatformRequest
1395
1461
  * @return StartBlockchainPlatformResponse
1396
1462
  * @throws OciError when an error occurs
1397
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
1463
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/StartBlockchainPlatform.ts.html |here} to see how to use StartBlockchainPlatform API.
1398
1464
  */
1399
1465
  startBlockchainPlatform(startBlockchainPlatformRequest) {
1400
1466
  return __awaiter(this, void 0, void 0, function* () {
@@ -1453,7 +1519,7 @@ class BlockchainPlatformClient {
1453
1519
  * @param StopBlockchainPlatformRequest
1454
1520
  * @return StopBlockchainPlatformResponse
1455
1521
  * @throws OciError when an error occurs
1456
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
1522
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/StopBlockchainPlatform.ts.html |here} to see how to use StopBlockchainPlatform API.
1457
1523
  */
1458
1524
  stopBlockchainPlatform(stopBlockchainPlatformRequest) {
1459
1525
  return __awaiter(this, void 0, void 0, function* () {
@@ -1512,7 +1578,7 @@ class BlockchainPlatformClient {
1512
1578
  * @param UpdateBlockchainPlatformRequest
1513
1579
  * @return UpdateBlockchainPlatformResponse
1514
1580
  * @throws OciError when an error occurs
1515
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
1581
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpdateBlockchainPlatform.ts.html |here} to see how to use UpdateBlockchainPlatform API.
1516
1582
  */
1517
1583
  updateBlockchainPlatform(updateBlockchainPlatformRequest) {
1518
1584
  return __awaiter(this, void 0, void 0, function* () {
@@ -1572,7 +1638,7 @@ class BlockchainPlatformClient {
1572
1638
  * @param UpdateOsnRequest
1573
1639
  * @return UpdateOsnResponse
1574
1640
  * @throws OciError when an error occurs
1575
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
1641
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpdateOsn.ts.html |here} to see how to use UpdateOsn API.
1576
1642
  */
1577
1643
  updateOsn(updateOsnRequest) {
1578
1644
  return __awaiter(this, void 0, void 0, function* () {
@@ -1633,7 +1699,7 @@ class BlockchainPlatformClient {
1633
1699
  * @param UpdatePeerRequest
1634
1700
  * @return UpdatePeerResponse
1635
1701
  * @throws OciError when an error occurs
1636
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.8.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
1702
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpdatePeer.ts.html |here} to see how to use UpdatePeer API.
1637
1703
  */
1638
1704
  updatePeer(updatePeerRequest) {
1639
1705
  return __awaiter(this, void 0, void 0, function* () {
@@ -1688,6 +1754,66 @@ class BlockchainPlatformClient {
1688
1754
  }
1689
1755
  });
1690
1756
  }
1757
+ /**
1758
+ * Upgrade a Blockchain Platform version
1759
+ * This operation does not retry by default if the user has not defined a retry configuration.
1760
+ * @param UpgradeBlockchainPlatformRequest
1761
+ * @return UpgradeBlockchainPlatformResponse
1762
+ * @throws OciError when an error occurs
1763
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/blockchain/UpgradeBlockchainPlatform.ts.html |here} to see how to use UpgradeBlockchainPlatform API.
1764
+ */
1765
+ upgradeBlockchainPlatform(upgradeBlockchainPlatformRequest) {
1766
+ return __awaiter(this, void 0, void 0, function* () {
1767
+ if (this.logger)
1768
+ this.logger.debug("Calling operation BlockchainPlatformClient#upgradeBlockchainPlatform.");
1769
+ const pathParams = {
1770
+ "{blockchainPlatformId}": upgradeBlockchainPlatformRequest.blockchainPlatformId
1771
+ };
1772
+ const queryParams = {};
1773
+ let headerParams = {
1774
+ "Content-Type": common.Constants.APPLICATION_JSON,
1775
+ "if-match": upgradeBlockchainPlatformRequest.ifMatch,
1776
+ "opc-request-id": upgradeBlockchainPlatformRequest.opcRequestId,
1777
+ "opc-retry-token": upgradeBlockchainPlatformRequest.opcRetryToken
1778
+ };
1779
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1780
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upgradeBlockchainPlatformRequest.retryConfiguration, specRetryConfiguration);
1781
+ if (this.logger)
1782
+ retrier.logger = this.logger;
1783
+ const request = yield oci_common_1.composeRequest({
1784
+ baseEndpoint: this._endpoint,
1785
+ defaultHeaders: this._defaultHeaders,
1786
+ path: "/blockchainPlatforms/{blockchainPlatformId}/actions/upgrade",
1787
+ method: "POST",
1788
+ bodyContent: common.ObjectSerializer.serialize(upgradeBlockchainPlatformRequest.upgradeBlockchainPlatformDetails, "UpgradeBlockchainPlatformDetails", model.UpgradeBlockchainPlatformDetails.getJsonObj),
1789
+ pathParams: pathParams,
1790
+ headerParams: headerParams,
1791
+ queryParams: queryParams
1792
+ });
1793
+ try {
1794
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
1795
+ const sdkResponse = oci_common_1.composeResponse({
1796
+ responseObject: {},
1797
+ responseHeaders: [
1798
+ {
1799
+ value: response.headers.get("opc-work-request-id"),
1800
+ key: "opcWorkRequestId",
1801
+ dataType: "string"
1802
+ },
1803
+ {
1804
+ value: response.headers.get("opc-request-id"),
1805
+ key: "opcRequestId",
1806
+ dataType: "string"
1807
+ }
1808
+ ]
1809
+ });
1810
+ return sdkResponse;
1811
+ }
1812
+ catch (err) {
1813
+ throw err;
1814
+ }
1815
+ });
1816
+ }
1691
1817
  }
1692
1818
  exports.BlockchainPlatformClient = BlockchainPlatformClient;
1693
1819
  BlockchainPlatformClient.serviceEndpointTemplate = "https://blockchain.{region}.oci.{secondLevelDomain}";