oci-core 2.127.0 → 2.130.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 +27 -27
- package/lib/client.js +78 -78
- package/lib/client.js.map +1 -1
- package/lib/compute-waiter.d.ts +16 -8
- package/lib/compute-waiter.js +27 -15
- package/lib/compute-waiter.js.map +1 -1
- package/lib/model/bulk-create-ipv6s-details.d.ts +3 -3
- package/lib/model/bulk-create-ipv6s-item.d.ts +2 -2
- package/lib/model/bulk-create-private-ip-item.d.ts +1 -1
- package/lib/model/bulk-create-private-ips-details.d.ts +2 -2
- package/lib/model/bulk-delete-ipv6s-details.d.ts +3 -3
- package/lib/model/bulk-delete-ipv6s-item.d.ts +2 -2
- package/lib/model/bulk-delete-private-ip-item.d.ts +1 -1
- package/lib/model/bulk-delete-private-ips-details.d.ts +2 -2
- package/lib/model/bulk-detach-ipv6s-details.d.ts +3 -3
- package/lib/model/bulk-detach-ipv6s-item.d.ts +1 -1
- package/lib/model/bulk-detach-private-ip-item.d.ts +1 -1
- package/lib/model/bulk-detach-private-ips-details.d.ts +2 -2
- package/lib/model/bulk-update-ipv6s-details.d.ts +2 -2
- package/lib/model/bulk-update-ipv6s-item.d.ts +2 -2
- package/lib/model/bulk-update-private-ip-item.d.ts +1 -1
- package/lib/model/bulk-update-private-ips-details.d.ts +2 -2
- package/lib/model/change-compute-gpu-memory-cluster-compartment-details.d.ts +1 -1
- package/lib/model/compute-gpu-memory-cluster-collection.d.ts +2 -2
- package/lib/model/compute-gpu-memory-cluster-instance-collection.d.ts +2 -2
- package/lib/model/compute-gpu-memory-cluster-instance-summary.d.ts +6 -6
- package/lib/model/compute-gpu-memory-cluster-scale-config.d.ts +1 -1
- package/lib/model/compute-gpu-memory-cluster-summary.d.ts +4 -4
- package/lib/model/compute-gpu-memory-cluster.d.ts +10 -6
- package/lib/model/compute-gpu-memory-cluster.js.map +1 -1
- package/lib/model/create-compute-gpu-memory-cluster-details.d.ts +8 -4
- package/lib/model/create-compute-gpu-memory-cluster-details.js.map +1 -1
- package/lib/model/create-compute-gpu-memory-cluster-scale-config.d.ts +1 -1
- package/lib/model/create-image-details.d.ts +2 -0
- package/lib/model/create-image-details.js +1 -0
- package/lib/model/create-image-details.js.map +1 -1
- package/lib/model/create-vcn-details.d.ts +4 -2
- package/lib/model/create-vcn-details.js.map +1 -1
- package/lib/model/create-virtual-circuit-details.d.ts +1 -1
- package/lib/model/dedicated-vm-host.d.ts +0 -4
- package/lib/model/dedicated-vm-host.js.map +1 -1
- package/lib/model/image.d.ts +2 -0
- package/lib/model/image.js +1 -0
- package/lib/model/image.js.map +1 -1
- package/lib/model/index.d.ts +2 -2
- package/lib/model/index.js +3 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/instance-configuration-launch-instance-details.d.ts +2 -0
- package/lib/model/instance-configuration-launch-instance-details.js +1 -0
- package/lib/model/instance-configuration-launch-instance-details.js.map +1 -1
- package/lib/model/instance-configuration-launch-options.d.ts +2 -0
- package/lib/model/instance-configuration-launch-options.js +1 -0
- package/lib/model/instance-configuration-launch-options.js.map +1 -1
- package/lib/model/instance-pool-summary.d.ts +4 -0
- package/lib/model/instance-pool-summary.js.map +1 -1
- package/lib/model/instance-pool.d.ts +4 -0
- package/lib/model/instance-pool.js.map +1 -1
- package/lib/model/instance-reservation-shape-config-details.d.ts +14 -0
- package/lib/model/instance-reservation-shape-config-details.js +10 -0
- package/lib/model/instance-reservation-shape-config-details.js.map +1 -1
- package/lib/model/instance.d.ts +2 -0
- package/lib/model/instance.js +1 -0
- package/lib/model/instance.js.map +1 -1
- package/lib/model/launch-options.d.ts +2 -0
- package/lib/model/launch-options.js +1 -0
- package/lib/model/launch-options.js.map +1 -1
- package/lib/model/update-compute-gpu-memory-cluster-details.d.ts +6 -2
- package/lib/model/update-compute-gpu-memory-cluster-details.js.map +1 -1
- package/lib/model/update-compute-gpu-memory-cluster-scale-config.d.ts +1 -1
- package/lib/model/{update-compute-hosts-details.d.ts → update-compute-host-details.d.ts} +4 -4
- package/lib/model/{update-compute-hosts-details.js → update-compute-host-details.js} +7 -7
- package/lib/model/update-compute-host-details.js.map +1 -0
- package/lib/model/update-launch-options.d.ts +3 -1
- package/lib/model/update-launch-options.js +1 -0
- package/lib/model/update-launch-options.js.map +1 -1
- package/lib/model/update-vnic-details.d.ts +2 -1
- package/lib/model/update-vnic-details.js.map +1 -1
- package/lib/model/vnic.d.ts +1 -2
- package/lib/model/vnic.js.map +1 -1
- package/lib/request/bulk-create-ipv6s-request.d.ts +1 -1
- package/lib/request/bulk-create-private-ips-request.d.ts +1 -1
- package/lib/request/bulk-delete-ipv6s-request.d.ts +1 -1
- package/lib/request/bulk-delete-private-ips-request.d.ts +1 -1
- package/lib/request/bulk-detach-ipv6s-request.d.ts +1 -1
- package/lib/request/bulk-detach-private-ips-request.d.ts +1 -1
- package/lib/request/bulk-update-ipv6s-request.d.ts +1 -1
- package/lib/request/bulk-update-private-ips-request.d.ts +1 -1
- package/lib/request/{get-compute-hosts-request.d.ts → get-compute-host-request.d.ts} +2 -2
- package/lib/request/{get-compute-hosts-request.js → get-compute-host-request.js} +1 -1
- package/lib/request/get-compute-host-request.js.map +1 -0
- package/lib/request/index.d.ts +4 -4
- package/lib/request/{update-compute-hosts-request.d.ts → update-compute-host-request.d.ts} +3 -3
- package/lib/request/{update-compute-hosts-request.js → update-compute-host-request.js} +1 -1
- package/lib/request/update-compute-host-request.js.map +1 -0
- package/lib/response/{get-compute-hosts-response.d.ts → get-compute-host-response.d.ts} +1 -1
- package/lib/response/{get-compute-hosts-response.js → get-compute-host-response.js} +1 -1
- package/lib/response/get-compute-host-response.js.map +1 -0
- package/lib/response/index.d.ts +4 -4
- package/lib/response/{update-compute-hosts-response.d.ts → update-compute-host-response.d.ts} +1 -1
- package/lib/response/{update-compute-hosts-response.js → update-compute-host-response.js} +1 -1
- package/lib/response/update-compute-host-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/model/update-compute-hosts-details.js.map +0 -1
- package/lib/request/get-compute-hosts-request.js.map +0 -1
- package/lib/request/update-compute-hosts-request.js.map +0 -1
- package/lib/response/get-compute-hosts-response.js.map +0 -1
- package/lib/response/update-compute-hosts-response.js.map +0 -1
package/lib/client.d.ts
CHANGED
|
@@ -1890,6 +1890,16 @@ export declare class ComputeClient {
|
|
|
1890
1890
|
* @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.
|
|
1891
1891
|
*/
|
|
1892
1892
|
getComputeGpuMemoryFabric(getComputeGpuMemoryFabricRequest: requests.GetComputeGpuMemoryFabricRequest): Promise<responses.GetComputeGpuMemoryFabricResponse>;
|
|
1893
|
+
/**
|
|
1894
|
+
* Gets information about the specified compute host
|
|
1895
|
+
*
|
|
1896
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1897
|
+
* @param GetComputeHostRequest
|
|
1898
|
+
* @return GetComputeHostResponse
|
|
1899
|
+
* @throws OciError when an error occurs
|
|
1900
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetComputeHost.ts.html |here} to see how to use GetComputeHost API.
|
|
1901
|
+
*/
|
|
1902
|
+
getComputeHost(getComputeHostRequest: requests.GetComputeHostRequest): Promise<responses.GetComputeHostResponse>;
|
|
1893
1903
|
/**
|
|
1894
1904
|
* Gets information about the specified compute host group
|
|
1895
1905
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -1899,16 +1909,6 @@ export declare class ComputeClient {
|
|
|
1899
1909
|
* @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.
|
|
1900
1910
|
*/
|
|
1901
1911
|
getComputeHostGroup(getComputeHostGroupRequest: requests.GetComputeHostGroupRequest): Promise<responses.GetComputeHostGroupResponse>;
|
|
1902
|
-
/**
|
|
1903
|
-
* Gets information about the specified compute host
|
|
1904
|
-
*
|
|
1905
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1906
|
-
* @param GetComputeHostsRequest
|
|
1907
|
-
* @return GetComputeHostsResponse
|
|
1908
|
-
* @throws OciError when an error occurs
|
|
1909
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetComputeHosts.ts.html |here} to see how to use GetComputeHosts API.
|
|
1910
|
-
*/
|
|
1911
|
-
getComputeHosts(getComputeHostsRequest: requests.GetComputeHostsRequest): Promise<responses.GetComputeHostsResponse>;
|
|
1912
1912
|
/**
|
|
1913
1913
|
* Gets the specified Compute Image Capability Schema
|
|
1914
1914
|
*
|
|
@@ -3403,6 +3403,16 @@ export declare class ComputeClient {
|
|
|
3403
3403
|
* @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.
|
|
3404
3404
|
*/
|
|
3405
3405
|
updateComputeGpuMemoryFabric(updateComputeGpuMemoryFabricRequest: requests.UpdateComputeGpuMemoryFabricRequest): Promise<responses.UpdateComputeGpuMemoryFabricResponse>;
|
|
3406
|
+
/**
|
|
3407
|
+
* Customer can update the some fields for ComputeHost record
|
|
3408
|
+
*
|
|
3409
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3410
|
+
* @param UpdateComputeHostRequest
|
|
3411
|
+
* @return UpdateComputeHostResponse
|
|
3412
|
+
* @throws OciError when an error occurs
|
|
3413
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/UpdateComputeHost.ts.html |here} to see how to use UpdateComputeHost API.
|
|
3414
|
+
*/
|
|
3415
|
+
updateComputeHost(updateComputeHostRequest: requests.UpdateComputeHostRequest): Promise<responses.UpdateComputeHostResponse>;
|
|
3406
3416
|
/**
|
|
3407
3417
|
* Updates the specified compute host group details.
|
|
3408
3418
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -3412,16 +3422,6 @@ export declare class ComputeClient {
|
|
|
3412
3422
|
* @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.
|
|
3413
3423
|
*/
|
|
3414
3424
|
updateComputeHostGroup(updateComputeHostGroupRequest: requests.UpdateComputeHostGroupRequest): Promise<responses.UpdateComputeHostGroupResponse>;
|
|
3415
|
-
/**
|
|
3416
|
-
* Customer can update the some fields for ComputeHost record
|
|
3417
|
-
*
|
|
3418
|
-
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3419
|
-
* @param UpdateComputeHostsRequest
|
|
3420
|
-
* @return UpdateComputeHostsResponse
|
|
3421
|
-
* @throws OciError when an error occurs
|
|
3422
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/UpdateComputeHosts.ts.html |here} to see how to use UpdateComputeHosts API.
|
|
3423
|
-
*/
|
|
3424
|
-
updateComputeHosts(updateComputeHostsRequest: requests.UpdateComputeHostsRequest): Promise<responses.UpdateComputeHostsResponse>;
|
|
3425
3425
|
/**
|
|
3426
3426
|
* Updates the specified Compute Image Capability Schema
|
|
3427
3427
|
*
|
|
@@ -4363,7 +4363,7 @@ export declare class VirtualNetworkClient {
|
|
|
4363
4363
|
*/
|
|
4364
4364
|
bulkAddVirtualCircuitPublicPrefixes(bulkAddVirtualCircuitPublicPrefixesRequest: requests.BulkAddVirtualCircuitPublicPrefixesRequest): Promise<responses.BulkAddVirtualCircuitPublicPrefixesResponse>;
|
|
4365
4365
|
/**
|
|
4366
|
-
* Create new IPv6s for a VNIC or
|
|
4366
|
+
* Create new IPv6s in bulk for a VNIC or subnet.
|
|
4367
4367
|
*
|
|
4368
4368
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4369
4369
|
* @param BulkCreateIpv6sRequest
|
|
@@ -4383,7 +4383,7 @@ export declare class VirtualNetworkClient {
|
|
|
4383
4383
|
*/
|
|
4384
4384
|
bulkCreatePrivateIps(bulkCreatePrivateIpsRequest: requests.BulkCreatePrivateIpsRequest): Promise<responses.BulkCreatePrivateIpsResponse>;
|
|
4385
4385
|
/**
|
|
4386
|
-
*
|
|
4386
|
+
* Unassign and delete IPv6s for a VNIC in bulk.
|
|
4387
4387
|
*
|
|
4388
4388
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4389
4389
|
* @param BulkDeleteIpv6sRequest
|
|
@@ -4393,7 +4393,7 @@ export declare class VirtualNetworkClient {
|
|
|
4393
4393
|
*/
|
|
4394
4394
|
bulkDeleteIpv6s(bulkDeleteIpv6sRequest: requests.BulkDeleteIpv6sRequest): Promise<responses.BulkDeleteIpv6sResponse>;
|
|
4395
4395
|
/**
|
|
4396
|
-
*
|
|
4396
|
+
* Unassign and delete secondary private IPv4s for a VNIC.
|
|
4397
4397
|
*
|
|
4398
4398
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4399
4399
|
* @param BulkDeletePrivateIpsRequest
|
|
@@ -4416,7 +4416,7 @@ export declare class VirtualNetworkClient {
|
|
|
4416
4416
|
*/
|
|
4417
4417
|
bulkDeleteVirtualCircuitPublicPrefixes(bulkDeleteVirtualCircuitPublicPrefixesRequest: requests.BulkDeleteVirtualCircuitPublicPrefixesRequest): Promise<responses.BulkDeleteVirtualCircuitPublicPrefixesResponse>;
|
|
4418
4418
|
/**
|
|
4419
|
-
*
|
|
4419
|
+
* Detach the specified IPv6s.
|
|
4420
4420
|
*
|
|
4421
4421
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4422
4422
|
* @param BulkDetachIpv6sRequest
|
|
@@ -4426,7 +4426,7 @@ export declare class VirtualNetworkClient {
|
|
|
4426
4426
|
*/
|
|
4427
4427
|
bulkDetachIpv6s(bulkDetachIpv6sRequest: requests.BulkDetachIpv6sRequest): Promise<responses.BulkDetachIpv6sResponse>;
|
|
4428
4428
|
/**
|
|
4429
|
-
* Unassign the specified
|
|
4429
|
+
* Unassign the specified private IP addresses from the Virtual Network Interface Card (VNIC). You must specify the PrivateIP object's [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
4430
4430
|
*
|
|
4431
4431
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4432
4432
|
* @param BulkDetachPrivateIpsRequest
|
|
@@ -4436,7 +4436,7 @@ export declare class VirtualNetworkClient {
|
|
|
4436
4436
|
*/
|
|
4437
4437
|
bulkDetachPrivateIps(bulkDetachPrivateIpsRequest: requests.BulkDetachPrivateIpsRequest): Promise<responses.BulkDetachPrivateIpsResponse>;
|
|
4438
4438
|
/**
|
|
4439
|
-
* Updates the specified IPv6s.
|
|
4439
|
+
* Updates the specified IPv6s in bulk.
|
|
4440
4440
|
*
|
|
4441
4441
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4442
4442
|
* @param BulkUpdateIpv6sRequest
|
|
@@ -4446,7 +4446,7 @@ export declare class VirtualNetworkClient {
|
|
|
4446
4446
|
*/
|
|
4447
4447
|
bulkUpdateIpv6s(bulkUpdateIpv6sRequest: requests.BulkUpdateIpv6sRequest): Promise<responses.BulkUpdateIpv6sResponse>;
|
|
4448
4448
|
/**
|
|
4449
|
-
*
|
|
4449
|
+
* Update existing secondary private IPv4s for a VNIC.
|
|
4450
4450
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4451
4451
|
* @param BulkUpdatePrivateIpsRequest
|
|
4452
4452
|
* @return BulkUpdatePrivateIpsResponse
|
package/lib/client.js
CHANGED
|
@@ -8446,35 +8446,36 @@ class ComputeClient {
|
|
|
8446
8446
|
});
|
|
8447
8447
|
}
|
|
8448
8448
|
/**
|
|
8449
|
-
* Gets information about the specified compute host
|
|
8449
|
+
* Gets information about the specified compute host
|
|
8450
|
+
*
|
|
8450
8451
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8451
|
-
* @param
|
|
8452
|
-
* @return
|
|
8452
|
+
* @param GetComputeHostRequest
|
|
8453
|
+
* @return GetComputeHostResponse
|
|
8453
8454
|
* @throws OciError when an error occurs
|
|
8454
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/
|
|
8455
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetComputeHost.ts.html |here} to see how to use GetComputeHost API.
|
|
8455
8456
|
*/
|
|
8456
|
-
|
|
8457
|
+
getComputeHost(getComputeHostRequest) {
|
|
8457
8458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8458
8459
|
if (this.logger)
|
|
8459
|
-
this.logger.debug("Calling operation ComputeClient#
|
|
8460
|
-
const operationName = "
|
|
8461
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
|
8460
|
+
this.logger.debug("Calling operation ComputeClient#getComputeHost.");
|
|
8461
|
+
const operationName = "getComputeHost";
|
|
8462
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/GetComputeHost";
|
|
8462
8463
|
const pathParams = {
|
|
8463
|
-
"{
|
|
8464
|
+
"{computeHostId}": getComputeHostRequest.computeHostId
|
|
8464
8465
|
};
|
|
8465
8466
|
const queryParams = {};
|
|
8466
8467
|
let headerParams = {
|
|
8467
8468
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8468
|
-
"opc-request-id":
|
|
8469
|
+
"opc-request-id": getComputeHostRequest.opcRequestId
|
|
8469
8470
|
};
|
|
8470
8471
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8471
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
8472
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getComputeHostRequest.retryConfiguration, specRetryConfiguration);
|
|
8472
8473
|
if (this.logger)
|
|
8473
8474
|
retrier.logger = this.logger;
|
|
8474
8475
|
const request = yield oci_common_2.composeRequest({
|
|
8475
8476
|
baseEndpoint: this._endpoint,
|
|
8476
8477
|
defaultHeaders: this._defaultHeaders,
|
|
8477
|
-
path: "/
|
|
8478
|
+
path: "/computeHosts/{computeHostId}",
|
|
8478
8479
|
method: "GET",
|
|
8479
8480
|
pathParams: pathParams,
|
|
8480
8481
|
headerParams: headerParams,
|
|
@@ -8485,9 +8486,9 @@ class ComputeClient {
|
|
|
8485
8486
|
const sdkResponse = oci_common_2.composeResponse({
|
|
8486
8487
|
responseObject: {},
|
|
8487
8488
|
body: yield response.json(),
|
|
8488
|
-
bodyKey: "
|
|
8489
|
-
bodyModel: model.
|
|
8490
|
-
type: "model.
|
|
8489
|
+
bodyKey: "computeHost",
|
|
8490
|
+
bodyModel: model.ComputeHost,
|
|
8491
|
+
type: "model.ComputeHost",
|
|
8491
8492
|
responseHeaders: [
|
|
8492
8493
|
{
|
|
8493
8494
|
value: response.headers.get("etag"),
|
|
@@ -8509,36 +8510,35 @@ class ComputeClient {
|
|
|
8509
8510
|
});
|
|
8510
8511
|
}
|
|
8511
8512
|
/**
|
|
8512
|
-
* Gets information about the specified compute host
|
|
8513
|
-
*
|
|
8513
|
+
* Gets information about the specified compute host group
|
|
8514
8514
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8515
|
-
* @param
|
|
8516
|
-
* @return
|
|
8515
|
+
* @param GetComputeHostGroupRequest
|
|
8516
|
+
* @return GetComputeHostGroupResponse
|
|
8517
8517
|
* @throws OciError when an error occurs
|
|
8518
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/
|
|
8518
|
+
* @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.
|
|
8519
8519
|
*/
|
|
8520
|
-
|
|
8520
|
+
getComputeHostGroup(getComputeHostGroupRequest) {
|
|
8521
8521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8522
8522
|
if (this.logger)
|
|
8523
|
-
this.logger.debug("Calling operation ComputeClient#
|
|
8524
|
-
const operationName = "
|
|
8525
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
|
8523
|
+
this.logger.debug("Calling operation ComputeClient#getComputeHostGroup.");
|
|
8524
|
+
const operationName = "getComputeHostGroup";
|
|
8525
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/GetComputeHostGroup";
|
|
8526
8526
|
const pathParams = {
|
|
8527
|
-
"{
|
|
8527
|
+
"{computeHostGroupId}": getComputeHostGroupRequest.computeHostGroupId
|
|
8528
8528
|
};
|
|
8529
8529
|
const queryParams = {};
|
|
8530
8530
|
let headerParams = {
|
|
8531
8531
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8532
|
-
"opc-request-id":
|
|
8532
|
+
"opc-request-id": getComputeHostGroupRequest.opcRequestId
|
|
8533
8533
|
};
|
|
8534
8534
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8535
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
8535
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getComputeHostGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
8536
8536
|
if (this.logger)
|
|
8537
8537
|
retrier.logger = this.logger;
|
|
8538
8538
|
const request = yield oci_common_2.composeRequest({
|
|
8539
8539
|
baseEndpoint: this._endpoint,
|
|
8540
8540
|
defaultHeaders: this._defaultHeaders,
|
|
8541
|
-
path: "/
|
|
8541
|
+
path: "/computeHostGroups/{computeHostGroupId}",
|
|
8542
8542
|
method: "GET",
|
|
8543
8543
|
pathParams: pathParams,
|
|
8544
8544
|
headerParams: headerParams,
|
|
@@ -8549,9 +8549,9 @@ class ComputeClient {
|
|
|
8549
8549
|
const sdkResponse = oci_common_2.composeResponse({
|
|
8550
8550
|
responseObject: {},
|
|
8551
8551
|
body: yield response.json(),
|
|
8552
|
-
bodyKey: "
|
|
8553
|
-
bodyModel: model.
|
|
8554
|
-
type: "model.
|
|
8552
|
+
bodyKey: "computeHostGroup",
|
|
8553
|
+
bodyModel: model.ComputeHostGroup,
|
|
8554
|
+
type: "model.ComputeHostGroup",
|
|
8555
8555
|
responseHeaders: [
|
|
8556
8556
|
{
|
|
8557
8557
|
value: response.headers.get("etag"),
|
|
@@ -13642,39 +13642,40 @@ class ComputeClient {
|
|
|
13642
13642
|
});
|
|
13643
13643
|
}
|
|
13644
13644
|
/**
|
|
13645
|
-
*
|
|
13645
|
+
* Customer can update the some fields for ComputeHost record
|
|
13646
|
+
*
|
|
13646
13647
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13647
|
-
* @param
|
|
13648
|
-
* @return
|
|
13648
|
+
* @param UpdateComputeHostRequest
|
|
13649
|
+
* @return UpdateComputeHostResponse
|
|
13649
13650
|
* @throws OciError when an error occurs
|
|
13650
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/
|
|
13651
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/UpdateComputeHost.ts.html |here} to see how to use UpdateComputeHost API.
|
|
13651
13652
|
*/
|
|
13652
|
-
|
|
13653
|
+
updateComputeHost(updateComputeHostRequest) {
|
|
13653
13654
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13654
13655
|
if (this.logger)
|
|
13655
|
-
this.logger.debug("Calling operation ComputeClient#
|
|
13656
|
-
const operationName = "
|
|
13657
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
|
13656
|
+
this.logger.debug("Calling operation ComputeClient#updateComputeHost.");
|
|
13657
|
+
const operationName = "updateComputeHost";
|
|
13658
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/UpdateComputeHost";
|
|
13658
13659
|
const pathParams = {
|
|
13659
|
-
"{
|
|
13660
|
+
"{computeHostId}": updateComputeHostRequest.computeHostId
|
|
13660
13661
|
};
|
|
13661
13662
|
const queryParams = {};
|
|
13662
13663
|
let headerParams = {
|
|
13663
13664
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13664
|
-
"if-match":
|
|
13665
|
-
"opc-request-id":
|
|
13666
|
-
"opc-retry-token":
|
|
13665
|
+
"if-match": updateComputeHostRequest.ifMatch,
|
|
13666
|
+
"opc-request-id": updateComputeHostRequest.opcRequestId,
|
|
13667
|
+
"opc-retry-token": updateComputeHostRequest.opcRetryToken
|
|
13667
13668
|
};
|
|
13668
13669
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
13669
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
13670
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateComputeHostRequest.retryConfiguration, specRetryConfiguration);
|
|
13670
13671
|
if (this.logger)
|
|
13671
13672
|
retrier.logger = this.logger;
|
|
13672
13673
|
const request = yield oci_common_2.composeRequest({
|
|
13673
13674
|
baseEndpoint: this._endpoint,
|
|
13674
13675
|
defaultHeaders: this._defaultHeaders,
|
|
13675
|
-
path: "/
|
|
13676
|
+
path: "/computeHosts/{computeHostId}",
|
|
13676
13677
|
method: "PUT",
|
|
13677
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
13678
|
+
bodyContent: common.ObjectSerializer.serialize(updateComputeHostRequest.updateComputeHostDetails, "UpdateComputeHostDetails", model.UpdateComputeHostDetails.getJsonObj),
|
|
13678
13679
|
pathParams: pathParams,
|
|
13679
13680
|
headerParams: headerParams,
|
|
13680
13681
|
queryParams: queryParams
|
|
@@ -13683,21 +13684,12 @@ class ComputeClient {
|
|
|
13683
13684
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13684
13685
|
const sdkResponse = oci_common_2.composeResponse({
|
|
13685
13686
|
responseObject: {},
|
|
13686
|
-
body: yield response.json(),
|
|
13687
|
-
bodyKey: "computeHostGroup",
|
|
13688
|
-
bodyModel: model.ComputeHostGroup,
|
|
13689
|
-
type: "model.ComputeHostGroup",
|
|
13690
13687
|
responseHeaders: [
|
|
13691
13688
|
{
|
|
13692
13689
|
value: response.headers.get("etag"),
|
|
13693
13690
|
key: "etag",
|
|
13694
13691
|
dataType: "string"
|
|
13695
13692
|
},
|
|
13696
|
-
{
|
|
13697
|
-
value: response.headers.get("location"),
|
|
13698
|
-
key: "location",
|
|
13699
|
-
dataType: "string"
|
|
13700
|
-
},
|
|
13701
13693
|
{
|
|
13702
13694
|
value: response.headers.get("opc-request-id"),
|
|
13703
13695
|
key: "opcRequestId",
|
|
@@ -13718,40 +13710,39 @@ class ComputeClient {
|
|
|
13718
13710
|
});
|
|
13719
13711
|
}
|
|
13720
13712
|
/**
|
|
13721
|
-
*
|
|
13722
|
-
*
|
|
13713
|
+
* Updates the specified compute host group details.
|
|
13723
13714
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13724
|
-
* @param
|
|
13725
|
-
* @return
|
|
13715
|
+
* @param UpdateComputeHostGroupRequest
|
|
13716
|
+
* @return UpdateComputeHostGroupResponse
|
|
13726
13717
|
* @throws OciError when an error occurs
|
|
13727
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/
|
|
13718
|
+
* @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.
|
|
13728
13719
|
*/
|
|
13729
|
-
|
|
13720
|
+
updateComputeHostGroup(updateComputeHostGroupRequest) {
|
|
13730
13721
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13731
13722
|
if (this.logger)
|
|
13732
|
-
this.logger.debug("Calling operation ComputeClient#
|
|
13733
|
-
const operationName = "
|
|
13734
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/
|
|
13723
|
+
this.logger.debug("Calling operation ComputeClient#updateComputeHostGroup.");
|
|
13724
|
+
const operationName = "updateComputeHostGroup";
|
|
13725
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/UpdateComputeHostGroup";
|
|
13735
13726
|
const pathParams = {
|
|
13736
|
-
"{
|
|
13727
|
+
"{computeHostGroupId}": updateComputeHostGroupRequest.computeHostGroupId
|
|
13737
13728
|
};
|
|
13738
13729
|
const queryParams = {};
|
|
13739
13730
|
let headerParams = {
|
|
13740
13731
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13741
|
-
"if-match":
|
|
13742
|
-
"opc-request-id":
|
|
13743
|
-
"opc-retry-token":
|
|
13732
|
+
"if-match": updateComputeHostGroupRequest.ifMatch,
|
|
13733
|
+
"opc-request-id": updateComputeHostGroupRequest.opcRequestId,
|
|
13734
|
+
"opc-retry-token": updateComputeHostGroupRequest.opcRetryToken
|
|
13744
13735
|
};
|
|
13745
13736
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
13746
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
13737
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateComputeHostGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
13747
13738
|
if (this.logger)
|
|
13748
13739
|
retrier.logger = this.logger;
|
|
13749
13740
|
const request = yield oci_common_2.composeRequest({
|
|
13750
13741
|
baseEndpoint: this._endpoint,
|
|
13751
13742
|
defaultHeaders: this._defaultHeaders,
|
|
13752
|
-
path: "/
|
|
13743
|
+
path: "/computeHostGroups/{computeHostGroupId}",
|
|
13753
13744
|
method: "PUT",
|
|
13754
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
13745
|
+
bodyContent: common.ObjectSerializer.serialize(updateComputeHostGroupRequest.updateComputeHostGroupDetails, "UpdateComputeHostGroupDetails", model.UpdateComputeHostGroupDetails.getJsonObj),
|
|
13755
13746
|
pathParams: pathParams,
|
|
13756
13747
|
headerParams: headerParams,
|
|
13757
13748
|
queryParams: queryParams
|
|
@@ -13760,12 +13751,21 @@ class ComputeClient {
|
|
|
13760
13751
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13761
13752
|
const sdkResponse = oci_common_2.composeResponse({
|
|
13762
13753
|
responseObject: {},
|
|
13754
|
+
body: yield response.json(),
|
|
13755
|
+
bodyKey: "computeHostGroup",
|
|
13756
|
+
bodyModel: model.ComputeHostGroup,
|
|
13757
|
+
type: "model.ComputeHostGroup",
|
|
13763
13758
|
responseHeaders: [
|
|
13764
13759
|
{
|
|
13765
13760
|
value: response.headers.get("etag"),
|
|
13766
13761
|
key: "etag",
|
|
13767
13762
|
dataType: "string"
|
|
13768
13763
|
},
|
|
13764
|
+
{
|
|
13765
|
+
value: response.headers.get("location"),
|
|
13766
|
+
key: "location",
|
|
13767
|
+
dataType: "string"
|
|
13768
|
+
},
|
|
13769
13769
|
{
|
|
13770
13770
|
value: response.headers.get("opc-request-id"),
|
|
13771
13771
|
key: "opcRequestId",
|
|
@@ -17732,7 +17732,7 @@ class VirtualNetworkClient {
|
|
|
17732
17732
|
});
|
|
17733
17733
|
}
|
|
17734
17734
|
/**
|
|
17735
|
-
* Create new IPv6s for a VNIC or
|
|
17735
|
+
* Create new IPv6s in bulk for a VNIC or subnet.
|
|
17736
17736
|
*
|
|
17737
17737
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
17738
17738
|
* @param BulkCreateIpv6sRequest
|
|
@@ -17852,7 +17852,7 @@ class VirtualNetworkClient {
|
|
|
17852
17852
|
});
|
|
17853
17853
|
}
|
|
17854
17854
|
/**
|
|
17855
|
-
*
|
|
17855
|
+
* Unassign and delete IPv6s for a VNIC in bulk.
|
|
17856
17856
|
*
|
|
17857
17857
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
17858
17858
|
* @param BulkDeleteIpv6sRequest
|
|
@@ -17912,7 +17912,7 @@ class VirtualNetworkClient {
|
|
|
17912
17912
|
});
|
|
17913
17913
|
}
|
|
17914
17914
|
/**
|
|
17915
|
-
*
|
|
17915
|
+
* Unassign and delete secondary private IPv4s for a VNIC.
|
|
17916
17916
|
*
|
|
17917
17917
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
17918
17918
|
* @param BulkDeletePrivateIpsRequest
|
|
@@ -18024,7 +18024,7 @@ class VirtualNetworkClient {
|
|
|
18024
18024
|
});
|
|
18025
18025
|
}
|
|
18026
18026
|
/**
|
|
18027
|
-
*
|
|
18027
|
+
* Detach the specified IPv6s.
|
|
18028
18028
|
*
|
|
18029
18029
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
18030
18030
|
* @param BulkDetachIpv6sRequest
|
|
@@ -18084,7 +18084,7 @@ class VirtualNetworkClient {
|
|
|
18084
18084
|
});
|
|
18085
18085
|
}
|
|
18086
18086
|
/**
|
|
18087
|
-
* Unassign the specified
|
|
18087
|
+
* Unassign the specified private IP addresses from the Virtual Network Interface Card (VNIC). You must specify the PrivateIP object's [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
18088
18088
|
*
|
|
18089
18089
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
18090
18090
|
* @param BulkDetachPrivateIpsRequest
|
|
@@ -18144,7 +18144,7 @@ class VirtualNetworkClient {
|
|
|
18144
18144
|
});
|
|
18145
18145
|
}
|
|
18146
18146
|
/**
|
|
18147
|
-
* Updates the specified IPv6s.
|
|
18147
|
+
* Updates the specified IPv6s in bulk.
|
|
18148
18148
|
*
|
|
18149
18149
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
18150
18150
|
* @param BulkUpdateIpv6sRequest
|
|
@@ -18204,7 +18204,7 @@ class VirtualNetworkClient {
|
|
|
18204
18204
|
});
|
|
18205
18205
|
}
|
|
18206
18206
|
/**
|
|
18207
|
-
*
|
|
18207
|
+
* Update existing secondary private IPv4s for a VNIC.
|
|
18208
18208
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
18209
18209
|
* @param BulkUpdatePrivateIpsRequest
|
|
18210
18210
|
* @return BulkUpdatePrivateIpsResponse
|