oci-core 2.104.0 → 2.106.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 (123) hide show
  1. package/lib/client.d.ts +110 -0
  2. package/lib/client.js +790 -51
  3. package/lib/client.js.map +1 -1
  4. package/lib/compute-waiter.d.ts +46 -0
  5. package/lib/compute-waiter.js +87 -0
  6. package/lib/compute-waiter.js.map +1 -1
  7. package/lib/model/change-compute-gpu-memory-cluster-compartment-details.d.ts +34 -0
  8. package/lib/model/change-compute-gpu-memory-cluster-compartment-details.js +36 -0
  9. package/lib/model/change-compute-gpu-memory-cluster-compartment-details.js.map +1 -0
  10. package/lib/model/change-compute-gpu-memory-fabric-compartment-details.d.ts +34 -0
  11. package/lib/model/change-compute-gpu-memory-fabric-compartment-details.js +36 -0
  12. package/lib/model/change-compute-gpu-memory-fabric-compartment-details.js.map +1 -0
  13. package/lib/model/compute-gpu-memory-cluster-collection.d.ts +34 -0
  14. package/lib/model/compute-gpu-memory-cluster-collection.js +68 -0
  15. package/lib/model/compute-gpu-memory-cluster-collection.js.map +1 -0
  16. package/lib/model/compute-gpu-memory-cluster-instance-collection.d.ts +34 -0
  17. package/lib/model/compute-gpu-memory-cluster-instance-collection.js +68 -0
  18. package/lib/model/compute-gpu-memory-cluster-instance-collection.js.map +1 -0
  19. package/lib/model/compute-gpu-memory-cluster-instance-summary.d.ts +102 -0
  20. package/lib/model/compute-gpu-memory-cluster-instance-summary.js +55 -0
  21. package/lib/model/compute-gpu-memory-cluster-instance-summary.js.map +1 -0
  22. package/lib/model/compute-gpu-memory-cluster-summary.d.ts +95 -0
  23. package/lib/model/compute-gpu-memory-cluster-summary.js +36 -0
  24. package/lib/model/compute-gpu-memory-cluster-summary.js.map +1 -0
  25. package/lib/model/compute-gpu-memory-cluster.d.ts +126 -0
  26. package/lib/model/compute-gpu-memory-cluster.js +49 -0
  27. package/lib/model/compute-gpu-memory-cluster.js.map +1 -0
  28. package/lib/model/compute-gpu-memory-fabric-collection.d.ts +34 -0
  29. package/lib/model/compute-gpu-memory-fabric-collection.js +68 -0
  30. package/lib/model/compute-gpu-memory-fabric-collection.js.map +1 -0
  31. package/lib/model/compute-gpu-memory-fabric-summary.d.ts +115 -0
  32. package/lib/model/compute-gpu-memory-fabric-summary.js +36 -0
  33. package/lib/model/compute-gpu-memory-fabric-summary.js.map +1 -0
  34. package/lib/model/compute-gpu-memory-fabric.d.ts +147 -0
  35. package/lib/model/compute-gpu-memory-fabric.js +59 -0
  36. package/lib/model/compute-gpu-memory-fabric.js.map +1 -0
  37. package/lib/model/create-byoip-range-details.d.ts +0 -8
  38. package/lib/model/create-byoip-range-details.js.map +1 -1
  39. package/lib/model/create-compute-gpu-memory-cluster-details.d.ts +88 -0
  40. package/lib/model/create-compute-gpu-memory-cluster-details.js +36 -0
  41. package/lib/model/create-compute-gpu-memory-cluster-details.js.map +1 -0
  42. package/lib/model/index.d.ts +26 -0
  43. package/lib/model/index.js +38 -12
  44. package/lib/model/index.js.map +1 -1
  45. package/lib/model/update-byoip-range-details.d.ts +0 -8
  46. package/lib/model/update-byoip-range-details.js.map +1 -1
  47. package/lib/model/update-compute-gpu-memory-cluster-details.d.ts +67 -0
  48. package/lib/model/update-compute-gpu-memory-cluster-details.js +36 -0
  49. package/lib/model/update-compute-gpu-memory-cluster-details.js.map +1 -0
  50. package/lib/model/update-compute-gpu-memory-fabric-details.d.ts +57 -0
  51. package/lib/model/update-compute-gpu-memory-fabric-details.js +36 -0
  52. package/lib/model/update-compute-gpu-memory-fabric-details.js.map +1 -0
  53. package/lib/request/change-compute-gpu-memory-cluster-compartment-request.d.ts +49 -0
  54. package/lib/request/change-compute-gpu-memory-cluster-compartment-request.js +15 -0
  55. package/lib/request/change-compute-gpu-memory-cluster-compartment-request.js.map +1 -0
  56. package/lib/request/change-compute-gpu-memory-fabric-compartment-request.d.ts +49 -0
  57. package/lib/request/change-compute-gpu-memory-fabric-compartment-request.js +15 -0
  58. package/lib/request/change-compute-gpu-memory-fabric-compartment-request.js.map +1 -0
  59. package/lib/request/create-compute-gpu-memory-cluster-request.d.ts +38 -0
  60. package/lib/request/create-compute-gpu-memory-cluster-request.js +15 -0
  61. package/lib/request/create-compute-gpu-memory-cluster-request.js.map +1 -0
  62. package/lib/request/delete-compute-gpu-memory-cluster-request.d.ts +35 -0
  63. package/lib/request/delete-compute-gpu-memory-cluster-request.js +15 -0
  64. package/lib/request/delete-compute-gpu-memory-cluster-request.js.map +1 -0
  65. package/lib/request/get-compute-gpu-memory-cluster-request.d.ts +28 -0
  66. package/lib/request/get-compute-gpu-memory-cluster-request.js +15 -0
  67. package/lib/request/get-compute-gpu-memory-cluster-request.js.map +1 -0
  68. package/lib/request/get-compute-gpu-memory-fabric-request.d.ts +28 -0
  69. package/lib/request/get-compute-gpu-memory-fabric-request.js +15 -0
  70. package/lib/request/get-compute-gpu-memory-fabric-request.js.map +1 -0
  71. package/lib/request/index.d.ts +22 -0
  72. package/lib/request/index.js +8 -2
  73. package/lib/request/index.js.map +1 -1
  74. package/lib/request/list-compute-gpu-memory-cluster-instances-request.d.ts +72 -0
  75. package/lib/request/list-compute-gpu-memory-cluster-instances-request.js +29 -0
  76. package/lib/request/list-compute-gpu-memory-cluster-instances-request.js.map +1 -0
  77. package/lib/request/list-compute-gpu-memory-clusters-request.d.ts +96 -0
  78. package/lib/request/list-compute-gpu-memory-clusters-request.js +29 -0
  79. package/lib/request/list-compute-gpu-memory-clusters-request.js.map +1 -0
  80. package/lib/request/list-compute-gpu-memory-fabrics-request.d.ts +107 -0
  81. package/lib/request/list-compute-gpu-memory-fabrics-request.js +29 -0
  82. package/lib/request/list-compute-gpu-memory-fabrics-request.js.map +1 -0
  83. package/lib/request/update-compute-gpu-memory-cluster-request.d.ts +49 -0
  84. package/lib/request/update-compute-gpu-memory-cluster-request.js +15 -0
  85. package/lib/request/update-compute-gpu-memory-cluster-request.js.map +1 -0
  86. package/lib/request/update-compute-gpu-memory-fabric-request.d.ts +49 -0
  87. package/lib/request/update-compute-gpu-memory-fabric-request.js +15 -0
  88. package/lib/request/update-compute-gpu-memory-fabric-request.js.map +1 -0
  89. package/lib/response/change-compute-gpu-memory-cluster-compartment-response.d.ts +20 -0
  90. package/lib/response/change-compute-gpu-memory-cluster-compartment-response.js +15 -0
  91. package/lib/response/change-compute-gpu-memory-cluster-compartment-response.js.map +1 -0
  92. package/lib/response/change-compute-gpu-memory-fabric-compartment-response.d.ts +20 -0
  93. package/lib/response/change-compute-gpu-memory-fabric-compartment-response.js +15 -0
  94. package/lib/response/change-compute-gpu-memory-fabric-compartment-response.js.map +1 -0
  95. package/lib/response/create-compute-gpu-memory-cluster-response.d.ts +37 -0
  96. package/lib/response/create-compute-gpu-memory-cluster-response.js +15 -0
  97. package/lib/response/create-compute-gpu-memory-cluster-response.js.map +1 -0
  98. package/lib/response/delete-compute-gpu-memory-cluster-response.d.ts +27 -0
  99. package/lib/response/delete-compute-gpu-memory-cluster-response.js +15 -0
  100. package/lib/response/delete-compute-gpu-memory-cluster-response.js.map +1 -0
  101. package/lib/response/get-compute-gpu-memory-cluster-response.d.ts +30 -0
  102. package/lib/response/get-compute-gpu-memory-cluster-response.js +15 -0
  103. package/lib/response/get-compute-gpu-memory-cluster-response.js.map +1 -0
  104. package/lib/response/get-compute-gpu-memory-fabric-response.d.ts +30 -0
  105. package/lib/response/get-compute-gpu-memory-fabric-response.js +15 -0
  106. package/lib/response/get-compute-gpu-memory-fabric-response.js.map +1 -0
  107. package/lib/response/index.d.ts +22 -0
  108. package/lib/response/list-compute-gpu-memory-cluster-instances-response.d.ts +37 -0
  109. package/lib/response/list-compute-gpu-memory-cluster-instances-response.js +15 -0
  110. package/lib/response/list-compute-gpu-memory-cluster-instances-response.js.map +1 -0
  111. package/lib/response/list-compute-gpu-memory-clusters-response.d.ts +37 -0
  112. package/lib/response/list-compute-gpu-memory-clusters-response.js +15 -0
  113. package/lib/response/list-compute-gpu-memory-clusters-response.js.map +1 -0
  114. package/lib/response/list-compute-gpu-memory-fabrics-response.d.ts +32 -0
  115. package/lib/response/list-compute-gpu-memory-fabrics-response.js +15 -0
  116. package/lib/response/list-compute-gpu-memory-fabrics-response.js.map +1 -0
  117. package/lib/response/update-compute-gpu-memory-cluster-response.d.ts +37 -0
  118. package/lib/response/update-compute-gpu-memory-cluster-response.js +15 -0
  119. package/lib/response/update-compute-gpu-memory-cluster-response.js.map +1 -0
  120. package/lib/response/update-compute-gpu-memory-fabric-response.d.ts +30 -0
  121. package/lib/response/update-compute-gpu-memory-fabric-response.js +15 -0
  122. package/lib/response/update-compute-gpu-memory-fabric-response.js.map +1 -0
  123. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -5273,6 +5273,124 @@ class ComputeClient {
5273
5273
  }
5274
5274
  });
5275
5275
  }
5276
+ /**
5277
+ * Moves a compute GPU memory cluster into a different compartment. For information about moving resources between
5278
+ * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
5279
+ *
5280
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5281
+ * @param ChangeComputeGpuMemoryClusterCompartmentRequest
5282
+ * @return ChangeComputeGpuMemoryClusterCompartmentResponse
5283
+ * @throws OciError when an error occurs
5284
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ChangeComputeGpuMemoryClusterCompartment.ts.html |here} to see how to use ChangeComputeGpuMemoryClusterCompartment API.
5285
+ */
5286
+ changeComputeGpuMemoryClusterCompartment(changeComputeGpuMemoryClusterCompartmentRequest) {
5287
+ return __awaiter(this, void 0, void 0, function* () {
5288
+ if (this.logger)
5289
+ this.logger.debug("Calling operation ComputeClient#changeComputeGpuMemoryClusterCompartment.");
5290
+ const operationName = "changeComputeGpuMemoryClusterCompartment";
5291
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/ChangeComputeGpuMemoryClusterCompartment";
5292
+ const pathParams = {
5293
+ "{computeGpuMemoryClusterId}": changeComputeGpuMemoryClusterCompartmentRequest.computeGpuMemoryClusterId
5294
+ };
5295
+ const queryParams = {};
5296
+ let headerParams = {
5297
+ "Content-Type": common.Constants.APPLICATION_JSON,
5298
+ "if-match": changeComputeGpuMemoryClusterCompartmentRequest.ifMatch,
5299
+ "opc-request-id": changeComputeGpuMemoryClusterCompartmentRequest.opcRequestId,
5300
+ "opc-retry-token": changeComputeGpuMemoryClusterCompartmentRequest.opcRetryToken
5301
+ };
5302
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5303
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeComputeGpuMemoryClusterCompartmentRequest.retryConfiguration, specRetryConfiguration);
5304
+ if (this.logger)
5305
+ retrier.logger = this.logger;
5306
+ const request = yield oci_common_2.composeRequest({
5307
+ baseEndpoint: this._endpoint,
5308
+ defaultHeaders: this._defaultHeaders,
5309
+ path: "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}/actions/changeCompartment",
5310
+ method: "POST",
5311
+ bodyContent: common.ObjectSerializer.serialize(changeComputeGpuMemoryClusterCompartmentRequest.changeComputeGpuMemoryClusterCompartmentDetails, "ChangeComputeGpuMemoryClusterCompartmentDetails", model.ChangeComputeGpuMemoryClusterCompartmentDetails.getJsonObj),
5312
+ pathParams: pathParams,
5313
+ headerParams: headerParams,
5314
+ queryParams: queryParams
5315
+ });
5316
+ try {
5317
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5318
+ const sdkResponse = oci_common_2.composeResponse({
5319
+ responseObject: {},
5320
+ responseHeaders: [
5321
+ {
5322
+ value: response.headers.get("opc-request-id"),
5323
+ key: "opcRequestId",
5324
+ dataType: "string"
5325
+ }
5326
+ ]
5327
+ });
5328
+ return sdkResponse;
5329
+ }
5330
+ catch (err) {
5331
+ throw err;
5332
+ }
5333
+ });
5334
+ }
5335
+ /**
5336
+ * Moves a compute GPU memory fabric into a different compartment. For information about moving resources between
5337
+ * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
5338
+ *
5339
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5340
+ * @param ChangeComputeGpuMemoryFabricCompartmentRequest
5341
+ * @return ChangeComputeGpuMemoryFabricCompartmentResponse
5342
+ * @throws OciError when an error occurs
5343
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ChangeComputeGpuMemoryFabricCompartment.ts.html |here} to see how to use ChangeComputeGpuMemoryFabricCompartment API.
5344
+ */
5345
+ changeComputeGpuMemoryFabricCompartment(changeComputeGpuMemoryFabricCompartmentRequest) {
5346
+ return __awaiter(this, void 0, void 0, function* () {
5347
+ if (this.logger)
5348
+ this.logger.debug("Calling operation ComputeClient#changeComputeGpuMemoryFabricCompartment.");
5349
+ const operationName = "changeComputeGpuMemoryFabricCompartment";
5350
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/ChangeComputeGpuMemoryFabricCompartment";
5351
+ const pathParams = {
5352
+ "{computeGpuMemoryFabricId}": changeComputeGpuMemoryFabricCompartmentRequest.computeGpuMemoryFabricId
5353
+ };
5354
+ const queryParams = {};
5355
+ let headerParams = {
5356
+ "Content-Type": common.Constants.APPLICATION_JSON,
5357
+ "if-match": changeComputeGpuMemoryFabricCompartmentRequest.ifMatch,
5358
+ "opc-request-id": changeComputeGpuMemoryFabricCompartmentRequest.opcRequestId,
5359
+ "opc-retry-token": changeComputeGpuMemoryFabricCompartmentRequest.opcRetryToken
5360
+ };
5361
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5362
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeComputeGpuMemoryFabricCompartmentRequest.retryConfiguration, specRetryConfiguration);
5363
+ if (this.logger)
5364
+ retrier.logger = this.logger;
5365
+ const request = yield oci_common_2.composeRequest({
5366
+ baseEndpoint: this._endpoint,
5367
+ defaultHeaders: this._defaultHeaders,
5368
+ path: "/computeGpuMemoryFabrics/{computeGpuMemoryFabricId}/actions/changeCompartment",
5369
+ method: "POST",
5370
+ bodyContent: common.ObjectSerializer.serialize(changeComputeGpuMemoryFabricCompartmentRequest.changeComputeGpuMemoryFabricCompartmentDetails, "ChangeComputeGpuMemoryFabricCompartmentDetails", model.ChangeComputeGpuMemoryFabricCompartmentDetails.getJsonObj),
5371
+ pathParams: pathParams,
5372
+ headerParams: headerParams,
5373
+ queryParams: queryParams
5374
+ });
5375
+ try {
5376
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5377
+ const sdkResponse = oci_common_2.composeResponse({
5378
+ responseObject: {},
5379
+ responseHeaders: [
5380
+ {
5381
+ value: response.headers.get("opc-request-id"),
5382
+ key: "opcRequestId",
5383
+ dataType: "string"
5384
+ }
5385
+ ]
5386
+ });
5387
+ return sdkResponse;
5388
+ }
5389
+ catch (err) {
5390
+ throw err;
5391
+ }
5392
+ });
5393
+ }
5276
5394
  /**
5277
5395
  * Moves a compute image capability schema into a different compartment within the same tenancy.
5278
5396
  * For information about moving resources between compartments, see
@@ -5897,6 +6015,75 @@ class ComputeClient {
5897
6015
  }
5898
6016
  });
5899
6017
  }
6018
+ /**
6019
+ * Create a compute GPU memory cluster instance on a specific compute GPU memory fabric
6020
+ *
6021
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
6022
+ * @param CreateComputeGpuMemoryClusterRequest
6023
+ * @return CreateComputeGpuMemoryClusterResponse
6024
+ * @throws OciError when an error occurs
6025
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/CreateComputeGpuMemoryCluster.ts.html |here} to see how to use CreateComputeGpuMemoryCluster API.
6026
+ */
6027
+ createComputeGpuMemoryCluster(createComputeGpuMemoryClusterRequest) {
6028
+ return __awaiter(this, void 0, void 0, function* () {
6029
+ if (this.logger)
6030
+ this.logger.debug("Calling operation ComputeClient#createComputeGpuMemoryCluster.");
6031
+ const operationName = "createComputeGpuMemoryCluster";
6032
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/CreateComputeGpuMemoryCluster";
6033
+ const pathParams = {};
6034
+ const queryParams = {};
6035
+ let headerParams = {
6036
+ "Content-Type": common.Constants.APPLICATION_JSON,
6037
+ "opc-retry-token": createComputeGpuMemoryClusterRequest.opcRetryToken,
6038
+ "opc-request-id": createComputeGpuMemoryClusterRequest.opcRequestId
6039
+ };
6040
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6041
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createComputeGpuMemoryClusterRequest.retryConfiguration, specRetryConfiguration);
6042
+ if (this.logger)
6043
+ retrier.logger = this.logger;
6044
+ const request = yield oci_common_2.composeRequest({
6045
+ baseEndpoint: this._endpoint,
6046
+ defaultHeaders: this._defaultHeaders,
6047
+ path: "/computeGpuMemoryClusters",
6048
+ method: "POST",
6049
+ bodyContent: common.ObjectSerializer.serialize(createComputeGpuMemoryClusterRequest.createComputeGpuMemoryClusterDetails, "CreateComputeGpuMemoryClusterDetails", model.CreateComputeGpuMemoryClusterDetails.getJsonObj),
6050
+ pathParams: pathParams,
6051
+ headerParams: headerParams,
6052
+ queryParams: queryParams
6053
+ });
6054
+ try {
6055
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6056
+ const sdkResponse = oci_common_2.composeResponse({
6057
+ responseObject: {},
6058
+ body: yield response.json(),
6059
+ bodyKey: "computeGpuMemoryCluster",
6060
+ bodyModel: model.ComputeGpuMemoryCluster,
6061
+ type: "model.ComputeGpuMemoryCluster",
6062
+ responseHeaders: [
6063
+ {
6064
+ value: response.headers.get("etag"),
6065
+ key: "etag",
6066
+ dataType: "string"
6067
+ },
6068
+ {
6069
+ value: response.headers.get("opc-request-id"),
6070
+ key: "opcRequestId",
6071
+ dataType: "string"
6072
+ },
6073
+ {
6074
+ value: response.headers.get("opc-work-request-id"),
6075
+ key: "opcWorkRequestId",
6076
+ dataType: "string"
6077
+ }
6078
+ ]
6079
+ });
6080
+ return sdkResponse;
6081
+ }
6082
+ catch (err) {
6083
+ throw err;
6084
+ }
6085
+ });
6086
+ }
5900
6087
  /**
5901
6088
  * Creates compute image capability schema.
5902
6089
  *
@@ -6424,6 +6611,66 @@ class ComputeClient {
6424
6611
  }
6425
6612
  });
6426
6613
  }
6614
+ /**
6615
+ * Terminates and deletes the specified compute GPU memory cluster and underlying instances.
6616
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
6617
+ * @param DeleteComputeGpuMemoryClusterRequest
6618
+ * @return DeleteComputeGpuMemoryClusterResponse
6619
+ * @throws OciError when an error occurs
6620
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/DeleteComputeGpuMemoryCluster.ts.html |here} to see how to use DeleteComputeGpuMemoryCluster API.
6621
+ */
6622
+ deleteComputeGpuMemoryCluster(deleteComputeGpuMemoryClusterRequest) {
6623
+ return __awaiter(this, void 0, void 0, function* () {
6624
+ if (this.logger)
6625
+ this.logger.debug("Calling operation ComputeClient#deleteComputeGpuMemoryCluster.");
6626
+ const operationName = "deleteComputeGpuMemoryCluster";
6627
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/DeleteComputeGpuMemoryCluster";
6628
+ const pathParams = {
6629
+ "{computeGpuMemoryClusterId}": deleteComputeGpuMemoryClusterRequest.computeGpuMemoryClusterId
6630
+ };
6631
+ const queryParams = {};
6632
+ let headerParams = {
6633
+ "Content-Type": common.Constants.APPLICATION_JSON,
6634
+ "if-match": deleteComputeGpuMemoryClusterRequest.ifMatch,
6635
+ "opc-request-id": deleteComputeGpuMemoryClusterRequest.opcRequestId
6636
+ };
6637
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
6638
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteComputeGpuMemoryClusterRequest.retryConfiguration, specRetryConfiguration);
6639
+ if (this.logger)
6640
+ retrier.logger = this.logger;
6641
+ const request = yield oci_common_2.composeRequest({
6642
+ baseEndpoint: this._endpoint,
6643
+ defaultHeaders: this._defaultHeaders,
6644
+ path: "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}",
6645
+ method: "DELETE",
6646
+ pathParams: pathParams,
6647
+ headerParams: headerParams,
6648
+ queryParams: queryParams
6649
+ });
6650
+ try {
6651
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6652
+ const sdkResponse = oci_common_2.composeResponse({
6653
+ responseObject: {},
6654
+ responseHeaders: [
6655
+ {
6656
+ value: response.headers.get("opc-request-id"),
6657
+ key: "opcRequestId",
6658
+ dataType: "string"
6659
+ },
6660
+ {
6661
+ value: response.headers.get("opc-work-request-id"),
6662
+ key: "opcWorkRequestId",
6663
+ dataType: "string"
6664
+ }
6665
+ ]
6666
+ });
6667
+ return sdkResponse;
6668
+ }
6669
+ catch (err) {
6670
+ throw err;
6671
+ }
6672
+ });
6673
+ }
6427
6674
  /**
6428
6675
  * Deletes the specified Compute Image Capability Schema
6429
6676
  *
@@ -7532,37 +7779,36 @@ class ComputeClient {
7532
7779
  });
7533
7780
  }
7534
7781
  /**
7535
- * Gets the specified Compute Image Capability Schema
7782
+ * Gets information about the specified compute GPU memory cluster
7536
7783
  *
7537
- * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
7538
- * @param GetComputeImageCapabilitySchemaRequest
7539
- * @return GetComputeImageCapabilitySchemaResponse
7784
+ * This operation does not retry by default if the user has not defined a retry configuration.
7785
+ * @param GetComputeGpuMemoryClusterRequest
7786
+ * @return GetComputeGpuMemoryClusterResponse
7540
7787
  * @throws OciError when an error occurs
7541
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetComputeImageCapabilitySchema.ts.html |here} to see how to use GetComputeImageCapabilitySchema API.
7788
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetComputeGpuMemoryCluster.ts.html |here} to see how to use GetComputeGpuMemoryCluster API.
7542
7789
  */
7543
- getComputeImageCapabilitySchema(getComputeImageCapabilitySchemaRequest) {
7790
+ getComputeGpuMemoryCluster(getComputeGpuMemoryClusterRequest) {
7544
7791
  return __awaiter(this, void 0, void 0, function* () {
7545
7792
  if (this.logger)
7546
- this.logger.debug("Calling operation ComputeClient#getComputeImageCapabilitySchema.");
7547
- const operationName = "getComputeImageCapabilitySchema";
7548
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/GetComputeImageCapabilitySchema";
7793
+ this.logger.debug("Calling operation ComputeClient#getComputeGpuMemoryCluster.");
7794
+ const operationName = "getComputeGpuMemoryCluster";
7795
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/GetComputeGpuMemoryCluster";
7549
7796
  const pathParams = {
7550
- "{computeImageCapabilitySchemaId}": getComputeImageCapabilitySchemaRequest.computeImageCapabilitySchemaId
7551
- };
7552
- const queryParams = {
7553
- "isMergeEnabled": getComputeImageCapabilitySchemaRequest.isMergeEnabled
7797
+ "{computeGpuMemoryClusterId}": getComputeGpuMemoryClusterRequest.computeGpuMemoryClusterId
7554
7798
  };
7799
+ const queryParams = {};
7555
7800
  let headerParams = {
7556
- "Content-Type": common.Constants.APPLICATION_JSON
7801
+ "Content-Type": common.Constants.APPLICATION_JSON,
7802
+ "opc-request-id": getComputeGpuMemoryClusterRequest.opcRequestId
7557
7803
  };
7558
- const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
7559
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getComputeImageCapabilitySchemaRequest.retryConfiguration, specRetryConfiguration);
7804
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
7805
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getComputeGpuMemoryClusterRequest.retryConfiguration, specRetryConfiguration);
7560
7806
  if (this.logger)
7561
7807
  retrier.logger = this.logger;
7562
7808
  const request = yield oci_common_2.composeRequest({
7563
7809
  baseEndpoint: this._endpoint,
7564
7810
  defaultHeaders: this._defaultHeaders,
7565
- path: "/computeImageCapabilitySchemas/{computeImageCapabilitySchemaId}",
7811
+ path: "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}",
7566
7812
  method: "GET",
7567
7813
  pathParams: pathParams,
7568
7814
  headerParams: headerParams,
@@ -7573,9 +7819,9 @@ class ComputeClient {
7573
7819
  const sdkResponse = oci_common_2.composeResponse({
7574
7820
  responseObject: {},
7575
7821
  body: yield response.json(),
7576
- bodyKey: "computeImageCapabilitySchema",
7577
- bodyModel: model.ComputeImageCapabilitySchema,
7578
- type: "model.ComputeImageCapabilitySchema",
7822
+ bodyKey: "computeGpuMemoryCluster",
7823
+ bodyModel: model.ComputeGpuMemoryCluster,
7824
+ type: "model.ComputeGpuMemoryCluster",
7579
7825
  responseHeaders: [
7580
7826
  {
7581
7827
  value: response.headers.get("etag"),
@@ -7597,37 +7843,36 @@ class ComputeClient {
7597
7843
  });
7598
7844
  }
7599
7845
  /**
7600
- * Shows the metadata for the specified console history.
7601
- * See {@link #captureConsoleHistory(CaptureConsoleHistoryRequest) captureConsoleHistory}
7602
- * for details about using the console history operations.
7846
+ * Gets information about the specified compute GPU memory fabric
7603
7847
  *
7604
- * This operation does not retry by default if the user has not defined a retry configuration.
7605
- * @param GetConsoleHistoryRequest
7606
- * @return GetConsoleHistoryResponse
7848
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
7849
+ * @param GetComputeGpuMemoryFabricRequest
7850
+ * @return GetComputeGpuMemoryFabricResponse
7607
7851
  * @throws OciError when an error occurs
7608
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetConsoleHistory.ts.html |here} to see how to use GetConsoleHistory API.
7852
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetComputeGpuMemoryFabric.ts.html |here} to see how to use GetComputeGpuMemoryFabric API.
7609
7853
  */
7610
- getConsoleHistory(getConsoleHistoryRequest) {
7854
+ getComputeGpuMemoryFabric(getComputeGpuMemoryFabricRequest) {
7611
7855
  return __awaiter(this, void 0, void 0, function* () {
7612
7856
  if (this.logger)
7613
- this.logger.debug("Calling operation ComputeClient#getConsoleHistory.");
7614
- const operationName = "getConsoleHistory";
7615
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistory";
7857
+ this.logger.debug("Calling operation ComputeClient#getComputeGpuMemoryFabric.");
7858
+ const operationName = "getComputeGpuMemoryFabric";
7859
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/GetComputeGpuMemoryFabric";
7616
7860
  const pathParams = {
7617
- "{instanceConsoleHistoryId}": getConsoleHistoryRequest.instanceConsoleHistoryId
7861
+ "{computeGpuMemoryFabricId}": getComputeGpuMemoryFabricRequest.computeGpuMemoryFabricId
7618
7862
  };
7619
7863
  const queryParams = {};
7620
7864
  let headerParams = {
7621
- "Content-Type": common.Constants.APPLICATION_JSON
7865
+ "Content-Type": common.Constants.APPLICATION_JSON,
7866
+ "opc-request-id": getComputeGpuMemoryFabricRequest.opcRequestId
7622
7867
  };
7623
- const specRetryConfiguration = common.NoRetryConfigurationDetails;
7624
- const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConsoleHistoryRequest.retryConfiguration, specRetryConfiguration);
7868
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
7869
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getComputeGpuMemoryFabricRequest.retryConfiguration, specRetryConfiguration);
7625
7870
  if (this.logger)
7626
7871
  retrier.logger = this.logger;
7627
7872
  const request = yield oci_common_2.composeRequest({
7628
7873
  baseEndpoint: this._endpoint,
7629
7874
  defaultHeaders: this._defaultHeaders,
7630
- path: "/instanceConsoleHistories/{instanceConsoleHistoryId}",
7875
+ path: "/computeGpuMemoryFabrics/{computeGpuMemoryFabricId}",
7631
7876
  method: "GET",
7632
7877
  pathParams: pathParams,
7633
7878
  headerParams: headerParams,
@@ -7638,9 +7883,9 @@ class ComputeClient {
7638
7883
  const sdkResponse = oci_common_2.composeResponse({
7639
7884
  responseObject: {},
7640
7885
  body: yield response.json(),
7641
- bodyKey: "consoleHistory",
7642
- bodyModel: model.ConsoleHistory,
7643
- type: "model.ConsoleHistory",
7886
+ bodyKey: "computeGpuMemoryFabric",
7887
+ bodyModel: model.ComputeGpuMemoryFabric,
7888
+ type: "model.ComputeGpuMemoryFabric",
7644
7889
  responseHeaders: [
7645
7890
  {
7646
7891
  value: response.headers.get("etag"),
@@ -7662,24 +7907,154 @@ class ComputeClient {
7662
7907
  });
7663
7908
  }
7664
7909
  /**
7665
- * Gets the actual console history data (not the metadata).
7666
- * See {@link #captureConsoleHistory(CaptureConsoleHistoryRequest) captureConsoleHistory}
7667
- * for details about using the console history operations.
7910
+ * Gets the specified Compute Image Capability Schema
7668
7911
  *
7669
- * This operation does not retry by default if the user has not defined a retry configuration.
7670
- * @param GetConsoleHistoryContentRequest
7671
- * @return GetConsoleHistoryContentResponse
7912
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
7913
+ * @param GetComputeImageCapabilitySchemaRequest
7914
+ * @return GetComputeImageCapabilitySchemaResponse
7672
7915
  * @throws OciError when an error occurs
7673
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetConsoleHistoryContent.ts.html |here} to see how to use GetConsoleHistoryContent API.
7916
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetComputeImageCapabilitySchema.ts.html |here} to see how to use GetComputeImageCapabilitySchema API.
7674
7917
  */
7675
- getConsoleHistoryContent(getConsoleHistoryContentRequest) {
7918
+ getComputeImageCapabilitySchema(getComputeImageCapabilitySchemaRequest) {
7676
7919
  return __awaiter(this, void 0, void 0, function* () {
7677
7920
  if (this.logger)
7678
- this.logger.debug("Calling operation ComputeClient#getConsoleHistoryContent.");
7679
- const operationName = "getConsoleHistoryContent";
7680
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistoryContent";
7921
+ this.logger.debug("Calling operation ComputeClient#getComputeImageCapabilitySchema.");
7922
+ const operationName = "getComputeImageCapabilitySchema";
7923
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/GetComputeImageCapabilitySchema";
7681
7924
  const pathParams = {
7682
- "{instanceConsoleHistoryId}": getConsoleHistoryContentRequest.instanceConsoleHistoryId
7925
+ "{computeImageCapabilitySchemaId}": getComputeImageCapabilitySchemaRequest.computeImageCapabilitySchemaId
7926
+ };
7927
+ const queryParams = {
7928
+ "isMergeEnabled": getComputeImageCapabilitySchemaRequest.isMergeEnabled
7929
+ };
7930
+ let headerParams = {
7931
+ "Content-Type": common.Constants.APPLICATION_JSON
7932
+ };
7933
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
7934
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getComputeImageCapabilitySchemaRequest.retryConfiguration, specRetryConfiguration);
7935
+ if (this.logger)
7936
+ retrier.logger = this.logger;
7937
+ const request = yield oci_common_2.composeRequest({
7938
+ baseEndpoint: this._endpoint,
7939
+ defaultHeaders: this._defaultHeaders,
7940
+ path: "/computeImageCapabilitySchemas/{computeImageCapabilitySchemaId}",
7941
+ method: "GET",
7942
+ pathParams: pathParams,
7943
+ headerParams: headerParams,
7944
+ queryParams: queryParams
7945
+ });
7946
+ try {
7947
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
7948
+ const sdkResponse = oci_common_2.composeResponse({
7949
+ responseObject: {},
7950
+ body: yield response.json(),
7951
+ bodyKey: "computeImageCapabilitySchema",
7952
+ bodyModel: model.ComputeImageCapabilitySchema,
7953
+ type: "model.ComputeImageCapabilitySchema",
7954
+ responseHeaders: [
7955
+ {
7956
+ value: response.headers.get("etag"),
7957
+ key: "etag",
7958
+ dataType: "string"
7959
+ },
7960
+ {
7961
+ value: response.headers.get("opc-request-id"),
7962
+ key: "opcRequestId",
7963
+ dataType: "string"
7964
+ }
7965
+ ]
7966
+ });
7967
+ return sdkResponse;
7968
+ }
7969
+ catch (err) {
7970
+ throw err;
7971
+ }
7972
+ });
7973
+ }
7974
+ /**
7975
+ * Shows the metadata for the specified console history.
7976
+ * See {@link #captureConsoleHistory(CaptureConsoleHistoryRequest) captureConsoleHistory}
7977
+ * for details about using the console history operations.
7978
+ *
7979
+ * This operation does not retry by default if the user has not defined a retry configuration.
7980
+ * @param GetConsoleHistoryRequest
7981
+ * @return GetConsoleHistoryResponse
7982
+ * @throws OciError when an error occurs
7983
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetConsoleHistory.ts.html |here} to see how to use GetConsoleHistory API.
7984
+ */
7985
+ getConsoleHistory(getConsoleHistoryRequest) {
7986
+ return __awaiter(this, void 0, void 0, function* () {
7987
+ if (this.logger)
7988
+ this.logger.debug("Calling operation ComputeClient#getConsoleHistory.");
7989
+ const operationName = "getConsoleHistory";
7990
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistory";
7991
+ const pathParams = {
7992
+ "{instanceConsoleHistoryId}": getConsoleHistoryRequest.instanceConsoleHistoryId
7993
+ };
7994
+ const queryParams = {};
7995
+ let headerParams = {
7996
+ "Content-Type": common.Constants.APPLICATION_JSON
7997
+ };
7998
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
7999
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConsoleHistoryRequest.retryConfiguration, specRetryConfiguration);
8000
+ if (this.logger)
8001
+ retrier.logger = this.logger;
8002
+ const request = yield oci_common_2.composeRequest({
8003
+ baseEndpoint: this._endpoint,
8004
+ defaultHeaders: this._defaultHeaders,
8005
+ path: "/instanceConsoleHistories/{instanceConsoleHistoryId}",
8006
+ method: "GET",
8007
+ pathParams: pathParams,
8008
+ headerParams: headerParams,
8009
+ queryParams: queryParams
8010
+ });
8011
+ try {
8012
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
8013
+ const sdkResponse = oci_common_2.composeResponse({
8014
+ responseObject: {},
8015
+ body: yield response.json(),
8016
+ bodyKey: "consoleHistory",
8017
+ bodyModel: model.ConsoleHistory,
8018
+ type: "model.ConsoleHistory",
8019
+ responseHeaders: [
8020
+ {
8021
+ value: response.headers.get("etag"),
8022
+ key: "etag",
8023
+ dataType: "string"
8024
+ },
8025
+ {
8026
+ value: response.headers.get("opc-request-id"),
8027
+ key: "opcRequestId",
8028
+ dataType: "string"
8029
+ }
8030
+ ]
8031
+ });
8032
+ return sdkResponse;
8033
+ }
8034
+ catch (err) {
8035
+ throw err;
8036
+ }
8037
+ });
8038
+ }
8039
+ /**
8040
+ * Gets the actual console history data (not the metadata).
8041
+ * See {@link #captureConsoleHistory(CaptureConsoleHistoryRequest) captureConsoleHistory}
8042
+ * for details about using the console history operations.
8043
+ *
8044
+ * This operation does not retry by default if the user has not defined a retry configuration.
8045
+ * @param GetConsoleHistoryContentRequest
8046
+ * @return GetConsoleHistoryContentResponse
8047
+ * @throws OciError when an error occurs
8048
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetConsoleHistoryContent.ts.html |here} to see how to use GetConsoleHistoryContent API.
8049
+ */
8050
+ getConsoleHistoryContent(getConsoleHistoryContentRequest) {
8051
+ return __awaiter(this, void 0, void 0, function* () {
8052
+ if (this.logger)
8053
+ this.logger.debug("Calling operation ComputeClient#getConsoleHistoryContent.");
8054
+ const operationName = "getConsoleHistoryContent";
8055
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistoryContent";
8056
+ const pathParams = {
8057
+ "{instanceConsoleHistoryId}": getConsoleHistoryContentRequest.instanceConsoleHistoryId
7683
8058
  };
7684
8059
  const queryParams = {
7685
8060
  "offset": getConsoleHistoryContentRequest.offset,
@@ -9968,6 +10343,231 @@ class ComputeClient {
9968
10343
  listComputeGlobalImageCapabilitySchemasResponseIterator(request) {
9969
10344
  return oci_common_1.paginateResponses(request, req => this.listComputeGlobalImageCapabilitySchemas(req));
9970
10345
  }
10346
+ /**
10347
+ * List all of the GPU memory cluster instances.
10348
+ *
10349
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
10350
+ * @param ListComputeGpuMemoryClusterInstancesRequest
10351
+ * @return ListComputeGpuMemoryClusterInstancesResponse
10352
+ * @throws OciError when an error occurs
10353
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ListComputeGpuMemoryClusterInstances.ts.html |here} to see how to use ListComputeGpuMemoryClusterInstances API.
10354
+ */
10355
+ listComputeGpuMemoryClusterInstances(listComputeGpuMemoryClusterInstancesRequest) {
10356
+ return __awaiter(this, void 0, void 0, function* () {
10357
+ if (this.logger)
10358
+ this.logger.debug("Calling operation ComputeClient#listComputeGpuMemoryClusterInstances.");
10359
+ const operationName = "listComputeGpuMemoryClusterInstances";
10360
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryClusterInstanceSummary/ListComputeGpuMemoryClusterInstances";
10361
+ const pathParams = {
10362
+ "{computeGpuMemoryClusterId}": listComputeGpuMemoryClusterInstancesRequest.computeGpuMemoryClusterId
10363
+ };
10364
+ const queryParams = {
10365
+ "page": listComputeGpuMemoryClusterInstancesRequest.page,
10366
+ "sortBy": listComputeGpuMemoryClusterInstancesRequest.sortBy,
10367
+ "sortOrder": listComputeGpuMemoryClusterInstancesRequest.sortOrder,
10368
+ "limit": listComputeGpuMemoryClusterInstancesRequest.limit
10369
+ };
10370
+ let headerParams = {
10371
+ "Content-Type": common.Constants.APPLICATION_JSON,
10372
+ "opc-request-id": listComputeGpuMemoryClusterInstancesRequest.opcRequestId
10373
+ };
10374
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
10375
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listComputeGpuMemoryClusterInstancesRequest.retryConfiguration, specRetryConfiguration);
10376
+ if (this.logger)
10377
+ retrier.logger = this.logger;
10378
+ const request = yield oci_common_2.composeRequest({
10379
+ baseEndpoint: this._endpoint,
10380
+ defaultHeaders: this._defaultHeaders,
10381
+ path: "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}/instances",
10382
+ method: "GET",
10383
+ pathParams: pathParams,
10384
+ headerParams: headerParams,
10385
+ queryParams: queryParams
10386
+ });
10387
+ try {
10388
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
10389
+ const sdkResponse = oci_common_2.composeResponse({
10390
+ responseObject: {},
10391
+ body: yield response.json(),
10392
+ bodyKey: "computeGpuMemoryClusterInstanceCollection",
10393
+ bodyModel: model.ComputeGpuMemoryClusterInstanceCollection,
10394
+ type: "model.ComputeGpuMemoryClusterInstanceCollection",
10395
+ responseHeaders: [
10396
+ {
10397
+ value: response.headers.get("etag"),
10398
+ key: "etag",
10399
+ dataType: "string"
10400
+ },
10401
+ {
10402
+ value: response.headers.get("opc-next-page"),
10403
+ key: "opcNextPage",
10404
+ dataType: "string"
10405
+ },
10406
+ {
10407
+ value: response.headers.get("opc-request-id"),
10408
+ key: "opcRequestId",
10409
+ dataType: "string"
10410
+ }
10411
+ ]
10412
+ });
10413
+ return sdkResponse;
10414
+ }
10415
+ catch (err) {
10416
+ throw err;
10417
+ }
10418
+ });
10419
+ }
10420
+ /**
10421
+ * List all of the compute GPU memory clusters.
10422
+ *
10423
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
10424
+ * @param ListComputeGpuMemoryClustersRequest
10425
+ * @return ListComputeGpuMemoryClustersResponse
10426
+ * @throws OciError when an error occurs
10427
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ListComputeGpuMemoryClusters.ts.html |here} to see how to use ListComputeGpuMemoryClusters API.
10428
+ */
10429
+ listComputeGpuMemoryClusters(listComputeGpuMemoryClustersRequest) {
10430
+ return __awaiter(this, void 0, void 0, function* () {
10431
+ if (this.logger)
10432
+ this.logger.debug("Calling operation ComputeClient#listComputeGpuMemoryClusters.");
10433
+ const operationName = "listComputeGpuMemoryClusters";
10434
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryClusterCollection/ListComputeGpuMemoryClusters";
10435
+ const pathParams = {};
10436
+ const queryParams = {
10437
+ "computeGpuMemoryClusterId": listComputeGpuMemoryClustersRequest.computeGpuMemoryClusterId,
10438
+ "availabilityDomain": listComputeGpuMemoryClustersRequest.availabilityDomain,
10439
+ "compartmentId": listComputeGpuMemoryClustersRequest.compartmentId,
10440
+ "displayName": listComputeGpuMemoryClustersRequest.displayName,
10441
+ "computeClusterId": listComputeGpuMemoryClustersRequest.computeClusterId,
10442
+ "page": listComputeGpuMemoryClustersRequest.page,
10443
+ "sortBy": listComputeGpuMemoryClustersRequest.sortBy,
10444
+ "sortOrder": listComputeGpuMemoryClustersRequest.sortOrder,
10445
+ "limit": listComputeGpuMemoryClustersRequest.limit
10446
+ };
10447
+ let headerParams = {
10448
+ "Content-Type": common.Constants.APPLICATION_JSON,
10449
+ "opc-request-id": listComputeGpuMemoryClustersRequest.opcRequestId
10450
+ };
10451
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
10452
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listComputeGpuMemoryClustersRequest.retryConfiguration, specRetryConfiguration);
10453
+ if (this.logger)
10454
+ retrier.logger = this.logger;
10455
+ const request = yield oci_common_2.composeRequest({
10456
+ baseEndpoint: this._endpoint,
10457
+ defaultHeaders: this._defaultHeaders,
10458
+ path: "/computeGpuMemoryClusters",
10459
+ method: "GET",
10460
+ pathParams: pathParams,
10461
+ headerParams: headerParams,
10462
+ queryParams: queryParams
10463
+ });
10464
+ try {
10465
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
10466
+ const sdkResponse = oci_common_2.composeResponse({
10467
+ responseObject: {},
10468
+ body: yield response.json(),
10469
+ bodyKey: "computeGpuMemoryClusterCollection",
10470
+ bodyModel: model.ComputeGpuMemoryClusterCollection,
10471
+ type: "model.ComputeGpuMemoryClusterCollection",
10472
+ responseHeaders: [
10473
+ {
10474
+ value: response.headers.get("etag"),
10475
+ key: "etag",
10476
+ dataType: "string"
10477
+ },
10478
+ {
10479
+ value: response.headers.get("opc-next-page"),
10480
+ key: "opcNextPage",
10481
+ dataType: "string"
10482
+ },
10483
+ {
10484
+ value: response.headers.get("opc-request-id"),
10485
+ key: "opcRequestId",
10486
+ dataType: "string"
10487
+ }
10488
+ ]
10489
+ });
10490
+ return sdkResponse;
10491
+ }
10492
+ catch (err) {
10493
+ throw err;
10494
+ }
10495
+ });
10496
+ }
10497
+ /**
10498
+ * Lists the compute GPU memory fabrics that match the specified criteria and compartmentId.
10499
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
10500
+ * @param ListComputeGpuMemoryFabricsRequest
10501
+ * @return ListComputeGpuMemoryFabricsResponse
10502
+ * @throws OciError when an error occurs
10503
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ListComputeGpuMemoryFabrics.ts.html |here} to see how to use ListComputeGpuMemoryFabrics API.
10504
+ */
10505
+ listComputeGpuMemoryFabrics(listComputeGpuMemoryFabricsRequest) {
10506
+ return __awaiter(this, void 0, void 0, function* () {
10507
+ if (this.logger)
10508
+ this.logger.debug("Calling operation ComputeClient#listComputeGpuMemoryFabrics.");
10509
+ const operationName = "listComputeGpuMemoryFabrics";
10510
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/ListComputeGpuMemoryFabrics";
10511
+ const pathParams = {};
10512
+ const queryParams = {
10513
+ "computeGpuMemoryFabricId": listComputeGpuMemoryFabricsRequest.computeGpuMemoryFabricId,
10514
+ "availabilityDomain": listComputeGpuMemoryFabricsRequest.availabilityDomain,
10515
+ "compartmentId": listComputeGpuMemoryFabricsRequest.compartmentId,
10516
+ "displayName": listComputeGpuMemoryFabricsRequest.displayName,
10517
+ "computeHpcIslandId": listComputeGpuMemoryFabricsRequest.computeHpcIslandId,
10518
+ "computeNetworkBlockId": listComputeGpuMemoryFabricsRequest.computeNetworkBlockId,
10519
+ "computeGpuMemoryFabricLifecycleState": listComputeGpuMemoryFabricsRequest.computeGpuMemoryFabricLifecycleState,
10520
+ "computeGpuMemoryFabricHealth": listComputeGpuMemoryFabricsRequest.computeGpuMemoryFabricHealth,
10521
+ "limit": listComputeGpuMemoryFabricsRequest.limit,
10522
+ "page": listComputeGpuMemoryFabricsRequest.page,
10523
+ "sortBy": listComputeGpuMemoryFabricsRequest.sortBy,
10524
+ "sortOrder": listComputeGpuMemoryFabricsRequest.sortOrder
10525
+ };
10526
+ let headerParams = {
10527
+ "Content-Type": common.Constants.APPLICATION_JSON,
10528
+ "opc-request-id": listComputeGpuMemoryFabricsRequest.opcRequestId
10529
+ };
10530
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
10531
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listComputeGpuMemoryFabricsRequest.retryConfiguration, specRetryConfiguration);
10532
+ if (this.logger)
10533
+ retrier.logger = this.logger;
10534
+ const request = yield oci_common_2.composeRequest({
10535
+ baseEndpoint: this._endpoint,
10536
+ defaultHeaders: this._defaultHeaders,
10537
+ path: "/computeGpuMemoryFabrics",
10538
+ method: "GET",
10539
+ pathParams: pathParams,
10540
+ headerParams: headerParams,
10541
+ queryParams: queryParams
10542
+ });
10543
+ try {
10544
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
10545
+ const sdkResponse = oci_common_2.composeResponse({
10546
+ responseObject: {},
10547
+ body: yield response.json(),
10548
+ bodyKey: "computeGpuMemoryFabricCollection",
10549
+ bodyModel: model.ComputeGpuMemoryFabricCollection,
10550
+ type: "model.ComputeGpuMemoryFabricCollection",
10551
+ responseHeaders: [
10552
+ {
10553
+ value: response.headers.get("opc-next-page"),
10554
+ key: "opcNextPage",
10555
+ dataType: "string"
10556
+ },
10557
+ {
10558
+ value: response.headers.get("opc-request-id"),
10559
+ key: "opcRequestId",
10560
+ dataType: "string"
10561
+ }
10562
+ ]
10563
+ });
10564
+ return sdkResponse;
10565
+ }
10566
+ catch (err) {
10567
+ throw err;
10568
+ }
10569
+ });
10570
+ }
9971
10571
  /**
9972
10572
  * Lists Compute Image Capability Schema in the specified compartment. You can also query by a specific imageId.
9973
10573
  *
@@ -11962,6 +12562,145 @@ class ComputeClient {
11962
12562
  }
11963
12563
  });
11964
12564
  }
12565
+ /**
12566
+ * Updates a compute gpu memory cluster resource.
12567
+ *
12568
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
12569
+ * @param UpdateComputeGpuMemoryClusterRequest
12570
+ * @return UpdateComputeGpuMemoryClusterResponse
12571
+ * @throws OciError when an error occurs
12572
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/UpdateComputeGpuMemoryCluster.ts.html |here} to see how to use UpdateComputeGpuMemoryCluster API.
12573
+ */
12574
+ updateComputeGpuMemoryCluster(updateComputeGpuMemoryClusterRequest) {
12575
+ return __awaiter(this, void 0, void 0, function* () {
12576
+ if (this.logger)
12577
+ this.logger.debug("Calling operation ComputeClient#updateComputeGpuMemoryCluster.");
12578
+ const operationName = "updateComputeGpuMemoryCluster";
12579
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/UpdateComputeGpuMemoryCluster";
12580
+ const pathParams = {
12581
+ "{computeGpuMemoryClusterId}": updateComputeGpuMemoryClusterRequest.computeGpuMemoryClusterId
12582
+ };
12583
+ const queryParams = {};
12584
+ let headerParams = {
12585
+ "Content-Type": common.Constants.APPLICATION_JSON,
12586
+ "if-match": updateComputeGpuMemoryClusterRequest.ifMatch,
12587
+ "opc-request-id": updateComputeGpuMemoryClusterRequest.opcRequestId,
12588
+ "opc-retry-token": updateComputeGpuMemoryClusterRequest.opcRetryToken
12589
+ };
12590
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
12591
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateComputeGpuMemoryClusterRequest.retryConfiguration, specRetryConfiguration);
12592
+ if (this.logger)
12593
+ retrier.logger = this.logger;
12594
+ const request = yield oci_common_2.composeRequest({
12595
+ baseEndpoint: this._endpoint,
12596
+ defaultHeaders: this._defaultHeaders,
12597
+ path: "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}",
12598
+ method: "PUT",
12599
+ bodyContent: common.ObjectSerializer.serialize(updateComputeGpuMemoryClusterRequest.updateComputeGpuMemoryClusterDetails, "UpdateComputeGpuMemoryClusterDetails", model.UpdateComputeGpuMemoryClusterDetails.getJsonObj),
12600
+ pathParams: pathParams,
12601
+ headerParams: headerParams,
12602
+ queryParams: queryParams
12603
+ });
12604
+ try {
12605
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
12606
+ const sdkResponse = oci_common_2.composeResponse({
12607
+ responseObject: {},
12608
+ body: yield response.json(),
12609
+ bodyKey: "computeGpuMemoryCluster",
12610
+ bodyModel: model.ComputeGpuMemoryCluster,
12611
+ type: "model.ComputeGpuMemoryCluster",
12612
+ responseHeaders: [
12613
+ {
12614
+ value: response.headers.get("etag"),
12615
+ key: "etag",
12616
+ dataType: "string"
12617
+ },
12618
+ {
12619
+ value: response.headers.get("opc-request-id"),
12620
+ key: "opcRequestId",
12621
+ dataType: "string"
12622
+ },
12623
+ {
12624
+ value: response.headers.get("opc-work-request-id"),
12625
+ key: "opcWorkRequestId",
12626
+ dataType: "string"
12627
+ }
12628
+ ]
12629
+ });
12630
+ return sdkResponse;
12631
+ }
12632
+ catch (err) {
12633
+ throw err;
12634
+ }
12635
+ });
12636
+ }
12637
+ /**
12638
+ * Customer can update displayName and tags for compute GPU memory fabric record
12639
+ *
12640
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
12641
+ * @param UpdateComputeGpuMemoryFabricRequest
12642
+ * @return UpdateComputeGpuMemoryFabricResponse
12643
+ * @throws OciError when an error occurs
12644
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/UpdateComputeGpuMemoryFabric.ts.html |here} to see how to use UpdateComputeGpuMemoryFabric API.
12645
+ */
12646
+ updateComputeGpuMemoryFabric(updateComputeGpuMemoryFabricRequest) {
12647
+ return __awaiter(this, void 0, void 0, function* () {
12648
+ if (this.logger)
12649
+ this.logger.debug("Calling operation ComputeClient#updateComputeGpuMemoryFabric.");
12650
+ const operationName = "updateComputeGpuMemoryFabric";
12651
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/UpdateComputeGpuMemoryFabric";
12652
+ const pathParams = {
12653
+ "{computeGpuMemoryFabricId}": updateComputeGpuMemoryFabricRequest.computeGpuMemoryFabricId
12654
+ };
12655
+ const queryParams = {};
12656
+ let headerParams = {
12657
+ "Content-Type": common.Constants.APPLICATION_JSON,
12658
+ "if-match": updateComputeGpuMemoryFabricRequest.ifMatch,
12659
+ "opc-request-id": updateComputeGpuMemoryFabricRequest.opcRequestId,
12660
+ "opc-retry-token": updateComputeGpuMemoryFabricRequest.opcRetryToken
12661
+ };
12662
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
12663
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateComputeGpuMemoryFabricRequest.retryConfiguration, specRetryConfiguration);
12664
+ if (this.logger)
12665
+ retrier.logger = this.logger;
12666
+ const request = yield oci_common_2.composeRequest({
12667
+ baseEndpoint: this._endpoint,
12668
+ defaultHeaders: this._defaultHeaders,
12669
+ path: "/computeGpuMemoryFabrics/{computeGpuMemoryFabricId}",
12670
+ method: "PUT",
12671
+ bodyContent: common.ObjectSerializer.serialize(updateComputeGpuMemoryFabricRequest.updateComputeGpuMemoryFabricDetails, "UpdateComputeGpuMemoryFabricDetails", model.UpdateComputeGpuMemoryFabricDetails.getJsonObj),
12672
+ pathParams: pathParams,
12673
+ headerParams: headerParams,
12674
+ queryParams: queryParams
12675
+ });
12676
+ try {
12677
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
12678
+ const sdkResponse = oci_common_2.composeResponse({
12679
+ responseObject: {},
12680
+ body: yield response.json(),
12681
+ bodyKey: "computeGpuMemoryFabric",
12682
+ bodyModel: model.ComputeGpuMemoryFabric,
12683
+ type: "model.ComputeGpuMemoryFabric",
12684
+ responseHeaders: [
12685
+ {
12686
+ value: response.headers.get("etag"),
12687
+ key: "etag",
12688
+ dataType: "string"
12689
+ },
12690
+ {
12691
+ value: response.headers.get("opc-request-id"),
12692
+ key: "opcRequestId",
12693
+ dataType: "string"
12694
+ }
12695
+ ]
12696
+ });
12697
+ return sdkResponse;
12698
+ }
12699
+ catch (err) {
12700
+ throw err;
12701
+ }
12702
+ });
12703
+ }
11965
12704
  /**
11966
12705
  * Updates the specified Compute Image Capability Schema
11967
12706
  *