oci-artifacts 2.62.3 → 2.64.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/LICENSE.txt +6 -6
- package/lib/artifacts-waiter.d.ts +8 -0
- package/lib/artifacts-waiter.js +12 -0
- package/lib/artifacts-waiter.js.map +1 -1
- package/lib/client.d.ts +77 -59
- package/lib/client.js +218 -88
- package/lib/client.js.map +1 -1
- package/lib/model/container-image-signature-summary.d.ts +36 -0
- package/lib/model/container-image-signature-summary.js.map +1 -1
- package/lib/model/container-image-signature.d.ts +46 -0
- package/lib/model/container-image-signature.js +11 -0
- package/lib/model/container-image-signature.js.map +1 -1
- package/lib/model/container-image-summary.d.ts +32 -0
- package/lib/model/container-image-summary.js.map +1 -1
- package/lib/model/container-image.d.ts +32 -0
- package/lib/model/container-image.js.map +1 -1
- package/lib/model/container-repository-summary.d.ts +36 -0
- package/lib/model/container-repository-summary.js.map +1 -1
- package/lib/model/container-repository.d.ts +36 -0
- package/lib/model/container-repository.js.map +1 -1
- package/lib/model/create-container-image-signature-details.d.ts +22 -0
- package/lib/model/create-container-image-signature-details.js.map +1 -1
- package/lib/model/create-container-repository-details.d.ts +22 -0
- package/lib/model/create-container-repository-details.js.map +1 -1
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +5 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/update-container-image-details.d.ts +45 -0
- package/lib/model/update-container-image-details.js +31 -0
- package/lib/model/update-container-image-details.js.map +1 -0
- package/lib/model/update-container-image-signature-details.d.ts +45 -0
- package/lib/model/update-container-image-signature-details.js +31 -0
- package/lib/model/update-container-image-signature-details.js.map +1 -0
- package/lib/model/update-container-repository-details.d.ts +22 -0
- package/lib/model/update-container-repository-details.js.map +1 -1
- package/lib/request/change-container-repository-compartment-request.d.ts +1 -1
- package/lib/request/change-repository-compartment-request.d.ts +1 -1
- package/lib/request/create-container-image-signature-request.d.ts +1 -1
- package/lib/request/create-container-repository-request.d.ts +1 -1
- package/lib/request/create-repository-request.d.ts +1 -1
- package/lib/request/delete-container-image-request.d.ts +1 -1
- package/lib/request/delete-container-image-signature-request.d.ts +1 -1
- package/lib/request/delete-container-repository-request.d.ts +1 -1
- package/lib/request/delete-generic-artifact-by-path-request.d.ts +1 -1
- package/lib/request/delete-generic-artifact-request.d.ts +1 -1
- package/lib/request/delete-repository-request.d.ts +1 -1
- package/lib/request/get-container-configuration-request.d.ts +1 -1
- package/lib/request/get-container-image-request.d.ts +1 -1
- package/lib/request/get-container-image-signature-request.d.ts +1 -1
- package/lib/request/get-container-repository-request.d.ts +1 -1
- package/lib/request/get-generic-artifact-by-path-request.d.ts +1 -1
- package/lib/request/get-generic-artifact-request.d.ts +1 -1
- package/lib/request/get-repository-request.d.ts +1 -1
- package/lib/request/index.d.ts +4 -0
- package/lib/request/list-container-image-signatures-request.d.ts +1 -1
- package/lib/request/list-container-images-request.d.ts +1 -1
- package/lib/request/list-container-repositories-request.d.ts +1 -1
- package/lib/request/list-generic-artifacts-request.d.ts +1 -1
- package/lib/request/list-repositories-request.d.ts +1 -1
- package/lib/request/remove-container-version-request.d.ts +1 -1
- package/lib/request/restore-container-image-request.d.ts +1 -1
- package/lib/request/update-container-configuration-request.d.ts +1 -1
- package/lib/request/update-container-image-request.d.ts +43 -0
- package/lib/request/update-container-image-request.js +15 -0
- package/lib/request/update-container-image-request.js.map +1 -0
- package/lib/request/update-container-image-signature-request.d.ts +43 -0
- package/lib/request/update-container-image-signature-request.js +15 -0
- package/lib/request/update-container-image-signature-request.js.map +1 -0
- package/lib/request/update-container-repository-request.d.ts +1 -1
- package/lib/request/update-generic-artifact-by-path-request.d.ts +1 -1
- package/lib/request/update-generic-artifact-request.d.ts +1 -1
- package/lib/request/update-repository-request.d.ts +1 -1
- package/lib/response/index.d.ts +4 -0
- package/lib/response/update-container-image-response.d.ts +30 -0
- package/lib/response/update-container-image-response.js +15 -0
- package/lib/response/update-container-image-response.js.map +1 -0
- package/lib/response/update-container-image-signature-response.d.ts +30 -0
- package/lib/response/update-container-image-signature-response.js +15 -0
- package/lib/response/update-container-image-signature-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -180,11 +180,11 @@ class ArtifactsClient {
|
|
|
180
180
|
* resources between compartments, see
|
|
181
181
|
* [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
182
182
|
*
|
|
183
|
-
* This operation
|
|
183
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
184
184
|
* @param ChangeContainerRepositoryCompartmentRequest
|
|
185
185
|
* @return ChangeContainerRepositoryCompartmentResponse
|
|
186
186
|
* @throws OciError when an error occurs
|
|
187
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
187
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/ChangeContainerRepositoryCompartment.ts.html |here} to see how to use ChangeContainerRepositoryCompartment API.
|
|
188
188
|
*/
|
|
189
189
|
changeContainerRepositoryCompartment(changeContainerRepositoryCompartmentRequest) {
|
|
190
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -202,7 +202,7 @@ class ArtifactsClient {
|
|
|
202
202
|
"opc-request-id": changeContainerRepositoryCompartmentRequest.opcRequestId,
|
|
203
203
|
"opc-retry-token": changeContainerRepositoryCompartmentRequest.opcRetryToken
|
|
204
204
|
};
|
|
205
|
-
const specRetryConfiguration = common.
|
|
205
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
206
206
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeContainerRepositoryCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
207
207
|
if (this.logger)
|
|
208
208
|
retrier.logger = this.logger;
|
|
@@ -240,11 +240,11 @@ class ArtifactsClient {
|
|
|
240
240
|
* resources between compartments, see
|
|
241
241
|
* [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
242
242
|
*
|
|
243
|
-
* This operation
|
|
243
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
244
244
|
* @param ChangeRepositoryCompartmentRequest
|
|
245
245
|
* @return ChangeRepositoryCompartmentResponse
|
|
246
246
|
* @throws OciError when an error occurs
|
|
247
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
247
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/ChangeRepositoryCompartment.ts.html |here} to see how to use ChangeRepositoryCompartment API.
|
|
248
248
|
*/
|
|
249
249
|
changeRepositoryCompartment(changeRepositoryCompartmentRequest) {
|
|
250
250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -262,7 +262,7 @@ class ArtifactsClient {
|
|
|
262
262
|
"opc-request-id": changeRepositoryCompartmentRequest.opcRequestId,
|
|
263
263
|
"opc-retry-token": changeRepositoryCompartmentRequest.opcRetryToken
|
|
264
264
|
};
|
|
265
|
-
const specRetryConfiguration = common.
|
|
265
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
266
266
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRepositoryCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
267
267
|
if (this.logger)
|
|
268
268
|
retrier.logger = this.logger;
|
|
@@ -297,11 +297,11 @@ class ArtifactsClient {
|
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
299
|
* Upload a signature to an image.
|
|
300
|
-
* This operation
|
|
300
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
301
301
|
* @param CreateContainerImageSignatureRequest
|
|
302
302
|
* @return CreateContainerImageSignatureResponse
|
|
303
303
|
* @throws OciError when an error occurs
|
|
304
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
304
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/CreateContainerImageSignature.ts.html |here} to see how to use CreateContainerImageSignature API.
|
|
305
305
|
*/
|
|
306
306
|
createContainerImageSignature(createContainerImageSignatureRequest) {
|
|
307
307
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -317,7 +317,7 @@ class ArtifactsClient {
|
|
|
317
317
|
"opc-retry-token": createContainerImageSignatureRequest.opcRetryToken,
|
|
318
318
|
"if-match": createContainerImageSignatureRequest.ifMatch
|
|
319
319
|
};
|
|
320
|
-
const specRetryConfiguration = common.
|
|
320
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
321
321
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createContainerImageSignatureRequest.retryConfiguration, specRetryConfiguration);
|
|
322
322
|
if (this.logger)
|
|
323
323
|
retrier.logger = this.logger;
|
|
@@ -361,11 +361,11 @@ class ArtifactsClient {
|
|
|
361
361
|
}
|
|
362
362
|
/**
|
|
363
363
|
* Create a new empty container repository. Avoid entering confidential information.
|
|
364
|
-
* This operation
|
|
364
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
365
365
|
* @param CreateContainerRepositoryRequest
|
|
366
366
|
* @return CreateContainerRepositoryResponse
|
|
367
367
|
* @throws OciError when an error occurs
|
|
368
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
368
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/CreateContainerRepository.ts.html |here} to see how to use CreateContainerRepository API.
|
|
369
369
|
*/
|
|
370
370
|
createContainerRepository(createContainerRepositoryRequest) {
|
|
371
371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -380,7 +380,7 @@ class ArtifactsClient {
|
|
|
380
380
|
"opc-request-id": createContainerRepositoryRequest.opcRequestId,
|
|
381
381
|
"opc-retry-token": createContainerRepositoryRequest.opcRetryToken
|
|
382
382
|
};
|
|
383
|
-
const specRetryConfiguration = common.
|
|
383
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
384
384
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createContainerRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
385
385
|
if (this.logger)
|
|
386
386
|
retrier.logger = this.logger;
|
|
@@ -428,7 +428,7 @@ class ArtifactsClient {
|
|
|
428
428
|
* @param CreateRepositoryRequest
|
|
429
429
|
* @return CreateRepositoryResponse
|
|
430
430
|
* @throws OciError when an error occurs
|
|
431
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
431
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/CreateRepository.ts.html |here} to see how to use CreateRepository API.
|
|
432
432
|
*/
|
|
433
433
|
createRepository(createRepositoryRequest) {
|
|
434
434
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -487,11 +487,11 @@ class ArtifactsClient {
|
|
|
487
487
|
}
|
|
488
488
|
/**
|
|
489
489
|
* Delete a container image.
|
|
490
|
-
* This operation
|
|
490
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
491
491
|
* @param DeleteContainerImageRequest
|
|
492
492
|
* @return DeleteContainerImageResponse
|
|
493
493
|
* @throws OciError when an error occurs
|
|
494
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
494
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/DeleteContainerImage.ts.html |here} to see how to use DeleteContainerImage API.
|
|
495
495
|
*/
|
|
496
496
|
deleteContainerImage(deleteContainerImageRequest) {
|
|
497
497
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -508,7 +508,7 @@ class ArtifactsClient {
|
|
|
508
508
|
"if-match": deleteContainerImageRequest.ifMatch,
|
|
509
509
|
"opc-request-id": deleteContainerImageRequest.opcRequestId
|
|
510
510
|
};
|
|
511
|
-
const specRetryConfiguration = common.
|
|
511
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
512
512
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteContainerImageRequest.retryConfiguration, specRetryConfiguration);
|
|
513
513
|
if (this.logger)
|
|
514
514
|
retrier.logger = this.logger;
|
|
@@ -542,11 +542,11 @@ class ArtifactsClient {
|
|
|
542
542
|
}
|
|
543
543
|
/**
|
|
544
544
|
* Delete a container image signature.
|
|
545
|
-
* This operation
|
|
545
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
546
546
|
* @param DeleteContainerImageSignatureRequest
|
|
547
547
|
* @return DeleteContainerImageSignatureResponse
|
|
548
548
|
* @throws OciError when an error occurs
|
|
549
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
549
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/DeleteContainerImageSignature.ts.html |here} to see how to use DeleteContainerImageSignature API.
|
|
550
550
|
*/
|
|
551
551
|
deleteContainerImageSignature(deleteContainerImageSignatureRequest) {
|
|
552
552
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -563,7 +563,7 @@ class ArtifactsClient {
|
|
|
563
563
|
"opc-request-id": deleteContainerImageSignatureRequest.opcRequestId,
|
|
564
564
|
"if-match": deleteContainerImageSignatureRequest.ifMatch
|
|
565
565
|
};
|
|
566
|
-
const specRetryConfiguration = common.
|
|
566
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
567
567
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteContainerImageSignatureRequest.retryConfiguration, specRetryConfiguration);
|
|
568
568
|
if (this.logger)
|
|
569
569
|
retrier.logger = this.logger;
|
|
@@ -597,11 +597,11 @@ class ArtifactsClient {
|
|
|
597
597
|
}
|
|
598
598
|
/**
|
|
599
599
|
* Delete container repository.
|
|
600
|
-
* This operation
|
|
600
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
601
601
|
* @param DeleteContainerRepositoryRequest
|
|
602
602
|
* @return DeleteContainerRepositoryResponse
|
|
603
603
|
* @throws OciError when an error occurs
|
|
604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
604
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/DeleteContainerRepository.ts.html |here} to see how to use DeleteContainerRepository API.
|
|
605
605
|
*/
|
|
606
606
|
deleteContainerRepository(deleteContainerRepositoryRequest) {
|
|
607
607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -618,7 +618,7 @@ class ArtifactsClient {
|
|
|
618
618
|
"if-match": deleteContainerRepositoryRequest.ifMatch,
|
|
619
619
|
"opc-request-id": deleteContainerRepositoryRequest.opcRequestId
|
|
620
620
|
};
|
|
621
|
-
const specRetryConfiguration = common.
|
|
621
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
622
622
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteContainerRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
623
623
|
if (this.logger)
|
|
624
624
|
retrier.logger = this.logger;
|
|
@@ -652,11 +652,11 @@ class ArtifactsClient {
|
|
|
652
652
|
}
|
|
653
653
|
/**
|
|
654
654
|
* Deletes an artifact with a specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
655
|
-
* This operation
|
|
655
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
656
656
|
* @param DeleteGenericArtifactRequest
|
|
657
657
|
* @return DeleteGenericArtifactResponse
|
|
658
658
|
* @throws OciError when an error occurs
|
|
659
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
659
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/DeleteGenericArtifact.ts.html |here} to see how to use DeleteGenericArtifact API.
|
|
660
660
|
*/
|
|
661
661
|
deleteGenericArtifact(deleteGenericArtifactRequest) {
|
|
662
662
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -673,7 +673,7 @@ class ArtifactsClient {
|
|
|
673
673
|
"if-match": deleteGenericArtifactRequest.ifMatch,
|
|
674
674
|
"opc-request-id": deleteGenericArtifactRequest.opcRequestId
|
|
675
675
|
};
|
|
676
|
-
const specRetryConfiguration = common.
|
|
676
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
677
677
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteGenericArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
678
678
|
if (this.logger)
|
|
679
679
|
retrier.logger = this.logger;
|
|
@@ -707,11 +707,11 @@ class ArtifactsClient {
|
|
|
707
707
|
}
|
|
708
708
|
/**
|
|
709
709
|
* Deletes an artifact with a specified `artifactPath` and `version`.
|
|
710
|
-
* This operation
|
|
710
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
711
711
|
* @param DeleteGenericArtifactByPathRequest
|
|
712
712
|
* @return DeleteGenericArtifactByPathResponse
|
|
713
713
|
* @throws OciError when an error occurs
|
|
714
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
714
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/DeleteGenericArtifactByPath.ts.html |here} to see how to use DeleteGenericArtifactByPath API.
|
|
715
715
|
*/
|
|
716
716
|
deleteGenericArtifactByPath(deleteGenericArtifactByPathRequest) {
|
|
717
717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -730,7 +730,7 @@ class ArtifactsClient {
|
|
|
730
730
|
"if-match": deleteGenericArtifactByPathRequest.ifMatch,
|
|
731
731
|
"opc-request-id": deleteGenericArtifactByPathRequest.opcRequestId
|
|
732
732
|
};
|
|
733
|
-
const specRetryConfiguration = common.
|
|
733
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
734
734
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteGenericArtifactByPathRequest.retryConfiguration, specRetryConfiguration);
|
|
735
735
|
if (this.logger)
|
|
736
736
|
retrier.logger = this.logger;
|
|
@@ -764,11 +764,11 @@ class ArtifactsClient {
|
|
|
764
764
|
}
|
|
765
765
|
/**
|
|
766
766
|
* Deletes the specified repository. This operation fails unless all associated artifacts are in a DELETED state. You must delete all associated artifacts before deleting a repository.
|
|
767
|
-
* This operation
|
|
767
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
768
768
|
* @param DeleteRepositoryRequest
|
|
769
769
|
* @return DeleteRepositoryResponse
|
|
770
770
|
* @throws OciError when an error occurs
|
|
771
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
771
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/DeleteRepository.ts.html |here} to see how to use DeleteRepository API.
|
|
772
772
|
*/
|
|
773
773
|
deleteRepository(deleteRepositoryRequest) {
|
|
774
774
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -785,7 +785,7 @@ class ArtifactsClient {
|
|
|
785
785
|
"if-match": deleteRepositoryRequest.ifMatch,
|
|
786
786
|
"opc-request-id": deleteRepositoryRequest.opcRequestId
|
|
787
787
|
};
|
|
788
|
-
const specRetryConfiguration = common.
|
|
788
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
789
789
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
790
790
|
if (this.logger)
|
|
791
791
|
retrier.logger = this.logger;
|
|
@@ -819,11 +819,11 @@ class ArtifactsClient {
|
|
|
819
819
|
}
|
|
820
820
|
/**
|
|
821
821
|
* Get container configuration.
|
|
822
|
-
* This operation
|
|
822
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
823
823
|
* @param GetContainerConfigurationRequest
|
|
824
824
|
* @return GetContainerConfigurationResponse
|
|
825
825
|
* @throws OciError when an error occurs
|
|
826
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
826
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/GetContainerConfiguration.ts.html |here} to see how to use GetContainerConfiguration API.
|
|
827
827
|
*/
|
|
828
828
|
getContainerConfiguration(getContainerConfigurationRequest) {
|
|
829
829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -839,7 +839,7 @@ class ArtifactsClient {
|
|
|
839
839
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
840
840
|
"opc-request-id": getContainerConfigurationRequest.opcRequestId
|
|
841
841
|
};
|
|
842
|
-
const specRetryConfiguration = common.
|
|
842
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
843
843
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
844
844
|
if (this.logger)
|
|
845
845
|
retrier.logger = this.logger;
|
|
@@ -882,11 +882,11 @@ class ArtifactsClient {
|
|
|
882
882
|
}
|
|
883
883
|
/**
|
|
884
884
|
* Get container image metadata.
|
|
885
|
-
* This operation
|
|
885
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
886
886
|
* @param GetContainerImageRequest
|
|
887
887
|
* @return GetContainerImageResponse
|
|
888
888
|
* @throws OciError when an error occurs
|
|
889
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
889
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/GetContainerImage.ts.html |here} to see how to use GetContainerImage API.
|
|
890
890
|
*/
|
|
891
891
|
getContainerImage(getContainerImageRequest) {
|
|
892
892
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -902,7 +902,7 @@ class ArtifactsClient {
|
|
|
902
902
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
903
903
|
"opc-request-id": getContainerImageRequest.opcRequestId
|
|
904
904
|
};
|
|
905
|
-
const specRetryConfiguration = common.
|
|
905
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
906
906
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerImageRequest.retryConfiguration, specRetryConfiguration);
|
|
907
907
|
if (this.logger)
|
|
908
908
|
retrier.logger = this.logger;
|
|
@@ -945,11 +945,11 @@ class ArtifactsClient {
|
|
|
945
945
|
}
|
|
946
946
|
/**
|
|
947
947
|
* Get container image signature metadata.
|
|
948
|
-
* This operation
|
|
948
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
949
949
|
* @param GetContainerImageSignatureRequest
|
|
950
950
|
* @return GetContainerImageSignatureResponse
|
|
951
951
|
* @throws OciError when an error occurs
|
|
952
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
952
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/GetContainerImageSignature.ts.html |here} to see how to use GetContainerImageSignature API.
|
|
953
953
|
*/
|
|
954
954
|
getContainerImageSignature(getContainerImageSignatureRequest) {
|
|
955
955
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -965,7 +965,7 @@ class ArtifactsClient {
|
|
|
965
965
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
966
966
|
"opc-request-id": getContainerImageSignatureRequest.opcRequestId
|
|
967
967
|
};
|
|
968
|
-
const specRetryConfiguration = common.
|
|
968
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
969
969
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerImageSignatureRequest.retryConfiguration, specRetryConfiguration);
|
|
970
970
|
if (this.logger)
|
|
971
971
|
retrier.logger = this.logger;
|
|
@@ -1008,11 +1008,11 @@ class ArtifactsClient {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
/**
|
|
1010
1010
|
* Get container repository.
|
|
1011
|
-
* This operation
|
|
1011
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1012
1012
|
* @param GetContainerRepositoryRequest
|
|
1013
1013
|
* @return GetContainerRepositoryResponse
|
|
1014
1014
|
* @throws OciError when an error occurs
|
|
1015
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1015
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/GetContainerRepository.ts.html |here} to see how to use GetContainerRepository API.
|
|
1016
1016
|
*/
|
|
1017
1017
|
getContainerRepository(getContainerRepositoryRequest) {
|
|
1018
1018
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1028,7 +1028,7 @@ class ArtifactsClient {
|
|
|
1028
1028
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1029
1029
|
"opc-request-id": getContainerRepositoryRequest.opcRequestId
|
|
1030
1030
|
};
|
|
1031
|
-
const specRetryConfiguration = common.
|
|
1031
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1032
1032
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
1033
1033
|
if (this.logger)
|
|
1034
1034
|
retrier.logger = this.logger;
|
|
@@ -1071,11 +1071,11 @@ class ArtifactsClient {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
/**
|
|
1073
1073
|
* Gets information about an artifact with a specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
1074
|
-
* This operation
|
|
1074
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1075
1075
|
* @param GetGenericArtifactRequest
|
|
1076
1076
|
* @return GetGenericArtifactResponse
|
|
1077
1077
|
* @throws OciError when an error occurs
|
|
1078
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1078
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/GetGenericArtifact.ts.html |here} to see how to use GetGenericArtifact API.
|
|
1079
1079
|
*/
|
|
1080
1080
|
getGenericArtifact(getGenericArtifactRequest) {
|
|
1081
1081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1091,7 +1091,7 @@ class ArtifactsClient {
|
|
|
1091
1091
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1092
1092
|
"opc-request-id": getGenericArtifactRequest.opcRequestId
|
|
1093
1093
|
};
|
|
1094
|
-
const specRetryConfiguration = common.
|
|
1094
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1095
1095
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGenericArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
1096
1096
|
if (this.logger)
|
|
1097
1097
|
retrier.logger = this.logger;
|
|
@@ -1134,11 +1134,11 @@ class ArtifactsClient {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Gets information about an artifact with a specified `artifactPath` and `version`.
|
|
1137
|
-
* This operation
|
|
1137
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1138
1138
|
* @param GetGenericArtifactByPathRequest
|
|
1139
1139
|
* @return GetGenericArtifactByPathResponse
|
|
1140
1140
|
* @throws OciError when an error occurs
|
|
1141
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/GetGenericArtifactByPath.ts.html |here} to see how to use GetGenericArtifactByPath API.
|
|
1142
1142
|
*/
|
|
1143
1143
|
getGenericArtifactByPath(getGenericArtifactByPathRequest) {
|
|
1144
1144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1156,7 +1156,7 @@ class ArtifactsClient {
|
|
|
1156
1156
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1157
1157
|
"opc-request-id": getGenericArtifactByPathRequest.opcRequestId
|
|
1158
1158
|
};
|
|
1159
|
-
const specRetryConfiguration = common.
|
|
1159
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1160
1160
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGenericArtifactByPathRequest.retryConfiguration, specRetryConfiguration);
|
|
1161
1161
|
if (this.logger)
|
|
1162
1162
|
retrier.logger = this.logger;
|
|
@@ -1199,11 +1199,11 @@ class ArtifactsClient {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
/**
|
|
1201
1201
|
* Gets the specified repository's information.
|
|
1202
|
-
* This operation
|
|
1202
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1203
1203
|
* @param GetRepositoryRequest
|
|
1204
1204
|
* @return GetRepositoryResponse
|
|
1205
1205
|
* @throws OciError when an error occurs
|
|
1206
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/GetRepository.ts.html |here} to see how to use GetRepository API.
|
|
1207
1207
|
*/
|
|
1208
1208
|
getRepository(getRepositoryRequest) {
|
|
1209
1209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1219,7 +1219,7 @@ class ArtifactsClient {
|
|
|
1219
1219
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1220
1220
|
"opc-request-id": getRepositoryRequest.opcRequestId
|
|
1221
1221
|
};
|
|
1222
|
-
const specRetryConfiguration = common.
|
|
1222
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1223
1223
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
1224
1224
|
if (this.logger)
|
|
1225
1225
|
retrier.logger = this.logger;
|
|
@@ -1262,11 +1262,11 @@ class ArtifactsClient {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
/**
|
|
1264
1264
|
* List container image signatures in an image.
|
|
1265
|
-
* This operation
|
|
1265
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1266
1266
|
* @param ListContainerImageSignaturesRequest
|
|
1267
1267
|
* @return ListContainerImageSignaturesResponse
|
|
1268
1268
|
* @throws OciError when an error occurs
|
|
1269
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1269
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/ListContainerImageSignatures.ts.html |here} to see how to use ListContainerImageSignatures API.
|
|
1270
1270
|
*/
|
|
1271
1271
|
listContainerImageSignatures(listContainerImageSignaturesRequest) {
|
|
1272
1272
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1295,7 +1295,7 @@ class ArtifactsClient {
|
|
|
1295
1295
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1296
1296
|
"opc-request-id": listContainerImageSignaturesRequest.opcRequestId
|
|
1297
1297
|
};
|
|
1298
|
-
const specRetryConfiguration = common.
|
|
1298
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1299
1299
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainerImageSignaturesRequest.retryConfiguration, specRetryConfiguration);
|
|
1300
1300
|
if (this.logger)
|
|
1301
1301
|
retrier.logger = this.logger;
|
|
@@ -1338,11 +1338,11 @@ class ArtifactsClient {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
/**
|
|
1340
1340
|
* List container images in a compartment.
|
|
1341
|
-
* This operation
|
|
1341
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1342
1342
|
* @param ListContainerImagesRequest
|
|
1343
1343
|
* @return ListContainerImagesResponse
|
|
1344
1344
|
* @throws OciError when an error occurs
|
|
1345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1345
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/ListContainerImages.ts.html |here} to see how to use ListContainerImages API.
|
|
1346
1346
|
*/
|
|
1347
1347
|
listContainerImages(listContainerImagesRequest) {
|
|
1348
1348
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1370,7 +1370,7 @@ class ArtifactsClient {
|
|
|
1370
1370
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1371
1371
|
"opc-request-id": listContainerImagesRequest.opcRequestId
|
|
1372
1372
|
};
|
|
1373
|
-
const specRetryConfiguration = common.
|
|
1373
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1374
1374
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainerImagesRequest.retryConfiguration, specRetryConfiguration);
|
|
1375
1375
|
if (this.logger)
|
|
1376
1376
|
retrier.logger = this.logger;
|
|
@@ -1413,11 +1413,11 @@ class ArtifactsClient {
|
|
|
1413
1413
|
}
|
|
1414
1414
|
/**
|
|
1415
1415
|
* List container repositories in a compartment.
|
|
1416
|
-
* This operation
|
|
1416
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1417
1417
|
* @param ListContainerRepositoriesRequest
|
|
1418
1418
|
* @return ListContainerRepositoriesResponse
|
|
1419
1419
|
* @throws OciError when an error occurs
|
|
1420
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1420
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/ListContainerRepositories.ts.html |here} to see how to use ListContainerRepositories API.
|
|
1421
1421
|
*/
|
|
1422
1422
|
listContainerRepositories(listContainerRepositoriesRequest) {
|
|
1423
1423
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1442,7 +1442,7 @@ class ArtifactsClient {
|
|
|
1442
1442
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1443
1443
|
"opc-request-id": listContainerRepositoriesRequest.opcRequestId
|
|
1444
1444
|
};
|
|
1445
|
-
const specRetryConfiguration = common.
|
|
1445
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1446
1446
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainerRepositoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
1447
1447
|
if (this.logger)
|
|
1448
1448
|
retrier.logger = this.logger;
|
|
@@ -1485,11 +1485,11 @@ class ArtifactsClient {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
/**
|
|
1487
1487
|
* Lists artifacts in the specified repository.
|
|
1488
|
-
* This operation
|
|
1488
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1489
1489
|
* @param ListGenericArtifactsRequest
|
|
1490
1490
|
* @return ListGenericArtifactsResponse
|
|
1491
1491
|
* @throws OciError when an error occurs
|
|
1492
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1492
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/ListGenericArtifacts.ts.html |here} to see how to use ListGenericArtifacts API.
|
|
1493
1493
|
*/
|
|
1494
1494
|
listGenericArtifacts(listGenericArtifactsRequest) {
|
|
1495
1495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1516,7 +1516,7 @@ class ArtifactsClient {
|
|
|
1516
1516
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1517
1517
|
"opc-request-id": listGenericArtifactsRequest.opcRequestId
|
|
1518
1518
|
};
|
|
1519
|
-
const specRetryConfiguration = common.
|
|
1519
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1520
1520
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGenericArtifactsRequest.retryConfiguration, specRetryConfiguration);
|
|
1521
1521
|
if (this.logger)
|
|
1522
1522
|
retrier.logger = this.logger;
|
|
@@ -1559,11 +1559,11 @@ class ArtifactsClient {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Lists repositories in the specified compartment.
|
|
1562
|
-
* This operation
|
|
1562
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1563
1563
|
* @param ListRepositoriesRequest
|
|
1564
1564
|
* @return ListRepositoriesResponse
|
|
1565
1565
|
* @throws OciError when an error occurs
|
|
1566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1566
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/ListRepositories.ts.html |here} to see how to use ListRepositories API.
|
|
1567
1567
|
*/
|
|
1568
1568
|
listRepositories(listRepositoriesRequest) {
|
|
1569
1569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1587,7 +1587,7 @@ class ArtifactsClient {
|
|
|
1587
1587
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1588
1588
|
"opc-request-id": listRepositoriesRequest.opcRequestId
|
|
1589
1589
|
};
|
|
1590
|
-
const specRetryConfiguration = common.
|
|
1590
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1591
1591
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRepositoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
1592
1592
|
if (this.logger)
|
|
1593
1593
|
retrier.logger = this.logger;
|
|
@@ -1630,11 +1630,11 @@ class ArtifactsClient {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Remove version from container image.
|
|
1633
|
-
* This operation
|
|
1633
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1634
1634
|
* @param RemoveContainerVersionRequest
|
|
1635
1635
|
* @return RemoveContainerVersionResponse
|
|
1636
1636
|
* @throws OciError when an error occurs
|
|
1637
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1637
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/RemoveContainerVersion.ts.html |here} to see how to use RemoveContainerVersion API.
|
|
1638
1638
|
*/
|
|
1639
1639
|
removeContainerVersion(removeContainerVersionRequest) {
|
|
1640
1640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1652,7 +1652,7 @@ class ArtifactsClient {
|
|
|
1652
1652
|
"opc-request-id": removeContainerVersionRequest.opcRequestId,
|
|
1653
1653
|
"opc-retry-token": removeContainerVersionRequest.opcRetryToken
|
|
1654
1654
|
};
|
|
1655
|
-
const specRetryConfiguration = common.
|
|
1655
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1656
1656
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeContainerVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
1657
1657
|
if (this.logger)
|
|
1658
1658
|
retrier.logger = this.logger;
|
|
@@ -1696,11 +1696,11 @@ class ArtifactsClient {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
/**
|
|
1698
1698
|
* Restore a container image.
|
|
1699
|
-
* This operation
|
|
1699
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1700
1700
|
* @param RestoreContainerImageRequest
|
|
1701
1701
|
* @return RestoreContainerImageResponse
|
|
1702
1702
|
* @throws OciError when an error occurs
|
|
1703
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1703
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/RestoreContainerImage.ts.html |here} to see how to use RestoreContainerImage API.
|
|
1704
1704
|
*/
|
|
1705
1705
|
restoreContainerImage(restoreContainerImageRequest) {
|
|
1706
1706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1718,7 +1718,7 @@ class ArtifactsClient {
|
|
|
1718
1718
|
"opc-request-id": restoreContainerImageRequest.opcRequestId,
|
|
1719
1719
|
"opc-retry-token": restoreContainerImageRequest.opcRetryToken
|
|
1720
1720
|
};
|
|
1721
|
-
const specRetryConfiguration = common.
|
|
1721
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1722
1722
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreContainerImageRequest.retryConfiguration, specRetryConfiguration);
|
|
1723
1723
|
if (this.logger)
|
|
1724
1724
|
retrier.logger = this.logger;
|
|
@@ -1762,11 +1762,11 @@ class ArtifactsClient {
|
|
|
1762
1762
|
}
|
|
1763
1763
|
/**
|
|
1764
1764
|
* Update container configuration.
|
|
1765
|
-
* This operation
|
|
1765
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1766
1766
|
* @param UpdateContainerConfigurationRequest
|
|
1767
1767
|
* @return UpdateContainerConfigurationResponse
|
|
1768
1768
|
* @throws OciError when an error occurs
|
|
1769
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1769
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/UpdateContainerConfiguration.ts.html |here} to see how to use UpdateContainerConfiguration API.
|
|
1770
1770
|
*/
|
|
1771
1771
|
updateContainerConfiguration(updateContainerConfigurationRequest) {
|
|
1772
1772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1783,7 +1783,7 @@ class ArtifactsClient {
|
|
|
1783
1783
|
"if-match": updateContainerConfigurationRequest.ifMatch,
|
|
1784
1784
|
"opc-request-id": updateContainerConfigurationRequest.opcRequestId
|
|
1785
1785
|
};
|
|
1786
|
-
const specRetryConfiguration = common.
|
|
1786
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1787
1787
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1788
1788
|
if (this.logger)
|
|
1789
1789
|
retrier.logger = this.logger;
|
|
@@ -1825,13 +1825,143 @@ class ArtifactsClient {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
});
|
|
1827
1827
|
}
|
|
1828
|
+
/**
|
|
1829
|
+
* Modify the properties of a container image. Avoid entering confidential information.
|
|
1830
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1831
|
+
* @param UpdateContainerImageRequest
|
|
1832
|
+
* @return UpdateContainerImageResponse
|
|
1833
|
+
* @throws OciError when an error occurs
|
|
1834
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/UpdateContainerImage.ts.html |here} to see how to use UpdateContainerImage API.
|
|
1835
|
+
*/
|
|
1836
|
+
updateContainerImage(updateContainerImageRequest) {
|
|
1837
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1838
|
+
if (this.logger)
|
|
1839
|
+
this.logger.debug("Calling operation ArtifactsClient#updateContainerImage.");
|
|
1840
|
+
const operationName = "updateContainerImage";
|
|
1841
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/UpdateContainerImage";
|
|
1842
|
+
const pathParams = {
|
|
1843
|
+
"{imageId}": updateContainerImageRequest.imageId
|
|
1844
|
+
};
|
|
1845
|
+
const queryParams = {};
|
|
1846
|
+
let headerParams = {
|
|
1847
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1848
|
+
"if-match": updateContainerImageRequest.ifMatch,
|
|
1849
|
+
"opc-request-id": updateContainerImageRequest.opcRequestId
|
|
1850
|
+
};
|
|
1851
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1852
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerImageRequest.retryConfiguration, specRetryConfiguration);
|
|
1853
|
+
if (this.logger)
|
|
1854
|
+
retrier.logger = this.logger;
|
|
1855
|
+
const request = yield oci_common_1.composeRequest({
|
|
1856
|
+
baseEndpoint: this._endpoint,
|
|
1857
|
+
defaultHeaders: this._defaultHeaders,
|
|
1858
|
+
path: "/container/images/{imageId}",
|
|
1859
|
+
method: "PUT",
|
|
1860
|
+
bodyContent: common.ObjectSerializer.serialize(updateContainerImageRequest.updateContainerImageDetails, "UpdateContainerImageDetails", model.UpdateContainerImageDetails.getJsonObj),
|
|
1861
|
+
pathParams: pathParams,
|
|
1862
|
+
headerParams: headerParams,
|
|
1863
|
+
queryParams: queryParams
|
|
1864
|
+
});
|
|
1865
|
+
try {
|
|
1866
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1867
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1868
|
+
responseObject: {},
|
|
1869
|
+
body: yield response.json(),
|
|
1870
|
+
bodyKey: "containerImage",
|
|
1871
|
+
bodyModel: model.ContainerImage,
|
|
1872
|
+
type: "model.ContainerImage",
|
|
1873
|
+
responseHeaders: [
|
|
1874
|
+
{
|
|
1875
|
+
value: response.headers.get("etag"),
|
|
1876
|
+
key: "etag",
|
|
1877
|
+
dataType: "string"
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
value: response.headers.get("opc-request-id"),
|
|
1881
|
+
key: "opcRequestId",
|
|
1882
|
+
dataType: "string"
|
|
1883
|
+
}
|
|
1884
|
+
]
|
|
1885
|
+
});
|
|
1886
|
+
return sdkResponse;
|
|
1887
|
+
}
|
|
1888
|
+
catch (err) {
|
|
1889
|
+
throw err;
|
|
1890
|
+
}
|
|
1891
|
+
});
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* Modify the properties of a container image signature. Avoid entering confidential information.
|
|
1895
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1896
|
+
* @param UpdateContainerImageSignatureRequest
|
|
1897
|
+
* @return UpdateContainerImageSignatureResponse
|
|
1898
|
+
* @throws OciError when an error occurs
|
|
1899
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/UpdateContainerImageSignature.ts.html |here} to see how to use UpdateContainerImageSignature API.
|
|
1900
|
+
*/
|
|
1901
|
+
updateContainerImageSignature(updateContainerImageSignatureRequest) {
|
|
1902
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1903
|
+
if (this.logger)
|
|
1904
|
+
this.logger.debug("Calling operation ArtifactsClient#updateContainerImageSignature.");
|
|
1905
|
+
const operationName = "updateContainerImageSignature";
|
|
1906
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignature/UpdateContainerImageSignature";
|
|
1907
|
+
const pathParams = {
|
|
1908
|
+
"{imageSignatureId}": updateContainerImageSignatureRequest.imageSignatureId
|
|
1909
|
+
};
|
|
1910
|
+
const queryParams = {};
|
|
1911
|
+
let headerParams = {
|
|
1912
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1913
|
+
"opc-request-id": updateContainerImageSignatureRequest.opcRequestId,
|
|
1914
|
+
"if-match": updateContainerImageSignatureRequest.ifMatch
|
|
1915
|
+
};
|
|
1916
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1917
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerImageSignatureRequest.retryConfiguration, specRetryConfiguration);
|
|
1918
|
+
if (this.logger)
|
|
1919
|
+
retrier.logger = this.logger;
|
|
1920
|
+
const request = yield oci_common_1.composeRequest({
|
|
1921
|
+
baseEndpoint: this._endpoint,
|
|
1922
|
+
defaultHeaders: this._defaultHeaders,
|
|
1923
|
+
path: "/container/imageSignatures/{imageSignatureId}",
|
|
1924
|
+
method: "PUT",
|
|
1925
|
+
bodyContent: common.ObjectSerializer.serialize(updateContainerImageSignatureRequest.updateContainerImageSignatureDetails, "UpdateContainerImageSignatureDetails", model.UpdateContainerImageSignatureDetails.getJsonObj),
|
|
1926
|
+
pathParams: pathParams,
|
|
1927
|
+
headerParams: headerParams,
|
|
1928
|
+
queryParams: queryParams
|
|
1929
|
+
});
|
|
1930
|
+
try {
|
|
1931
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1932
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1933
|
+
responseObject: {},
|
|
1934
|
+
body: yield response.json(),
|
|
1935
|
+
bodyKey: "containerImageSignature",
|
|
1936
|
+
bodyModel: model.ContainerImageSignature,
|
|
1937
|
+
type: "model.ContainerImageSignature",
|
|
1938
|
+
responseHeaders: [
|
|
1939
|
+
{
|
|
1940
|
+
value: response.headers.get("etag"),
|
|
1941
|
+
key: "etag",
|
|
1942
|
+
dataType: "string"
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
value: response.headers.get("opc-request-id"),
|
|
1946
|
+
key: "opcRequestId",
|
|
1947
|
+
dataType: "string"
|
|
1948
|
+
}
|
|
1949
|
+
]
|
|
1950
|
+
});
|
|
1951
|
+
return sdkResponse;
|
|
1952
|
+
}
|
|
1953
|
+
catch (err) {
|
|
1954
|
+
throw err;
|
|
1955
|
+
}
|
|
1956
|
+
});
|
|
1957
|
+
}
|
|
1828
1958
|
/**
|
|
1829
1959
|
* Modify the properties of a container repository. Avoid entering confidential information.
|
|
1830
|
-
* This operation
|
|
1960
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1831
1961
|
* @param UpdateContainerRepositoryRequest
|
|
1832
1962
|
* @return UpdateContainerRepositoryResponse
|
|
1833
1963
|
* @throws OciError when an error occurs
|
|
1834
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1964
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/UpdateContainerRepository.ts.html |here} to see how to use UpdateContainerRepository API.
|
|
1835
1965
|
*/
|
|
1836
1966
|
updateContainerRepository(updateContainerRepositoryRequest) {
|
|
1837
1967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1848,7 +1978,7 @@ class ArtifactsClient {
|
|
|
1848
1978
|
"if-match": updateContainerRepositoryRequest.ifMatch,
|
|
1849
1979
|
"opc-request-id": updateContainerRepositoryRequest.opcRequestId
|
|
1850
1980
|
};
|
|
1851
|
-
const specRetryConfiguration = common.
|
|
1981
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1852
1982
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
1853
1983
|
if (this.logger)
|
|
1854
1984
|
retrier.logger = this.logger;
|
|
@@ -1892,11 +2022,11 @@ class ArtifactsClient {
|
|
|
1892
2022
|
}
|
|
1893
2023
|
/**
|
|
1894
2024
|
* Updates the artifact with the specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can only update the tags of an artifact.
|
|
1895
|
-
* This operation
|
|
2025
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1896
2026
|
* @param UpdateGenericArtifactRequest
|
|
1897
2027
|
* @return UpdateGenericArtifactResponse
|
|
1898
2028
|
* @throws OciError when an error occurs
|
|
1899
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2029
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/UpdateGenericArtifact.ts.html |here} to see how to use UpdateGenericArtifact API.
|
|
1900
2030
|
*/
|
|
1901
2031
|
updateGenericArtifact(updateGenericArtifactRequest) {
|
|
1902
2032
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1913,7 +2043,7 @@ class ArtifactsClient {
|
|
|
1913
2043
|
"if-match": updateGenericArtifactRequest.ifMatch,
|
|
1914
2044
|
"opc-request-id": updateGenericArtifactRequest.opcRequestId
|
|
1915
2045
|
};
|
|
1916
|
-
const specRetryConfiguration = common.
|
|
2046
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1917
2047
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGenericArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
1918
2048
|
if (this.logger)
|
|
1919
2049
|
retrier.logger = this.logger;
|
|
@@ -1957,11 +2087,11 @@ class ArtifactsClient {
|
|
|
1957
2087
|
}
|
|
1958
2088
|
/**
|
|
1959
2089
|
* Updates an artifact with a specified `artifactPath` and `version`. You can only update the tags of an artifact.
|
|
1960
|
-
* This operation
|
|
2090
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1961
2091
|
* @param UpdateGenericArtifactByPathRequest
|
|
1962
2092
|
* @return UpdateGenericArtifactByPathResponse
|
|
1963
2093
|
* @throws OciError when an error occurs
|
|
1964
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2094
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/UpdateGenericArtifactByPath.ts.html |here} to see how to use UpdateGenericArtifactByPath API.
|
|
1965
2095
|
*/
|
|
1966
2096
|
updateGenericArtifactByPath(updateGenericArtifactByPathRequest) {
|
|
1967
2097
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1980,7 +2110,7 @@ class ArtifactsClient {
|
|
|
1980
2110
|
"if-match": updateGenericArtifactByPathRequest.ifMatch,
|
|
1981
2111
|
"opc-request-id": updateGenericArtifactByPathRequest.opcRequestId
|
|
1982
2112
|
};
|
|
1983
|
-
const specRetryConfiguration = common.
|
|
2113
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1984
2114
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGenericArtifactByPathRequest.retryConfiguration, specRetryConfiguration);
|
|
1985
2115
|
if (this.logger)
|
|
1986
2116
|
retrier.logger = this.logger;
|
|
@@ -2024,11 +2154,11 @@ class ArtifactsClient {
|
|
|
2024
2154
|
}
|
|
2025
2155
|
/**
|
|
2026
2156
|
* Updates the properties of a repository. You can update the `displayName` and `description` properties.
|
|
2027
|
-
* This operation
|
|
2157
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2028
2158
|
* @param UpdateRepositoryRequest
|
|
2029
2159
|
* @return UpdateRepositoryResponse
|
|
2030
2160
|
* @throws OciError when an error occurs
|
|
2031
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.64.0/artifacts/UpdateRepository.ts.html |here} to see how to use UpdateRepository API.
|
|
2032
2162
|
*/
|
|
2033
2163
|
updateRepository(updateRepositoryRequest) {
|
|
2034
2164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2045,7 +2175,7 @@ class ArtifactsClient {
|
|
|
2045
2175
|
"if-match": updateRepositoryRequest.ifMatch,
|
|
2046
2176
|
"opc-request-id": updateRepositoryRequest.opcRequestId
|
|
2047
2177
|
};
|
|
2048
|
-
const specRetryConfiguration = common.
|
|
2178
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2049
2179
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
2050
2180
|
if (this.logger)
|
|
2051
2181
|
retrier.logger = this.logger;
|