oci-core 2.125.0 → 2.125.2
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 +79 -0
- package/lib/client.js +479 -0
- package/lib/client.js.map +1 -1
- package/lib/model/bulk-create-ipv6s-details.d.ts +46 -0
- package/lib/model/bulk-create-ipv6s-details.js +68 -0
- package/lib/model/bulk-create-ipv6s-details.js.map +1 -0
- package/lib/model/bulk-create-ipv6s-item.d.ts +93 -0
- package/lib/model/bulk-create-ipv6s-item.js +41 -0
- package/lib/model/bulk-create-ipv6s-item.js.map +1 -0
- package/lib/model/bulk-create-private-ip-item.d.ts +114 -0
- package/lib/model/bulk-create-private-ip-item.js +41 -0
- package/lib/model/bulk-create-private-ip-item.js.map +1 -0
- package/lib/model/bulk-create-private-ips-details.d.ts +50 -0
- package/lib/model/bulk-create-private-ips-details.js +68 -0
- package/lib/model/bulk-create-private-ips-details.js.map +1 -0
- package/lib/model/bulk-delete-ipv6s-details.d.ts +45 -0
- package/lib/model/bulk-delete-ipv6s-details.js +68 -0
- package/lib/model/bulk-delete-ipv6s-details.js.map +1 -0
- package/lib/model/bulk-delete-ipv6s-item.d.ts +32 -0
- package/lib/model/bulk-delete-ipv6s-item.js +36 -0
- package/lib/model/bulk-delete-ipv6s-item.js.map +1 -0
- package/lib/model/bulk-delete-private-ip-item.d.ts +33 -0
- package/lib/model/bulk-delete-private-ip-item.js +36 -0
- package/lib/model/bulk-delete-private-ip-item.js.map +1 -0
- package/lib/model/bulk-delete-private-ips-details.d.ts +51 -0
- package/lib/model/bulk-delete-private-ips-details.js +68 -0
- package/lib/model/bulk-delete-private-ips-details.js.map +1 -0
- package/lib/model/bulk-detach-ipv6s-details.d.ts +39 -0
- package/lib/model/bulk-detach-ipv6s-details.js +68 -0
- package/lib/model/bulk-detach-ipv6s-details.js.map +1 -0
- package/lib/model/bulk-detach-ipv6s-item.d.ts +33 -0
- package/lib/model/bulk-detach-ipv6s-item.js +36 -0
- package/lib/model/bulk-detach-ipv6s-item.js.map +1 -0
- package/lib/model/bulk-detach-private-ip-item.d.ts +33 -0
- package/lib/model/bulk-detach-private-ip-item.js +36 -0
- package/lib/model/bulk-detach-private-ip-item.js.map +1 -0
- package/lib/model/bulk-detach-private-ips-details.d.ts +39 -0
- package/lib/model/bulk-detach-private-ips-details.js +68 -0
- package/lib/model/bulk-detach-private-ips-details.js.map +1 -0
- package/lib/model/bulk-update-ipv6s-details.d.ts +40 -0
- package/lib/model/bulk-update-ipv6s-details.js +68 -0
- package/lib/model/bulk-update-ipv6s-details.js.map +1 -0
- package/lib/model/bulk-update-ipv6s-item.d.ts +79 -0
- package/lib/model/bulk-update-ipv6s-item.js +41 -0
- package/lib/model/bulk-update-ipv6s-item.js.map +1 -0
- package/lib/model/bulk-update-private-ip-item.d.ts +94 -0
- package/lib/model/bulk-update-private-ip-item.js +41 -0
- package/lib/model/bulk-update-private-ip-item.js.map +1 -0
- package/lib/model/bulk-update-private-ips-details.d.ts +40 -0
- package/lib/model/bulk-update-private-ips-details.js +68 -0
- package/lib/model/bulk-update-private-ips-details.js.map +1 -0
- package/lib/model/capacity-report-instance-shape-config.d.ts +21 -0
- package/lib/model/capacity-report-instance-shape-config.js +11 -0
- package/lib/model/capacity-report-instance-shape-config.js.map +1 -1
- package/lib/model/compute-gpu-memory-cluster-scale-config.d.ts +44 -0
- package/lib/model/compute-gpu-memory-cluster-scale-config.js +36 -0
- package/lib/model/compute-gpu-memory-cluster-scale-config.js.map +1 -0
- package/lib/model/compute-gpu-memory-cluster.d.ts +2 -0
- package/lib/model/compute-gpu-memory-cluster.js +30 -2
- package/lib/model/compute-gpu-memory-cluster.js.map +1 -1
- package/lib/model/create-compute-gpu-memory-cluster-details.d.ts +2 -0
- package/lib/model/create-compute-gpu-memory-cluster-details.js +30 -2
- 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 +44 -0
- package/lib/model/create-compute-gpu-memory-cluster-scale-config.js +36 -0
- package/lib/model/create-compute-gpu-memory-cluster-scale-config.js.map +1 -0
- package/lib/model/create-cross-connect-details.d.ts +10 -0
- package/lib/model/create-cross-connect-details.js.map +1 -1
- package/lib/model/cross-connect.d.ts +5 -0
- package/lib/model/cross-connect.js.map +1 -1
- package/lib/model/index.d.ts +38 -0
- package/lib/model/index.js +53 -14
- package/lib/model/index.js.map +1 -1
- package/lib/model/update-compute-gpu-memory-cluster-details.d.ts +2 -0
- package/lib/model/update-compute-gpu-memory-cluster-details.js +30 -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 +44 -0
- package/lib/model/update-compute-gpu-memory-cluster-scale-config.js +36 -0
- package/lib/model/update-compute-gpu-memory-cluster-scale-config.js.map +1 -0
- package/lib/request/bulk-create-ipv6s-request.d.ts +38 -0
- package/lib/request/bulk-create-ipv6s-request.js +15 -0
- package/lib/request/bulk-create-ipv6s-request.js.map +1 -0
- package/lib/request/bulk-create-private-ips-request.d.ts +38 -0
- package/lib/request/bulk-create-private-ips-request.js +15 -0
- package/lib/request/bulk-create-private-ips-request.js.map +1 -0
- package/lib/request/bulk-delete-ipv6s-request.d.ts +38 -0
- package/lib/request/bulk-delete-ipv6s-request.js +15 -0
- package/lib/request/bulk-delete-ipv6s-request.js.map +1 -0
- package/lib/request/bulk-delete-private-ips-request.d.ts +38 -0
- package/lib/request/bulk-delete-private-ips-request.js +15 -0
- package/lib/request/bulk-delete-private-ips-request.js.map +1 -0
- package/lib/request/bulk-detach-ipv6s-request.d.ts +38 -0
- package/lib/request/bulk-detach-ipv6s-request.js +15 -0
- package/lib/request/bulk-detach-ipv6s-request.js.map +1 -0
- package/lib/request/bulk-detach-private-ips-request.d.ts +38 -0
- package/lib/request/bulk-detach-private-ips-request.js +15 -0
- package/lib/request/bulk-detach-private-ips-request.js.map +1 -0
- package/lib/request/bulk-update-ipv6s-request.d.ts +38 -0
- package/lib/request/bulk-update-ipv6s-request.js +15 -0
- package/lib/request/bulk-update-ipv6s-request.js.map +1 -0
- package/lib/request/bulk-update-private-ips-request.d.ts +38 -0
- package/lib/request/bulk-update-private-ips-request.js +15 -0
- package/lib/request/bulk-update-private-ips-request.js.map +1 -0
- package/lib/request/index.d.ts +16 -0
- package/lib/request/index.js.map +1 -1
- package/lib/response/bulk-create-ipv6s-response.d.ts +27 -0
- package/lib/response/bulk-create-ipv6s-response.js +15 -0
- package/lib/response/bulk-create-ipv6s-response.js.map +1 -0
- package/lib/response/bulk-create-private-ips-response.d.ts +27 -0
- package/lib/response/bulk-create-private-ips-response.js +15 -0
- package/lib/response/bulk-create-private-ips-response.js.map +1 -0
- package/lib/response/bulk-delete-ipv6s-response.d.ts +27 -0
- package/lib/response/bulk-delete-ipv6s-response.js +15 -0
- package/lib/response/bulk-delete-ipv6s-response.js.map +1 -0
- package/lib/response/bulk-delete-private-ips-response.d.ts +27 -0
- package/lib/response/bulk-delete-private-ips-response.js +15 -0
- package/lib/response/bulk-delete-private-ips-response.js.map +1 -0
- package/lib/response/bulk-detach-ipv6s-response.d.ts +27 -0
- package/lib/response/bulk-detach-ipv6s-response.js +15 -0
- package/lib/response/bulk-detach-ipv6s-response.js.map +1 -0
- package/lib/response/bulk-detach-private-ips-response.d.ts +27 -0
- package/lib/response/bulk-detach-private-ips-response.js +15 -0
- package/lib/response/bulk-detach-private-ips-response.js.map +1 -0
- package/lib/response/bulk-update-ipv6s-response.d.ts +27 -0
- package/lib/response/bulk-update-ipv6s-response.js +15 -0
- package/lib/response/bulk-update-ipv6s-response.js.map +1 -0
- package/lib/response/bulk-update-private-ips-response.d.ts +27 -0
- package/lib/response/bulk-update-private-ips-response.js +15 -0
- package/lib/response/bulk-update-private-ips-response.js.map +1 -0
- package/lib/response/index.d.ts +16 -0
- package/lib/virtualnetwork-waiter.d.ts +80 -0
- package/lib/virtualnetwork-waiter.js +120 -0
- package/lib/virtualnetwork-waiter.js.map +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -4362,6 +4362,46 @@ export declare class VirtualNetworkClient {
|
|
|
4362
4362
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.ts.html |here} to see how to use BulkAddVirtualCircuitPublicPrefixes API.
|
|
4363
4363
|
*/
|
|
4364
4364
|
bulkAddVirtualCircuitPublicPrefixes(bulkAddVirtualCircuitPublicPrefixesRequest: requests.BulkAddVirtualCircuitPublicPrefixesRequest): Promise<responses.BulkAddVirtualCircuitPublicPrefixesResponse>;
|
|
4365
|
+
/**
|
|
4366
|
+
* Create new IPv6s for a VNIC or Subnet.
|
|
4367
|
+
*
|
|
4368
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4369
|
+
* @param BulkCreateIpv6sRequest
|
|
4370
|
+
* @return BulkCreateIpv6sResponse
|
|
4371
|
+
* @throws OciError when an error occurs
|
|
4372
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkCreateIpv6s.ts.html |here} to see how to use BulkCreateIpv6s API.
|
|
4373
|
+
*/
|
|
4374
|
+
bulkCreateIpv6s(bulkCreateIpv6sRequest: requests.BulkCreateIpv6sRequest): Promise<responses.BulkCreateIpv6sResponse>;
|
|
4375
|
+
/**
|
|
4376
|
+
* Create secondary private IPv4 addresses.
|
|
4377
|
+
*
|
|
4378
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4379
|
+
* @param BulkCreatePrivateIpsRequest
|
|
4380
|
+
* @return BulkCreatePrivateIpsResponse
|
|
4381
|
+
* @throws OciError when an error occurs
|
|
4382
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkCreatePrivateIps.ts.html |here} to see how to use BulkCreatePrivateIps API.
|
|
4383
|
+
*/
|
|
4384
|
+
bulkCreatePrivateIps(bulkCreatePrivateIpsRequest: requests.BulkCreatePrivateIpsRequest): Promise<responses.BulkCreatePrivateIpsResponse>;
|
|
4385
|
+
/**
|
|
4386
|
+
* Unassigns and deletes IPv6s for a VNIC.
|
|
4387
|
+
*
|
|
4388
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4389
|
+
* @param BulkDeleteIpv6sRequest
|
|
4390
|
+
* @return BulkDeleteIpv6sResponse
|
|
4391
|
+
* @throws OciError when an error occurs
|
|
4392
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkDeleteIpv6s.ts.html |here} to see how to use BulkDeleteIpv6s API.
|
|
4393
|
+
*/
|
|
4394
|
+
bulkDeleteIpv6s(bulkDeleteIpv6sRequest: requests.BulkDeleteIpv6sRequest): Promise<responses.BulkDeleteIpv6sResponse>;
|
|
4395
|
+
/**
|
|
4396
|
+
* Unassigns and deletes secondary private IPv4s for a VNIC.
|
|
4397
|
+
*
|
|
4398
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4399
|
+
* @param BulkDeletePrivateIpsRequest
|
|
4400
|
+
* @return BulkDeletePrivateIpsResponse
|
|
4401
|
+
* @throws OciError when an error occurs
|
|
4402
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkDeletePrivateIps.ts.html |here} to see how to use BulkDeletePrivateIps API.
|
|
4403
|
+
*/
|
|
4404
|
+
bulkDeletePrivateIps(bulkDeletePrivateIpsRequest: requests.BulkDeletePrivateIpsRequest): Promise<responses.BulkDeletePrivateIpsResponse>;
|
|
4365
4405
|
/**
|
|
4366
4406
|
* Removes one or more customer public IP prefixes from the specified public virtual circuit.
|
|
4367
4407
|
* Use this operation (and not {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest) updateVirtualCircuit})
|
|
@@ -4375,6 +4415,45 @@ export declare class VirtualNetworkClient {
|
|
|
4375
4415
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.ts.html |here} to see how to use BulkDeleteVirtualCircuitPublicPrefixes API.
|
|
4376
4416
|
*/
|
|
4377
4417
|
bulkDeleteVirtualCircuitPublicPrefixes(bulkDeleteVirtualCircuitPublicPrefixesRequest: requests.BulkDeleteVirtualCircuitPublicPrefixesRequest): Promise<responses.BulkDeleteVirtualCircuitPublicPrefixesResponse>;
|
|
4418
|
+
/**
|
|
4419
|
+
* detach the specified IPv6s.
|
|
4420
|
+
*
|
|
4421
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4422
|
+
* @param BulkDetachIpv6sRequest
|
|
4423
|
+
* @return BulkDetachIpv6sResponse
|
|
4424
|
+
* @throws OciError when an error occurs
|
|
4425
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkDetachIpv6s.ts.html |here} to see how to use BulkDetachIpv6s API.
|
|
4426
|
+
*/
|
|
4427
|
+
bulkDetachIpv6s(bulkDetachIpv6sRequest: requests.BulkDetachIpv6sRequest): Promise<responses.BulkDetachIpv6sResponse>;
|
|
4428
|
+
/**
|
|
4429
|
+
* Unassign the specified PrivateIP address from Virtual Network Interface Card (VNIC). You must specify the PrivateIP [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
4430
|
+
*
|
|
4431
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4432
|
+
* @param BulkDetachPrivateIpsRequest
|
|
4433
|
+
* @return BulkDetachPrivateIpsResponse
|
|
4434
|
+
* @throws OciError when an error occurs
|
|
4435
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkDetachPrivateIps.ts.html |here} to see how to use BulkDetachPrivateIps API.
|
|
4436
|
+
*/
|
|
4437
|
+
bulkDetachPrivateIps(bulkDetachPrivateIpsRequest: requests.BulkDetachPrivateIpsRequest): Promise<responses.BulkDetachPrivateIpsResponse>;
|
|
4438
|
+
/**
|
|
4439
|
+
* Updates the specified IPv6s.
|
|
4440
|
+
*
|
|
4441
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4442
|
+
* @param BulkUpdateIpv6sRequest
|
|
4443
|
+
* @return BulkUpdateIpv6sResponse
|
|
4444
|
+
* @throws OciError when an error occurs
|
|
4445
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkUpdateIpv6s.ts.html |here} to see how to use BulkUpdateIpv6s API.
|
|
4446
|
+
*/
|
|
4447
|
+
bulkUpdateIpv6s(bulkUpdateIpv6sRequest: requests.BulkUpdateIpv6sRequest): Promise<responses.BulkUpdateIpv6sResponse>;
|
|
4448
|
+
/**
|
|
4449
|
+
* Updates existing secondary Private IPv4s for a VNIC.
|
|
4450
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4451
|
+
* @param BulkUpdatePrivateIpsRequest
|
|
4452
|
+
* @return BulkUpdatePrivateIpsResponse
|
|
4453
|
+
* @throws OciError when an error occurs
|
|
4454
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkUpdatePrivateIps.ts.html |here} to see how to use BulkUpdatePrivateIps API.
|
|
4455
|
+
*/
|
|
4456
|
+
bulkUpdatePrivateIps(bulkUpdatePrivateIpsRequest: requests.BulkUpdatePrivateIpsRequest): Promise<responses.BulkUpdatePrivateIpsResponse>;
|
|
4378
4457
|
/**
|
|
4379
4458
|
* Moves a BYOASN Resource to a different compartment. For information
|
|
4380
4459
|
* about moving resources between compartments, see
|
package/lib/client.js
CHANGED
|
@@ -17731,6 +17731,246 @@ class VirtualNetworkClient {
|
|
|
17731
17731
|
}
|
|
17732
17732
|
});
|
|
17733
17733
|
}
|
|
17734
|
+
/**
|
|
17735
|
+
* Create new IPv6s for a VNIC or Subnet.
|
|
17736
|
+
*
|
|
17737
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
17738
|
+
* @param BulkCreateIpv6sRequest
|
|
17739
|
+
* @return BulkCreateIpv6sResponse
|
|
17740
|
+
* @throws OciError when an error occurs
|
|
17741
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkCreateIpv6s.ts.html |here} to see how to use BulkCreateIpv6s API.
|
|
17742
|
+
*/
|
|
17743
|
+
bulkCreateIpv6s(bulkCreateIpv6sRequest) {
|
|
17744
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17745
|
+
if (this.logger)
|
|
17746
|
+
this.logger.debug("Calling operation VirtualNetworkClient#bulkCreateIpv6s.");
|
|
17747
|
+
const operationName = "bulkCreateIpv6s";
|
|
17748
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/BulkCreateIpv6s";
|
|
17749
|
+
const pathParams = {};
|
|
17750
|
+
const queryParams = {};
|
|
17751
|
+
let headerParams = {
|
|
17752
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
17753
|
+
"opc-retry-token": bulkCreateIpv6sRequest.opcRetryToken,
|
|
17754
|
+
"opc-request-id": bulkCreateIpv6sRequest.opcRequestId
|
|
17755
|
+
};
|
|
17756
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
17757
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkCreateIpv6sRequest.retryConfiguration, specRetryConfiguration);
|
|
17758
|
+
if (this.logger)
|
|
17759
|
+
retrier.logger = this.logger;
|
|
17760
|
+
const request = yield oci_common_2.composeRequest({
|
|
17761
|
+
baseEndpoint: this._endpoint,
|
|
17762
|
+
defaultHeaders: this._defaultHeaders,
|
|
17763
|
+
path: "/ipv6/actions/bulkCreateIpv6s",
|
|
17764
|
+
method: "POST",
|
|
17765
|
+
bodyContent: common.ObjectSerializer.serialize(bulkCreateIpv6sRequest.bulkCreateIpv6sDetails, "BulkCreateIpv6sDetails", model.BulkCreateIpv6sDetails.getJsonObj),
|
|
17766
|
+
pathParams: pathParams,
|
|
17767
|
+
headerParams: headerParams,
|
|
17768
|
+
queryParams: queryParams
|
|
17769
|
+
});
|
|
17770
|
+
try {
|
|
17771
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
17772
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
17773
|
+
responseObject: {},
|
|
17774
|
+
responseHeaders: [
|
|
17775
|
+
{
|
|
17776
|
+
value: response.headers.get("opc-request-id"),
|
|
17777
|
+
key: "opcRequestId",
|
|
17778
|
+
dataType: "string"
|
|
17779
|
+
},
|
|
17780
|
+
{
|
|
17781
|
+
value: response.headers.get("opc-work-request-id"),
|
|
17782
|
+
key: "opcWorkRequestId",
|
|
17783
|
+
dataType: "string"
|
|
17784
|
+
}
|
|
17785
|
+
]
|
|
17786
|
+
});
|
|
17787
|
+
return sdkResponse;
|
|
17788
|
+
}
|
|
17789
|
+
catch (err) {
|
|
17790
|
+
throw err;
|
|
17791
|
+
}
|
|
17792
|
+
});
|
|
17793
|
+
}
|
|
17794
|
+
/**
|
|
17795
|
+
* Create secondary private IPv4 addresses.
|
|
17796
|
+
*
|
|
17797
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
17798
|
+
* @param BulkCreatePrivateIpsRequest
|
|
17799
|
+
* @return BulkCreatePrivateIpsResponse
|
|
17800
|
+
* @throws OciError when an error occurs
|
|
17801
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkCreatePrivateIps.ts.html |here} to see how to use BulkCreatePrivateIps API.
|
|
17802
|
+
*/
|
|
17803
|
+
bulkCreatePrivateIps(bulkCreatePrivateIpsRequest) {
|
|
17804
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17805
|
+
if (this.logger)
|
|
17806
|
+
this.logger.debug("Calling operation VirtualNetworkClient#bulkCreatePrivateIps.");
|
|
17807
|
+
const operationName = "bulkCreatePrivateIps";
|
|
17808
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/BulkCreatePrivateIps";
|
|
17809
|
+
const pathParams = {};
|
|
17810
|
+
const queryParams = {};
|
|
17811
|
+
let headerParams = {
|
|
17812
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
17813
|
+
"opc-retry-token": bulkCreatePrivateIpsRequest.opcRetryToken,
|
|
17814
|
+
"opc-request-id": bulkCreatePrivateIpsRequest.opcRequestId
|
|
17815
|
+
};
|
|
17816
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
17817
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkCreatePrivateIpsRequest.retryConfiguration, specRetryConfiguration);
|
|
17818
|
+
if (this.logger)
|
|
17819
|
+
retrier.logger = this.logger;
|
|
17820
|
+
const request = yield oci_common_2.composeRequest({
|
|
17821
|
+
baseEndpoint: this._endpoint,
|
|
17822
|
+
defaultHeaders: this._defaultHeaders,
|
|
17823
|
+
path: "/privateIps/actions/bulkCreatePrivateIps",
|
|
17824
|
+
method: "POST",
|
|
17825
|
+
bodyContent: common.ObjectSerializer.serialize(bulkCreatePrivateIpsRequest.bulkCreatePrivateIpsDetails, "BulkCreatePrivateIpsDetails", model.BulkCreatePrivateIpsDetails.getJsonObj),
|
|
17826
|
+
pathParams: pathParams,
|
|
17827
|
+
headerParams: headerParams,
|
|
17828
|
+
queryParams: queryParams
|
|
17829
|
+
});
|
|
17830
|
+
try {
|
|
17831
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
17832
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
17833
|
+
responseObject: {},
|
|
17834
|
+
responseHeaders: [
|
|
17835
|
+
{
|
|
17836
|
+
value: response.headers.get("opc-request-id"),
|
|
17837
|
+
key: "opcRequestId",
|
|
17838
|
+
dataType: "string"
|
|
17839
|
+
},
|
|
17840
|
+
{
|
|
17841
|
+
value: response.headers.get("opc-work-request-id"),
|
|
17842
|
+
key: "opcWorkRequestId",
|
|
17843
|
+
dataType: "string"
|
|
17844
|
+
}
|
|
17845
|
+
]
|
|
17846
|
+
});
|
|
17847
|
+
return sdkResponse;
|
|
17848
|
+
}
|
|
17849
|
+
catch (err) {
|
|
17850
|
+
throw err;
|
|
17851
|
+
}
|
|
17852
|
+
});
|
|
17853
|
+
}
|
|
17854
|
+
/**
|
|
17855
|
+
* Unassigns and deletes IPv6s for a VNIC.
|
|
17856
|
+
*
|
|
17857
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
17858
|
+
* @param BulkDeleteIpv6sRequest
|
|
17859
|
+
* @return BulkDeleteIpv6sResponse
|
|
17860
|
+
* @throws OciError when an error occurs
|
|
17861
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkDeleteIpv6s.ts.html |here} to see how to use BulkDeleteIpv6s API.
|
|
17862
|
+
*/
|
|
17863
|
+
bulkDeleteIpv6s(bulkDeleteIpv6sRequest) {
|
|
17864
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17865
|
+
if (this.logger)
|
|
17866
|
+
this.logger.debug("Calling operation VirtualNetworkClient#bulkDeleteIpv6s.");
|
|
17867
|
+
const operationName = "bulkDeleteIpv6s";
|
|
17868
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/BulkDeleteIpv6s";
|
|
17869
|
+
const pathParams = {};
|
|
17870
|
+
const queryParams = {};
|
|
17871
|
+
let headerParams = {
|
|
17872
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
17873
|
+
"opc-retry-token": bulkDeleteIpv6sRequest.opcRetryToken,
|
|
17874
|
+
"opc-request-id": bulkDeleteIpv6sRequest.opcRequestId
|
|
17875
|
+
};
|
|
17876
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
17877
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkDeleteIpv6sRequest.retryConfiguration, specRetryConfiguration);
|
|
17878
|
+
if (this.logger)
|
|
17879
|
+
retrier.logger = this.logger;
|
|
17880
|
+
const request = yield oci_common_2.composeRequest({
|
|
17881
|
+
baseEndpoint: this._endpoint,
|
|
17882
|
+
defaultHeaders: this._defaultHeaders,
|
|
17883
|
+
path: "/ipv6/actions/bulkDeleteIpv6s",
|
|
17884
|
+
method: "POST",
|
|
17885
|
+
bodyContent: common.ObjectSerializer.serialize(bulkDeleteIpv6sRequest.bulkDeleteIpv6sDetails, "BulkDeleteIpv6sDetails", model.BulkDeleteIpv6sDetails.getJsonObj),
|
|
17886
|
+
pathParams: pathParams,
|
|
17887
|
+
headerParams: headerParams,
|
|
17888
|
+
queryParams: queryParams
|
|
17889
|
+
});
|
|
17890
|
+
try {
|
|
17891
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
17892
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
17893
|
+
responseObject: {},
|
|
17894
|
+
responseHeaders: [
|
|
17895
|
+
{
|
|
17896
|
+
value: response.headers.get("opc-request-id"),
|
|
17897
|
+
key: "opcRequestId",
|
|
17898
|
+
dataType: "string"
|
|
17899
|
+
},
|
|
17900
|
+
{
|
|
17901
|
+
value: response.headers.get("opc-work-request-id"),
|
|
17902
|
+
key: "opcWorkRequestId",
|
|
17903
|
+
dataType: "string"
|
|
17904
|
+
}
|
|
17905
|
+
]
|
|
17906
|
+
});
|
|
17907
|
+
return sdkResponse;
|
|
17908
|
+
}
|
|
17909
|
+
catch (err) {
|
|
17910
|
+
throw err;
|
|
17911
|
+
}
|
|
17912
|
+
});
|
|
17913
|
+
}
|
|
17914
|
+
/**
|
|
17915
|
+
* Unassigns and deletes secondary private IPv4s for a VNIC.
|
|
17916
|
+
*
|
|
17917
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
17918
|
+
* @param BulkDeletePrivateIpsRequest
|
|
17919
|
+
* @return BulkDeletePrivateIpsResponse
|
|
17920
|
+
* @throws OciError when an error occurs
|
|
17921
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkDeletePrivateIps.ts.html |here} to see how to use BulkDeletePrivateIps API.
|
|
17922
|
+
*/
|
|
17923
|
+
bulkDeletePrivateIps(bulkDeletePrivateIpsRequest) {
|
|
17924
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17925
|
+
if (this.logger)
|
|
17926
|
+
this.logger.debug("Calling operation VirtualNetworkClient#bulkDeletePrivateIps.");
|
|
17927
|
+
const operationName = "bulkDeletePrivateIps";
|
|
17928
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/BulkDeletePrivateIps";
|
|
17929
|
+
const pathParams = {};
|
|
17930
|
+
const queryParams = {};
|
|
17931
|
+
let headerParams = {
|
|
17932
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
17933
|
+
"opc-retry-token": bulkDeletePrivateIpsRequest.opcRetryToken,
|
|
17934
|
+
"opc-request-id": bulkDeletePrivateIpsRequest.opcRequestId
|
|
17935
|
+
};
|
|
17936
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
17937
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkDeletePrivateIpsRequest.retryConfiguration, specRetryConfiguration);
|
|
17938
|
+
if (this.logger)
|
|
17939
|
+
retrier.logger = this.logger;
|
|
17940
|
+
const request = yield oci_common_2.composeRequest({
|
|
17941
|
+
baseEndpoint: this._endpoint,
|
|
17942
|
+
defaultHeaders: this._defaultHeaders,
|
|
17943
|
+
path: "/privateIps/actions/bulkDeletePrivateIps",
|
|
17944
|
+
method: "POST",
|
|
17945
|
+
bodyContent: common.ObjectSerializer.serialize(bulkDeletePrivateIpsRequest.bulkDeletePrivateIpsDetails, "BulkDeletePrivateIpsDetails", model.BulkDeletePrivateIpsDetails.getJsonObj),
|
|
17946
|
+
pathParams: pathParams,
|
|
17947
|
+
headerParams: headerParams,
|
|
17948
|
+
queryParams: queryParams
|
|
17949
|
+
});
|
|
17950
|
+
try {
|
|
17951
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
17952
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
17953
|
+
responseObject: {},
|
|
17954
|
+
responseHeaders: [
|
|
17955
|
+
{
|
|
17956
|
+
value: response.headers.get("opc-request-id"),
|
|
17957
|
+
key: "opcRequestId",
|
|
17958
|
+
dataType: "string"
|
|
17959
|
+
},
|
|
17960
|
+
{
|
|
17961
|
+
value: response.headers.get("opc-work-request-id"),
|
|
17962
|
+
key: "opcWorkRequestId",
|
|
17963
|
+
dataType: "string"
|
|
17964
|
+
}
|
|
17965
|
+
]
|
|
17966
|
+
});
|
|
17967
|
+
return sdkResponse;
|
|
17968
|
+
}
|
|
17969
|
+
catch (err) {
|
|
17970
|
+
throw err;
|
|
17971
|
+
}
|
|
17972
|
+
});
|
|
17973
|
+
}
|
|
17734
17974
|
/**
|
|
17735
17975
|
* Removes one or more customer public IP prefixes from the specified public virtual circuit.
|
|
17736
17976
|
* Use this operation (and not {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest) updateVirtualCircuit})
|
|
@@ -17783,6 +18023,245 @@ class VirtualNetworkClient {
|
|
|
17783
18023
|
}
|
|
17784
18024
|
});
|
|
17785
18025
|
}
|
|
18026
|
+
/**
|
|
18027
|
+
* detach the specified IPv6s.
|
|
18028
|
+
*
|
|
18029
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
18030
|
+
* @param BulkDetachIpv6sRequest
|
|
18031
|
+
* @return BulkDetachIpv6sResponse
|
|
18032
|
+
* @throws OciError when an error occurs
|
|
18033
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkDetachIpv6s.ts.html |here} to see how to use BulkDetachIpv6s API.
|
|
18034
|
+
*/
|
|
18035
|
+
bulkDetachIpv6s(bulkDetachIpv6sRequest) {
|
|
18036
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18037
|
+
if (this.logger)
|
|
18038
|
+
this.logger.debug("Calling operation VirtualNetworkClient#bulkDetachIpv6s.");
|
|
18039
|
+
const operationName = "bulkDetachIpv6s";
|
|
18040
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/BulkDetachIpv6s";
|
|
18041
|
+
const pathParams = {};
|
|
18042
|
+
const queryParams = {};
|
|
18043
|
+
let headerParams = {
|
|
18044
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18045
|
+
"opc-retry-token": bulkDetachIpv6sRequest.opcRetryToken,
|
|
18046
|
+
"opc-request-id": bulkDetachIpv6sRequest.opcRequestId
|
|
18047
|
+
};
|
|
18048
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
18049
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkDetachIpv6sRequest.retryConfiguration, specRetryConfiguration);
|
|
18050
|
+
if (this.logger)
|
|
18051
|
+
retrier.logger = this.logger;
|
|
18052
|
+
const request = yield oci_common_2.composeRequest({
|
|
18053
|
+
baseEndpoint: this._endpoint,
|
|
18054
|
+
defaultHeaders: this._defaultHeaders,
|
|
18055
|
+
path: "/ipv6/actions/bulkDetachIpv6s",
|
|
18056
|
+
method: "POST",
|
|
18057
|
+
bodyContent: common.ObjectSerializer.serialize(bulkDetachIpv6sRequest.bulkDetachIpv6sDetails, "BulkDetachIpv6sDetails", model.BulkDetachIpv6sDetails.getJsonObj),
|
|
18058
|
+
pathParams: pathParams,
|
|
18059
|
+
headerParams: headerParams,
|
|
18060
|
+
queryParams: queryParams
|
|
18061
|
+
});
|
|
18062
|
+
try {
|
|
18063
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
18064
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
18065
|
+
responseObject: {},
|
|
18066
|
+
responseHeaders: [
|
|
18067
|
+
{
|
|
18068
|
+
value: response.headers.get("opc-request-id"),
|
|
18069
|
+
key: "opcRequestId",
|
|
18070
|
+
dataType: "string"
|
|
18071
|
+
},
|
|
18072
|
+
{
|
|
18073
|
+
value: response.headers.get("opc-work-request-id"),
|
|
18074
|
+
key: "opcWorkRequestId",
|
|
18075
|
+
dataType: "string"
|
|
18076
|
+
}
|
|
18077
|
+
]
|
|
18078
|
+
});
|
|
18079
|
+
return sdkResponse;
|
|
18080
|
+
}
|
|
18081
|
+
catch (err) {
|
|
18082
|
+
throw err;
|
|
18083
|
+
}
|
|
18084
|
+
});
|
|
18085
|
+
}
|
|
18086
|
+
/**
|
|
18087
|
+
* Unassign the specified PrivateIP address from Virtual Network Interface Card (VNIC). You must specify the PrivateIP [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
18088
|
+
*
|
|
18089
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
18090
|
+
* @param BulkDetachPrivateIpsRequest
|
|
18091
|
+
* @return BulkDetachPrivateIpsResponse
|
|
18092
|
+
* @throws OciError when an error occurs
|
|
18093
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkDetachPrivateIps.ts.html |here} to see how to use BulkDetachPrivateIps API.
|
|
18094
|
+
*/
|
|
18095
|
+
bulkDetachPrivateIps(bulkDetachPrivateIpsRequest) {
|
|
18096
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18097
|
+
if (this.logger)
|
|
18098
|
+
this.logger.debug("Calling operation VirtualNetworkClient#bulkDetachPrivateIps.");
|
|
18099
|
+
const operationName = "bulkDetachPrivateIps";
|
|
18100
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/BulkDetachPrivateIps";
|
|
18101
|
+
const pathParams = {};
|
|
18102
|
+
const queryParams = {};
|
|
18103
|
+
let headerParams = {
|
|
18104
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18105
|
+
"opc-retry-token": bulkDetachPrivateIpsRequest.opcRetryToken,
|
|
18106
|
+
"opc-request-id": bulkDetachPrivateIpsRequest.opcRequestId
|
|
18107
|
+
};
|
|
18108
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
18109
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkDetachPrivateIpsRequest.retryConfiguration, specRetryConfiguration);
|
|
18110
|
+
if (this.logger)
|
|
18111
|
+
retrier.logger = this.logger;
|
|
18112
|
+
const request = yield oci_common_2.composeRequest({
|
|
18113
|
+
baseEndpoint: this._endpoint,
|
|
18114
|
+
defaultHeaders: this._defaultHeaders,
|
|
18115
|
+
path: "/privateIps/actions/bulkDetachPrivateIps",
|
|
18116
|
+
method: "POST",
|
|
18117
|
+
bodyContent: common.ObjectSerializer.serialize(bulkDetachPrivateIpsRequest.bulkDetachPrivateIpsDetails, "BulkDetachPrivateIpsDetails", model.BulkDetachPrivateIpsDetails.getJsonObj),
|
|
18118
|
+
pathParams: pathParams,
|
|
18119
|
+
headerParams: headerParams,
|
|
18120
|
+
queryParams: queryParams
|
|
18121
|
+
});
|
|
18122
|
+
try {
|
|
18123
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
18124
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
18125
|
+
responseObject: {},
|
|
18126
|
+
responseHeaders: [
|
|
18127
|
+
{
|
|
18128
|
+
value: response.headers.get("opc-request-id"),
|
|
18129
|
+
key: "opcRequestId",
|
|
18130
|
+
dataType: "string"
|
|
18131
|
+
},
|
|
18132
|
+
{
|
|
18133
|
+
value: response.headers.get("opc-work-request-id"),
|
|
18134
|
+
key: "opcWorkRequestId",
|
|
18135
|
+
dataType: "string"
|
|
18136
|
+
}
|
|
18137
|
+
]
|
|
18138
|
+
});
|
|
18139
|
+
return sdkResponse;
|
|
18140
|
+
}
|
|
18141
|
+
catch (err) {
|
|
18142
|
+
throw err;
|
|
18143
|
+
}
|
|
18144
|
+
});
|
|
18145
|
+
}
|
|
18146
|
+
/**
|
|
18147
|
+
* Updates the specified IPv6s.
|
|
18148
|
+
*
|
|
18149
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
18150
|
+
* @param BulkUpdateIpv6sRequest
|
|
18151
|
+
* @return BulkUpdateIpv6sResponse
|
|
18152
|
+
* @throws OciError when an error occurs
|
|
18153
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkUpdateIpv6s.ts.html |here} to see how to use BulkUpdateIpv6s API.
|
|
18154
|
+
*/
|
|
18155
|
+
bulkUpdateIpv6s(bulkUpdateIpv6sRequest) {
|
|
18156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18157
|
+
if (this.logger)
|
|
18158
|
+
this.logger.debug("Calling operation VirtualNetworkClient#bulkUpdateIpv6s.");
|
|
18159
|
+
const operationName = "bulkUpdateIpv6s";
|
|
18160
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/BulkUpdateIpv6s";
|
|
18161
|
+
const pathParams = {};
|
|
18162
|
+
const queryParams = {};
|
|
18163
|
+
let headerParams = {
|
|
18164
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18165
|
+
"opc-retry-token": bulkUpdateIpv6sRequest.opcRetryToken,
|
|
18166
|
+
"opc-request-id": bulkUpdateIpv6sRequest.opcRequestId
|
|
18167
|
+
};
|
|
18168
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
18169
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkUpdateIpv6sRequest.retryConfiguration, specRetryConfiguration);
|
|
18170
|
+
if (this.logger)
|
|
18171
|
+
retrier.logger = this.logger;
|
|
18172
|
+
const request = yield oci_common_2.composeRequest({
|
|
18173
|
+
baseEndpoint: this._endpoint,
|
|
18174
|
+
defaultHeaders: this._defaultHeaders,
|
|
18175
|
+
path: "/ipv6/actions/bulkUpdateIpv6s",
|
|
18176
|
+
method: "POST",
|
|
18177
|
+
bodyContent: common.ObjectSerializer.serialize(bulkUpdateIpv6sRequest.bulkUpdateIpv6sDetails, "BulkUpdateIpv6sDetails", model.BulkUpdateIpv6sDetails.getJsonObj),
|
|
18178
|
+
pathParams: pathParams,
|
|
18179
|
+
headerParams: headerParams,
|
|
18180
|
+
queryParams: queryParams
|
|
18181
|
+
});
|
|
18182
|
+
try {
|
|
18183
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
18184
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
18185
|
+
responseObject: {},
|
|
18186
|
+
responseHeaders: [
|
|
18187
|
+
{
|
|
18188
|
+
value: response.headers.get("opc-request-id"),
|
|
18189
|
+
key: "opcRequestId",
|
|
18190
|
+
dataType: "string"
|
|
18191
|
+
},
|
|
18192
|
+
{
|
|
18193
|
+
value: response.headers.get("opc-work-request-id"),
|
|
18194
|
+
key: "opcWorkRequestId",
|
|
18195
|
+
dataType: "string"
|
|
18196
|
+
}
|
|
18197
|
+
]
|
|
18198
|
+
});
|
|
18199
|
+
return sdkResponse;
|
|
18200
|
+
}
|
|
18201
|
+
catch (err) {
|
|
18202
|
+
throw err;
|
|
18203
|
+
}
|
|
18204
|
+
});
|
|
18205
|
+
}
|
|
18206
|
+
/**
|
|
18207
|
+
* Updates existing secondary Private IPv4s for a VNIC.
|
|
18208
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
18209
|
+
* @param BulkUpdatePrivateIpsRequest
|
|
18210
|
+
* @return BulkUpdatePrivateIpsResponse
|
|
18211
|
+
* @throws OciError when an error occurs
|
|
18212
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/BulkUpdatePrivateIps.ts.html |here} to see how to use BulkUpdatePrivateIps API.
|
|
18213
|
+
*/
|
|
18214
|
+
bulkUpdatePrivateIps(bulkUpdatePrivateIpsRequest) {
|
|
18215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18216
|
+
if (this.logger)
|
|
18217
|
+
this.logger.debug("Calling operation VirtualNetworkClient#bulkUpdatePrivateIps.");
|
|
18218
|
+
const operationName = "bulkUpdatePrivateIps";
|
|
18219
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/BulkUpdatePrivateIps";
|
|
18220
|
+
const pathParams = {};
|
|
18221
|
+
const queryParams = {};
|
|
18222
|
+
let headerParams = {
|
|
18223
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18224
|
+
"opc-retry-token": bulkUpdatePrivateIpsRequest.opcRetryToken,
|
|
18225
|
+
"opc-request-id": bulkUpdatePrivateIpsRequest.opcRequestId
|
|
18226
|
+
};
|
|
18227
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
18228
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkUpdatePrivateIpsRequest.retryConfiguration, specRetryConfiguration);
|
|
18229
|
+
if (this.logger)
|
|
18230
|
+
retrier.logger = this.logger;
|
|
18231
|
+
const request = yield oci_common_2.composeRequest({
|
|
18232
|
+
baseEndpoint: this._endpoint,
|
|
18233
|
+
defaultHeaders: this._defaultHeaders,
|
|
18234
|
+
path: "/privateIps/actions/bulkUpdatePrivateIps",
|
|
18235
|
+
method: "POST",
|
|
18236
|
+
bodyContent: common.ObjectSerializer.serialize(bulkUpdatePrivateIpsRequest.bulkUpdatePrivateIpsDetails, "BulkUpdatePrivateIpsDetails", model.BulkUpdatePrivateIpsDetails.getJsonObj),
|
|
18237
|
+
pathParams: pathParams,
|
|
18238
|
+
headerParams: headerParams,
|
|
18239
|
+
queryParams: queryParams
|
|
18240
|
+
});
|
|
18241
|
+
try {
|
|
18242
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
18243
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
18244
|
+
responseObject: {},
|
|
18245
|
+
responseHeaders: [
|
|
18246
|
+
{
|
|
18247
|
+
value: response.headers.get("opc-request-id"),
|
|
18248
|
+
key: "opcRequestId",
|
|
18249
|
+
dataType: "string"
|
|
18250
|
+
},
|
|
18251
|
+
{
|
|
18252
|
+
value: response.headers.get("opc-work-request-id"),
|
|
18253
|
+
key: "opcWorkRequestId",
|
|
18254
|
+
dataType: "string"
|
|
18255
|
+
}
|
|
18256
|
+
]
|
|
18257
|
+
});
|
|
18258
|
+
return sdkResponse;
|
|
18259
|
+
}
|
|
18260
|
+
catch (err) {
|
|
18261
|
+
throw err;
|
|
18262
|
+
}
|
|
18263
|
+
});
|
|
18264
|
+
}
|
|
17786
18265
|
/**
|
|
17787
18266
|
* Moves a BYOASN Resource to a different compartment. For information
|
|
17788
18267
|
* about moving resources between compartments, see
|