oci-governancerulescontrolplane 2.78.0 → 2.79.1
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 +20 -22
- package/lib/client.js +44 -114
- package/lib/client.js.map +1 -1
- package/lib/model/association.js +2 -4
- package/lib/model/association.js.map +1 -1
- package/lib/model/base-tag-definition-validator.js +2 -4
- package/lib/model/base-tag-definition-validator.js.map +1 -1
- package/lib/model/template.js +2 -4
- package/lib/model/template.js.map +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/create-governance-rule-request.d.ts +1 -1
- package/lib/request/create-inclusion-criterion-request.d.ts +1 -1
- package/lib/request/delete-governance-rule-request.d.ts +1 -1
- package/lib/request/delete-inclusion-criterion-request.d.ts +1 -1
- package/lib/request/get-enforced-governance-rule-request.d.ts +1 -1
- package/lib/request/get-governance-rule-request.d.ts +1 -1
- package/lib/request/get-inclusion-criterion-request.d.ts +1 -1
- package/lib/request/get-tenancy-attachment-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-enforced-governance-rules-request.d.ts +1 -1
- package/lib/request/list-governance-rules-request.d.ts +1 -1
- package/lib/request/list-inclusion-criteria-request.d.ts +1 -1
- package/lib/request/list-tenancy-attachments-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/retry-governance-rule-request.d.ts +1 -1
- package/lib/request/retry-tenancy-attachment-request.d.ts +1 -1
- package/lib/request/update-governance-rule-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -117,11 +117,7 @@ class GovernanceRuleClient {
|
|
|
117
117
|
set endpoint(endpoint) {
|
|
118
118
|
this._endpoint = endpoint;
|
|
119
119
|
this._endpoint = this._endpoint + "/20220504";
|
|
120
|
-
|
|
121
|
-
this.logger.info(`GovernanceRuleClient endpoint set to ${this._endpoint}`);
|
|
122
|
-
}
|
|
123
|
-
get logger() {
|
|
124
|
-
return common.LOG.logger;
|
|
120
|
+
oci_common_1.logger.info(`GovernanceRuleClient endpoint set to ${this._endpoint}`);
|
|
125
121
|
}
|
|
126
122
|
/**
|
|
127
123
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -130,8 +126,7 @@ class GovernanceRuleClient {
|
|
|
130
126
|
*/
|
|
131
127
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
132
128
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
133
|
-
|
|
134
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
129
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
135
130
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
136
131
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(GovernanceRuleClient.serviceEndpointTemplate, this._region, GovernanceRuleClient.endpointServiceName);
|
|
137
132
|
}
|
|
@@ -198,12 +193,11 @@ class GovernanceRuleClient {
|
|
|
198
193
|
* @param CreateGovernanceRuleRequest
|
|
199
194
|
* @return CreateGovernanceRuleResponse
|
|
200
195
|
* @throws OciError when an error occurs
|
|
201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
196
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/CreateGovernanceRule.ts.html |here} to see how to use CreateGovernanceRule API.
|
|
202
197
|
*/
|
|
203
198
|
createGovernanceRule(createGovernanceRuleRequest) {
|
|
204
199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
-
|
|
206
|
-
this.logger.debug("Calling operation GovernanceRuleClient#createGovernanceRule.");
|
|
200
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#createGovernanceRule.");
|
|
207
201
|
const operationName = "createGovernanceRule";
|
|
208
202
|
const apiReferenceLink = "";
|
|
209
203
|
const pathParams = {};
|
|
@@ -215,8 +209,6 @@ class GovernanceRuleClient {
|
|
|
215
209
|
};
|
|
216
210
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
217
211
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createGovernanceRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
218
|
-
if (this.logger)
|
|
219
|
-
retrier.logger = this.logger;
|
|
220
212
|
const request = yield oci_common_1.composeRequest({
|
|
221
213
|
baseEndpoint: this._endpoint,
|
|
222
214
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -272,12 +264,11 @@ class GovernanceRuleClient {
|
|
|
272
264
|
* @param CreateInclusionCriterionRequest
|
|
273
265
|
* @return CreateInclusionCriterionResponse
|
|
274
266
|
* @throws OciError when an error occurs
|
|
275
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/CreateInclusionCriterion.ts.html |here} to see how to use CreateInclusionCriterion API.
|
|
276
268
|
*/
|
|
277
269
|
createInclusionCriterion(createInclusionCriterionRequest) {
|
|
278
270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
279
|
-
|
|
280
|
-
this.logger.debug("Calling operation GovernanceRuleClient#createInclusionCriterion.");
|
|
271
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#createInclusionCriterion.");
|
|
281
272
|
const operationName = "createInclusionCriterion";
|
|
282
273
|
const apiReferenceLink = "";
|
|
283
274
|
const pathParams = {};
|
|
@@ -289,8 +280,6 @@ class GovernanceRuleClient {
|
|
|
289
280
|
};
|
|
290
281
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
291
282
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createInclusionCriterionRequest.retryConfiguration, specRetryConfiguration);
|
|
292
|
-
if (this.logger)
|
|
293
|
-
retrier.logger = this.logger;
|
|
294
283
|
const request = yield oci_common_1.composeRequest({
|
|
295
284
|
baseEndpoint: this._endpoint,
|
|
296
285
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -345,12 +334,11 @@ class GovernanceRuleClient {
|
|
|
345
334
|
* @param DeleteGovernanceRuleRequest
|
|
346
335
|
* @return DeleteGovernanceRuleResponse
|
|
347
336
|
* @throws OciError when an error occurs
|
|
348
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/DeleteGovernanceRule.ts.html |here} to see how to use DeleteGovernanceRule API.
|
|
349
338
|
*/
|
|
350
339
|
deleteGovernanceRule(deleteGovernanceRuleRequest) {
|
|
351
340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
352
|
-
|
|
353
|
-
this.logger.debug("Calling operation GovernanceRuleClient#deleteGovernanceRule.");
|
|
341
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#deleteGovernanceRule.");
|
|
354
342
|
const operationName = "deleteGovernanceRule";
|
|
355
343
|
const apiReferenceLink = "";
|
|
356
344
|
const pathParams = {
|
|
@@ -364,8 +352,6 @@ class GovernanceRuleClient {
|
|
|
364
352
|
};
|
|
365
353
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
366
354
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteGovernanceRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
367
|
-
if (this.logger)
|
|
368
|
-
retrier.logger = this.logger;
|
|
369
355
|
const request = yield oci_common_1.composeRequest({
|
|
370
356
|
baseEndpoint: this._endpoint,
|
|
371
357
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -405,12 +391,11 @@ class GovernanceRuleClient {
|
|
|
405
391
|
* @param DeleteInclusionCriterionRequest
|
|
406
392
|
* @return DeleteInclusionCriterionResponse
|
|
407
393
|
* @throws OciError when an error occurs
|
|
408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
394
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/DeleteInclusionCriterion.ts.html |here} to see how to use DeleteInclusionCriterion API.
|
|
409
395
|
*/
|
|
410
396
|
deleteInclusionCriterion(deleteInclusionCriterionRequest) {
|
|
411
397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
412
|
-
|
|
413
|
-
this.logger.debug("Calling operation GovernanceRuleClient#deleteInclusionCriterion.");
|
|
398
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#deleteInclusionCriterion.");
|
|
414
399
|
const operationName = "deleteInclusionCriterion";
|
|
415
400
|
const apiReferenceLink = "";
|
|
416
401
|
const pathParams = {
|
|
@@ -424,8 +409,6 @@ class GovernanceRuleClient {
|
|
|
424
409
|
};
|
|
425
410
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
426
411
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteInclusionCriterionRequest.retryConfiguration, specRetryConfiguration);
|
|
427
|
-
if (this.logger)
|
|
428
|
-
retrier.logger = this.logger;
|
|
429
412
|
const request = yield oci_common_1.composeRequest({
|
|
430
413
|
baseEndpoint: this._endpoint,
|
|
431
414
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -465,12 +448,11 @@ class GovernanceRuleClient {
|
|
|
465
448
|
* @param GetEnforcedGovernanceRuleRequest
|
|
466
449
|
* @return GetEnforcedGovernanceRuleResponse
|
|
467
450
|
* @throws OciError when an error occurs
|
|
468
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/GetEnforcedGovernanceRule.ts.html |here} to see how to use GetEnforcedGovernanceRule API.
|
|
469
452
|
*/
|
|
470
453
|
getEnforcedGovernanceRule(getEnforcedGovernanceRuleRequest) {
|
|
471
454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
472
|
-
|
|
473
|
-
this.logger.debug("Calling operation GovernanceRuleClient#getEnforcedGovernanceRule.");
|
|
455
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#getEnforcedGovernanceRule.");
|
|
474
456
|
const operationName = "getEnforcedGovernanceRule";
|
|
475
457
|
const apiReferenceLink = "";
|
|
476
458
|
const pathParams = {
|
|
@@ -483,8 +465,6 @@ class GovernanceRuleClient {
|
|
|
483
465
|
};
|
|
484
466
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
485
467
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEnforcedGovernanceRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
486
|
-
if (this.logger)
|
|
487
|
-
retrier.logger = this.logger;
|
|
488
468
|
const request = yield oci_common_1.composeRequest({
|
|
489
469
|
baseEndpoint: this._endpoint,
|
|
490
470
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -528,12 +508,11 @@ class GovernanceRuleClient {
|
|
|
528
508
|
* @param GetGovernanceRuleRequest
|
|
529
509
|
* @return GetGovernanceRuleResponse
|
|
530
510
|
* @throws OciError when an error occurs
|
|
531
|
-
* @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.79.1/governancerulescontrolplane/GetGovernanceRule.ts.html |here} to see how to use GetGovernanceRule API.
|
|
532
512
|
*/
|
|
533
513
|
getGovernanceRule(getGovernanceRuleRequest) {
|
|
534
514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
535
|
-
|
|
536
|
-
this.logger.debug("Calling operation GovernanceRuleClient#getGovernanceRule.");
|
|
515
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#getGovernanceRule.");
|
|
537
516
|
const operationName = "getGovernanceRule";
|
|
538
517
|
const apiReferenceLink = "";
|
|
539
518
|
const pathParams = {
|
|
@@ -546,8 +525,6 @@ class GovernanceRuleClient {
|
|
|
546
525
|
};
|
|
547
526
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
548
527
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGovernanceRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
549
|
-
if (this.logger)
|
|
550
|
-
retrier.logger = this.logger;
|
|
551
528
|
const request = yield oci_common_1.composeRequest({
|
|
552
529
|
baseEndpoint: this._endpoint,
|
|
553
530
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -591,12 +568,11 @@ class GovernanceRuleClient {
|
|
|
591
568
|
* @param GetInclusionCriterionRequest
|
|
592
569
|
* @return GetInclusionCriterionResponse
|
|
593
570
|
* @throws OciError when an error occurs
|
|
594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
571
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/GetInclusionCriterion.ts.html |here} to see how to use GetInclusionCriterion API.
|
|
595
572
|
*/
|
|
596
573
|
getInclusionCriterion(getInclusionCriterionRequest) {
|
|
597
574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
598
|
-
|
|
599
|
-
this.logger.debug("Calling operation GovernanceRuleClient#getInclusionCriterion.");
|
|
575
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#getInclusionCriterion.");
|
|
600
576
|
const operationName = "getInclusionCriterion";
|
|
601
577
|
const apiReferenceLink = "";
|
|
602
578
|
const pathParams = {
|
|
@@ -609,8 +585,6 @@ class GovernanceRuleClient {
|
|
|
609
585
|
};
|
|
610
586
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
611
587
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getInclusionCriterionRequest.retryConfiguration, specRetryConfiguration);
|
|
612
|
-
if (this.logger)
|
|
613
|
-
retrier.logger = this.logger;
|
|
614
588
|
const request = yield oci_common_1.composeRequest({
|
|
615
589
|
baseEndpoint: this._endpoint,
|
|
616
590
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -654,12 +628,11 @@ class GovernanceRuleClient {
|
|
|
654
628
|
* @param GetTenancyAttachmentRequest
|
|
655
629
|
* @return GetTenancyAttachmentResponse
|
|
656
630
|
* @throws OciError when an error occurs
|
|
657
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
631
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/GetTenancyAttachment.ts.html |here} to see how to use GetTenancyAttachment API.
|
|
658
632
|
*/
|
|
659
633
|
getTenancyAttachment(getTenancyAttachmentRequest) {
|
|
660
634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
661
|
-
|
|
662
|
-
this.logger.debug("Calling operation GovernanceRuleClient#getTenancyAttachment.");
|
|
635
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#getTenancyAttachment.");
|
|
663
636
|
const operationName = "getTenancyAttachment";
|
|
664
637
|
const apiReferenceLink = "";
|
|
665
638
|
const pathParams = {
|
|
@@ -672,8 +645,6 @@ class GovernanceRuleClient {
|
|
|
672
645
|
};
|
|
673
646
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
674
647
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTenancyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
675
|
-
if (this.logger)
|
|
676
|
-
retrier.logger = this.logger;
|
|
677
648
|
const request = yield oci_common_1.composeRequest({
|
|
678
649
|
baseEndpoint: this._endpoint,
|
|
679
650
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -719,12 +690,11 @@ class GovernanceRuleClient {
|
|
|
719
690
|
* @param ListEnforcedGovernanceRulesRequest
|
|
720
691
|
* @return ListEnforcedGovernanceRulesResponse
|
|
721
692
|
* @throws OciError when an error occurs
|
|
722
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
693
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/ListEnforcedGovernanceRules.ts.html |here} to see how to use ListEnforcedGovernanceRules API.
|
|
723
694
|
*/
|
|
724
695
|
listEnforcedGovernanceRules(listEnforcedGovernanceRulesRequest) {
|
|
725
696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
726
|
-
|
|
727
|
-
this.logger.debug("Calling operation GovernanceRuleClient#listEnforcedGovernanceRules.");
|
|
697
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#listEnforcedGovernanceRules.");
|
|
728
698
|
const operationName = "listEnforcedGovernanceRules";
|
|
729
699
|
const apiReferenceLink = "";
|
|
730
700
|
const pathParams = {};
|
|
@@ -744,8 +714,6 @@ class GovernanceRuleClient {
|
|
|
744
714
|
};
|
|
745
715
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
746
716
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEnforcedGovernanceRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
747
|
-
if (this.logger)
|
|
748
|
-
retrier.logger = this.logger;
|
|
749
717
|
const request = yield oci_common_1.composeRequest({
|
|
750
718
|
baseEndpoint: this._endpoint,
|
|
751
719
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -791,12 +759,11 @@ class GovernanceRuleClient {
|
|
|
791
759
|
* @param ListGovernanceRulesRequest
|
|
792
760
|
* @return ListGovernanceRulesResponse
|
|
793
761
|
* @throws OciError when an error occurs
|
|
794
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
762
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/ListGovernanceRules.ts.html |here} to see how to use ListGovernanceRules API.
|
|
795
763
|
*/
|
|
796
764
|
listGovernanceRules(listGovernanceRulesRequest) {
|
|
797
765
|
return __awaiter(this, void 0, void 0, function* () {
|
|
798
|
-
|
|
799
|
-
this.logger.debug("Calling operation GovernanceRuleClient#listGovernanceRules.");
|
|
766
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#listGovernanceRules.");
|
|
800
767
|
const operationName = "listGovernanceRules";
|
|
801
768
|
const apiReferenceLink = "";
|
|
802
769
|
const pathParams = {};
|
|
@@ -817,8 +784,6 @@ class GovernanceRuleClient {
|
|
|
817
784
|
};
|
|
818
785
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
819
786
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGovernanceRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
820
|
-
if (this.logger)
|
|
821
|
-
retrier.logger = this.logger;
|
|
822
787
|
const request = yield oci_common_1.composeRequest({
|
|
823
788
|
baseEndpoint: this._endpoint,
|
|
824
789
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -864,12 +829,11 @@ class GovernanceRuleClient {
|
|
|
864
829
|
* @param ListInclusionCriteriaRequest
|
|
865
830
|
* @return ListInclusionCriteriaResponse
|
|
866
831
|
* @throws OciError when an error occurs
|
|
867
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
832
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/ListInclusionCriteria.ts.html |here} to see how to use ListInclusionCriteria API.
|
|
868
833
|
*/
|
|
869
834
|
listInclusionCriteria(listInclusionCriteriaRequest) {
|
|
870
835
|
return __awaiter(this, void 0, void 0, function* () {
|
|
871
|
-
|
|
872
|
-
this.logger.debug("Calling operation GovernanceRuleClient#listInclusionCriteria.");
|
|
836
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#listInclusionCriteria.");
|
|
873
837
|
const operationName = "listInclusionCriteria";
|
|
874
838
|
const apiReferenceLink = "";
|
|
875
839
|
const pathParams = {};
|
|
@@ -888,8 +852,6 @@ class GovernanceRuleClient {
|
|
|
888
852
|
};
|
|
889
853
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
890
854
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInclusionCriteriaRequest.retryConfiguration, specRetryConfiguration);
|
|
891
|
-
if (this.logger)
|
|
892
|
-
retrier.logger = this.logger;
|
|
893
855
|
const request = yield oci_common_1.composeRequest({
|
|
894
856
|
baseEndpoint: this._endpoint,
|
|
895
857
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -935,12 +897,11 @@ class GovernanceRuleClient {
|
|
|
935
897
|
* @param ListTenancyAttachmentsRequest
|
|
936
898
|
* @return ListTenancyAttachmentsResponse
|
|
937
899
|
* @throws OciError when an error occurs
|
|
938
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
900
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/ListTenancyAttachments.ts.html |here} to see how to use ListTenancyAttachments API.
|
|
939
901
|
*/
|
|
940
902
|
listTenancyAttachments(listTenancyAttachmentsRequest) {
|
|
941
903
|
return __awaiter(this, void 0, void 0, function* () {
|
|
942
|
-
|
|
943
|
-
this.logger.debug("Calling operation GovernanceRuleClient#listTenancyAttachments.");
|
|
904
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#listTenancyAttachments.");
|
|
944
905
|
const operationName = "listTenancyAttachments";
|
|
945
906
|
const apiReferenceLink = "";
|
|
946
907
|
const pathParams = {};
|
|
@@ -961,8 +922,6 @@ class GovernanceRuleClient {
|
|
|
961
922
|
};
|
|
962
923
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
963
924
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTenancyAttachmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
964
|
-
if (this.logger)
|
|
965
|
-
retrier.logger = this.logger;
|
|
966
925
|
const request = yield oci_common_1.composeRequest({
|
|
967
926
|
baseEndpoint: this._endpoint,
|
|
968
927
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1009,12 +968,11 @@ class GovernanceRuleClient {
|
|
|
1009
968
|
* @param RetryGovernanceRuleRequest
|
|
1010
969
|
* @return RetryGovernanceRuleResponse
|
|
1011
970
|
* @throws OciError when an error occurs
|
|
1012
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
971
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/RetryGovernanceRule.ts.html |here} to see how to use RetryGovernanceRule API.
|
|
1013
972
|
*/
|
|
1014
973
|
retryGovernanceRule(retryGovernanceRuleRequest) {
|
|
1015
974
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1016
|
-
|
|
1017
|
-
this.logger.debug("Calling operation GovernanceRuleClient#retryGovernanceRule.");
|
|
975
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#retryGovernanceRule.");
|
|
1018
976
|
const operationName = "retryGovernanceRule";
|
|
1019
977
|
const apiReferenceLink = "";
|
|
1020
978
|
const pathParams = {
|
|
@@ -1029,8 +987,6 @@ class GovernanceRuleClient {
|
|
|
1029
987
|
};
|
|
1030
988
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1031
989
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retryGovernanceRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1032
|
-
if (this.logger)
|
|
1033
|
-
retrier.logger = this.logger;
|
|
1034
990
|
const request = yield oci_common_1.composeRequest({
|
|
1035
991
|
baseEndpoint: this._endpoint,
|
|
1036
992
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1072,12 +1028,11 @@ class GovernanceRuleClient {
|
|
|
1072
1028
|
* @param RetryTenancyAttachmentRequest
|
|
1073
1029
|
* @return RetryTenancyAttachmentResponse
|
|
1074
1030
|
* @throws OciError when an error occurs
|
|
1075
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/RetryTenancyAttachment.ts.html |here} to see how to use RetryTenancyAttachment API.
|
|
1076
1032
|
*/
|
|
1077
1033
|
retryTenancyAttachment(retryTenancyAttachmentRequest) {
|
|
1078
1034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1079
|
-
|
|
1080
|
-
this.logger.debug("Calling operation GovernanceRuleClient#retryTenancyAttachment.");
|
|
1035
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#retryTenancyAttachment.");
|
|
1081
1036
|
const operationName = "retryTenancyAttachment";
|
|
1082
1037
|
const apiReferenceLink = "";
|
|
1083
1038
|
const pathParams = {
|
|
@@ -1092,8 +1047,6 @@ class GovernanceRuleClient {
|
|
|
1092
1047
|
};
|
|
1093
1048
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1094
1049
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retryTenancyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1095
|
-
if (this.logger)
|
|
1096
|
-
retrier.logger = this.logger;
|
|
1097
1050
|
const request = yield oci_common_1.composeRequest({
|
|
1098
1051
|
baseEndpoint: this._endpoint,
|
|
1099
1052
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1133,12 +1086,11 @@ class GovernanceRuleClient {
|
|
|
1133
1086
|
* @param UpdateGovernanceRuleRequest
|
|
1134
1087
|
* @return UpdateGovernanceRuleResponse
|
|
1135
1088
|
* @throws OciError when an error occurs
|
|
1136
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1089
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/UpdateGovernanceRule.ts.html |here} to see how to use UpdateGovernanceRule API.
|
|
1137
1090
|
*/
|
|
1138
1091
|
updateGovernanceRule(updateGovernanceRuleRequest) {
|
|
1139
1092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1140
|
-
|
|
1141
|
-
this.logger.debug("Calling operation GovernanceRuleClient#updateGovernanceRule.");
|
|
1093
|
+
oci_common_1.logger.debug("Calling operation GovernanceRuleClient#updateGovernanceRule.");
|
|
1142
1094
|
const operationName = "updateGovernanceRule";
|
|
1143
1095
|
const apiReferenceLink = "";
|
|
1144
1096
|
const pathParams = {
|
|
@@ -1152,8 +1104,6 @@ class GovernanceRuleClient {
|
|
|
1152
1104
|
};
|
|
1153
1105
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1154
1106
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGovernanceRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1155
|
-
if (this.logger)
|
|
1156
|
-
retrier.logger = this.logger;
|
|
1157
1107
|
const request = yield oci_common_1.composeRequest({
|
|
1158
1108
|
baseEndpoint: this._endpoint,
|
|
1159
1109
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1259,11 +1209,7 @@ class WorkRequestClient {
|
|
|
1259
1209
|
set endpoint(endpoint) {
|
|
1260
1210
|
this._endpoint = endpoint;
|
|
1261
1211
|
this._endpoint = this._endpoint + "/20220504";
|
|
1262
|
-
|
|
1263
|
-
this.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`);
|
|
1264
|
-
}
|
|
1265
|
-
get logger() {
|
|
1266
|
-
return common.LOG.logger;
|
|
1212
|
+
oci_common_1.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`);
|
|
1267
1213
|
}
|
|
1268
1214
|
/**
|
|
1269
1215
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -1272,8 +1218,7 @@ class WorkRequestClient {
|
|
|
1272
1218
|
*/
|
|
1273
1219
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
1274
1220
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
1275
|
-
|
|
1276
|
-
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1221
|
+
oci_common_1.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
1277
1222
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
1278
1223
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WorkRequestClient.serviceEndpointTemplate, this._region, WorkRequestClient.endpointServiceName);
|
|
1279
1224
|
}
|
|
@@ -1339,12 +1284,11 @@ class WorkRequestClient {
|
|
|
1339
1284
|
* @param CancelWorkRequestRequest
|
|
1340
1285
|
* @return CancelWorkRequestResponse
|
|
1341
1286
|
* @throws OciError when an error occurs
|
|
1342
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
1343
1288
|
*/
|
|
1344
1289
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
1345
1290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1346
|
-
|
|
1347
|
-
this.logger.debug("Calling operation WorkRequestClient#cancelWorkRequest.");
|
|
1291
|
+
oci_common_1.logger.debug("Calling operation WorkRequestClient#cancelWorkRequest.");
|
|
1348
1292
|
const operationName = "cancelWorkRequest";
|
|
1349
1293
|
const apiReferenceLink = "";
|
|
1350
1294
|
const pathParams = {
|
|
@@ -1358,8 +1302,6 @@ class WorkRequestClient {
|
|
|
1358
1302
|
};
|
|
1359
1303
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1360
1304
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1361
|
-
if (this.logger)
|
|
1362
|
-
retrier.logger = this.logger;
|
|
1363
1305
|
const request = yield oci_common_1.composeRequest({
|
|
1364
1306
|
baseEndpoint: this._endpoint,
|
|
1365
1307
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1394,12 +1336,11 @@ class WorkRequestClient {
|
|
|
1394
1336
|
* @param GetWorkRequestRequest
|
|
1395
1337
|
* @return GetWorkRequestResponse
|
|
1396
1338
|
* @throws OciError when an error occurs
|
|
1397
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1339
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1398
1340
|
*/
|
|
1399
1341
|
getWorkRequest(getWorkRequestRequest) {
|
|
1400
1342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1401
|
-
|
|
1402
|
-
this.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
|
|
1343
|
+
oci_common_1.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
|
|
1403
1344
|
const operationName = "getWorkRequest";
|
|
1404
1345
|
const apiReferenceLink = "";
|
|
1405
1346
|
const pathParams = {
|
|
@@ -1412,8 +1353,6 @@ class WorkRequestClient {
|
|
|
1412
1353
|
};
|
|
1413
1354
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1414
1355
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1415
|
-
if (this.logger)
|
|
1416
|
-
retrier.logger = this.logger;
|
|
1417
1356
|
const request = yield oci_common_1.composeRequest({
|
|
1418
1357
|
baseEndpoint: this._endpoint,
|
|
1419
1358
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1463,12 +1402,11 @@ class WorkRequestClient {
|
|
|
1463
1402
|
* @param ListWorkRequestErrorsRequest
|
|
1464
1403
|
* @return ListWorkRequestErrorsResponse
|
|
1465
1404
|
* @throws OciError when an error occurs
|
|
1466
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1405
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1467
1406
|
*/
|
|
1468
1407
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1469
1408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1470
|
-
|
|
1471
|
-
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
|
|
1409
|
+
oci_common_1.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
|
|
1472
1410
|
const operationName = "listWorkRequestErrors";
|
|
1473
1411
|
const apiReferenceLink = "";
|
|
1474
1412
|
const pathParams = {
|
|
@@ -1486,8 +1424,6 @@ class WorkRequestClient {
|
|
|
1486
1424
|
};
|
|
1487
1425
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1488
1426
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1489
|
-
if (this.logger)
|
|
1490
|
-
retrier.logger = this.logger;
|
|
1491
1427
|
const request = yield oci_common_1.composeRequest({
|
|
1492
1428
|
baseEndpoint: this._endpoint,
|
|
1493
1429
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1532,12 +1468,11 @@ class WorkRequestClient {
|
|
|
1532
1468
|
* @param ListWorkRequestLogsRequest
|
|
1533
1469
|
* @return ListWorkRequestLogsResponse
|
|
1534
1470
|
* @throws OciError when an error occurs
|
|
1535
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1536
1472
|
*/
|
|
1537
1473
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1538
1474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1539
|
-
|
|
1540
|
-
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
|
|
1475
|
+
oci_common_1.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
|
|
1541
1476
|
const operationName = "listWorkRequestLogs";
|
|
1542
1477
|
const apiReferenceLink = "";
|
|
1543
1478
|
const pathParams = {
|
|
@@ -1555,8 +1490,6 @@ class WorkRequestClient {
|
|
|
1555
1490
|
};
|
|
1556
1491
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1557
1492
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1558
|
-
if (this.logger)
|
|
1559
|
-
retrier.logger = this.logger;
|
|
1560
1493
|
const request = yield oci_common_1.composeRequest({
|
|
1561
1494
|
baseEndpoint: this._endpoint,
|
|
1562
1495
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1601,12 +1534,11 @@ class WorkRequestClient {
|
|
|
1601
1534
|
* @param ListWorkRequestsRequest
|
|
1602
1535
|
* @return ListWorkRequestsResponse
|
|
1603
1536
|
* @throws OciError when an error occurs
|
|
1604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1537
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/governancerulescontrolplane/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1605
1538
|
*/
|
|
1606
1539
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1607
1540
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1608
|
-
|
|
1609
|
-
this.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
|
|
1541
|
+
oci_common_1.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
|
|
1610
1542
|
const operationName = "listWorkRequests";
|
|
1611
1543
|
const apiReferenceLink = "";
|
|
1612
1544
|
const pathParams = {};
|
|
@@ -1626,8 +1558,6 @@ class WorkRequestClient {
|
|
|
1626
1558
|
};
|
|
1627
1559
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1628
1560
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1629
|
-
if (this.logger)
|
|
1630
|
-
retrier.logger = this.logger;
|
|
1631
1561
|
const request = yield oci_common_1.composeRequest({
|
|
1632
1562
|
baseEndpoint: this._endpoint,
|
|
1633
1563
|
defaultHeaders: this._defaultHeaders,
|