oci-artifacts 2.79.1 → 2.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +34 -33
- package/lib/client.js +168 -67
- package/lib/client.js.map +1 -1
- package/lib/model/create-repository-details.js +4 -2
- package/lib/model/create-repository-details.js.map +1 -1
- package/lib/model/repository-summary.js +4 -2
- package/lib/model/repository-summary.js.map +1 -1
- package/lib/model/repository.js +4 -2
- package/lib/model/repository.js.map +1 -1
- package/lib/model/update-repository-details.js +4 -2
- package/lib/model/update-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/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 +1 -1
- package/lib/request/update-container-image-signature-request.d.ts +1 -1
- 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/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -59,7 +59,7 @@ var ArtifactsApiKeys;
|
|
|
59
59
|
*/
|
|
60
60
|
class ArtifactsClient {
|
|
61
61
|
constructor(params, clientConfiguration) {
|
|
62
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
62
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
63
63
|
this["_endpoint"] = "";
|
|
64
64
|
this["_defaultHeaders"] = {};
|
|
65
65
|
this._circuitBreaker = null;
|
|
@@ -118,7 +118,11 @@ class ArtifactsClient {
|
|
|
118
118
|
set endpoint(endpoint) {
|
|
119
119
|
this._endpoint = endpoint;
|
|
120
120
|
this._endpoint = this._endpoint + "/20160918";
|
|
121
|
-
|
|
121
|
+
if (this.logger)
|
|
122
|
+
this.logger.info(`ArtifactsClient endpoint set to ${this._endpoint}`);
|
|
123
|
+
}
|
|
124
|
+
get logger() {
|
|
125
|
+
return common.LOG.logger;
|
|
122
126
|
}
|
|
123
127
|
/**
|
|
124
128
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -127,7 +131,8 @@ class ArtifactsClient {
|
|
|
127
131
|
*/
|
|
128
132
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
129
133
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
130
|
-
|
|
134
|
+
if (this.logger)
|
|
135
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
131
136
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
132
137
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ArtifactsClient.serviceEndpointTemplate, this._region, ArtifactsClient.endpointServiceName);
|
|
133
138
|
}
|
|
@@ -196,11 +201,12 @@ class ArtifactsClient {
|
|
|
196
201
|
* @param ChangeContainerRepositoryCompartmentRequest
|
|
197
202
|
* @return ChangeContainerRepositoryCompartmentResponse
|
|
198
203
|
* @throws OciError when an error occurs
|
|
199
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
204
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/ChangeContainerRepositoryCompartment.ts.html |here} to see how to use ChangeContainerRepositoryCompartment API.
|
|
200
205
|
*/
|
|
201
206
|
changeContainerRepositoryCompartment(changeContainerRepositoryCompartmentRequest) {
|
|
202
207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
203
|
-
|
|
208
|
+
if (this.logger)
|
|
209
|
+
this.logger.debug("Calling operation ArtifactsClient#changeContainerRepositoryCompartment.");
|
|
204
210
|
const operationName = "changeContainerRepositoryCompartment";
|
|
205
211
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/ChangeContainerRepositoryCompartment";
|
|
206
212
|
const pathParams = {
|
|
@@ -215,6 +221,8 @@ class ArtifactsClient {
|
|
|
215
221
|
};
|
|
216
222
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
217
223
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeContainerRepositoryCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
224
|
+
if (this.logger)
|
|
225
|
+
retrier.logger = this.logger;
|
|
218
226
|
const request = yield oci_common_1.composeRequest({
|
|
219
227
|
baseEndpoint: this._endpoint,
|
|
220
228
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -253,11 +261,12 @@ class ArtifactsClient {
|
|
|
253
261
|
* @param ChangeRepositoryCompartmentRequest
|
|
254
262
|
* @return ChangeRepositoryCompartmentResponse
|
|
255
263
|
* @throws OciError when an error occurs
|
|
256
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
264
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/ChangeRepositoryCompartment.ts.html |here} to see how to use ChangeRepositoryCompartment API.
|
|
257
265
|
*/
|
|
258
266
|
changeRepositoryCompartment(changeRepositoryCompartmentRequest) {
|
|
259
267
|
return __awaiter(this, void 0, void 0, function* () {
|
|
260
|
-
|
|
268
|
+
if (this.logger)
|
|
269
|
+
this.logger.debug("Calling operation ArtifactsClient#changeRepositoryCompartment.");
|
|
261
270
|
const operationName = "changeRepositoryCompartment";
|
|
262
271
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/ChangeRepositoryCompartment";
|
|
263
272
|
const pathParams = {
|
|
@@ -272,6 +281,8 @@ class ArtifactsClient {
|
|
|
272
281
|
};
|
|
273
282
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
274
283
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeRepositoryCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
284
|
+
if (this.logger)
|
|
285
|
+
retrier.logger = this.logger;
|
|
275
286
|
const request = yield oci_common_1.composeRequest({
|
|
276
287
|
baseEndpoint: this._endpoint,
|
|
277
288
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -307,11 +318,12 @@ class ArtifactsClient {
|
|
|
307
318
|
* @param CreateContainerImageSignatureRequest
|
|
308
319
|
* @return CreateContainerImageSignatureResponse
|
|
309
320
|
* @throws OciError when an error occurs
|
|
310
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
321
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/CreateContainerImageSignature.ts.html |here} to see how to use CreateContainerImageSignature API.
|
|
311
322
|
*/
|
|
312
323
|
createContainerImageSignature(createContainerImageSignatureRequest) {
|
|
313
324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
-
|
|
325
|
+
if (this.logger)
|
|
326
|
+
this.logger.debug("Calling operation ArtifactsClient#createContainerImageSignature.");
|
|
315
327
|
const operationName = "createContainerImageSignature";
|
|
316
328
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignature/CreateContainerImageSignature";
|
|
317
329
|
const pathParams = {};
|
|
@@ -324,6 +336,8 @@ class ArtifactsClient {
|
|
|
324
336
|
};
|
|
325
337
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
326
338
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createContainerImageSignatureRequest.retryConfiguration, specRetryConfiguration);
|
|
339
|
+
if (this.logger)
|
|
340
|
+
retrier.logger = this.logger;
|
|
327
341
|
const request = yield oci_common_1.composeRequest({
|
|
328
342
|
baseEndpoint: this._endpoint,
|
|
329
343
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -368,11 +382,12 @@ class ArtifactsClient {
|
|
|
368
382
|
* @param CreateContainerRepositoryRequest
|
|
369
383
|
* @return CreateContainerRepositoryResponse
|
|
370
384
|
* @throws OciError when an error occurs
|
|
371
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/CreateContainerRepository.ts.html |here} to see how to use CreateContainerRepository API.
|
|
372
386
|
*/
|
|
373
387
|
createContainerRepository(createContainerRepositoryRequest) {
|
|
374
388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
375
|
-
|
|
389
|
+
if (this.logger)
|
|
390
|
+
this.logger.debug("Calling operation ArtifactsClient#createContainerRepository.");
|
|
376
391
|
const operationName = "createContainerRepository";
|
|
377
392
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/CreateContainerRepository";
|
|
378
393
|
const pathParams = {};
|
|
@@ -384,6 +399,8 @@ class ArtifactsClient {
|
|
|
384
399
|
};
|
|
385
400
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
386
401
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createContainerRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
402
|
+
if (this.logger)
|
|
403
|
+
retrier.logger = this.logger;
|
|
387
404
|
const request = yield oci_common_1.composeRequest({
|
|
388
405
|
baseEndpoint: this._endpoint,
|
|
389
406
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -428,11 +445,12 @@ class ArtifactsClient {
|
|
|
428
445
|
* @param CreateRepositoryRequest
|
|
429
446
|
* @return CreateRepositoryResponse
|
|
430
447
|
* @throws OciError when an error occurs
|
|
431
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/CreateRepository.ts.html |here} to see how to use CreateRepository API.
|
|
432
449
|
*/
|
|
433
450
|
createRepository(createRepositoryRequest) {
|
|
434
451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
435
|
-
|
|
452
|
+
if (this.logger)
|
|
453
|
+
this.logger.debug("Calling operation ArtifactsClient#createRepository.");
|
|
436
454
|
const operationName = "createRepository";
|
|
437
455
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/CreateRepository";
|
|
438
456
|
const pathParams = {};
|
|
@@ -444,6 +462,8 @@ class ArtifactsClient {
|
|
|
444
462
|
};
|
|
445
463
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
446
464
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
465
|
+
if (this.logger)
|
|
466
|
+
retrier.logger = this.logger;
|
|
447
467
|
const request = yield oci_common_1.composeRequest({
|
|
448
468
|
baseEndpoint: this._endpoint,
|
|
449
469
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -488,11 +508,12 @@ class ArtifactsClient {
|
|
|
488
508
|
* @param DeleteContainerImageRequest
|
|
489
509
|
* @return DeleteContainerImageResponse
|
|
490
510
|
* @throws OciError when an error occurs
|
|
491
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
511
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/DeleteContainerImage.ts.html |here} to see how to use DeleteContainerImage API.
|
|
492
512
|
*/
|
|
493
513
|
deleteContainerImage(deleteContainerImageRequest) {
|
|
494
514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
495
|
-
|
|
515
|
+
if (this.logger)
|
|
516
|
+
this.logger.debug("Calling operation ArtifactsClient#deleteContainerImage.");
|
|
496
517
|
const operationName = "deleteContainerImage";
|
|
497
518
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/DeleteContainerImage";
|
|
498
519
|
const pathParams = {
|
|
@@ -506,6 +527,8 @@ class ArtifactsClient {
|
|
|
506
527
|
};
|
|
507
528
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
508
529
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteContainerImageRequest.retryConfiguration, specRetryConfiguration);
|
|
530
|
+
if (this.logger)
|
|
531
|
+
retrier.logger = this.logger;
|
|
509
532
|
const request = yield oci_common_1.composeRequest({
|
|
510
533
|
baseEndpoint: this._endpoint,
|
|
511
534
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -540,11 +563,12 @@ class ArtifactsClient {
|
|
|
540
563
|
* @param DeleteContainerImageSignatureRequest
|
|
541
564
|
* @return DeleteContainerImageSignatureResponse
|
|
542
565
|
* @throws OciError when an error occurs
|
|
543
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
566
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/DeleteContainerImageSignature.ts.html |here} to see how to use DeleteContainerImageSignature API.
|
|
544
567
|
*/
|
|
545
568
|
deleteContainerImageSignature(deleteContainerImageSignatureRequest) {
|
|
546
569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
547
|
-
|
|
570
|
+
if (this.logger)
|
|
571
|
+
this.logger.debug("Calling operation ArtifactsClient#deleteContainerImageSignature.");
|
|
548
572
|
const operationName = "deleteContainerImageSignature";
|
|
549
573
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignature/DeleteContainerImageSignature";
|
|
550
574
|
const pathParams = {
|
|
@@ -558,6 +582,8 @@ class ArtifactsClient {
|
|
|
558
582
|
};
|
|
559
583
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
560
584
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteContainerImageSignatureRequest.retryConfiguration, specRetryConfiguration);
|
|
585
|
+
if (this.logger)
|
|
586
|
+
retrier.logger = this.logger;
|
|
561
587
|
const request = yield oci_common_1.composeRequest({
|
|
562
588
|
baseEndpoint: this._endpoint,
|
|
563
589
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -592,11 +618,12 @@ class ArtifactsClient {
|
|
|
592
618
|
* @param DeleteContainerRepositoryRequest
|
|
593
619
|
* @return DeleteContainerRepositoryResponse
|
|
594
620
|
* @throws OciError when an error occurs
|
|
595
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/DeleteContainerRepository.ts.html |here} to see how to use DeleteContainerRepository API.
|
|
596
622
|
*/
|
|
597
623
|
deleteContainerRepository(deleteContainerRepositoryRequest) {
|
|
598
624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
599
|
-
|
|
625
|
+
if (this.logger)
|
|
626
|
+
this.logger.debug("Calling operation ArtifactsClient#deleteContainerRepository.");
|
|
600
627
|
const operationName = "deleteContainerRepository";
|
|
601
628
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/DeleteContainerRepository";
|
|
602
629
|
const pathParams = {
|
|
@@ -610,6 +637,8 @@ class ArtifactsClient {
|
|
|
610
637
|
};
|
|
611
638
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
612
639
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteContainerRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
640
|
+
if (this.logger)
|
|
641
|
+
retrier.logger = this.logger;
|
|
613
642
|
const request = yield oci_common_1.composeRequest({
|
|
614
643
|
baseEndpoint: this._endpoint,
|
|
615
644
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -644,11 +673,12 @@ class ArtifactsClient {
|
|
|
644
673
|
* @param DeleteGenericArtifactRequest
|
|
645
674
|
* @return DeleteGenericArtifactResponse
|
|
646
675
|
* @throws OciError when an error occurs
|
|
647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
676
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/DeleteGenericArtifact.ts.html |here} to see how to use DeleteGenericArtifact API.
|
|
648
677
|
*/
|
|
649
678
|
deleteGenericArtifact(deleteGenericArtifactRequest) {
|
|
650
679
|
return __awaiter(this, void 0, void 0, function* () {
|
|
651
|
-
|
|
680
|
+
if (this.logger)
|
|
681
|
+
this.logger.debug("Calling operation ArtifactsClient#deleteGenericArtifact.");
|
|
652
682
|
const operationName = "deleteGenericArtifact";
|
|
653
683
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/DeleteGenericArtifact";
|
|
654
684
|
const pathParams = {
|
|
@@ -662,6 +692,8 @@ class ArtifactsClient {
|
|
|
662
692
|
};
|
|
663
693
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
664
694
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteGenericArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
695
|
+
if (this.logger)
|
|
696
|
+
retrier.logger = this.logger;
|
|
665
697
|
const request = yield oci_common_1.composeRequest({
|
|
666
698
|
baseEndpoint: this._endpoint,
|
|
667
699
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -696,11 +728,12 @@ class ArtifactsClient {
|
|
|
696
728
|
* @param DeleteGenericArtifactByPathRequest
|
|
697
729
|
* @return DeleteGenericArtifactByPathResponse
|
|
698
730
|
* @throws OciError when an error occurs
|
|
699
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
731
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/DeleteGenericArtifactByPath.ts.html |here} to see how to use DeleteGenericArtifactByPath API.
|
|
700
732
|
*/
|
|
701
733
|
deleteGenericArtifactByPath(deleteGenericArtifactByPathRequest) {
|
|
702
734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
703
|
-
|
|
735
|
+
if (this.logger)
|
|
736
|
+
this.logger.debug("Calling operation ArtifactsClient#deleteGenericArtifactByPath.");
|
|
704
737
|
const operationName = "deleteGenericArtifactByPath";
|
|
705
738
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/DeleteGenericArtifactByPath";
|
|
706
739
|
const pathParams = {
|
|
@@ -716,6 +749,8 @@ class ArtifactsClient {
|
|
|
716
749
|
};
|
|
717
750
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
718
751
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteGenericArtifactByPathRequest.retryConfiguration, specRetryConfiguration);
|
|
752
|
+
if (this.logger)
|
|
753
|
+
retrier.logger = this.logger;
|
|
719
754
|
const request = yield oci_common_1.composeRequest({
|
|
720
755
|
baseEndpoint: this._endpoint,
|
|
721
756
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -750,11 +785,12 @@ class ArtifactsClient {
|
|
|
750
785
|
* @param DeleteRepositoryRequest
|
|
751
786
|
* @return DeleteRepositoryResponse
|
|
752
787
|
* @throws OciError when an error occurs
|
|
753
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/DeleteRepository.ts.html |here} to see how to use DeleteRepository API.
|
|
754
789
|
*/
|
|
755
790
|
deleteRepository(deleteRepositoryRequest) {
|
|
756
791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
757
|
-
|
|
792
|
+
if (this.logger)
|
|
793
|
+
this.logger.debug("Calling operation ArtifactsClient#deleteRepository.");
|
|
758
794
|
const operationName = "deleteRepository";
|
|
759
795
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/DeleteRepository";
|
|
760
796
|
const pathParams = {
|
|
@@ -768,6 +804,8 @@ class ArtifactsClient {
|
|
|
768
804
|
};
|
|
769
805
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
770
806
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
807
|
+
if (this.logger)
|
|
808
|
+
retrier.logger = this.logger;
|
|
771
809
|
const request = yield oci_common_1.composeRequest({
|
|
772
810
|
baseEndpoint: this._endpoint,
|
|
773
811
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -802,11 +840,12 @@ class ArtifactsClient {
|
|
|
802
840
|
* @param GetContainerConfigurationRequest
|
|
803
841
|
* @return GetContainerConfigurationResponse
|
|
804
842
|
* @throws OciError when an error occurs
|
|
805
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
843
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/GetContainerConfiguration.ts.html |here} to see how to use GetContainerConfiguration API.
|
|
806
844
|
*/
|
|
807
845
|
getContainerConfiguration(getContainerConfigurationRequest) {
|
|
808
846
|
return __awaiter(this, void 0, void 0, function* () {
|
|
809
|
-
|
|
847
|
+
if (this.logger)
|
|
848
|
+
this.logger.debug("Calling operation ArtifactsClient#getContainerConfiguration.");
|
|
810
849
|
const operationName = "getContainerConfiguration";
|
|
811
850
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerConfiguration/GetContainerConfiguration";
|
|
812
851
|
const pathParams = {};
|
|
@@ -819,6 +858,8 @@ class ArtifactsClient {
|
|
|
819
858
|
};
|
|
820
859
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
821
860
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
861
|
+
if (this.logger)
|
|
862
|
+
retrier.logger = this.logger;
|
|
822
863
|
const request = yield oci_common_1.composeRequest({
|
|
823
864
|
baseEndpoint: this._endpoint,
|
|
824
865
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -862,11 +903,12 @@ class ArtifactsClient {
|
|
|
862
903
|
* @param GetContainerImageRequest
|
|
863
904
|
* @return GetContainerImageResponse
|
|
864
905
|
* @throws OciError when an error occurs
|
|
865
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
906
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/GetContainerImage.ts.html |here} to see how to use GetContainerImage API.
|
|
866
907
|
*/
|
|
867
908
|
getContainerImage(getContainerImageRequest) {
|
|
868
909
|
return __awaiter(this, void 0, void 0, function* () {
|
|
869
|
-
|
|
910
|
+
if (this.logger)
|
|
911
|
+
this.logger.debug("Calling operation ArtifactsClient#getContainerImage.");
|
|
870
912
|
const operationName = "getContainerImage";
|
|
871
913
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/GetContainerImage";
|
|
872
914
|
const pathParams = {
|
|
@@ -879,6 +921,8 @@ class ArtifactsClient {
|
|
|
879
921
|
};
|
|
880
922
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
881
923
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerImageRequest.retryConfiguration, specRetryConfiguration);
|
|
924
|
+
if (this.logger)
|
|
925
|
+
retrier.logger = this.logger;
|
|
882
926
|
const request = yield oci_common_1.composeRequest({
|
|
883
927
|
baseEndpoint: this._endpoint,
|
|
884
928
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -922,11 +966,12 @@ class ArtifactsClient {
|
|
|
922
966
|
* @param GetContainerImageSignatureRequest
|
|
923
967
|
* @return GetContainerImageSignatureResponse
|
|
924
968
|
* @throws OciError when an error occurs
|
|
925
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
969
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/GetContainerImageSignature.ts.html |here} to see how to use GetContainerImageSignature API.
|
|
926
970
|
*/
|
|
927
971
|
getContainerImageSignature(getContainerImageSignatureRequest) {
|
|
928
972
|
return __awaiter(this, void 0, void 0, function* () {
|
|
929
|
-
|
|
973
|
+
if (this.logger)
|
|
974
|
+
this.logger.debug("Calling operation ArtifactsClient#getContainerImageSignature.");
|
|
930
975
|
const operationName = "getContainerImageSignature";
|
|
931
976
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignature/GetContainerImageSignature";
|
|
932
977
|
const pathParams = {
|
|
@@ -939,6 +984,8 @@ class ArtifactsClient {
|
|
|
939
984
|
};
|
|
940
985
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
941
986
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerImageSignatureRequest.retryConfiguration, specRetryConfiguration);
|
|
987
|
+
if (this.logger)
|
|
988
|
+
retrier.logger = this.logger;
|
|
942
989
|
const request = yield oci_common_1.composeRequest({
|
|
943
990
|
baseEndpoint: this._endpoint,
|
|
944
991
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -982,11 +1029,12 @@ class ArtifactsClient {
|
|
|
982
1029
|
* @param GetContainerRepositoryRequest
|
|
983
1030
|
* @return GetContainerRepositoryResponse
|
|
984
1031
|
* @throws OciError when an error occurs
|
|
985
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1032
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/GetContainerRepository.ts.html |here} to see how to use GetContainerRepository API.
|
|
986
1033
|
*/
|
|
987
1034
|
getContainerRepository(getContainerRepositoryRequest) {
|
|
988
1035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
989
|
-
|
|
1036
|
+
if (this.logger)
|
|
1037
|
+
this.logger.debug("Calling operation ArtifactsClient#getContainerRepository.");
|
|
990
1038
|
const operationName = "getContainerRepository";
|
|
991
1039
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/GetContainerRepository";
|
|
992
1040
|
const pathParams = {
|
|
@@ -999,6 +1047,8 @@ class ArtifactsClient {
|
|
|
999
1047
|
};
|
|
1000
1048
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1001
1049
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
1050
|
+
if (this.logger)
|
|
1051
|
+
retrier.logger = this.logger;
|
|
1002
1052
|
const request = yield oci_common_1.composeRequest({
|
|
1003
1053
|
baseEndpoint: this._endpoint,
|
|
1004
1054
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1042,11 +1092,12 @@ class ArtifactsClient {
|
|
|
1042
1092
|
* @param GetGenericArtifactRequest
|
|
1043
1093
|
* @return GetGenericArtifactResponse
|
|
1044
1094
|
* @throws OciError when an error occurs
|
|
1045
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1095
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/GetGenericArtifact.ts.html |here} to see how to use GetGenericArtifact API.
|
|
1046
1096
|
*/
|
|
1047
1097
|
getGenericArtifact(getGenericArtifactRequest) {
|
|
1048
1098
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1049
|
-
|
|
1099
|
+
if (this.logger)
|
|
1100
|
+
this.logger.debug("Calling operation ArtifactsClient#getGenericArtifact.");
|
|
1050
1101
|
const operationName = "getGenericArtifact";
|
|
1051
1102
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/GetGenericArtifact";
|
|
1052
1103
|
const pathParams = {
|
|
@@ -1059,6 +1110,8 @@ class ArtifactsClient {
|
|
|
1059
1110
|
};
|
|
1060
1111
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1061
1112
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGenericArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
1113
|
+
if (this.logger)
|
|
1114
|
+
retrier.logger = this.logger;
|
|
1062
1115
|
const request = yield oci_common_1.composeRequest({
|
|
1063
1116
|
baseEndpoint: this._endpoint,
|
|
1064
1117
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1102,11 +1155,12 @@ class ArtifactsClient {
|
|
|
1102
1155
|
* @param GetGenericArtifactByPathRequest
|
|
1103
1156
|
* @return GetGenericArtifactByPathResponse
|
|
1104
1157
|
* @throws OciError when an error occurs
|
|
1105
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1158
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/GetGenericArtifactByPath.ts.html |here} to see how to use GetGenericArtifactByPath API.
|
|
1106
1159
|
*/
|
|
1107
1160
|
getGenericArtifactByPath(getGenericArtifactByPathRequest) {
|
|
1108
1161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1109
|
-
|
|
1162
|
+
if (this.logger)
|
|
1163
|
+
this.logger.debug("Calling operation ArtifactsClient#getGenericArtifactByPath.");
|
|
1110
1164
|
const operationName = "getGenericArtifactByPath";
|
|
1111
1165
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/GetGenericArtifactByPath";
|
|
1112
1166
|
const pathParams = {
|
|
@@ -1121,6 +1175,8 @@ class ArtifactsClient {
|
|
|
1121
1175
|
};
|
|
1122
1176
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1123
1177
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGenericArtifactByPathRequest.retryConfiguration, specRetryConfiguration);
|
|
1178
|
+
if (this.logger)
|
|
1179
|
+
retrier.logger = this.logger;
|
|
1124
1180
|
const request = yield oci_common_1.composeRequest({
|
|
1125
1181
|
baseEndpoint: this._endpoint,
|
|
1126
1182
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1164,11 +1220,12 @@ class ArtifactsClient {
|
|
|
1164
1220
|
* @param GetRepositoryRequest
|
|
1165
1221
|
* @return GetRepositoryResponse
|
|
1166
1222
|
* @throws OciError when an error occurs
|
|
1167
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1223
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/GetRepository.ts.html |here} to see how to use GetRepository API.
|
|
1168
1224
|
*/
|
|
1169
1225
|
getRepository(getRepositoryRequest) {
|
|
1170
1226
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1171
|
-
|
|
1227
|
+
if (this.logger)
|
|
1228
|
+
this.logger.debug("Calling operation ArtifactsClient#getRepository.");
|
|
1172
1229
|
const operationName = "getRepository";
|
|
1173
1230
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/GetRepository";
|
|
1174
1231
|
const pathParams = {
|
|
@@ -1181,6 +1238,8 @@ class ArtifactsClient {
|
|
|
1181
1238
|
};
|
|
1182
1239
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1183
1240
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
1241
|
+
if (this.logger)
|
|
1242
|
+
retrier.logger = this.logger;
|
|
1184
1243
|
const request = yield oci_common_1.composeRequest({
|
|
1185
1244
|
baseEndpoint: this._endpoint,
|
|
1186
1245
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1224,11 +1283,12 @@ class ArtifactsClient {
|
|
|
1224
1283
|
* @param ListContainerImageSignaturesRequest
|
|
1225
1284
|
* @return ListContainerImageSignaturesResponse
|
|
1226
1285
|
* @throws OciError when an error occurs
|
|
1227
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/ListContainerImageSignatures.ts.html |here} to see how to use ListContainerImageSignatures API.
|
|
1228
1287
|
*/
|
|
1229
1288
|
listContainerImageSignatures(listContainerImageSignaturesRequest) {
|
|
1230
1289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1231
|
-
|
|
1290
|
+
if (this.logger)
|
|
1291
|
+
this.logger.debug("Calling operation ArtifactsClient#listContainerImageSignatures.");
|
|
1232
1292
|
const operationName = "listContainerImageSignatures";
|
|
1233
1293
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignatureSummary/ListContainerImageSignatures";
|
|
1234
1294
|
const pathParams = {};
|
|
@@ -1254,6 +1314,8 @@ class ArtifactsClient {
|
|
|
1254
1314
|
};
|
|
1255
1315
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1256
1316
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainerImageSignaturesRequest.retryConfiguration, specRetryConfiguration);
|
|
1317
|
+
if (this.logger)
|
|
1318
|
+
retrier.logger = this.logger;
|
|
1257
1319
|
const request = yield oci_common_1.composeRequest({
|
|
1258
1320
|
baseEndpoint: this._endpoint,
|
|
1259
1321
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1297,11 +1359,12 @@ class ArtifactsClient {
|
|
|
1297
1359
|
* @param ListContainerImagesRequest
|
|
1298
1360
|
* @return ListContainerImagesResponse
|
|
1299
1361
|
* @throws OciError when an error occurs
|
|
1300
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/ListContainerImages.ts.html |here} to see how to use ListContainerImages API.
|
|
1301
1363
|
*/
|
|
1302
1364
|
listContainerImages(listContainerImagesRequest) {
|
|
1303
1365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1304
|
-
|
|
1366
|
+
if (this.logger)
|
|
1367
|
+
this.logger.debug("Calling operation ArtifactsClient#listContainerImages.");
|
|
1305
1368
|
const operationName = "listContainerImages";
|
|
1306
1369
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSummary/ListContainerImages";
|
|
1307
1370
|
const pathParams = {};
|
|
@@ -1326,6 +1389,8 @@ class ArtifactsClient {
|
|
|
1326
1389
|
};
|
|
1327
1390
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1328
1391
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainerImagesRequest.retryConfiguration, specRetryConfiguration);
|
|
1392
|
+
if (this.logger)
|
|
1393
|
+
retrier.logger = this.logger;
|
|
1329
1394
|
const request = yield oci_common_1.composeRequest({
|
|
1330
1395
|
baseEndpoint: this._endpoint,
|
|
1331
1396
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1369,11 +1434,12 @@ class ArtifactsClient {
|
|
|
1369
1434
|
* @param ListContainerRepositoriesRequest
|
|
1370
1435
|
* @return ListContainerRepositoriesResponse
|
|
1371
1436
|
* @throws OciError when an error occurs
|
|
1372
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1437
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/ListContainerRepositories.ts.html |here} to see how to use ListContainerRepositories API.
|
|
1373
1438
|
*/
|
|
1374
1439
|
listContainerRepositories(listContainerRepositoriesRequest) {
|
|
1375
1440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1376
|
-
|
|
1441
|
+
if (this.logger)
|
|
1442
|
+
this.logger.debug("Calling operation ArtifactsClient#listContainerRepositories.");
|
|
1377
1443
|
const operationName = "listContainerRepositories";
|
|
1378
1444
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/ListContainerRepositories";
|
|
1379
1445
|
const pathParams = {};
|
|
@@ -1395,6 +1461,8 @@ class ArtifactsClient {
|
|
|
1395
1461
|
};
|
|
1396
1462
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1397
1463
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainerRepositoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
1464
|
+
if (this.logger)
|
|
1465
|
+
retrier.logger = this.logger;
|
|
1398
1466
|
const request = yield oci_common_1.composeRequest({
|
|
1399
1467
|
baseEndpoint: this._endpoint,
|
|
1400
1468
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1438,11 +1506,12 @@ class ArtifactsClient {
|
|
|
1438
1506
|
* @param ListGenericArtifactsRequest
|
|
1439
1507
|
* @return ListGenericArtifactsResponse
|
|
1440
1508
|
* @throws OciError when an error occurs
|
|
1441
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1509
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/ListGenericArtifacts.ts.html |here} to see how to use ListGenericArtifacts API.
|
|
1442
1510
|
*/
|
|
1443
1511
|
listGenericArtifacts(listGenericArtifactsRequest) {
|
|
1444
1512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1445
|
-
|
|
1513
|
+
if (this.logger)
|
|
1514
|
+
this.logger.debug("Calling operation ArtifactsClient#listGenericArtifacts.");
|
|
1446
1515
|
const operationName = "listGenericArtifacts";
|
|
1447
1516
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/ListGenericArtifacts";
|
|
1448
1517
|
const pathParams = {};
|
|
@@ -1466,6 +1535,8 @@ class ArtifactsClient {
|
|
|
1466
1535
|
};
|
|
1467
1536
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1468
1537
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGenericArtifactsRequest.retryConfiguration, specRetryConfiguration);
|
|
1538
|
+
if (this.logger)
|
|
1539
|
+
retrier.logger = this.logger;
|
|
1469
1540
|
const request = yield oci_common_1.composeRequest({
|
|
1470
1541
|
baseEndpoint: this._endpoint,
|
|
1471
1542
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1509,11 +1580,12 @@ class ArtifactsClient {
|
|
|
1509
1580
|
* @param ListRepositoriesRequest
|
|
1510
1581
|
* @return ListRepositoriesResponse
|
|
1511
1582
|
* @throws OciError when an error occurs
|
|
1512
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/ListRepositories.ts.html |here} to see how to use ListRepositories API.
|
|
1513
1584
|
*/
|
|
1514
1585
|
listRepositories(listRepositoriesRequest) {
|
|
1515
1586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1516
|
-
|
|
1587
|
+
if (this.logger)
|
|
1588
|
+
this.logger.debug("Calling operation ArtifactsClient#listRepositories.");
|
|
1517
1589
|
const operationName = "listRepositories";
|
|
1518
1590
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/ListRepositories";
|
|
1519
1591
|
const pathParams = {};
|
|
@@ -1534,6 +1606,8 @@ class ArtifactsClient {
|
|
|
1534
1606
|
};
|
|
1535
1607
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1536
1608
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRepositoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
1609
|
+
if (this.logger)
|
|
1610
|
+
retrier.logger = this.logger;
|
|
1537
1611
|
const request = yield oci_common_1.composeRequest({
|
|
1538
1612
|
baseEndpoint: this._endpoint,
|
|
1539
1613
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1577,11 +1651,12 @@ class ArtifactsClient {
|
|
|
1577
1651
|
* @param RemoveContainerVersionRequest
|
|
1578
1652
|
* @return RemoveContainerVersionResponse
|
|
1579
1653
|
* @throws OciError when an error occurs
|
|
1580
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1654
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/RemoveContainerVersion.ts.html |here} to see how to use RemoveContainerVersion API.
|
|
1581
1655
|
*/
|
|
1582
1656
|
removeContainerVersion(removeContainerVersionRequest) {
|
|
1583
1657
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1584
|
-
|
|
1658
|
+
if (this.logger)
|
|
1659
|
+
this.logger.debug("Calling operation ArtifactsClient#removeContainerVersion.");
|
|
1585
1660
|
const operationName = "removeContainerVersion";
|
|
1586
1661
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/RemoveContainerVersion";
|
|
1587
1662
|
const pathParams = {
|
|
@@ -1596,6 +1671,8 @@ class ArtifactsClient {
|
|
|
1596
1671
|
};
|
|
1597
1672
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1598
1673
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeContainerVersionRequest.retryConfiguration, specRetryConfiguration);
|
|
1674
|
+
if (this.logger)
|
|
1675
|
+
retrier.logger = this.logger;
|
|
1599
1676
|
const request = yield oci_common_1.composeRequest({
|
|
1600
1677
|
baseEndpoint: this._endpoint,
|
|
1601
1678
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1640,11 +1717,12 @@ class ArtifactsClient {
|
|
|
1640
1717
|
* @param RestoreContainerImageRequest
|
|
1641
1718
|
* @return RestoreContainerImageResponse
|
|
1642
1719
|
* @throws OciError when an error occurs
|
|
1643
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1720
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/RestoreContainerImage.ts.html |here} to see how to use RestoreContainerImage API.
|
|
1644
1721
|
*/
|
|
1645
1722
|
restoreContainerImage(restoreContainerImageRequest) {
|
|
1646
1723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1647
|
-
|
|
1724
|
+
if (this.logger)
|
|
1725
|
+
this.logger.debug("Calling operation ArtifactsClient#restoreContainerImage.");
|
|
1648
1726
|
const operationName = "restoreContainerImage";
|
|
1649
1727
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/RestoreContainerImage";
|
|
1650
1728
|
const pathParams = {
|
|
@@ -1659,6 +1737,8 @@ class ArtifactsClient {
|
|
|
1659
1737
|
};
|
|
1660
1738
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1661
1739
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreContainerImageRequest.retryConfiguration, specRetryConfiguration);
|
|
1740
|
+
if (this.logger)
|
|
1741
|
+
retrier.logger = this.logger;
|
|
1662
1742
|
const request = yield oci_common_1.composeRequest({
|
|
1663
1743
|
baseEndpoint: this._endpoint,
|
|
1664
1744
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1703,11 +1783,12 @@ class ArtifactsClient {
|
|
|
1703
1783
|
* @param UpdateContainerConfigurationRequest
|
|
1704
1784
|
* @return UpdateContainerConfigurationResponse
|
|
1705
1785
|
* @throws OciError when an error occurs
|
|
1706
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1786
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/UpdateContainerConfiguration.ts.html |here} to see how to use UpdateContainerConfiguration API.
|
|
1707
1787
|
*/
|
|
1708
1788
|
updateContainerConfiguration(updateContainerConfigurationRequest) {
|
|
1709
1789
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1710
|
-
|
|
1790
|
+
if (this.logger)
|
|
1791
|
+
this.logger.debug("Calling operation ArtifactsClient#updateContainerConfiguration.");
|
|
1711
1792
|
const operationName = "updateContainerConfiguration";
|
|
1712
1793
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerConfiguration/UpdateContainerConfiguration";
|
|
1713
1794
|
const pathParams = {};
|
|
@@ -1721,6 +1802,8 @@ class ArtifactsClient {
|
|
|
1721
1802
|
};
|
|
1722
1803
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1723
1804
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1805
|
+
if (this.logger)
|
|
1806
|
+
retrier.logger = this.logger;
|
|
1724
1807
|
const request = yield oci_common_1.composeRequest({
|
|
1725
1808
|
baseEndpoint: this._endpoint,
|
|
1726
1809
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1765,11 +1848,12 @@ class ArtifactsClient {
|
|
|
1765
1848
|
* @param UpdateContainerImageRequest
|
|
1766
1849
|
* @return UpdateContainerImageResponse
|
|
1767
1850
|
* @throws OciError when an error occurs
|
|
1768
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1851
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/UpdateContainerImage.ts.html |here} to see how to use UpdateContainerImage API.
|
|
1769
1852
|
*/
|
|
1770
1853
|
updateContainerImage(updateContainerImageRequest) {
|
|
1771
1854
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1772
|
-
|
|
1855
|
+
if (this.logger)
|
|
1856
|
+
this.logger.debug("Calling operation ArtifactsClient#updateContainerImage.");
|
|
1773
1857
|
const operationName = "updateContainerImage";
|
|
1774
1858
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/UpdateContainerImage";
|
|
1775
1859
|
const pathParams = {
|
|
@@ -1783,6 +1867,8 @@ class ArtifactsClient {
|
|
|
1783
1867
|
};
|
|
1784
1868
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1785
1869
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerImageRequest.retryConfiguration, specRetryConfiguration);
|
|
1870
|
+
if (this.logger)
|
|
1871
|
+
retrier.logger = this.logger;
|
|
1786
1872
|
const request = yield oci_common_1.composeRequest({
|
|
1787
1873
|
baseEndpoint: this._endpoint,
|
|
1788
1874
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1827,11 +1913,12 @@ class ArtifactsClient {
|
|
|
1827
1913
|
* @param UpdateContainerImageSignatureRequest
|
|
1828
1914
|
* @return UpdateContainerImageSignatureResponse
|
|
1829
1915
|
* @throws OciError when an error occurs
|
|
1830
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1916
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/UpdateContainerImageSignature.ts.html |here} to see how to use UpdateContainerImageSignature API.
|
|
1831
1917
|
*/
|
|
1832
1918
|
updateContainerImageSignature(updateContainerImageSignatureRequest) {
|
|
1833
1919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1834
|
-
|
|
1920
|
+
if (this.logger)
|
|
1921
|
+
this.logger.debug("Calling operation ArtifactsClient#updateContainerImageSignature.");
|
|
1835
1922
|
const operationName = "updateContainerImageSignature";
|
|
1836
1923
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImageSignature/UpdateContainerImageSignature";
|
|
1837
1924
|
const pathParams = {
|
|
@@ -1845,6 +1932,8 @@ class ArtifactsClient {
|
|
|
1845
1932
|
};
|
|
1846
1933
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1847
1934
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerImageSignatureRequest.retryConfiguration, specRetryConfiguration);
|
|
1935
|
+
if (this.logger)
|
|
1936
|
+
retrier.logger = this.logger;
|
|
1848
1937
|
const request = yield oci_common_1.composeRequest({
|
|
1849
1938
|
baseEndpoint: this._endpoint,
|
|
1850
1939
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1889,11 +1978,12 @@ class ArtifactsClient {
|
|
|
1889
1978
|
* @param UpdateContainerRepositoryRequest
|
|
1890
1979
|
* @return UpdateContainerRepositoryResponse
|
|
1891
1980
|
* @throws OciError when an error occurs
|
|
1892
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1981
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/UpdateContainerRepository.ts.html |here} to see how to use UpdateContainerRepository API.
|
|
1893
1982
|
*/
|
|
1894
1983
|
updateContainerRepository(updateContainerRepositoryRequest) {
|
|
1895
1984
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1896
|
-
|
|
1985
|
+
if (this.logger)
|
|
1986
|
+
this.logger.debug("Calling operation ArtifactsClient#updateContainerRepository.");
|
|
1897
1987
|
const operationName = "updateContainerRepository";
|
|
1898
1988
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerRepository/UpdateContainerRepository";
|
|
1899
1989
|
const pathParams = {
|
|
@@ -1907,6 +1997,8 @@ class ArtifactsClient {
|
|
|
1907
1997
|
};
|
|
1908
1998
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1909
1999
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
2000
|
+
if (this.logger)
|
|
2001
|
+
retrier.logger = this.logger;
|
|
1910
2002
|
const request = yield oci_common_1.composeRequest({
|
|
1911
2003
|
baseEndpoint: this._endpoint,
|
|
1912
2004
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1951,11 +2043,12 @@ class ArtifactsClient {
|
|
|
1951
2043
|
* @param UpdateGenericArtifactRequest
|
|
1952
2044
|
* @return UpdateGenericArtifactResponse
|
|
1953
2045
|
* @throws OciError when an error occurs
|
|
1954
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/UpdateGenericArtifact.ts.html |here} to see how to use UpdateGenericArtifact API.
|
|
1955
2047
|
*/
|
|
1956
2048
|
updateGenericArtifact(updateGenericArtifactRequest) {
|
|
1957
2049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1958
|
-
|
|
2050
|
+
if (this.logger)
|
|
2051
|
+
this.logger.debug("Calling operation ArtifactsClient#updateGenericArtifact.");
|
|
1959
2052
|
const operationName = "updateGenericArtifact";
|
|
1960
2053
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/UpdateGenericArtifact";
|
|
1961
2054
|
const pathParams = {
|
|
@@ -1969,6 +2062,8 @@ class ArtifactsClient {
|
|
|
1969
2062
|
};
|
|
1970
2063
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1971
2064
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGenericArtifactRequest.retryConfiguration, specRetryConfiguration);
|
|
2065
|
+
if (this.logger)
|
|
2066
|
+
retrier.logger = this.logger;
|
|
1972
2067
|
const request = yield oci_common_1.composeRequest({
|
|
1973
2068
|
baseEndpoint: this._endpoint,
|
|
1974
2069
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2013,11 +2108,12 @@ class ArtifactsClient {
|
|
|
2013
2108
|
* @param UpdateGenericArtifactByPathRequest
|
|
2014
2109
|
* @return UpdateGenericArtifactByPathResponse
|
|
2015
2110
|
* @throws OciError when an error occurs
|
|
2016
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2111
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/UpdateGenericArtifactByPath.ts.html |here} to see how to use UpdateGenericArtifactByPath API.
|
|
2017
2112
|
*/
|
|
2018
2113
|
updateGenericArtifactByPath(updateGenericArtifactByPathRequest) {
|
|
2019
2114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2020
|
-
|
|
2115
|
+
if (this.logger)
|
|
2116
|
+
this.logger.debug("Calling operation ArtifactsClient#updateGenericArtifactByPath.");
|
|
2021
2117
|
const operationName = "updateGenericArtifactByPath";
|
|
2022
2118
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/GenericArtifact/UpdateGenericArtifactByPath";
|
|
2023
2119
|
const pathParams = {
|
|
@@ -2033,6 +2129,8 @@ class ArtifactsClient {
|
|
|
2033
2129
|
};
|
|
2034
2130
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2035
2131
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGenericArtifactByPathRequest.retryConfiguration, specRetryConfiguration);
|
|
2132
|
+
if (this.logger)
|
|
2133
|
+
retrier.logger = this.logger;
|
|
2036
2134
|
const request = yield oci_common_1.composeRequest({
|
|
2037
2135
|
baseEndpoint: this._endpoint,
|
|
2038
2136
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2077,11 +2175,12 @@ class ArtifactsClient {
|
|
|
2077
2175
|
* @param UpdateRepositoryRequest
|
|
2078
2176
|
* @return UpdateRepositoryResponse
|
|
2079
2177
|
* @throws OciError when an error occurs
|
|
2080
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2178
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/artifacts/UpdateRepository.ts.html |here} to see how to use UpdateRepository API.
|
|
2081
2179
|
*/
|
|
2082
2180
|
updateRepository(updateRepositoryRequest) {
|
|
2083
2181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2084
|
-
|
|
2182
|
+
if (this.logger)
|
|
2183
|
+
this.logger.debug("Calling operation ArtifactsClient#updateRepository.");
|
|
2085
2184
|
const operationName = "updateRepository";
|
|
2086
2185
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/registry/20160918/Repository/UpdateRepository";
|
|
2087
2186
|
const pathParams = {
|
|
@@ -2095,6 +2194,8 @@ class ArtifactsClient {
|
|
|
2095
2194
|
};
|
|
2096
2195
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2097
2196
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRepositoryRequest.retryConfiguration, specRetryConfiguration);
|
|
2197
|
+
if (this.logger)
|
|
2198
|
+
retrier.logger = this.logger;
|
|
2098
2199
|
const request = yield oci_common_1.composeRequest({
|
|
2099
2200
|
baseEndpoint: this._endpoint,
|
|
2100
2201
|
defaultHeaders: this._defaultHeaders,
|