oci-core 2.109.1 → 2.111.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.
- package/lib/client.d.ts +77 -3
- package/lib/client.js +541 -5
- package/lib/client.js.map +1 -1
- package/lib/compute-waiter.d.ts +58 -0
- package/lib/compute-waiter.js +111 -0
- package/lib/compute-waiter.js.map +1 -1
- package/lib/model/attach-compute-host-group-host-details.d.ts +33 -0
- package/lib/model/attach-compute-host-group-host-details.js +36 -0
- package/lib/model/attach-compute-host-group-host-details.js.map +1 -0
- package/lib/model/change-compute-host-group-compartment-details.d.ts +34 -0
- package/lib/model/change-compute-host-group-compartment-details.js +36 -0
- package/lib/model/change-compute-host-group-compartment-details.js.map +1 -0
- package/lib/model/compute-bare-metal-host-placement-constraint-details.d.ts +36 -0
- package/lib/model/compute-bare-metal-host-placement-constraint-details.js +61 -0
- package/lib/model/compute-bare-metal-host-placement-constraint-details.js.map +1 -0
- package/lib/model/compute-host-configuration-check-details.d.ts +73 -0
- package/lib/model/compute-host-configuration-check-details.js +56 -0
- package/lib/model/compute-host-configuration-check-details.js.map +1 -0
- package/lib/model/compute-host-configuration-data.d.ts +35 -0
- package/lib/model/compute-host-configuration-data.js +64 -0
- package/lib/model/compute-host-configuration-data.js.map +1 -0
- package/lib/model/compute-host-group-collection.d.ts +34 -0
- package/lib/model/compute-host-group-collection.js +68 -0
- package/lib/model/compute-host-group-collection.js.map +1 -0
- package/lib/model/compute-host-group-summary.d.ts +106 -0
- package/lib/model/compute-host-group-summary.js +36 -0
- package/lib/model/compute-host-group-summary.js.map +1 -0
- package/lib/model/compute-host-group.d.ts +123 -0
- package/lib/model/compute-host-group.js +78 -0
- package/lib/model/compute-host-group.js.map +1 -0
- package/lib/model/compute-host-summary.d.ts +7 -0
- package/lib/model/compute-host-summary.js +30 -2
- package/lib/model/compute-host-summary.js.map +1 -1
- package/lib/model/compute-host.d.ts +20 -0
- package/lib/model/compute-host.js +36 -2
- package/lib/model/compute-host.js.map +1 -1
- package/lib/model/configuration-state.d.ts +44 -0
- package/lib/model/configuration-state.js +55 -0
- package/lib/model/configuration-state.js.map +1 -0
- package/lib/model/create-compute-host-group-details.d.ts +78 -0
- package/lib/model/create-compute-host-group-details.js +68 -0
- package/lib/model/create-compute-host-group-details.js.map +1 -0
- package/lib/model/create-dedicated-vm-host-details.d.ts +2 -0
- package/lib/model/create-dedicated-vm-host-details.js +30 -2
- package/lib/model/create-dedicated-vm-host-details.js.map +1 -1
- package/lib/model/create-ipv6-details.d.ts +2 -2
- package/lib/model/create-local-peering-gateway-details.d.ts +13 -0
- package/lib/model/create-local-peering-gateway-details.js.map +1 -1
- package/lib/model/create-private-ip-details.d.ts +2 -2
- package/lib/model/create-vcn-details.d.ts +5 -0
- package/lib/model/create-vcn-details.js.map +1 -1
- package/lib/model/create-volume-details.d.ts +2 -1
- package/lib/model/create-volume-details.js.map +1 -1
- package/lib/model/dedicated-vm-host.d.ts +2 -0
- package/lib/model/dedicated-vm-host.js +30 -2
- package/lib/model/dedicated-vm-host.js.map +1 -1
- package/lib/model/detach-compute-host-group-host-details.d.ts +33 -0
- package/lib/model/detach-compute-host-group-host-details.js +36 -0
- package/lib/model/detach-compute-host-group-host-details.js.map +1 -0
- package/lib/model/host-group-configuration.d.ts +52 -0
- package/lib/model/host-group-configuration.js +46 -0
- package/lib/model/host-group-configuration.js.map +1 -0
- package/lib/model/host-group-placement-constraint-details.d.ts +36 -0
- package/lib/model/host-group-placement-constraint-details.js +61 -0
- package/lib/model/host-group-placement-constraint-details.js.map +1 -0
- package/lib/model/index.d.ts +32 -0
- package/lib/model/index.js +46 -13
- package/lib/model/index.js.map +1 -1
- package/lib/model/instance-configuration-create-volume-details.d.ts +2 -1
- package/lib/model/instance-configuration-create-volume-details.js.map +1 -1
- package/lib/model/instance.d.ts +6 -0
- package/lib/model/instance.js +6 -0
- package/lib/model/instance.js.map +1 -1
- package/lib/model/ipv6.d.ts +2 -2
- package/lib/model/launch-instance-details.d.ts +5 -0
- package/lib/model/launch-instance-details.js +6 -0
- package/lib/model/launch-instance-details.js.map +1 -1
- package/lib/model/local-peering-gateway.d.ts +13 -0
- package/lib/model/local-peering-gateway.js.map +1 -1
- package/lib/model/placement-constraint-details.d.ts +30 -0
- package/lib/model/placement-constraint-details.js +79 -0
- package/lib/model/placement-constraint-details.js.map +1 -0
- package/lib/model/private-ip.d.ts +2 -2
- package/lib/model/recycle-details.d.ts +50 -0
- package/lib/model/recycle-details.js +46 -0
- package/lib/model/recycle-details.js.map +1 -0
- package/lib/model/update-compute-host-group-details.d.ts +66 -0
- package/lib/model/update-compute-host-group-details.js +68 -0
- package/lib/model/update-compute-host-group-details.js.map +1 -0
- package/lib/model/update-ipv6-details.d.ts +2 -2
- package/lib/model/update-local-peering-gateway-details.d.ts +13 -0
- package/lib/model/update-local-peering-gateway-details.js.map +1 -1
- package/lib/model/update-private-ip-details.d.ts +2 -2
- package/lib/model/update-vcn-details.d.ts +5 -0
- package/lib/model/update-vcn-details.js.map +1 -1
- package/lib/model/update-vnic-details.d.ts +1 -1
- package/lib/model/update-volume-details.d.ts +2 -1
- package/lib/model/update-volume-details.js.map +1 -1
- package/lib/model/vcn.d.ts +5 -0
- package/lib/model/vcn.js.map +1 -1
- package/lib/model/vnic.d.ts +1 -1
- package/lib/model/volume.d.ts +2 -1
- package/lib/model/volume.js.map +1 -1
- package/lib/request/attach-compute-host-group-host-request.d.ts +50 -0
- package/lib/request/attach-compute-host-group-host-request.js +15 -0
- package/lib/request/attach-compute-host-group-host-request.js.map +1 -0
- package/lib/request/change-compute-host-group-compartment-request.d.ts +50 -0
- package/lib/request/change-compute-host-group-compartment-request.js +15 -0
- package/lib/request/change-compute-host-group-compartment-request.js.map +1 -0
- package/lib/request/create-compute-host-group-request.d.ts +38 -0
- package/lib/request/create-compute-host-group-request.js +15 -0
- package/lib/request/create-compute-host-group-request.js.map +1 -0
- package/lib/request/delete-compute-host-group-request.d.ts +36 -0
- package/lib/request/delete-compute-host-group-request.js +15 -0
- package/lib/request/delete-compute-host-group-request.js.map +1 -0
- package/lib/request/detach-compute-host-group-host-request.d.ts +50 -0
- package/lib/request/detach-compute-host-group-host-request.js +15 -0
- package/lib/request/detach-compute-host-group-host-request.js.map +1 -0
- package/lib/request/get-compute-host-group-request.d.ts +29 -0
- package/lib/request/get-compute-host-group-request.js +15 -0
- package/lib/request/get-compute-host-group-request.js.map +1 -0
- package/lib/request/index.d.ts +16 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-compute-host-groups-request.d.ts +44 -0
- package/lib/request/list-compute-host-groups-request.js +15 -0
- package/lib/request/list-compute-host-groups-request.js.map +1 -0
- package/lib/request/list-compute-hosts-request.d.ts +5 -0
- package/lib/request/list-compute-hosts-request.js.map +1 -1
- package/lib/request/update-compute-host-group-request.d.ts +50 -0
- package/lib/request/update-compute-host-group-request.js +15 -0
- package/lib/request/update-compute-host-group-request.js.map +1 -0
- package/lib/request/update-compute-host-request.d.ts +9 -0
- package/lib/response/attach-compute-host-group-host-response.d.ts +42 -0
- package/lib/response/attach-compute-host-group-host-response.js +15 -0
- package/lib/response/attach-compute-host-group-host-response.js.map +1 -0
- package/lib/response/change-compute-host-group-compartment-response.d.ts +27 -0
- package/lib/response/change-compute-host-group-compartment-response.js +15 -0
- package/lib/response/change-compute-host-group-compartment-response.js.map +1 -0
- package/lib/response/create-compute-host-group-response.d.ts +42 -0
- package/lib/response/create-compute-host-group-response.js +15 -0
- package/lib/response/create-compute-host-group-response.js.map +1 -0
- package/lib/response/delete-compute-host-group-response.d.ts +20 -0
- package/lib/response/delete-compute-host-group-response.js +15 -0
- package/lib/response/delete-compute-host-group-response.js.map +1 -0
- package/lib/response/detach-compute-host-group-host-response.d.ts +27 -0
- package/lib/response/detach-compute-host-group-host-response.js +15 -0
- package/lib/response/detach-compute-host-group-host-response.js.map +1 -0
- package/lib/response/get-compute-host-group-response.d.ts +30 -0
- package/lib/response/get-compute-host-group-response.js +15 -0
- package/lib/response/get-compute-host-group-response.js.map +1 -0
- package/lib/response/index.d.ts +16 -0
- package/lib/response/list-compute-host-groups-response.d.ts +32 -0
- package/lib/response/list-compute-host-groups-response.js +15 -0
- package/lib/response/list-compute-host-groups-response.js.map +1 -0
- package/lib/response/update-compute-host-group-response.d.ts +42 -0
- package/lib/response/update-compute-host-group-response.js +15 -0
- package/lib/response/update-compute-host-group-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -4875,6 +4875,82 @@ class ComputeClient {
|
|
|
4875
4875
|
}
|
|
4876
4876
|
});
|
|
4877
4877
|
}
|
|
4878
|
+
/**
|
|
4879
|
+
* Attaches the Compute BM Host to a Host group
|
|
4880
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4881
|
+
* @param AttachComputeHostGroupHostRequest
|
|
4882
|
+
* @return AttachComputeHostGroupHostResponse
|
|
4883
|
+
* @throws OciError when an error occurs
|
|
4884
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/AttachComputeHostGroupHost.ts.html |here} to see how to use AttachComputeHostGroupHost API.
|
|
4885
|
+
*/
|
|
4886
|
+
attachComputeHostGroupHost(attachComputeHostGroupHostRequest) {
|
|
4887
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4888
|
+
if (this.logger)
|
|
4889
|
+
this.logger.debug("Calling operation ComputeClient#attachComputeHostGroupHost.");
|
|
4890
|
+
const operationName = "attachComputeHostGroupHost";
|
|
4891
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/AttachComputeHostGroupHost";
|
|
4892
|
+
const pathParams = {
|
|
4893
|
+
"{computeHostId}": attachComputeHostGroupHostRequest.computeHostId
|
|
4894
|
+
};
|
|
4895
|
+
const queryParams = {};
|
|
4896
|
+
let headerParams = {
|
|
4897
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4898
|
+
"if-match": attachComputeHostGroupHostRequest.ifMatch,
|
|
4899
|
+
"opc-retry-token": attachComputeHostGroupHostRequest.opcRetryToken,
|
|
4900
|
+
"opc-request-id": attachComputeHostGroupHostRequest.opcRequestId
|
|
4901
|
+
};
|
|
4902
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4903
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, attachComputeHostGroupHostRequest.retryConfiguration, specRetryConfiguration);
|
|
4904
|
+
if (this.logger)
|
|
4905
|
+
retrier.logger = this.logger;
|
|
4906
|
+
const request = yield oci_common_2.composeRequest({
|
|
4907
|
+
baseEndpoint: this._endpoint,
|
|
4908
|
+
defaultHeaders: this._defaultHeaders,
|
|
4909
|
+
path: "/computeHosts/{computeHostId}/actions/attachToHostGroup",
|
|
4910
|
+
method: "POST",
|
|
4911
|
+
bodyContent: common.ObjectSerializer.serialize(attachComputeHostGroupHostRequest.attachComputeHostGroupHostDetails, "AttachComputeHostGroupHostDetails", model.AttachComputeHostGroupHostDetails.getJsonObj),
|
|
4912
|
+
pathParams: pathParams,
|
|
4913
|
+
headerParams: headerParams,
|
|
4914
|
+
queryParams: queryParams
|
|
4915
|
+
});
|
|
4916
|
+
try {
|
|
4917
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4918
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4919
|
+
responseObject: {},
|
|
4920
|
+
body: yield response.json(),
|
|
4921
|
+
bodyKey: "computeHost",
|
|
4922
|
+
bodyModel: model.ComputeHost,
|
|
4923
|
+
type: "model.ComputeHost",
|
|
4924
|
+
responseHeaders: [
|
|
4925
|
+
{
|
|
4926
|
+
value: response.headers.get("etag"),
|
|
4927
|
+
key: "etag",
|
|
4928
|
+
dataType: "string"
|
|
4929
|
+
},
|
|
4930
|
+
{
|
|
4931
|
+
value: response.headers.get("location"),
|
|
4932
|
+
key: "location",
|
|
4933
|
+
dataType: "string"
|
|
4934
|
+
},
|
|
4935
|
+
{
|
|
4936
|
+
value: response.headers.get("opc-request-id"),
|
|
4937
|
+
key: "opcRequestId",
|
|
4938
|
+
dataType: "string"
|
|
4939
|
+
},
|
|
4940
|
+
{
|
|
4941
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4942
|
+
key: "opcWorkRequestId",
|
|
4943
|
+
dataType: "string"
|
|
4944
|
+
}
|
|
4945
|
+
]
|
|
4946
|
+
});
|
|
4947
|
+
return sdkResponse;
|
|
4948
|
+
}
|
|
4949
|
+
catch (err) {
|
|
4950
|
+
throw err;
|
|
4951
|
+
}
|
|
4952
|
+
});
|
|
4953
|
+
}
|
|
4878
4954
|
/**
|
|
4879
4955
|
* Creates a secondary VNIC and attaches it to the specified instance.
|
|
4880
4956
|
* For more information about secondary VNICs, see
|
|
@@ -5455,6 +5531,70 @@ class ComputeClient {
|
|
|
5455
5531
|
}
|
|
5456
5532
|
});
|
|
5457
5533
|
}
|
|
5534
|
+
/**
|
|
5535
|
+
* Moves a compute host group into a different compartment. For information about moving resources between
|
|
5536
|
+
* compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
5537
|
+
*
|
|
5538
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5539
|
+
* @param ChangeComputeHostGroupCompartmentRequest
|
|
5540
|
+
* @return ChangeComputeHostGroupCompartmentResponse
|
|
5541
|
+
* @throws OciError when an error occurs
|
|
5542
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ChangeComputeHostGroupCompartment.ts.html |here} to see how to use ChangeComputeHostGroupCompartment API.
|
|
5543
|
+
*/
|
|
5544
|
+
changeComputeHostGroupCompartment(changeComputeHostGroupCompartmentRequest) {
|
|
5545
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5546
|
+
if (this.logger)
|
|
5547
|
+
this.logger.debug("Calling operation ComputeClient#changeComputeHostGroupCompartment.");
|
|
5548
|
+
const operationName = "changeComputeHostGroupCompartment";
|
|
5549
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/ChangeComputeHostGroupCompartment";
|
|
5550
|
+
const pathParams = {
|
|
5551
|
+
"{computeHostGroupId}": changeComputeHostGroupCompartmentRequest.computeHostGroupId
|
|
5552
|
+
};
|
|
5553
|
+
const queryParams = {};
|
|
5554
|
+
let headerParams = {
|
|
5555
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5556
|
+
"if-match": changeComputeHostGroupCompartmentRequest.ifMatch,
|
|
5557
|
+
"opc-request-id": changeComputeHostGroupCompartmentRequest.opcRequestId,
|
|
5558
|
+
"opc-retry-token": changeComputeHostGroupCompartmentRequest.opcRetryToken
|
|
5559
|
+
};
|
|
5560
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5561
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeComputeHostGroupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
5562
|
+
if (this.logger)
|
|
5563
|
+
retrier.logger = this.logger;
|
|
5564
|
+
const request = yield oci_common_2.composeRequest({
|
|
5565
|
+
baseEndpoint: this._endpoint,
|
|
5566
|
+
defaultHeaders: this._defaultHeaders,
|
|
5567
|
+
path: "/computeHostGroups/{computeHostGroupId}/actions/changeCompartment",
|
|
5568
|
+
method: "POST",
|
|
5569
|
+
bodyContent: common.ObjectSerializer.serialize(changeComputeHostGroupCompartmentRequest.changeComputeHostGroupCompartmentDetails, "ChangeComputeHostGroupCompartmentDetails", model.ChangeComputeHostGroupCompartmentDetails.getJsonObj),
|
|
5570
|
+
pathParams: pathParams,
|
|
5571
|
+
headerParams: headerParams,
|
|
5572
|
+
queryParams: queryParams
|
|
5573
|
+
});
|
|
5574
|
+
try {
|
|
5575
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5576
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5577
|
+
responseObject: {},
|
|
5578
|
+
responseHeaders: [
|
|
5579
|
+
{
|
|
5580
|
+
value: response.headers.get("opc-request-id"),
|
|
5581
|
+
key: "opcRequestId",
|
|
5582
|
+
dataType: "string"
|
|
5583
|
+
},
|
|
5584
|
+
{
|
|
5585
|
+
value: response.headers.get("opc-work-request-id"),
|
|
5586
|
+
key: "opcWorkRequestId",
|
|
5587
|
+
dataType: "string"
|
|
5588
|
+
}
|
|
5589
|
+
]
|
|
5590
|
+
});
|
|
5591
|
+
return sdkResponse;
|
|
5592
|
+
}
|
|
5593
|
+
catch (err) {
|
|
5594
|
+
throw err;
|
|
5595
|
+
}
|
|
5596
|
+
});
|
|
5597
|
+
}
|
|
5458
5598
|
/**
|
|
5459
5599
|
* Moves a compute image capability schema into a different compartment within the same tenancy.
|
|
5460
5600
|
* For information about moving resources between compartments, see
|
|
@@ -6148,6 +6288,79 @@ class ComputeClient {
|
|
|
6148
6288
|
}
|
|
6149
6289
|
});
|
|
6150
6290
|
}
|
|
6291
|
+
/**
|
|
6292
|
+
* Creates a new compute host group in the specified compartment and availability domain.
|
|
6293
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6294
|
+
* @param CreateComputeHostGroupRequest
|
|
6295
|
+
* @return CreateComputeHostGroupResponse
|
|
6296
|
+
* @throws OciError when an error occurs
|
|
6297
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/CreateComputeHostGroup.ts.html |here} to see how to use CreateComputeHostGroup API.
|
|
6298
|
+
*/
|
|
6299
|
+
createComputeHostGroup(createComputeHostGroupRequest) {
|
|
6300
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6301
|
+
if (this.logger)
|
|
6302
|
+
this.logger.debug("Calling operation ComputeClient#createComputeHostGroup.");
|
|
6303
|
+
const operationName = "createComputeHostGroup";
|
|
6304
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/CreateComputeHostGroup";
|
|
6305
|
+
const pathParams = {};
|
|
6306
|
+
const queryParams = {};
|
|
6307
|
+
let headerParams = {
|
|
6308
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6309
|
+
"opc-request-id": createComputeHostGroupRequest.opcRequestId,
|
|
6310
|
+
"opc-retry-token": createComputeHostGroupRequest.opcRetryToken
|
|
6311
|
+
};
|
|
6312
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6313
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createComputeHostGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
6314
|
+
if (this.logger)
|
|
6315
|
+
retrier.logger = this.logger;
|
|
6316
|
+
const request = yield oci_common_2.composeRequest({
|
|
6317
|
+
baseEndpoint: this._endpoint,
|
|
6318
|
+
defaultHeaders: this._defaultHeaders,
|
|
6319
|
+
path: "/computeHostGroups",
|
|
6320
|
+
method: "POST",
|
|
6321
|
+
bodyContent: common.ObjectSerializer.serialize(createComputeHostGroupRequest.createComputeHostGroupDetails, "CreateComputeHostGroupDetails", model.CreateComputeHostGroupDetails.getJsonObj),
|
|
6322
|
+
pathParams: pathParams,
|
|
6323
|
+
headerParams: headerParams,
|
|
6324
|
+
queryParams: queryParams
|
|
6325
|
+
});
|
|
6326
|
+
try {
|
|
6327
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6328
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6329
|
+
responseObject: {},
|
|
6330
|
+
body: yield response.json(),
|
|
6331
|
+
bodyKey: "computeHostGroup",
|
|
6332
|
+
bodyModel: model.ComputeHostGroup,
|
|
6333
|
+
type: "model.ComputeHostGroup",
|
|
6334
|
+
responseHeaders: [
|
|
6335
|
+
{
|
|
6336
|
+
value: response.headers.get("etag"),
|
|
6337
|
+
key: "etag",
|
|
6338
|
+
dataType: "string"
|
|
6339
|
+
},
|
|
6340
|
+
{
|
|
6341
|
+
value: response.headers.get("location"),
|
|
6342
|
+
key: "location",
|
|
6343
|
+
dataType: "string"
|
|
6344
|
+
},
|
|
6345
|
+
{
|
|
6346
|
+
value: response.headers.get("opc-request-id"),
|
|
6347
|
+
key: "opcRequestId",
|
|
6348
|
+
dataType: "string"
|
|
6349
|
+
},
|
|
6350
|
+
{
|
|
6351
|
+
value: response.headers.get("opc-work-request-id"),
|
|
6352
|
+
key: "opcWorkRequestId",
|
|
6353
|
+
dataType: "string"
|
|
6354
|
+
}
|
|
6355
|
+
]
|
|
6356
|
+
});
|
|
6357
|
+
return sdkResponse;
|
|
6358
|
+
}
|
|
6359
|
+
catch (err) {
|
|
6360
|
+
throw err;
|
|
6361
|
+
}
|
|
6362
|
+
});
|
|
6363
|
+
}
|
|
6151
6364
|
/**
|
|
6152
6365
|
* Creates compute image capability schema.
|
|
6153
6366
|
*
|
|
@@ -6735,6 +6948,61 @@ class ComputeClient {
|
|
|
6735
6948
|
}
|
|
6736
6949
|
});
|
|
6737
6950
|
}
|
|
6951
|
+
/**
|
|
6952
|
+
* Deletes the specified compute host group
|
|
6953
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6954
|
+
* @param DeleteComputeHostGroupRequest
|
|
6955
|
+
* @return DeleteComputeHostGroupResponse
|
|
6956
|
+
* @throws OciError when an error occurs
|
|
6957
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/DeleteComputeHostGroup.ts.html |here} to see how to use DeleteComputeHostGroup API.
|
|
6958
|
+
*/
|
|
6959
|
+
deleteComputeHostGroup(deleteComputeHostGroupRequest) {
|
|
6960
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6961
|
+
if (this.logger)
|
|
6962
|
+
this.logger.debug("Calling operation ComputeClient#deleteComputeHostGroup.");
|
|
6963
|
+
const operationName = "deleteComputeHostGroup";
|
|
6964
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/DeleteComputeHostGroup";
|
|
6965
|
+
const pathParams = {
|
|
6966
|
+
"{computeHostGroupId}": deleteComputeHostGroupRequest.computeHostGroupId
|
|
6967
|
+
};
|
|
6968
|
+
const queryParams = {};
|
|
6969
|
+
let headerParams = {
|
|
6970
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6971
|
+
"opc-request-id": deleteComputeHostGroupRequest.opcRequestId,
|
|
6972
|
+
"if-match": deleteComputeHostGroupRequest.ifMatch
|
|
6973
|
+
};
|
|
6974
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6975
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteComputeHostGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
6976
|
+
if (this.logger)
|
|
6977
|
+
retrier.logger = this.logger;
|
|
6978
|
+
const request = yield oci_common_2.composeRequest({
|
|
6979
|
+
baseEndpoint: this._endpoint,
|
|
6980
|
+
defaultHeaders: this._defaultHeaders,
|
|
6981
|
+
path: "/computeHostGroups/{computeHostGroupId}",
|
|
6982
|
+
method: "DELETE",
|
|
6983
|
+
pathParams: pathParams,
|
|
6984
|
+
headerParams: headerParams,
|
|
6985
|
+
queryParams: queryParams
|
|
6986
|
+
});
|
|
6987
|
+
try {
|
|
6988
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6989
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6990
|
+
responseObject: {},
|
|
6991
|
+
responseHeaders: [
|
|
6992
|
+
{
|
|
6993
|
+
value: response.headers.get("opc-request-id"),
|
|
6994
|
+
key: "opcRequestId",
|
|
6995
|
+
dataType: "string"
|
|
6996
|
+
}
|
|
6997
|
+
]
|
|
6998
|
+
});
|
|
6999
|
+
return sdkResponse;
|
|
7000
|
+
}
|
|
7001
|
+
catch (err) {
|
|
7002
|
+
throw err;
|
|
7003
|
+
}
|
|
7004
|
+
});
|
|
7005
|
+
}
|
|
6738
7006
|
/**
|
|
6739
7007
|
* Deletes the specified Compute Image Capability Schema
|
|
6740
7008
|
*
|
|
@@ -7074,6 +7342,68 @@ class ComputeClient {
|
|
|
7074
7342
|
}
|
|
7075
7343
|
});
|
|
7076
7344
|
}
|
|
7345
|
+
/**
|
|
7346
|
+
* Detaches the specified bare metal host from the compute host group
|
|
7347
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
7348
|
+
* @param DetachComputeHostGroupHostRequest
|
|
7349
|
+
* @return DetachComputeHostGroupHostResponse
|
|
7350
|
+
* @throws OciError when an error occurs
|
|
7351
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/DetachComputeHostGroupHost.ts.html |here} to see how to use DetachComputeHostGroupHost API.
|
|
7352
|
+
*/
|
|
7353
|
+
detachComputeHostGroupHost(detachComputeHostGroupHostRequest) {
|
|
7354
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7355
|
+
if (this.logger)
|
|
7356
|
+
this.logger.debug("Calling operation ComputeClient#detachComputeHostGroupHost.");
|
|
7357
|
+
const operationName = "detachComputeHostGroupHost";
|
|
7358
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/DetachComputeHostGroupHost";
|
|
7359
|
+
const pathParams = {
|
|
7360
|
+
"{computeHostId}": detachComputeHostGroupHostRequest.computeHostId
|
|
7361
|
+
};
|
|
7362
|
+
const queryParams = {};
|
|
7363
|
+
let headerParams = {
|
|
7364
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7365
|
+
"if-match": detachComputeHostGroupHostRequest.ifMatch,
|
|
7366
|
+
"opc-retry-token": detachComputeHostGroupHostRequest.opcRetryToken,
|
|
7367
|
+
"opc-request-id": detachComputeHostGroupHostRequest.opcRequestId
|
|
7368
|
+
};
|
|
7369
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
7370
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, detachComputeHostGroupHostRequest.retryConfiguration, specRetryConfiguration);
|
|
7371
|
+
if (this.logger)
|
|
7372
|
+
retrier.logger = this.logger;
|
|
7373
|
+
const request = yield oci_common_2.composeRequest({
|
|
7374
|
+
baseEndpoint: this._endpoint,
|
|
7375
|
+
defaultHeaders: this._defaultHeaders,
|
|
7376
|
+
path: "/computeHosts/{computeHostId}/actions/detachFromHostGroup",
|
|
7377
|
+
method: "POST",
|
|
7378
|
+
bodyContent: common.ObjectSerializer.serialize(detachComputeHostGroupHostRequest.detachComputeHostGroupHostDetails, "DetachComputeHostGroupHostDetails", model.DetachComputeHostGroupHostDetails.getJsonObj),
|
|
7379
|
+
pathParams: pathParams,
|
|
7380
|
+
headerParams: headerParams,
|
|
7381
|
+
queryParams: queryParams
|
|
7382
|
+
});
|
|
7383
|
+
try {
|
|
7384
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
7385
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
7386
|
+
responseObject: {},
|
|
7387
|
+
responseHeaders: [
|
|
7388
|
+
{
|
|
7389
|
+
value: response.headers.get("opc-request-id"),
|
|
7390
|
+
key: "opcRequestId",
|
|
7391
|
+
dataType: "string"
|
|
7392
|
+
},
|
|
7393
|
+
{
|
|
7394
|
+
value: response.headers.get("opc-work-request-id"),
|
|
7395
|
+
key: "opcWorkRequestId",
|
|
7396
|
+
dataType: "string"
|
|
7397
|
+
}
|
|
7398
|
+
]
|
|
7399
|
+
});
|
|
7400
|
+
return sdkResponse;
|
|
7401
|
+
}
|
|
7402
|
+
catch (err) {
|
|
7403
|
+
throw err;
|
|
7404
|
+
}
|
|
7405
|
+
});
|
|
7406
|
+
}
|
|
7077
7407
|
/**
|
|
7078
7408
|
* Detaches and deletes the specified secondary VNIC.
|
|
7079
7409
|
* This operation cannot be used on the instance's primary VNIC.
|
|
@@ -8034,6 +8364,69 @@ class ComputeClient {
|
|
|
8034
8364
|
}
|
|
8035
8365
|
});
|
|
8036
8366
|
}
|
|
8367
|
+
/**
|
|
8368
|
+
* Gets information about the specified compute host group
|
|
8369
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8370
|
+
* @param GetComputeHostGroupRequest
|
|
8371
|
+
* @return GetComputeHostGroupResponse
|
|
8372
|
+
* @throws OciError when an error occurs
|
|
8373
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetComputeHostGroup.ts.html |here} to see how to use GetComputeHostGroup API.
|
|
8374
|
+
*/
|
|
8375
|
+
getComputeHostGroup(getComputeHostGroupRequest) {
|
|
8376
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8377
|
+
if (this.logger)
|
|
8378
|
+
this.logger.debug("Calling operation ComputeClient#getComputeHostGroup.");
|
|
8379
|
+
const operationName = "getComputeHostGroup";
|
|
8380
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/GetComputeHostGroup";
|
|
8381
|
+
const pathParams = {
|
|
8382
|
+
"{computeHostGroupId}": getComputeHostGroupRequest.computeHostGroupId
|
|
8383
|
+
};
|
|
8384
|
+
const queryParams = {};
|
|
8385
|
+
let headerParams = {
|
|
8386
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8387
|
+
"opc-request-id": getComputeHostGroupRequest.opcRequestId
|
|
8388
|
+
};
|
|
8389
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8390
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getComputeHostGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
8391
|
+
if (this.logger)
|
|
8392
|
+
retrier.logger = this.logger;
|
|
8393
|
+
const request = yield oci_common_2.composeRequest({
|
|
8394
|
+
baseEndpoint: this._endpoint,
|
|
8395
|
+
defaultHeaders: this._defaultHeaders,
|
|
8396
|
+
path: "/computeHostGroups/{computeHostGroupId}",
|
|
8397
|
+
method: "GET",
|
|
8398
|
+
pathParams: pathParams,
|
|
8399
|
+
headerParams: headerParams,
|
|
8400
|
+
queryParams: queryParams
|
|
8401
|
+
});
|
|
8402
|
+
try {
|
|
8403
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
8404
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
8405
|
+
responseObject: {},
|
|
8406
|
+
body: yield response.json(),
|
|
8407
|
+
bodyKey: "computeHostGroup",
|
|
8408
|
+
bodyModel: model.ComputeHostGroup,
|
|
8409
|
+
type: "model.ComputeHostGroup",
|
|
8410
|
+
responseHeaders: [
|
|
8411
|
+
{
|
|
8412
|
+
value: response.headers.get("etag"),
|
|
8413
|
+
key: "etag",
|
|
8414
|
+
dataType: "string"
|
|
8415
|
+
},
|
|
8416
|
+
{
|
|
8417
|
+
value: response.headers.get("opc-request-id"),
|
|
8418
|
+
key: "opcRequestId",
|
|
8419
|
+
dataType: "string"
|
|
8420
|
+
}
|
|
8421
|
+
]
|
|
8422
|
+
});
|
|
8423
|
+
return sdkResponse;
|
|
8424
|
+
}
|
|
8425
|
+
catch (err) {
|
|
8426
|
+
throw err;
|
|
8427
|
+
}
|
|
8428
|
+
});
|
|
8429
|
+
}
|
|
8037
8430
|
/**
|
|
8038
8431
|
* Gets the specified Compute Image Capability Schema
|
|
8039
8432
|
*
|
|
@@ -10696,6 +11089,71 @@ class ComputeClient {
|
|
|
10696
11089
|
}
|
|
10697
11090
|
});
|
|
10698
11091
|
}
|
|
11092
|
+
/**
|
|
11093
|
+
* Lists the compute host groups that match the specified criteria and compartment.
|
|
11094
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11095
|
+
* @param ListComputeHostGroupsRequest
|
|
11096
|
+
* @return ListComputeHostGroupsResponse
|
|
11097
|
+
* @throws OciError when an error occurs
|
|
11098
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ListComputeHostGroups.ts.html |here} to see how to use ListComputeHostGroups API.
|
|
11099
|
+
*/
|
|
11100
|
+
listComputeHostGroups(listComputeHostGroupsRequest) {
|
|
11101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11102
|
+
if (this.logger)
|
|
11103
|
+
this.logger.debug("Calling operation ComputeClient#listComputeHostGroups.");
|
|
11104
|
+
const operationName = "listComputeHostGroups";
|
|
11105
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/ListComputeHostGroups";
|
|
11106
|
+
const pathParams = {};
|
|
11107
|
+
const queryParams = {
|
|
11108
|
+
"compartmentId": listComputeHostGroupsRequest.compartmentId,
|
|
11109
|
+
"page": listComputeHostGroupsRequest.page,
|
|
11110
|
+
"limit": listComputeHostGroupsRequest.limit
|
|
11111
|
+
};
|
|
11112
|
+
let headerParams = {
|
|
11113
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11114
|
+
"opc-request-id": listComputeHostGroupsRequest.opcRequestId
|
|
11115
|
+
};
|
|
11116
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11117
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listComputeHostGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
11118
|
+
if (this.logger)
|
|
11119
|
+
retrier.logger = this.logger;
|
|
11120
|
+
const request = yield oci_common_2.composeRequest({
|
|
11121
|
+
baseEndpoint: this._endpoint,
|
|
11122
|
+
defaultHeaders: this._defaultHeaders,
|
|
11123
|
+
path: "/computeHostGroups",
|
|
11124
|
+
method: "GET",
|
|
11125
|
+
pathParams: pathParams,
|
|
11126
|
+
headerParams: headerParams,
|
|
11127
|
+
queryParams: queryParams
|
|
11128
|
+
});
|
|
11129
|
+
try {
|
|
11130
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11131
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
11132
|
+
responseObject: {},
|
|
11133
|
+
body: yield response.json(),
|
|
11134
|
+
bodyKey: "computeHostGroupCollection",
|
|
11135
|
+
bodyModel: model.ComputeHostGroupCollection,
|
|
11136
|
+
type: "model.ComputeHostGroupCollection",
|
|
11137
|
+
responseHeaders: [
|
|
11138
|
+
{
|
|
11139
|
+
value: response.headers.get("opc-next-page"),
|
|
11140
|
+
key: "opcNextPage",
|
|
11141
|
+
dataType: "string"
|
|
11142
|
+
},
|
|
11143
|
+
{
|
|
11144
|
+
value: response.headers.get("opc-request-id"),
|
|
11145
|
+
key: "opcRequestId",
|
|
11146
|
+
dataType: "string"
|
|
11147
|
+
}
|
|
11148
|
+
]
|
|
11149
|
+
});
|
|
11150
|
+
return sdkResponse;
|
|
11151
|
+
}
|
|
11152
|
+
catch (err) {
|
|
11153
|
+
throw err;
|
|
11154
|
+
}
|
|
11155
|
+
});
|
|
11156
|
+
}
|
|
10699
11157
|
/**
|
|
10700
11158
|
* Generates a list of summary host details
|
|
10701
11159
|
*
|
|
@@ -10722,7 +11180,8 @@ class ComputeClient {
|
|
|
10722
11180
|
"sortBy": listComputeHostsRequest.sortBy,
|
|
10723
11181
|
"sortOrder": listComputeHostsRequest.sortOrder,
|
|
10724
11182
|
"computeHostLifecycleState": listComputeHostsRequest.computeHostLifecycleState,
|
|
10725
|
-
"computeHostHealth": listComputeHostsRequest.computeHostHealth
|
|
11183
|
+
"computeHostHealth": listComputeHostsRequest.computeHostHealth,
|
|
11184
|
+
"computeHostGroupId": listComputeHostsRequest.computeHostGroupId
|
|
10726
11185
|
};
|
|
10727
11186
|
let headerParams = {
|
|
10728
11187
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -11880,7 +12339,7 @@ class ComputeClient {
|
|
|
11880
12339
|
return oci_common_1.paginateResponses(request, req => this.listInstanceDevices(req));
|
|
11881
12340
|
}
|
|
11882
12341
|
/**
|
|
11883
|
-
* Gets a list of all the maintenance events for the given
|
|
12342
|
+
* Gets a list of all the maintenance events for the given compartment.
|
|
11884
12343
|
*
|
|
11885
12344
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
11886
12345
|
* @param ListInstanceMaintenanceEventsRequest
|
|
@@ -12924,7 +13383,8 @@ class ComputeClient {
|
|
|
12924
13383
|
let headerParams = {
|
|
12925
13384
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
12926
13385
|
"if-match": updateComputeHostRequest.ifMatch,
|
|
12927
|
-
"opc-request-id": updateComputeHostRequest.opcRequestId
|
|
13386
|
+
"opc-request-id": updateComputeHostRequest.opcRequestId,
|
|
13387
|
+
"opc-retry-token": updateComputeHostRequest.opcRetryToken
|
|
12928
13388
|
};
|
|
12929
13389
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
12930
13390
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateComputeHostRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -12969,6 +13429,82 @@ class ComputeClient {
|
|
|
12969
13429
|
}
|
|
12970
13430
|
});
|
|
12971
13431
|
}
|
|
13432
|
+
/**
|
|
13433
|
+
* Updates the specified compute host group details.
|
|
13434
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13435
|
+
* @param UpdateComputeHostGroupRequest
|
|
13436
|
+
* @return UpdateComputeHostGroupResponse
|
|
13437
|
+
* @throws OciError when an error occurs
|
|
13438
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/UpdateComputeHostGroup.ts.html |here} to see how to use UpdateComputeHostGroup API.
|
|
13439
|
+
*/
|
|
13440
|
+
updateComputeHostGroup(updateComputeHostGroupRequest) {
|
|
13441
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13442
|
+
if (this.logger)
|
|
13443
|
+
this.logger.debug("Calling operation ComputeClient#updateComputeHostGroup.");
|
|
13444
|
+
const operationName = "updateComputeHostGroup";
|
|
13445
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/UpdateComputeHostGroup";
|
|
13446
|
+
const pathParams = {
|
|
13447
|
+
"{computeHostGroupId}": updateComputeHostGroupRequest.computeHostGroupId
|
|
13448
|
+
};
|
|
13449
|
+
const queryParams = {};
|
|
13450
|
+
let headerParams = {
|
|
13451
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13452
|
+
"if-match": updateComputeHostGroupRequest.ifMatch,
|
|
13453
|
+
"opc-request-id": updateComputeHostGroupRequest.opcRequestId,
|
|
13454
|
+
"opc-retry-token": updateComputeHostGroupRequest.opcRetryToken
|
|
13455
|
+
};
|
|
13456
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
13457
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateComputeHostGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
13458
|
+
if (this.logger)
|
|
13459
|
+
retrier.logger = this.logger;
|
|
13460
|
+
const request = yield oci_common_2.composeRequest({
|
|
13461
|
+
baseEndpoint: this._endpoint,
|
|
13462
|
+
defaultHeaders: this._defaultHeaders,
|
|
13463
|
+
path: "/computeHostGroups/{computeHostGroupId}",
|
|
13464
|
+
method: "PUT",
|
|
13465
|
+
bodyContent: common.ObjectSerializer.serialize(updateComputeHostGroupRequest.updateComputeHostGroupDetails, "UpdateComputeHostGroupDetails", model.UpdateComputeHostGroupDetails.getJsonObj),
|
|
13466
|
+
pathParams: pathParams,
|
|
13467
|
+
headerParams: headerParams,
|
|
13468
|
+
queryParams: queryParams
|
|
13469
|
+
});
|
|
13470
|
+
try {
|
|
13471
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13472
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13473
|
+
responseObject: {},
|
|
13474
|
+
body: yield response.json(),
|
|
13475
|
+
bodyKey: "computeHostGroup",
|
|
13476
|
+
bodyModel: model.ComputeHostGroup,
|
|
13477
|
+
type: "model.ComputeHostGroup",
|
|
13478
|
+
responseHeaders: [
|
|
13479
|
+
{
|
|
13480
|
+
value: response.headers.get("etag"),
|
|
13481
|
+
key: "etag",
|
|
13482
|
+
dataType: "string"
|
|
13483
|
+
},
|
|
13484
|
+
{
|
|
13485
|
+
value: response.headers.get("location"),
|
|
13486
|
+
key: "location",
|
|
13487
|
+
dataType: "string"
|
|
13488
|
+
},
|
|
13489
|
+
{
|
|
13490
|
+
value: response.headers.get("opc-request-id"),
|
|
13491
|
+
key: "opcRequestId",
|
|
13492
|
+
dataType: "string"
|
|
13493
|
+
},
|
|
13494
|
+
{
|
|
13495
|
+
value: response.headers.get("opc-work-request-id"),
|
|
13496
|
+
key: "opcWorkRequestId",
|
|
13497
|
+
dataType: "string"
|
|
13498
|
+
}
|
|
13499
|
+
]
|
|
13500
|
+
});
|
|
13501
|
+
return sdkResponse;
|
|
13502
|
+
}
|
|
13503
|
+
catch (err) {
|
|
13504
|
+
throw err;
|
|
13505
|
+
}
|
|
13506
|
+
});
|
|
13507
|
+
}
|
|
12972
13508
|
/**
|
|
12973
13509
|
* Updates the specified Compute Image Capability Schema
|
|
12974
13510
|
*
|
|
@@ -19736,8 +20272,8 @@ class VirtualNetworkClient {
|
|
|
19736
20272
|
});
|
|
19737
20273
|
}
|
|
19738
20274
|
/**
|
|
19739
|
-
* Creates a
|
|
19740
|
-
* For more information about
|
|
20275
|
+
* Creates a private IP.
|
|
20276
|
+
* For more information about private IPs, see
|
|
19741
20277
|
* [IP Addresses](https://docs.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm).
|
|
19742
20278
|
*
|
|
19743
20279
|
* This operation does not retry by default if the user has not defined a retry configuration.
|