oci-dns 2.4.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +6 -0
- package/lib/client.d.ts +292 -51
- package/lib/client.js +445 -102
- package/lib/client.js.map +1 -1
- package/lib/request/change-resolver-compartment-request.d.ts +1 -1
- package/lib/request/change-steering-policy-compartment-request.d.ts +1 -1
- package/lib/request/change-tsig-key-compartment-request.d.ts +1 -1
- package/lib/request/change-view-compartment-request.d.ts +1 -1
- package/lib/request/change-zone-compartment-request.d.ts +1 -1
- package/lib/request/create-resolver-endpoint-request.d.ts +1 -1
- package/lib/request/create-steering-policy-attachment-request.d.ts +1 -1
- package/lib/request/create-steering-policy-request.d.ts +1 -1
- package/lib/request/create-tsig-key-request.d.ts +1 -1
- package/lib/request/create-view-request.d.ts +1 -1
- package/lib/request/create-zone-request.d.ts +1 -1
- package/lib/request/delete-domain-records-request.d.ts +1 -1
- package/lib/request/delete-resolver-endpoint-request.d.ts +1 -1
- package/lib/request/delete-rrset-request.d.ts +1 -1
- package/lib/request/delete-steering-policy-attachment-request.d.ts +1 -1
- package/lib/request/delete-steering-policy-request.d.ts +1 -1
- package/lib/request/delete-tsig-key-request.d.ts +1 -1
- package/lib/request/delete-view-request.d.ts +1 -1
- package/lib/request/delete-zone-request.d.ts +1 -1
- package/lib/request/get-domain-records-request.d.ts +1 -1
- package/lib/request/get-resolver-endpoint-request.d.ts +1 -1
- package/lib/request/get-resolver-request.d.ts +1 -1
- package/lib/request/get-rrset-request.d.ts +1 -1
- package/lib/request/get-steering-policy-attachment-request.d.ts +1 -1
- package/lib/request/get-steering-policy-request.d.ts +1 -1
- package/lib/request/get-tsig-key-request.d.ts +1 -1
- package/lib/request/get-view-request.d.ts +1 -1
- package/lib/request/get-zone-content-request.d.ts +1 -1
- package/lib/request/get-zone-records-request.d.ts +1 -1
- package/lib/request/get-zone-request.d.ts +1 -1
- package/lib/request/list-resolver-endpoints-request.d.ts +1 -1
- package/lib/request/list-resolvers-request.d.ts +1 -1
- package/lib/request/list-steering-policies-request.d.ts +1 -1
- package/lib/request/list-steering-policy-attachments-request.d.ts +1 -1
- package/lib/request/list-tsig-keys-request.d.ts +1 -1
- package/lib/request/list-views-request.d.ts +1 -1
- package/lib/request/list-zone-transfer-servers-request.d.ts +1 -1
- package/lib/request/list-zones-request.d.ts +1 -1
- package/lib/request/patch-domain-records-request.d.ts +1 -1
- package/lib/request/patch-rrset-request.d.ts +1 -1
- package/lib/request/patch-zone-records-request.d.ts +1 -1
- package/lib/request/update-domain-records-request.d.ts +1 -1
- package/lib/request/update-resolver-endpoint-request.d.ts +1 -1
- package/lib/request/update-resolver-request.d.ts +1 -1
- package/lib/request/update-rrset-request.d.ts +1 -1
- package/lib/request/update-steering-policy-attachment-request.d.ts +1 -1
- package/lib/request/update-steering-policy-request.d.ts +1 -1
- package/lib/request/update-tsig-key-request.d.ts +1 -1
- package/lib/request/update-view-request.d.ts +1 -1
- package/lib/request/update-zone-records-request.d.ts +1 -1
- package/lib/request/update-zone-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -54,6 +54,9 @@ const oci_common_2 = require("oci-common");
|
|
|
54
54
|
var DnsApiKeys;
|
|
55
55
|
(function (DnsApiKeys) {
|
|
56
56
|
})(DnsApiKeys = exports.DnsApiKeys || (exports.DnsApiKeys = {}));
|
|
57
|
+
/**
|
|
58
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
59
|
+
*/
|
|
57
60
|
class DnsClient {
|
|
58
61
|
constructor(params, clientConfiguration) {
|
|
59
62
|
this["_endpoint"] = "";
|
|
@@ -68,6 +71,13 @@ class DnsClient {
|
|
|
68
71
|
? clientConfiguration.circuitBreaker.circuit
|
|
69
72
|
: null;
|
|
70
73
|
}
|
|
74
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
75
|
+
const specCircuitBreakerEnabled = false;
|
|
76
|
+
if (!this._circuitBreaker &&
|
|
77
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
78
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
79
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
80
|
+
}
|
|
71
81
|
this._httpClient =
|
|
72
82
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
73
83
|
if (params.authenticationDetailsProvider &&
|
|
@@ -141,10 +151,11 @@ class DnsClient {
|
|
|
141
151
|
* Moves a resolver into a different compartment along with its protected default view and any endpoints.
|
|
142
152
|
* Zones in the default view are not moved. Requires a `PRIVATE` scope query parameter.
|
|
143
153
|
*
|
|
154
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
144
155
|
* @param ChangeResolverCompartmentRequest
|
|
145
156
|
* @return ChangeResolverCompartmentResponse
|
|
146
157
|
* @throws OciError when an error occurs
|
|
147
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
158
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ChangeResolverCompartment.ts.html |here} to see how to use ChangeResolverCompartment API.
|
|
148
159
|
*/
|
|
149
160
|
changeResolverCompartment(changeResolverCompartmentRequest) {
|
|
150
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -162,7 +173,8 @@ class DnsClient {
|
|
|
162
173
|
"opc-retry-token": changeResolverCompartmentRequest.opcRetryToken,
|
|
163
174
|
"opc-request-id": changeResolverCompartmentRequest.opcRequestId
|
|
164
175
|
};
|
|
165
|
-
const
|
|
176
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
177
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeResolverCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
166
178
|
if (this.logger)
|
|
167
179
|
retrier.logger = this.logger;
|
|
168
180
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -202,10 +214,11 @@ class DnsClient {
|
|
|
202
214
|
/**
|
|
203
215
|
* Moves a steering policy into a different compartment.
|
|
204
216
|
*
|
|
217
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
205
218
|
* @param ChangeSteeringPolicyCompartmentRequest
|
|
206
219
|
* @return ChangeSteeringPolicyCompartmentResponse
|
|
207
220
|
* @throws OciError when an error occurs
|
|
208
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
221
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ChangeSteeringPolicyCompartment.ts.html |here} to see how to use ChangeSteeringPolicyCompartment API.
|
|
209
222
|
*/
|
|
210
223
|
changeSteeringPolicyCompartment(changeSteeringPolicyCompartmentRequest) {
|
|
211
224
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -223,7 +236,8 @@ class DnsClient {
|
|
|
223
236
|
"opc-retry-token": changeSteeringPolicyCompartmentRequest.opcRetryToken,
|
|
224
237
|
"opc-request-id": changeSteeringPolicyCompartmentRequest.opcRequestId
|
|
225
238
|
};
|
|
226
|
-
const
|
|
239
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
240
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSteeringPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
227
241
|
if (this.logger)
|
|
228
242
|
retrier.logger = this.logger;
|
|
229
243
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -258,10 +272,11 @@ class DnsClient {
|
|
|
258
272
|
/**
|
|
259
273
|
* Moves a TSIG key into a different compartment.
|
|
260
274
|
*
|
|
275
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
261
276
|
* @param ChangeTsigKeyCompartmentRequest
|
|
262
277
|
* @return ChangeTsigKeyCompartmentResponse
|
|
263
278
|
* @throws OciError when an error occurs
|
|
264
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ChangeTsigKeyCompartment.ts.html |here} to see how to use ChangeTsigKeyCompartment API.
|
|
265
280
|
*/
|
|
266
281
|
changeTsigKeyCompartment(changeTsigKeyCompartmentRequest) {
|
|
267
282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -279,7 +294,8 @@ class DnsClient {
|
|
|
279
294
|
"opc-retry-token": changeTsigKeyCompartmentRequest.opcRetryToken,
|
|
280
295
|
"opc-request-id": changeTsigKeyCompartmentRequest.opcRequestId
|
|
281
296
|
};
|
|
282
|
-
const
|
|
297
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
298
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeTsigKeyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
283
299
|
if (this.logger)
|
|
284
300
|
retrier.logger = this.logger;
|
|
285
301
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -315,10 +331,11 @@ class DnsClient {
|
|
|
315
331
|
* Moves a view into a different compartment. Protected views cannot have their compartment changed. Requires a
|
|
316
332
|
* `PRIVATE` scope query parameter.
|
|
317
333
|
*
|
|
334
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
318
335
|
* @param ChangeViewCompartmentRequest
|
|
319
336
|
* @return ChangeViewCompartmentResponse
|
|
320
337
|
* @throws OciError when an error occurs
|
|
321
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ChangeViewCompartment.ts.html |here} to see how to use ChangeViewCompartment API.
|
|
322
339
|
*/
|
|
323
340
|
changeViewCompartment(changeViewCompartmentRequest) {
|
|
324
341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -336,7 +353,8 @@ class DnsClient {
|
|
|
336
353
|
"opc-retry-token": changeViewCompartmentRequest.opcRetryToken,
|
|
337
354
|
"opc-request-id": changeViewCompartmentRequest.opcRequestId
|
|
338
355
|
};
|
|
339
|
-
const
|
|
356
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
357
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeViewCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
340
358
|
if (this.logger)
|
|
341
359
|
retrier.logger = this.logger;
|
|
342
360
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -380,10 +398,11 @@ class DnsClient {
|
|
|
380
398
|
* <p>
|
|
381
399
|
**Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment.
|
|
382
400
|
*
|
|
401
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
383
402
|
* @param ChangeZoneCompartmentRequest
|
|
384
403
|
* @return ChangeZoneCompartmentResponse
|
|
385
404
|
* @throws OciError when an error occurs
|
|
386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
405
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ChangeZoneCompartment.ts.html |here} to see how to use ChangeZoneCompartment API.
|
|
387
406
|
*/
|
|
388
407
|
changeZoneCompartment(changeZoneCompartmentRequest) {
|
|
389
408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -401,7 +420,8 @@ class DnsClient {
|
|
|
401
420
|
"opc-retry-token": changeZoneCompartmentRequest.opcRetryToken,
|
|
402
421
|
"opc-request-id": changeZoneCompartmentRequest.opcRequestId
|
|
403
422
|
};
|
|
404
|
-
const
|
|
423
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
424
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeZoneCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
405
425
|
if (this.logger)
|
|
406
426
|
retrier.logger = this.logger;
|
|
407
427
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -441,10 +461,11 @@ class DnsClient {
|
|
|
441
461
|
/**
|
|
442
462
|
* Creates a new resolver endpoint. Requires a `PRIVATE` scope query parameter.
|
|
443
463
|
*
|
|
464
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
444
465
|
* @param CreateResolverEndpointRequest
|
|
445
466
|
* @return CreateResolverEndpointResponse
|
|
446
467
|
* @throws OciError when an error occurs
|
|
447
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
468
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/CreateResolverEndpoint.ts.html |here} to see how to use CreateResolverEndpoint API.
|
|
448
469
|
*/
|
|
449
470
|
createResolverEndpoint(createResolverEndpointRequest) {
|
|
450
471
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -461,7 +482,8 @@ class DnsClient {
|
|
|
461
482
|
"opc-retry-token": createResolverEndpointRequest.opcRetryToken,
|
|
462
483
|
"opc-request-id": createResolverEndpointRequest.opcRequestId
|
|
463
484
|
};
|
|
464
|
-
const
|
|
485
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
486
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
465
487
|
if (this.logger)
|
|
466
488
|
retrier.logger = this.logger;
|
|
467
489
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -516,10 +538,11 @@ class DnsClient {
|
|
|
516
538
|
* Creates a new steering policy in the specified compartment. For more information on
|
|
517
539
|
* creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
|
|
518
540
|
*
|
|
541
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
519
542
|
* @param CreateSteeringPolicyRequest
|
|
520
543
|
* @return CreateSteeringPolicyResponse
|
|
521
544
|
* @throws OciError when an error occurs
|
|
522
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
545
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/CreateSteeringPolicy.ts.html |here} to see how to use CreateSteeringPolicy API.
|
|
523
546
|
*/
|
|
524
547
|
createSteeringPolicy(createSteeringPolicyRequest) {
|
|
525
548
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -534,7 +557,8 @@ class DnsClient {
|
|
|
534
557
|
"opc-retry-token": createSteeringPolicyRequest.opcRetryToken,
|
|
535
558
|
"opc-request-id": createSteeringPolicyRequest.opcRequestId
|
|
536
559
|
};
|
|
537
|
-
const
|
|
560
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
561
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
538
562
|
if (this.logger)
|
|
539
563
|
retrier.logger = this.logger;
|
|
540
564
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -588,10 +612,11 @@ class DnsClient {
|
|
|
588
612
|
For the purposes of access control, the attachment is automatically placed
|
|
589
613
|
* into the same compartment as the domain's zone.
|
|
590
614
|
*
|
|
615
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
591
616
|
* @param CreateSteeringPolicyAttachmentRequest
|
|
592
617
|
* @return CreateSteeringPolicyAttachmentResponse
|
|
593
618
|
* @throws OciError when an error occurs
|
|
594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
619
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/CreateSteeringPolicyAttachment.ts.html |here} to see how to use CreateSteeringPolicyAttachment API.
|
|
595
620
|
*/
|
|
596
621
|
createSteeringPolicyAttachment(createSteeringPolicyAttachmentRequest) {
|
|
597
622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -606,7 +631,8 @@ class DnsClient {
|
|
|
606
631
|
"opc-retry-token": createSteeringPolicyAttachmentRequest.opcRetryToken,
|
|
607
632
|
"opc-request-id": createSteeringPolicyAttachmentRequest.opcRequestId
|
|
608
633
|
};
|
|
609
|
-
const
|
|
634
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
635
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
610
636
|
if (this.logger)
|
|
611
637
|
retrier.logger = this.logger;
|
|
612
638
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -656,10 +682,11 @@ class DnsClient {
|
|
|
656
682
|
* Creates a new TSIG key in the specified compartment. There is no
|
|
657
683
|
* `opc-retry-token` header since TSIG key names must be globally unique.
|
|
658
684
|
*
|
|
685
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
659
686
|
* @param CreateTsigKeyRequest
|
|
660
687
|
* @return CreateTsigKeyResponse
|
|
661
688
|
* @throws OciError when an error occurs
|
|
662
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
689
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/CreateTsigKey.ts.html |here} to see how to use CreateTsigKey API.
|
|
663
690
|
*/
|
|
664
691
|
createTsigKey(createTsigKeyRequest) {
|
|
665
692
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -673,7 +700,8 @@ class DnsClient {
|
|
|
673
700
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
674
701
|
"opc-request-id": createTsigKeyRequest.opcRequestId
|
|
675
702
|
};
|
|
676
|
-
const
|
|
703
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
704
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
677
705
|
if (this.logger)
|
|
678
706
|
retrier.logger = this.logger;
|
|
679
707
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -727,10 +755,11 @@ class DnsClient {
|
|
|
727
755
|
/**
|
|
728
756
|
* Creates a new view in the specified compartment. Requires a `PRIVATE` scope query parameter.
|
|
729
757
|
*
|
|
758
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
730
759
|
* @param CreateViewRequest
|
|
731
760
|
* @return CreateViewResponse
|
|
732
761
|
* @throws OciError when an error occurs
|
|
733
|
-
* @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.6.0/dns/CreateView.ts.html |here} to see how to use CreateView API.
|
|
734
763
|
*/
|
|
735
764
|
createView(createViewRequest) {
|
|
736
765
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -745,7 +774,8 @@ class DnsClient {
|
|
|
745
774
|
"opc-retry-token": createViewRequest.opcRetryToken,
|
|
746
775
|
"opc-request-id": createViewRequest.opcRequestId
|
|
747
776
|
};
|
|
748
|
-
const
|
|
777
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
778
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createViewRequest.retryConfiguration, specRetryConfiguration);
|
|
749
779
|
if (this.logger)
|
|
750
780
|
retrier.logger = this.logger;
|
|
751
781
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -803,10 +833,11 @@ class DnsClient {
|
|
|
803
833
|
* private zone. Private zones must have a zone type of `PRIMARY`. Creating a private zone at or under
|
|
804
834
|
* `oraclevcn.com` within the default protected view of a VCN-dedicated resolver is not permitted.
|
|
805
835
|
*
|
|
836
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
806
837
|
* @param CreateZoneRequest
|
|
807
838
|
* @return CreateZoneResponse
|
|
808
839
|
* @throws OciError when an error occurs
|
|
809
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
840
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/CreateZone.ts.html |here} to see how to use CreateZone API.
|
|
810
841
|
*/
|
|
811
842
|
createZone(createZoneRequest) {
|
|
812
843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -822,7 +853,8 @@ class DnsClient {
|
|
|
822
853
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
823
854
|
"opc-request-id": createZoneRequest.opcRequestId
|
|
824
855
|
};
|
|
825
|
-
const
|
|
856
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
857
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
826
858
|
if (this.logger)
|
|
827
859
|
retrier.logger = this.logger;
|
|
828
860
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -878,10 +910,11 @@ class DnsClient {
|
|
|
878
910
|
* required with a value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used
|
|
879
911
|
* for the scope query parameter then the viewId query parameter is required.
|
|
880
912
|
*
|
|
913
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
881
914
|
* @param DeleteDomainRecordsRequest
|
|
882
915
|
* @return DeleteDomainRecordsResponse
|
|
883
916
|
* @throws OciError when an error occurs
|
|
884
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/DeleteDomainRecords.ts.html |here} to see how to use DeleteDomainRecords API.
|
|
885
918
|
*/
|
|
886
919
|
deleteDomainRecords(deleteDomainRecordsRequest) {
|
|
887
920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -902,7 +935,8 @@ class DnsClient {
|
|
|
902
935
|
"If-Unmodified-Since": deleteDomainRecordsRequest.ifUnmodifiedSince,
|
|
903
936
|
"opc-request-id": deleteDomainRecordsRequest.opcRequestId
|
|
904
937
|
};
|
|
905
|
-
const
|
|
938
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
939
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
906
940
|
if (this.logger)
|
|
907
941
|
retrier.logger = this.logger;
|
|
908
942
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -938,10 +972,11 @@ class DnsClient {
|
|
|
938
972
|
* value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope
|
|
939
973
|
* query parameter then the viewId query parameter is required.
|
|
940
974
|
*
|
|
975
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
941
976
|
* @param DeleteRRSetRequest
|
|
942
977
|
* @return DeleteRRSetResponse
|
|
943
978
|
* @throws OciError when an error occurs
|
|
944
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
979
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/DeleteRRSet.ts.html |here} to see how to use DeleteRRSet API.
|
|
945
980
|
*/
|
|
946
981
|
deleteRRSet(deleteRRSetRequest) {
|
|
947
982
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -963,7 +998,8 @@ class DnsClient {
|
|
|
963
998
|
"If-Unmodified-Since": deleteRRSetRequest.ifUnmodifiedSince,
|
|
964
999
|
"opc-request-id": deleteRRSetRequest.opcRequestId
|
|
965
1000
|
};
|
|
966
|
-
const
|
|
1001
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1002
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
967
1003
|
if (this.logger)
|
|
968
1004
|
retrier.logger = this.logger;
|
|
969
1005
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1000,10 +1036,11 @@ class DnsClient {
|
|
|
1000
1036
|
* Resolver endpoints may not be deleted if they are referenced by a resolver rule. Requires a `PRIVATE` scope
|
|
1001
1037
|
* query parameter.
|
|
1002
1038
|
*
|
|
1039
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1003
1040
|
* @param DeleteResolverEndpointRequest
|
|
1004
1041
|
* @return DeleteResolverEndpointResponse
|
|
1005
1042
|
* @throws OciError when an error occurs
|
|
1006
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1043
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/DeleteResolverEndpoint.ts.html |here} to see how to use DeleteResolverEndpoint API.
|
|
1007
1044
|
*/
|
|
1008
1045
|
deleteResolverEndpoint(deleteResolverEndpointRequest) {
|
|
1009
1046
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1022,7 +1059,8 @@ class DnsClient {
|
|
|
1022
1059
|
"If-Unmodified-Since": deleteResolverEndpointRequest.ifUnmodifiedSince,
|
|
1023
1060
|
"opc-request-id": deleteResolverEndpointRequest.opcRequestId
|
|
1024
1061
|
};
|
|
1025
|
-
const
|
|
1062
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1063
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1026
1064
|
if (this.logger)
|
|
1027
1065
|
retrier.logger = this.logger;
|
|
1028
1066
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1064,10 +1102,11 @@ class DnsClient {
|
|
|
1064
1102
|
* Deletion will fail if the policy is attached to any zones. To detach a
|
|
1065
1103
|
* policy from a zone, see `DeleteSteeringPolicyAttachment`.
|
|
1066
1104
|
*
|
|
1105
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1067
1106
|
* @param DeleteSteeringPolicyRequest
|
|
1068
1107
|
* @return DeleteSteeringPolicyResponse
|
|
1069
1108
|
* @throws OciError when an error occurs
|
|
1070
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/DeleteSteeringPolicy.ts.html |here} to see how to use DeleteSteeringPolicy API.
|
|
1071
1110
|
*/
|
|
1072
1111
|
deleteSteeringPolicy(deleteSteeringPolicyRequest) {
|
|
1073
1112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1085,7 +1124,8 @@ class DnsClient {
|
|
|
1085
1124
|
"If-Unmodified-Since": deleteSteeringPolicyRequest.ifUnmodifiedSince,
|
|
1086
1125
|
"opc-request-id": deleteSteeringPolicyRequest.opcRequestId
|
|
1087
1126
|
};
|
|
1088
|
-
const
|
|
1127
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1128
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1089
1129
|
if (this.logger)
|
|
1090
1130
|
retrier.logger = this.logger;
|
|
1091
1131
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1120,10 +1160,11 @@ class DnsClient {
|
|
|
1120
1160
|
* Deletes the specified steering policy attachment.
|
|
1121
1161
|
* A `204` response indicates that the delete has been successful.
|
|
1122
1162
|
*
|
|
1163
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1123
1164
|
* @param DeleteSteeringPolicyAttachmentRequest
|
|
1124
1165
|
* @return DeleteSteeringPolicyAttachmentResponse
|
|
1125
1166
|
* @throws OciError when an error occurs
|
|
1126
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1167
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/DeleteSteeringPolicyAttachment.ts.html |here} to see how to use DeleteSteeringPolicyAttachment API.
|
|
1127
1168
|
*/
|
|
1128
1169
|
deleteSteeringPolicyAttachment(deleteSteeringPolicyAttachmentRequest) {
|
|
1129
1170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1141,7 +1182,8 @@ class DnsClient {
|
|
|
1141
1182
|
"If-Unmodified-Since": deleteSteeringPolicyAttachmentRequest.ifUnmodifiedSince,
|
|
1142
1183
|
"opc-request-id": deleteSteeringPolicyAttachmentRequest.opcRequestId
|
|
1143
1184
|
};
|
|
1144
|
-
const
|
|
1185
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1186
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1145
1187
|
if (this.logger)
|
|
1146
1188
|
retrier.logger = this.logger;
|
|
1147
1189
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1175,10 +1217,11 @@ class DnsClient {
|
|
|
1175
1217
|
/**
|
|
1176
1218
|
* Deletes the specified TSIG key.
|
|
1177
1219
|
*
|
|
1220
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1178
1221
|
* @param DeleteTsigKeyRequest
|
|
1179
1222
|
* @return DeleteTsigKeyResponse
|
|
1180
1223
|
* @throws OciError when an error occurs
|
|
1181
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/DeleteTsigKey.ts.html |here} to see how to use DeleteTsigKey API.
|
|
1182
1225
|
*/
|
|
1183
1226
|
deleteTsigKey(deleteTsigKeyRequest) {
|
|
1184
1227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1196,7 +1239,8 @@ class DnsClient {
|
|
|
1196
1239
|
"If-Unmodified-Since": deleteTsigKeyRequest.ifUnmodifiedSince,
|
|
1197
1240
|
"opc-request-id": deleteTsigKeyRequest.opcRequestId
|
|
1198
1241
|
};
|
|
1199
|
-
const
|
|
1242
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1243
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1200
1244
|
if (this.logger)
|
|
1201
1245
|
retrier.logger = this.logger;
|
|
1202
1246
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1239,10 +1283,11 @@ class DnsClient {
|
|
|
1239
1283
|
* deleted if they are referenced by non-deleted zones or resolvers.
|
|
1240
1284
|
* Protected views cannot be deleted. Requires a `PRIVATE` scope query parameter.
|
|
1241
1285
|
*
|
|
1286
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1242
1287
|
* @param DeleteViewRequest
|
|
1243
1288
|
* @return DeleteViewResponse
|
|
1244
1289
|
* @throws OciError when an error occurs
|
|
1245
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1290
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/DeleteView.ts.html |here} to see how to use DeleteView API.
|
|
1246
1291
|
*/
|
|
1247
1292
|
deleteView(deleteViewRequest) {
|
|
1248
1293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1260,7 +1305,8 @@ class DnsClient {
|
|
|
1260
1305
|
"If-Unmodified-Since": deleteViewRequest.ifUnmodifiedSince,
|
|
1261
1306
|
"opc-request-id": deleteViewRequest.opcRequestId
|
|
1262
1307
|
};
|
|
1263
|
-
const
|
|
1308
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1309
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteViewRequest.retryConfiguration, specRetryConfiguration);
|
|
1264
1310
|
if (this.logger)
|
|
1265
1311
|
retrier.logger = this.logger;
|
|
1266
1312
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1302,10 +1348,11 @@ class DnsClient {
|
|
|
1302
1348
|
* required with a value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used
|
|
1303
1349
|
* for the scope query parameter then the viewId query parameter is required.
|
|
1304
1350
|
*
|
|
1351
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1305
1352
|
* @param DeleteZoneRequest
|
|
1306
1353
|
* @return DeleteZoneResponse
|
|
1307
1354
|
* @throws OciError when an error occurs
|
|
1308
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1355
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/DeleteZone.ts.html |here} to see how to use DeleteZone API.
|
|
1309
1356
|
*/
|
|
1310
1357
|
deleteZone(deleteZoneRequest) {
|
|
1311
1358
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1325,7 +1372,8 @@ class DnsClient {
|
|
|
1325
1372
|
"If-Unmodified-Since": deleteZoneRequest.ifUnmodifiedSince,
|
|
1326
1373
|
"opc-request-id": deleteZoneRequest.opcRequestId
|
|
1327
1374
|
};
|
|
1328
|
-
const
|
|
1375
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1376
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
1329
1377
|
if (this.logger)
|
|
1330
1378
|
retrier.logger = this.logger;
|
|
1331
1379
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1368,10 +1416,11 @@ class DnsClient {
|
|
|
1368
1416
|
* provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query
|
|
1369
1417
|
* parameter is required.
|
|
1370
1418
|
*
|
|
1419
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1371
1420
|
* @param GetDomainRecordsRequest
|
|
1372
1421
|
* @return GetDomainRecordsResponse
|
|
1373
1422
|
* @throws OciError when an error occurs
|
|
1374
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1423
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetDomainRecords.ts.html |here} to see how to use GetDomainRecords API.
|
|
1375
1424
|
*/
|
|
1376
1425
|
getDomainRecords(getDomainRecordsRequest) {
|
|
1377
1426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1398,7 +1447,8 @@ class DnsClient {
|
|
|
1398
1447
|
"If-Modified-Since": getDomainRecordsRequest.ifModifiedSince,
|
|
1399
1448
|
"opc-request-id": getDomainRecordsRequest.opcRequestId
|
|
1400
1449
|
};
|
|
1401
|
-
const
|
|
1450
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1451
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
1402
1452
|
if (this.logger)
|
|
1403
1453
|
retrier.logger = this.logger;
|
|
1404
1454
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1449,6 +1499,7 @@ class DnsClient {
|
|
|
1449
1499
|
});
|
|
1450
1500
|
}
|
|
1451
1501
|
/**
|
|
1502
|
+
* NOTE: This function is deprecated in favor of getDomainRecordsRecordIterator function.
|
|
1452
1503
|
* Creates a new async iterator which will iterate over the models.Record objects
|
|
1453
1504
|
* contained in responses from the getDomainRecords operation. This iterator will fetch more data from the
|
|
1454
1505
|
* server as needed.
|
|
@@ -1459,6 +1510,7 @@ class DnsClient {
|
|
|
1459
1510
|
return oci_common_1.genericPaginateRecords(request, req => this.getDomainRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken), res => res.recordCollection.items || []);
|
|
1460
1511
|
}
|
|
1461
1512
|
/**
|
|
1513
|
+
* NOTE: This function is deprecated in favor of getDomainRecordsResponseIterator function.
|
|
1462
1514
|
* Creates a new async iterator which will iterate over the responses received from the getDomainRecords operation. This iterator
|
|
1463
1515
|
* will fetch more data from the server as needed.
|
|
1464
1516
|
*
|
|
@@ -1467,16 +1519,36 @@ class DnsClient {
|
|
|
1467
1519
|
getAllDomainRecordsResponses(request) {
|
|
1468
1520
|
return oci_common_1.genericPaginateResponses(request, req => this.getDomainRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
1469
1521
|
}
|
|
1522
|
+
/**
|
|
1523
|
+
* Creates a new async iterator which will iterate over the models.Record objects
|
|
1524
|
+
* contained in responses from the getDomainRecords operation. This iterator will fetch more data from the
|
|
1525
|
+
* server as needed.
|
|
1526
|
+
*
|
|
1527
|
+
* @param request a request which can be sent to the service operation
|
|
1528
|
+
*/
|
|
1529
|
+
getDomainRecordsRecordIterator(request) {
|
|
1530
|
+
return oci_common_1.genericPaginateRecords(request, req => this.getDomainRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken), res => res.recordCollection.items || []);
|
|
1531
|
+
}
|
|
1532
|
+
/**
|
|
1533
|
+
* Creates a new async iterator which will iterate over the responses received from the getDomainRecords operation. This iterator
|
|
1534
|
+
* will fetch more data from the server as needed.
|
|
1535
|
+
*
|
|
1536
|
+
* @param request a request which can be sent to the service operation
|
|
1537
|
+
*/
|
|
1538
|
+
getDomainRecordsResponseIterator(request) {
|
|
1539
|
+
return oci_common_1.genericPaginateResponses(request, req => this.getDomainRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
1540
|
+
}
|
|
1470
1541
|
/**
|
|
1471
1542
|
* Gets a list of all records in the specified RRSet. The results are sorted by `recordHash` by default. For
|
|
1472
1543
|
* private zones, the scope query parameter is required with a value of `PRIVATE`. When the zone name is
|
|
1473
1544
|
* provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query
|
|
1474
1545
|
* parameter is required.
|
|
1475
1546
|
*
|
|
1547
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1476
1548
|
* @param GetRRSetRequest
|
|
1477
1549
|
* @return GetRRSetResponse
|
|
1478
1550
|
* @throws OciError when an error occurs
|
|
1479
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1551
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetRRSet.ts.html |here} to see how to use GetRRSet API.
|
|
1480
1552
|
*/
|
|
1481
1553
|
getRRSet(getRRSetRequest) {
|
|
1482
1554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1501,7 +1573,8 @@ class DnsClient {
|
|
|
1501
1573
|
"If-Modified-Since": getRRSetRequest.ifModifiedSince,
|
|
1502
1574
|
"opc-request-id": getRRSetRequest.opcRequestId
|
|
1503
1575
|
};
|
|
1504
|
-
const
|
|
1576
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1577
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1505
1578
|
if (this.logger)
|
|
1506
1579
|
retrier.logger = this.logger;
|
|
1507
1580
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1552,6 +1625,7 @@ class DnsClient {
|
|
|
1552
1625
|
});
|
|
1553
1626
|
}
|
|
1554
1627
|
/**
|
|
1628
|
+
* NOTE: This function is deprecated in favor of getRRSetRecordIterator function.
|
|
1555
1629
|
* Creates a new async iterator which will iterate over the models.Record objects
|
|
1556
1630
|
* contained in responses from the getRRSet operation. This iterator will fetch more data from the
|
|
1557
1631
|
* server as needed.
|
|
@@ -1562,6 +1636,7 @@ class DnsClient {
|
|
|
1562
1636
|
return oci_common_1.genericPaginateRecords(request, req => this.getRRSet(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken), res => res.rRSet.items || []);
|
|
1563
1637
|
}
|
|
1564
1638
|
/**
|
|
1639
|
+
* NOTE: This function is deprecated in favor of getRRSetResponseIterator function.
|
|
1565
1640
|
* Creates a new async iterator which will iterate over the responses received from the getRRSet operation. This iterator
|
|
1566
1641
|
* will fetch more data from the server as needed.
|
|
1567
1642
|
*
|
|
@@ -1570,15 +1645,35 @@ class DnsClient {
|
|
|
1570
1645
|
getAllRRSetResponses(request) {
|
|
1571
1646
|
return oci_common_1.genericPaginateResponses(request, req => this.getRRSet(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
1572
1647
|
}
|
|
1648
|
+
/**
|
|
1649
|
+
* Creates a new async iterator which will iterate over the models.Record objects
|
|
1650
|
+
* contained in responses from the getRRSet operation. This iterator will fetch more data from the
|
|
1651
|
+
* server as needed.
|
|
1652
|
+
*
|
|
1653
|
+
* @param request a request which can be sent to the service operation
|
|
1654
|
+
*/
|
|
1655
|
+
getRRSetRecordIterator(request) {
|
|
1656
|
+
return oci_common_1.genericPaginateRecords(request, req => this.getRRSet(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken), res => res.rRSet.items || []);
|
|
1657
|
+
}
|
|
1658
|
+
/**
|
|
1659
|
+
* Creates a new async iterator which will iterate over the responses received from the getRRSet operation. This iterator
|
|
1660
|
+
* will fetch more data from the server as needed.
|
|
1661
|
+
*
|
|
1662
|
+
* @param request a request which can be sent to the service operation
|
|
1663
|
+
*/
|
|
1664
|
+
getRRSetResponseIterator(request) {
|
|
1665
|
+
return oci_common_1.genericPaginateResponses(request, req => this.getRRSet(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
1666
|
+
}
|
|
1573
1667
|
/**
|
|
1574
1668
|
* Gets information about a specific resolver. Note that attempting to get a
|
|
1575
1669
|
* resolver in the DELETED lifecycleState will result in a `404` response to be
|
|
1576
1670
|
* consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
1577
1671
|
*
|
|
1672
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1578
1673
|
* @param GetResolverRequest
|
|
1579
1674
|
* @return GetResolverResponse
|
|
1580
1675
|
* @throws OciError when an error occurs
|
|
1581
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1676
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetResolver.ts.html |here} to see how to use GetResolver API.
|
|
1582
1677
|
*/
|
|
1583
1678
|
getResolver(getResolverRequest) {
|
|
1584
1679
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1596,7 +1691,8 @@ class DnsClient {
|
|
|
1596
1691
|
"If-None-Match": getResolverRequest.ifNoneMatch,
|
|
1597
1692
|
"opc-request-id": getResolverRequest.opcRequestId
|
|
1598
1693
|
};
|
|
1599
|
-
const
|
|
1694
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1695
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverRequest.retryConfiguration, specRetryConfiguration);
|
|
1600
1696
|
if (this.logger)
|
|
1601
1697
|
retrier.logger = this.logger;
|
|
1602
1698
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1641,10 +1737,11 @@ class DnsClient {
|
|
|
1641
1737
|
* in the DELETED lifecycle state will result in a `404` response to be consistent with other operations of the
|
|
1642
1738
|
* API. Requires a `PRIVATE` scope query parameter.
|
|
1643
1739
|
*
|
|
1740
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1644
1741
|
* @param GetResolverEndpointRequest
|
|
1645
1742
|
* @return GetResolverEndpointResponse
|
|
1646
1743
|
* @throws OciError when an error occurs
|
|
1647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1744
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetResolverEndpoint.ts.html |here} to see how to use GetResolverEndpoint API.
|
|
1648
1745
|
*/
|
|
1649
1746
|
getResolverEndpoint(getResolverEndpointRequest) {
|
|
1650
1747
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1663,7 +1760,8 @@ class DnsClient {
|
|
|
1663
1760
|
"If-None-Match": getResolverEndpointRequest.ifNoneMatch,
|
|
1664
1761
|
"opc-request-id": getResolverEndpointRequest.opcRequestId
|
|
1665
1762
|
};
|
|
1666
|
-
const
|
|
1763
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1764
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1667
1765
|
if (this.logger)
|
|
1668
1766
|
retrier.logger = this.logger;
|
|
1669
1767
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1706,10 +1804,11 @@ class DnsClient {
|
|
|
1706
1804
|
/**
|
|
1707
1805
|
* Gets information about the specified steering policy.
|
|
1708
1806
|
*
|
|
1807
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1709
1808
|
* @param GetSteeringPolicyRequest
|
|
1710
1809
|
* @return GetSteeringPolicyResponse
|
|
1711
1810
|
* @throws OciError when an error occurs
|
|
1712
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetSteeringPolicy.ts.html |here} to see how to use GetSteeringPolicy API.
|
|
1713
1812
|
*/
|
|
1714
1813
|
getSteeringPolicy(getSteeringPolicyRequest) {
|
|
1715
1814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1727,7 +1826,8 @@ class DnsClient {
|
|
|
1727
1826
|
"If-Modified-Since": getSteeringPolicyRequest.ifModifiedSince,
|
|
1728
1827
|
"opc-request-id": getSteeringPolicyRequest.opcRequestId
|
|
1729
1828
|
};
|
|
1730
|
-
const
|
|
1829
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1830
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1731
1831
|
if (this.logger)
|
|
1732
1832
|
retrier.logger = this.logger;
|
|
1733
1833
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1770,10 +1870,11 @@ class DnsClient {
|
|
|
1770
1870
|
/**
|
|
1771
1871
|
* Gets information about the specified steering policy attachment.
|
|
1772
1872
|
*
|
|
1873
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1773
1874
|
* @param GetSteeringPolicyAttachmentRequest
|
|
1774
1875
|
* @return GetSteeringPolicyAttachmentResponse
|
|
1775
1876
|
* @throws OciError when an error occurs
|
|
1776
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1877
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetSteeringPolicyAttachment.ts.html |here} to see how to use GetSteeringPolicyAttachment API.
|
|
1777
1878
|
*/
|
|
1778
1879
|
getSteeringPolicyAttachment(getSteeringPolicyAttachmentRequest) {
|
|
1779
1880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1791,7 +1892,8 @@ class DnsClient {
|
|
|
1791
1892
|
"If-Modified-Since": getSteeringPolicyAttachmentRequest.ifModifiedSince,
|
|
1792
1893
|
"opc-request-id": getSteeringPolicyAttachmentRequest.opcRequestId
|
|
1793
1894
|
};
|
|
1794
|
-
const
|
|
1895
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1896
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1795
1897
|
if (this.logger)
|
|
1796
1898
|
retrier.logger = this.logger;
|
|
1797
1899
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1834,10 +1936,11 @@ class DnsClient {
|
|
|
1834
1936
|
/**
|
|
1835
1937
|
* Gets information about the specified TSIG key.
|
|
1836
1938
|
*
|
|
1939
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1837
1940
|
* @param GetTsigKeyRequest
|
|
1838
1941
|
* @return GetTsigKeyResponse
|
|
1839
1942
|
* @throws OciError when an error occurs
|
|
1840
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1943
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetTsigKey.ts.html |here} to see how to use GetTsigKey API.
|
|
1841
1944
|
*/
|
|
1842
1945
|
getTsigKey(getTsigKeyRequest) {
|
|
1843
1946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1855,7 +1958,8 @@ class DnsClient {
|
|
|
1855
1958
|
"If-Modified-Since": getTsigKeyRequest.ifModifiedSince,
|
|
1856
1959
|
"opc-request-id": getTsigKeyRequest.opcRequestId
|
|
1857
1960
|
};
|
|
1858
|
-
const
|
|
1961
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1962
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1859
1963
|
if (this.logger)
|
|
1860
1964
|
retrier.logger = this.logger;
|
|
1861
1965
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1900,10 +2004,11 @@ class DnsClient {
|
|
|
1900
2004
|
* view in the DELETED lifecycleState will result in a `404` response to be
|
|
1901
2005
|
* consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
1902
2006
|
*
|
|
2007
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1903
2008
|
* @param GetViewRequest
|
|
1904
2009
|
* @return GetViewResponse
|
|
1905
2010
|
* @throws OciError when an error occurs
|
|
1906
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2011
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetView.ts.html |here} to see how to use GetView API.
|
|
1907
2012
|
*/
|
|
1908
2013
|
getView(getViewRequest) {
|
|
1909
2014
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1921,7 +2026,8 @@ class DnsClient {
|
|
|
1921
2026
|
"If-None-Match": getViewRequest.ifNoneMatch,
|
|
1922
2027
|
"opc-request-id": getViewRequest.opcRequestId
|
|
1923
2028
|
};
|
|
1924
|
-
const
|
|
2029
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2030
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getViewRequest.retryConfiguration, specRetryConfiguration);
|
|
1925
2031
|
if (this.logger)
|
|
1926
2032
|
retrier.logger = this.logger;
|
|
1927
2033
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1966,10 +2072,11 @@ class DnsClient {
|
|
|
1966
2072
|
* zones, the scope query parameter is required with a value of `PRIVATE`. When the zone name is provided as a
|
|
1967
2073
|
* path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
|
|
1968
2074
|
*
|
|
2075
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1969
2076
|
* @param GetZoneRequest
|
|
1970
2077
|
* @return GetZoneResponse
|
|
1971
2078
|
* @throws OciError when an error occurs
|
|
1972
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2079
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetZone.ts.html |here} to see how to use GetZone API.
|
|
1973
2080
|
*/
|
|
1974
2081
|
getZone(getZoneRequest) {
|
|
1975
2082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1989,7 +2096,8 @@ class DnsClient {
|
|
|
1989
2096
|
"If-Modified-Since": getZoneRequest.ifModifiedSince,
|
|
1990
2097
|
"opc-request-id": getZoneRequest.opcRequestId
|
|
1991
2098
|
};
|
|
1992
|
-
const
|
|
2099
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2100
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
1993
2101
|
if (this.logger)
|
|
1994
2102
|
retrier.logger = this.logger;
|
|
1995
2103
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2032,10 +2140,11 @@ class DnsClient {
|
|
|
2032
2140
|
/**
|
|
2033
2141
|
* Gets the requested zone's zone file.
|
|
2034
2142
|
*
|
|
2143
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2035
2144
|
* @param GetZoneContentRequest
|
|
2036
2145
|
* @return GetZoneContentResponse
|
|
2037
2146
|
* @throws OciError when an error occurs
|
|
2038
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2147
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetZoneContent.ts.html |here} to see how to use GetZoneContent API.
|
|
2039
2148
|
*/
|
|
2040
2149
|
getZoneContent(getZoneContentRequest) {
|
|
2041
2150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2054,7 +2163,8 @@ class DnsClient {
|
|
|
2054
2163
|
"If-Modified-Since": getZoneContentRequest.ifModifiedSince,
|
|
2055
2164
|
"opc-request-id": getZoneContentRequest.opcRequestId
|
|
2056
2165
|
};
|
|
2057
|
-
const
|
|
2166
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2167
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneContentRequest.retryConfiguration, specRetryConfiguration);
|
|
2058
2168
|
if (this.logger)
|
|
2059
2169
|
retrier.logger = this.logger;
|
|
2060
2170
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2100,10 +2210,11 @@ class DnsClient {
|
|
|
2100
2210
|
* provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query
|
|
2101
2211
|
* parameter is required.
|
|
2102
2212
|
*
|
|
2213
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2103
2214
|
* @param GetZoneRecordsRequest
|
|
2104
2215
|
* @return GetZoneRecordsResponse
|
|
2105
2216
|
* @throws OciError when an error occurs
|
|
2106
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/GetZoneRecords.ts.html |here} to see how to use GetZoneRecords API.
|
|
2107
2218
|
*/
|
|
2108
2219
|
getZoneRecords(getZoneRecordsRequest) {
|
|
2109
2220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2131,7 +2242,8 @@ class DnsClient {
|
|
|
2131
2242
|
"If-Modified-Since": getZoneRecordsRequest.ifModifiedSince,
|
|
2132
2243
|
"opc-request-id": getZoneRecordsRequest.opcRequestId
|
|
2133
2244
|
};
|
|
2134
|
-
const
|
|
2245
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2246
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
2135
2247
|
if (this.logger)
|
|
2136
2248
|
retrier.logger = this.logger;
|
|
2137
2249
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2182,6 +2294,7 @@ class DnsClient {
|
|
|
2182
2294
|
});
|
|
2183
2295
|
}
|
|
2184
2296
|
/**
|
|
2297
|
+
* NOTE: This function is deprecated in favor of getZoneRecordsRecordIterator function.
|
|
2185
2298
|
* Creates a new async iterator which will iterate over the models.Record objects
|
|
2186
2299
|
* contained in responses from the getZoneRecords operation. This iterator will fetch more data from the
|
|
2187
2300
|
* server as needed.
|
|
@@ -2192,6 +2305,7 @@ class DnsClient {
|
|
|
2192
2305
|
return oci_common_1.genericPaginateRecords(request, req => this.getZoneRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken), res => res.recordCollection.items || []);
|
|
2193
2306
|
}
|
|
2194
2307
|
/**
|
|
2308
|
+
* NOTE: This function is deprecated in favor of getZoneRecordsResponseIterator function.
|
|
2195
2309
|
* Creates a new async iterator which will iterate over the responses received from the getZoneRecords operation. This iterator
|
|
2196
2310
|
* will fetch more data from the server as needed.
|
|
2197
2311
|
*
|
|
@@ -2200,16 +2314,36 @@ class DnsClient {
|
|
|
2200
2314
|
getAllZoneRecordsResponses(request) {
|
|
2201
2315
|
return oci_common_1.genericPaginateResponses(request, req => this.getZoneRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
2202
2316
|
}
|
|
2317
|
+
/**
|
|
2318
|
+
* Creates a new async iterator which will iterate over the models.Record objects
|
|
2319
|
+
* contained in responses from the getZoneRecords operation. This iterator will fetch more data from the
|
|
2320
|
+
* server as needed.
|
|
2321
|
+
*
|
|
2322
|
+
* @param request a request which can be sent to the service operation
|
|
2323
|
+
*/
|
|
2324
|
+
getZoneRecordsRecordIterator(request) {
|
|
2325
|
+
return oci_common_1.genericPaginateRecords(request, req => this.getZoneRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken), res => res.recordCollection.items || []);
|
|
2326
|
+
}
|
|
2327
|
+
/**
|
|
2328
|
+
* Creates a new async iterator which will iterate over the responses received from the getZoneRecords operation. This iterator
|
|
2329
|
+
* will fetch more data from the server as needed.
|
|
2330
|
+
*
|
|
2331
|
+
* @param request a request which can be sent to the service operation
|
|
2332
|
+
*/
|
|
2333
|
+
getZoneRecordsResponseIterator(request) {
|
|
2334
|
+
return oci_common_1.genericPaginateResponses(request, req => this.getZoneRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
2335
|
+
}
|
|
2203
2336
|
/**
|
|
2204
2337
|
* Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state.
|
|
2205
2338
|
* It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState
|
|
2206
2339
|
* query parameter is provided, the collection does not include resolver endpoints in the DELETED
|
|
2207
2340
|
* lifecycle state to be consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
2208
2341
|
*
|
|
2342
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2209
2343
|
* @param ListResolverEndpointsRequest
|
|
2210
2344
|
* @return ListResolverEndpointsResponse
|
|
2211
2345
|
* @throws OciError when an error occurs
|
|
2212
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2346
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ListResolverEndpoints.ts.html |here} to see how to use ListResolverEndpoints API.
|
|
2213
2347
|
*/
|
|
2214
2348
|
listResolverEndpoints(listResolverEndpointsRequest) {
|
|
2215
2349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2231,7 +2365,8 @@ class DnsClient {
|
|
|
2231
2365
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2232
2366
|
"opc-request-id": listResolverEndpointsRequest.opcRequestId
|
|
2233
2367
|
};
|
|
2234
|
-
const
|
|
2368
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2369
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolverEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
2235
2370
|
if (this.logger)
|
|
2236
2371
|
retrier.logger = this.logger;
|
|
2237
2372
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2272,6 +2407,7 @@ class DnsClient {
|
|
|
2272
2407
|
});
|
|
2273
2408
|
}
|
|
2274
2409
|
/**
|
|
2410
|
+
* NOTE: This function is deprecated in favor of listResolverEndpointsRecordIterator function.
|
|
2275
2411
|
* Creates a new async iterator which will iterate over the models.ResolverEndpointSummary objects
|
|
2276
2412
|
* contained in responses from the listResolverEndpoints operation. This iterator will fetch more data from the
|
|
2277
2413
|
* server as needed.
|
|
@@ -2282,6 +2418,7 @@ class DnsClient {
|
|
|
2282
2418
|
return oci_common_1.paginateRecords(request, req => this.listResolverEndpoints(req));
|
|
2283
2419
|
}
|
|
2284
2420
|
/**
|
|
2421
|
+
* NOTE: This function is deprecated in favor of listResolverEndpointsResponseIterator function.
|
|
2285
2422
|
* Creates a new async iterator which will iterate over the responses received from the listResolverEndpoints operation. This iterator
|
|
2286
2423
|
* will fetch more data from the server as needed.
|
|
2287
2424
|
*
|
|
@@ -2290,6 +2427,25 @@ class DnsClient {
|
|
|
2290
2427
|
listAllResolverEndpointsResponses(request) {
|
|
2291
2428
|
return oci_common_1.paginateResponses(request, req => this.listResolverEndpoints(req));
|
|
2292
2429
|
}
|
|
2430
|
+
/**
|
|
2431
|
+
* Creates a new async iterator which will iterate over the models.ResolverEndpointSummary objects
|
|
2432
|
+
* contained in responses from the listResolverEndpoints operation. This iterator will fetch more data from the
|
|
2433
|
+
* server as needed.
|
|
2434
|
+
*
|
|
2435
|
+
* @param request a request which can be sent to the service operation
|
|
2436
|
+
*/
|
|
2437
|
+
listResolverEndpointsRecordIterator(request) {
|
|
2438
|
+
return oci_common_1.paginateRecords(request, req => this.listResolverEndpoints(req));
|
|
2439
|
+
}
|
|
2440
|
+
/**
|
|
2441
|
+
* Creates a new async iterator which will iterate over the responses received from the listResolverEndpoints operation. This iterator
|
|
2442
|
+
* will fetch more data from the server as needed.
|
|
2443
|
+
*
|
|
2444
|
+
* @param request a request which can be sent to the service operation
|
|
2445
|
+
*/
|
|
2446
|
+
listResolverEndpointsResponseIterator(request) {
|
|
2447
|
+
return oci_common_1.paginateResponses(request, req => this.listResolverEndpoints(req));
|
|
2448
|
+
}
|
|
2293
2449
|
/**
|
|
2294
2450
|
* Gets a list of all resolvers within a compartment. The collection can
|
|
2295
2451
|
* be filtered by display name, id, or lifecycle state. It can be sorted
|
|
@@ -2298,10 +2454,11 @@ class DnsClient {
|
|
|
2298
2454
|
* does not include resolvers in the DELETED lifecycleState to be consistent
|
|
2299
2455
|
* with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
2300
2456
|
*
|
|
2457
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2301
2458
|
* @param ListResolversRequest
|
|
2302
2459
|
* @return ListResolversResponse
|
|
2303
2460
|
* @throws OciError when an error occurs
|
|
2304
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2461
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ListResolvers.ts.html |here} to see how to use ListResolvers API.
|
|
2305
2462
|
*/
|
|
2306
2463
|
listResolvers(listResolversRequest) {
|
|
2307
2464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2323,7 +2480,8 @@ class DnsClient {
|
|
|
2323
2480
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2324
2481
|
"opc-request-id": listResolversRequest.opcRequestId
|
|
2325
2482
|
};
|
|
2326
|
-
const
|
|
2483
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2484
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolversRequest.retryConfiguration, specRetryConfiguration);
|
|
2327
2485
|
if (this.logger)
|
|
2328
2486
|
retrier.logger = this.logger;
|
|
2329
2487
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2364,6 +2522,7 @@ class DnsClient {
|
|
|
2364
2522
|
});
|
|
2365
2523
|
}
|
|
2366
2524
|
/**
|
|
2525
|
+
* NOTE: This function is deprecated in favor of listResolversRecordIterator function.
|
|
2367
2526
|
* Creates a new async iterator which will iterate over the models.ResolverSummary objects
|
|
2368
2527
|
* contained in responses from the listResolvers operation. This iterator will fetch more data from the
|
|
2369
2528
|
* server as needed.
|
|
@@ -2374,6 +2533,7 @@ class DnsClient {
|
|
|
2374
2533
|
return oci_common_1.paginateRecords(request, req => this.listResolvers(req));
|
|
2375
2534
|
}
|
|
2376
2535
|
/**
|
|
2536
|
+
* NOTE: This function is deprecated in favor of listResolversResponseIterator function.
|
|
2377
2537
|
* Creates a new async iterator which will iterate over the responses received from the listResolvers operation. This iterator
|
|
2378
2538
|
* will fetch more data from the server as needed.
|
|
2379
2539
|
*
|
|
@@ -2382,13 +2542,33 @@ class DnsClient {
|
|
|
2382
2542
|
listAllResolversResponses(request) {
|
|
2383
2543
|
return oci_common_1.paginateResponses(request, req => this.listResolvers(req));
|
|
2384
2544
|
}
|
|
2545
|
+
/**
|
|
2546
|
+
* Creates a new async iterator which will iterate over the models.ResolverSummary objects
|
|
2547
|
+
* contained in responses from the listResolvers operation. This iterator will fetch more data from the
|
|
2548
|
+
* server as needed.
|
|
2549
|
+
*
|
|
2550
|
+
* @param request a request which can be sent to the service operation
|
|
2551
|
+
*/
|
|
2552
|
+
listResolversRecordIterator(request) {
|
|
2553
|
+
return oci_common_1.paginateRecords(request, req => this.listResolvers(req));
|
|
2554
|
+
}
|
|
2555
|
+
/**
|
|
2556
|
+
* Creates a new async iterator which will iterate over the responses received from the listResolvers operation. This iterator
|
|
2557
|
+
* will fetch more data from the server as needed.
|
|
2558
|
+
*
|
|
2559
|
+
* @param request a request which can be sent to the service operation
|
|
2560
|
+
*/
|
|
2561
|
+
listResolversResponseIterator(request) {
|
|
2562
|
+
return oci_common_1.paginateResponses(request, req => this.listResolvers(req));
|
|
2563
|
+
}
|
|
2385
2564
|
/**
|
|
2386
2565
|
* Gets a list of all steering policies in the specified compartment.
|
|
2387
2566
|
*
|
|
2567
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2388
2568
|
* @param ListSteeringPoliciesRequest
|
|
2389
2569
|
* @return ListSteeringPoliciesResponse
|
|
2390
2570
|
* @throws OciError when an error occurs
|
|
2391
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2571
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ListSteeringPolicies.ts.html |here} to see how to use ListSteeringPolicies API.
|
|
2392
2572
|
*/
|
|
2393
2573
|
listSteeringPolicies(listSteeringPoliciesRequest) {
|
|
2394
2574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2415,7 +2595,8 @@ class DnsClient {
|
|
|
2415
2595
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2416
2596
|
"opc-request-id": listSteeringPoliciesRequest.opcRequestId
|
|
2417
2597
|
};
|
|
2418
|
-
const
|
|
2598
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2599
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
2419
2600
|
if (this.logger)
|
|
2420
2601
|
retrier.logger = this.logger;
|
|
2421
2602
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2461,6 +2642,7 @@ class DnsClient {
|
|
|
2461
2642
|
});
|
|
2462
2643
|
}
|
|
2463
2644
|
/**
|
|
2645
|
+
* NOTE: This function is deprecated in favor of listSteeringPoliciesRecordIterator function.
|
|
2464
2646
|
* Creates a new async iterator which will iterate over the models.SteeringPolicySummary objects
|
|
2465
2647
|
* contained in responses from the listSteeringPolicies operation. This iterator will fetch more data from the
|
|
2466
2648
|
* server as needed.
|
|
@@ -2471,6 +2653,7 @@ class DnsClient {
|
|
|
2471
2653
|
return oci_common_1.paginateRecords(request, req => this.listSteeringPolicies(req));
|
|
2472
2654
|
}
|
|
2473
2655
|
/**
|
|
2656
|
+
* NOTE: This function is deprecated in favor of listSteeringPoliciesResponseIterator function.
|
|
2474
2657
|
* Creates a new async iterator which will iterate over the responses received from the listSteeringPolicies operation. This iterator
|
|
2475
2658
|
* will fetch more data from the server as needed.
|
|
2476
2659
|
*
|
|
@@ -2479,13 +2662,33 @@ class DnsClient {
|
|
|
2479
2662
|
listAllSteeringPoliciesResponses(request) {
|
|
2480
2663
|
return oci_common_1.paginateResponses(request, req => this.listSteeringPolicies(req));
|
|
2481
2664
|
}
|
|
2665
|
+
/**
|
|
2666
|
+
* Creates a new async iterator which will iterate over the models.SteeringPolicySummary objects
|
|
2667
|
+
* contained in responses from the listSteeringPolicies operation. This iterator will fetch more data from the
|
|
2668
|
+
* server as needed.
|
|
2669
|
+
*
|
|
2670
|
+
* @param request a request which can be sent to the service operation
|
|
2671
|
+
*/
|
|
2672
|
+
listSteeringPoliciesRecordIterator(request) {
|
|
2673
|
+
return oci_common_1.paginateRecords(request, req => this.listSteeringPolicies(req));
|
|
2674
|
+
}
|
|
2675
|
+
/**
|
|
2676
|
+
* Creates a new async iterator which will iterate over the responses received from the listSteeringPolicies operation. This iterator
|
|
2677
|
+
* will fetch more data from the server as needed.
|
|
2678
|
+
*
|
|
2679
|
+
* @param request a request which can be sent to the service operation
|
|
2680
|
+
*/
|
|
2681
|
+
listSteeringPoliciesResponseIterator(request) {
|
|
2682
|
+
return oci_common_1.paginateResponses(request, req => this.listSteeringPolicies(req));
|
|
2683
|
+
}
|
|
2482
2684
|
/**
|
|
2483
2685
|
* Lists the steering policy attachments in the specified compartment.
|
|
2484
2686
|
*
|
|
2687
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2485
2688
|
* @param ListSteeringPolicyAttachmentsRequest
|
|
2486
2689
|
* @return ListSteeringPolicyAttachmentsResponse
|
|
2487
2690
|
* @throws OciError when an error occurs
|
|
2488
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2691
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ListSteeringPolicyAttachments.ts.html |here} to see how to use ListSteeringPolicyAttachments API.
|
|
2489
2692
|
*/
|
|
2490
2693
|
listSteeringPolicyAttachments(listSteeringPolicyAttachmentsRequest) {
|
|
2491
2694
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2513,7 +2716,8 @@ class DnsClient {
|
|
|
2513
2716
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2514
2717
|
"opc-request-id": listSteeringPolicyAttachmentsRequest.opcRequestId
|
|
2515
2718
|
};
|
|
2516
|
-
const
|
|
2719
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2720
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPolicyAttachmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
2517
2721
|
if (this.logger)
|
|
2518
2722
|
retrier.logger = this.logger;
|
|
2519
2723
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2559,6 +2763,7 @@ class DnsClient {
|
|
|
2559
2763
|
});
|
|
2560
2764
|
}
|
|
2561
2765
|
/**
|
|
2766
|
+
* NOTE: This function is deprecated in favor of listSteeringPolicyAttachmentsRecordIterator function.
|
|
2562
2767
|
* Creates a new async iterator which will iterate over the models.SteeringPolicyAttachmentSummary objects
|
|
2563
2768
|
* contained in responses from the listSteeringPolicyAttachments operation. This iterator will fetch more data from the
|
|
2564
2769
|
* server as needed.
|
|
@@ -2569,6 +2774,7 @@ class DnsClient {
|
|
|
2569
2774
|
return oci_common_1.paginateRecords(request, req => this.listSteeringPolicyAttachments(req));
|
|
2570
2775
|
}
|
|
2571
2776
|
/**
|
|
2777
|
+
* NOTE: This function is deprecated in favor of listSteeringPolicyAttachmentsResponseIterator function.
|
|
2572
2778
|
* Creates a new async iterator which will iterate over the responses received from the listSteeringPolicyAttachments operation. This iterator
|
|
2573
2779
|
* will fetch more data from the server as needed.
|
|
2574
2780
|
*
|
|
@@ -2577,13 +2783,33 @@ class DnsClient {
|
|
|
2577
2783
|
listAllSteeringPolicyAttachmentsResponses(request) {
|
|
2578
2784
|
return oci_common_1.paginateResponses(request, req => this.listSteeringPolicyAttachments(req));
|
|
2579
2785
|
}
|
|
2786
|
+
/**
|
|
2787
|
+
* Creates a new async iterator which will iterate over the models.SteeringPolicyAttachmentSummary objects
|
|
2788
|
+
* contained in responses from the listSteeringPolicyAttachments operation. This iterator will fetch more data from the
|
|
2789
|
+
* server as needed.
|
|
2790
|
+
*
|
|
2791
|
+
* @param request a request which can be sent to the service operation
|
|
2792
|
+
*/
|
|
2793
|
+
listSteeringPolicyAttachmentsRecordIterator(request) {
|
|
2794
|
+
return oci_common_1.paginateRecords(request, req => this.listSteeringPolicyAttachments(req));
|
|
2795
|
+
}
|
|
2796
|
+
/**
|
|
2797
|
+
* Creates a new async iterator which will iterate over the responses received from the listSteeringPolicyAttachments operation. This iterator
|
|
2798
|
+
* will fetch more data from the server as needed.
|
|
2799
|
+
*
|
|
2800
|
+
* @param request a request which can be sent to the service operation
|
|
2801
|
+
*/
|
|
2802
|
+
listSteeringPolicyAttachmentsResponseIterator(request) {
|
|
2803
|
+
return oci_common_1.paginateResponses(request, req => this.listSteeringPolicyAttachments(req));
|
|
2804
|
+
}
|
|
2580
2805
|
/**
|
|
2581
2806
|
* Gets a list of all TSIG keys in the specified compartment.
|
|
2582
2807
|
*
|
|
2808
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2583
2809
|
* @param ListTsigKeysRequest
|
|
2584
2810
|
* @return ListTsigKeysResponse
|
|
2585
2811
|
* @throws OciError when an error occurs
|
|
2586
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2812
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ListTsigKeys.ts.html |here} to see how to use ListTsigKeys API.
|
|
2587
2813
|
*/
|
|
2588
2814
|
listTsigKeys(listTsigKeysRequest) {
|
|
2589
2815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2605,7 +2831,8 @@ class DnsClient {
|
|
|
2605
2831
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2606
2832
|
"opc-request-id": listTsigKeysRequest.opcRequestId
|
|
2607
2833
|
};
|
|
2608
|
-
const
|
|
2834
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2835
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTsigKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
2609
2836
|
if (this.logger)
|
|
2610
2837
|
retrier.logger = this.logger;
|
|
2611
2838
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2646,6 +2873,7 @@ class DnsClient {
|
|
|
2646
2873
|
});
|
|
2647
2874
|
}
|
|
2648
2875
|
/**
|
|
2876
|
+
* NOTE: This function is deprecated in favor of listTsigKeysRecordIterator function.
|
|
2649
2877
|
* Creates a new async iterator which will iterate over the models.TsigKeySummary objects
|
|
2650
2878
|
* contained in responses from the listTsigKeys operation. This iterator will fetch more data from the
|
|
2651
2879
|
* server as needed.
|
|
@@ -2656,6 +2884,7 @@ class DnsClient {
|
|
|
2656
2884
|
return oci_common_1.paginateRecords(request, req => this.listTsigKeys(req));
|
|
2657
2885
|
}
|
|
2658
2886
|
/**
|
|
2887
|
+
* NOTE: This function is deprecated in favor of listTsigKeysResponseIterator function.
|
|
2659
2888
|
* Creates a new async iterator which will iterate over the responses received from the listTsigKeys operation. This iterator
|
|
2660
2889
|
* will fetch more data from the server as needed.
|
|
2661
2890
|
*
|
|
@@ -2664,6 +2893,25 @@ class DnsClient {
|
|
|
2664
2893
|
listAllTsigKeysResponses(request) {
|
|
2665
2894
|
return oci_common_1.paginateResponses(request, req => this.listTsigKeys(req));
|
|
2666
2895
|
}
|
|
2896
|
+
/**
|
|
2897
|
+
* Creates a new async iterator which will iterate over the models.TsigKeySummary objects
|
|
2898
|
+
* contained in responses from the listTsigKeys operation. This iterator will fetch more data from the
|
|
2899
|
+
* server as needed.
|
|
2900
|
+
*
|
|
2901
|
+
* @param request a request which can be sent to the service operation
|
|
2902
|
+
*/
|
|
2903
|
+
listTsigKeysRecordIterator(request) {
|
|
2904
|
+
return oci_common_1.paginateRecords(request, req => this.listTsigKeys(req));
|
|
2905
|
+
}
|
|
2906
|
+
/**
|
|
2907
|
+
* Creates a new async iterator which will iterate over the responses received from the listTsigKeys operation. This iterator
|
|
2908
|
+
* will fetch more data from the server as needed.
|
|
2909
|
+
*
|
|
2910
|
+
* @param request a request which can be sent to the service operation
|
|
2911
|
+
*/
|
|
2912
|
+
listTsigKeysResponseIterator(request) {
|
|
2913
|
+
return oci_common_1.paginateResponses(request, req => this.listTsigKeys(req));
|
|
2914
|
+
}
|
|
2667
2915
|
/**
|
|
2668
2916
|
* Gets a list of all views within a compartment. The collection can
|
|
2669
2917
|
* be filtered by display name, id, or lifecycle state. It can be sorted
|
|
@@ -2672,10 +2920,11 @@ class DnsClient {
|
|
|
2672
2920
|
* does not include views in the DELETED lifecycleState to be consistent
|
|
2673
2921
|
* with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
2674
2922
|
*
|
|
2923
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2675
2924
|
* @param ListViewsRequest
|
|
2676
2925
|
* @return ListViewsResponse
|
|
2677
2926
|
* @throws OciError when an error occurs
|
|
2678
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2927
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ListViews.ts.html |here} to see how to use ListViews API.
|
|
2679
2928
|
*/
|
|
2680
2929
|
listViews(listViewsRequest) {
|
|
2681
2930
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2697,7 +2946,8 @@ class DnsClient {
|
|
|
2697
2946
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2698
2947
|
"opc-request-id": listViewsRequest.opcRequestId
|
|
2699
2948
|
};
|
|
2700
|
-
const
|
|
2949
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2950
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listViewsRequest.retryConfiguration, specRetryConfiguration);
|
|
2701
2951
|
if (this.logger)
|
|
2702
2952
|
retrier.logger = this.logger;
|
|
2703
2953
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2738,6 +2988,7 @@ class DnsClient {
|
|
|
2738
2988
|
});
|
|
2739
2989
|
}
|
|
2740
2990
|
/**
|
|
2991
|
+
* NOTE: This function is deprecated in favor of listViewsRecordIterator function.
|
|
2741
2992
|
* Creates a new async iterator which will iterate over the models.ViewSummary objects
|
|
2742
2993
|
* contained in responses from the listViews operation. This iterator will fetch more data from the
|
|
2743
2994
|
* server as needed.
|
|
@@ -2748,6 +2999,7 @@ class DnsClient {
|
|
|
2748
2999
|
return oci_common_1.paginateRecords(request, req => this.listViews(req));
|
|
2749
3000
|
}
|
|
2750
3001
|
/**
|
|
3002
|
+
* NOTE: This function is deprecated in favor of listViewsResponseIterator function.
|
|
2751
3003
|
* Creates a new async iterator which will iterate over the responses received from the listViews operation. This iterator
|
|
2752
3004
|
* will fetch more data from the server as needed.
|
|
2753
3005
|
*
|
|
@@ -2756,15 +3008,35 @@ class DnsClient {
|
|
|
2756
3008
|
listAllViewsResponses(request) {
|
|
2757
3009
|
return oci_common_1.paginateResponses(request, req => this.listViews(req));
|
|
2758
3010
|
}
|
|
3011
|
+
/**
|
|
3012
|
+
* Creates a new async iterator which will iterate over the models.ViewSummary objects
|
|
3013
|
+
* contained in responses from the listViews operation. This iterator will fetch more data from the
|
|
3014
|
+
* server as needed.
|
|
3015
|
+
*
|
|
3016
|
+
* @param request a request which can be sent to the service operation
|
|
3017
|
+
*/
|
|
3018
|
+
listViewsRecordIterator(request) {
|
|
3019
|
+
return oci_common_1.paginateRecords(request, req => this.listViews(req));
|
|
3020
|
+
}
|
|
3021
|
+
/**
|
|
3022
|
+
* Creates a new async iterator which will iterate over the responses received from the listViews operation. This iterator
|
|
3023
|
+
* will fetch more data from the server as needed.
|
|
3024
|
+
*
|
|
3025
|
+
* @param request a request which can be sent to the service operation
|
|
3026
|
+
*/
|
|
3027
|
+
listViewsResponseIterator(request) {
|
|
3028
|
+
return oci_common_1.paginateResponses(request, req => this.listViews(req));
|
|
3029
|
+
}
|
|
2759
3030
|
/**
|
|
2760
3031
|
* Gets a list of IP addresses of OCI nameservers for inbound and outbound transfer of zones in the specified
|
|
2761
3032
|
* compartment (which must be the root compartment of a tenancy) that transfer zone data with external master or
|
|
2762
3033
|
* downstream nameservers.
|
|
2763
3034
|
*
|
|
3035
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2764
3036
|
* @param ListZoneTransferServersRequest
|
|
2765
3037
|
* @return ListZoneTransferServersResponse
|
|
2766
3038
|
* @throws OciError when an error occurs
|
|
2767
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3039
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ListZoneTransferServers.ts.html |here} to see how to use ListZoneTransferServers API.
|
|
2768
3040
|
*/
|
|
2769
3041
|
listZoneTransferServers(listZoneTransferServersRequest) {
|
|
2770
3042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2780,7 +3052,8 @@ class DnsClient {
|
|
|
2780
3052
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2781
3053
|
"opc-request-id": listZoneTransferServersRequest.opcRequestId
|
|
2782
3054
|
};
|
|
2783
|
-
const
|
|
3055
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3056
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZoneTransferServersRequest.retryConfiguration, specRetryConfiguration);
|
|
2784
3057
|
if (this.logger)
|
|
2785
3058
|
retrier.logger = this.logger;
|
|
2786
3059
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2821,6 +3094,7 @@ class DnsClient {
|
|
|
2821
3094
|
});
|
|
2822
3095
|
}
|
|
2823
3096
|
/**
|
|
3097
|
+
* NOTE: This function is deprecated in favor of listZoneTransferServersRecordIterator function.
|
|
2824
3098
|
* Creates a new async iterator which will iterate over the models.ZoneTransferServer objects
|
|
2825
3099
|
* contained in responses from the listZoneTransferServers operation. This iterator will fetch more data from the
|
|
2826
3100
|
* server as needed.
|
|
@@ -2831,6 +3105,7 @@ class DnsClient {
|
|
|
2831
3105
|
return oci_common_1.paginateRecords(request, req => this.listZoneTransferServers(req));
|
|
2832
3106
|
}
|
|
2833
3107
|
/**
|
|
3108
|
+
* NOTE: This function is deprecated in favor of listZoneTransferServersResponseIterator function.
|
|
2834
3109
|
* Creates a new async iterator which will iterate over the responses received from the listZoneTransferServers operation. This iterator
|
|
2835
3110
|
* will fetch more data from the server as needed.
|
|
2836
3111
|
*
|
|
@@ -2839,14 +3114,34 @@ class DnsClient {
|
|
|
2839
3114
|
listAllZoneTransferServersResponses(request) {
|
|
2840
3115
|
return oci_common_1.paginateResponses(request, req => this.listZoneTransferServers(req));
|
|
2841
3116
|
}
|
|
3117
|
+
/**
|
|
3118
|
+
* Creates a new async iterator which will iterate over the models.ZoneTransferServer objects
|
|
3119
|
+
* contained in responses from the listZoneTransferServers operation. This iterator will fetch more data from the
|
|
3120
|
+
* server as needed.
|
|
3121
|
+
*
|
|
3122
|
+
* @param request a request which can be sent to the service operation
|
|
3123
|
+
*/
|
|
3124
|
+
listZoneTransferServersRecordIterator(request) {
|
|
3125
|
+
return oci_common_1.paginateRecords(request, req => this.listZoneTransferServers(req));
|
|
3126
|
+
}
|
|
3127
|
+
/**
|
|
3128
|
+
* Creates a new async iterator which will iterate over the responses received from the listZoneTransferServers operation. This iterator
|
|
3129
|
+
* will fetch more data from the server as needed.
|
|
3130
|
+
*
|
|
3131
|
+
* @param request a request which can be sent to the service operation
|
|
3132
|
+
*/
|
|
3133
|
+
listZoneTransferServersResponseIterator(request) {
|
|
3134
|
+
return oci_common_1.paginateResponses(request, req => this.listZoneTransferServers(req));
|
|
3135
|
+
}
|
|
2842
3136
|
/**
|
|
2843
3137
|
* Gets a list of all zones in the specified compartment. The collection can be filtered by name, time created,
|
|
2844
3138
|
* scope, associated view, and zone type. Filtering by view is only supported for private zones.
|
|
2845
3139
|
*
|
|
3140
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2846
3141
|
* @param ListZonesRequest
|
|
2847
3142
|
* @return ListZonesResponse
|
|
2848
3143
|
* @throws OciError when an error occurs
|
|
2849
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3144
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/ListZones.ts.html |here} to see how to use ListZones API.
|
|
2850
3145
|
*/
|
|
2851
3146
|
listZones(listZonesRequest) {
|
|
2852
3147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2873,7 +3168,8 @@ class DnsClient {
|
|
|
2873
3168
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2874
3169
|
"opc-request-id": listZonesRequest.opcRequestId
|
|
2875
3170
|
};
|
|
2876
|
-
const
|
|
3171
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3172
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZonesRequest.retryConfiguration, specRetryConfiguration);
|
|
2877
3173
|
if (this.logger)
|
|
2878
3174
|
retrier.logger = this.logger;
|
|
2879
3175
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2919,6 +3215,7 @@ class DnsClient {
|
|
|
2919
3215
|
});
|
|
2920
3216
|
}
|
|
2921
3217
|
/**
|
|
3218
|
+
* NOTE: This function is deprecated in favor of listZonesRecordIterator function.
|
|
2922
3219
|
* Creates a new async iterator which will iterate over the models.ZoneSummary objects
|
|
2923
3220
|
* contained in responses from the listZones operation. This iterator will fetch more data from the
|
|
2924
3221
|
* server as needed.
|
|
@@ -2929,6 +3226,7 @@ class DnsClient {
|
|
|
2929
3226
|
return oci_common_1.paginateRecords(request, req => this.listZones(req));
|
|
2930
3227
|
}
|
|
2931
3228
|
/**
|
|
3229
|
+
* NOTE: This function is deprecated in favor of listZonesResponseIterator function.
|
|
2932
3230
|
* Creates a new async iterator which will iterate over the responses received from the listZones operation. This iterator
|
|
2933
3231
|
* will fetch more data from the server as needed.
|
|
2934
3232
|
*
|
|
@@ -2937,6 +3235,25 @@ class DnsClient {
|
|
|
2937
3235
|
listAllZonesResponses(request) {
|
|
2938
3236
|
return oci_common_1.paginateResponses(request, req => this.listZones(req));
|
|
2939
3237
|
}
|
|
3238
|
+
/**
|
|
3239
|
+
* Creates a new async iterator which will iterate over the models.ZoneSummary objects
|
|
3240
|
+
* contained in responses from the listZones operation. This iterator will fetch more data from the
|
|
3241
|
+
* server as needed.
|
|
3242
|
+
*
|
|
3243
|
+
* @param request a request which can be sent to the service operation
|
|
3244
|
+
*/
|
|
3245
|
+
listZonesRecordIterator(request) {
|
|
3246
|
+
return oci_common_1.paginateRecords(request, req => this.listZones(req));
|
|
3247
|
+
}
|
|
3248
|
+
/**
|
|
3249
|
+
* Creates a new async iterator which will iterate over the responses received from the listZones operation. This iterator
|
|
3250
|
+
* will fetch more data from the server as needed.
|
|
3251
|
+
*
|
|
3252
|
+
* @param request a request which can be sent to the service operation
|
|
3253
|
+
*/
|
|
3254
|
+
listZonesResponseIterator(request) {
|
|
3255
|
+
return oci_common_1.paginateResponses(request, req => this.listZones(req));
|
|
3256
|
+
}
|
|
2940
3257
|
/**
|
|
2941
3258
|
* Updates records in the specified zone at a domain. You can update one record or all records for the specified
|
|
2942
3259
|
* zone depending on the changes provided in the request body. You can also add or remove records using this
|
|
@@ -2944,10 +3261,11 @@ class DnsClient {
|
|
|
2944
3261
|
* name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId
|
|
2945
3262
|
* query parameter is required.
|
|
2946
3263
|
*
|
|
3264
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2947
3265
|
* @param PatchDomainRecordsRequest
|
|
2948
3266
|
* @return PatchDomainRecordsResponse
|
|
2949
3267
|
* @throws OciError when an error occurs
|
|
2950
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3268
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/PatchDomainRecords.ts.html |here} to see how to use PatchDomainRecords API.
|
|
2951
3269
|
*/
|
|
2952
3270
|
patchDomainRecords(patchDomainRecordsRequest) {
|
|
2953
3271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2968,7 +3286,8 @@ class DnsClient {
|
|
|
2968
3286
|
"If-Unmodified-Since": patchDomainRecordsRequest.ifUnmodifiedSince,
|
|
2969
3287
|
"opc-request-id": patchDomainRecordsRequest.opcRequestId
|
|
2970
3288
|
};
|
|
2971
|
-
const
|
|
3289
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3290
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
2972
3291
|
if (this.logger)
|
|
2973
3292
|
retrier.logger = this.logger;
|
|
2974
3293
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3024,10 +3343,11 @@ class DnsClient {
|
|
|
3024
3343
|
* of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query
|
|
3025
3344
|
* parameter then the viewId query parameter is required.
|
|
3026
3345
|
*
|
|
3346
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3027
3347
|
* @param PatchRRSetRequest
|
|
3028
3348
|
* @return PatchRRSetResponse
|
|
3029
3349
|
* @throws OciError when an error occurs
|
|
3030
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3350
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/PatchRRSet.ts.html |here} to see how to use PatchRRSet API.
|
|
3031
3351
|
*/
|
|
3032
3352
|
patchRRSet(patchRRSetRequest) {
|
|
3033
3353
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3049,7 +3369,8 @@ class DnsClient {
|
|
|
3049
3369
|
"If-Unmodified-Since": patchRRSetRequest.ifUnmodifiedSince,
|
|
3050
3370
|
"opc-request-id": patchRRSetRequest.opcRequestId
|
|
3051
3371
|
};
|
|
3052
|
-
const
|
|
3372
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3373
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
3053
3374
|
if (this.logger)
|
|
3054
3375
|
retrier.logger = this.logger;
|
|
3055
3376
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3107,10 +3428,11 @@ class DnsClient {
|
|
|
3107
3428
|
* the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the
|
|
3108
3429
|
* viewId query parameter is required.
|
|
3109
3430
|
*
|
|
3431
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3110
3432
|
* @param PatchZoneRecordsRequest
|
|
3111
3433
|
* @return PatchZoneRecordsResponse
|
|
3112
3434
|
* @throws OciError when an error occurs
|
|
3113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3435
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/PatchZoneRecords.ts.html |here} to see how to use PatchZoneRecords API.
|
|
3114
3436
|
*/
|
|
3115
3437
|
patchZoneRecords(patchZoneRecordsRequest) {
|
|
3116
3438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3130,7 +3452,8 @@ class DnsClient {
|
|
|
3130
3452
|
"If-Unmodified-Since": patchZoneRecordsRequest.ifUnmodifiedSince,
|
|
3131
3453
|
"opc-request-id": patchZoneRecordsRequest.opcRequestId
|
|
3132
3454
|
};
|
|
3133
|
-
const
|
|
3455
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3456
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3134
3457
|
if (this.logger)
|
|
3135
3458
|
retrier.logger = this.logger;
|
|
3136
3459
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3189,10 +3512,11 @@ class DnsClient {
|
|
|
3189
3512
|
* value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope
|
|
3190
3513
|
* query parameter then the viewId query parameter is required.
|
|
3191
3514
|
*
|
|
3515
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3192
3516
|
* @param UpdateDomainRecordsRequest
|
|
3193
3517
|
* @return UpdateDomainRecordsResponse
|
|
3194
3518
|
* @throws OciError when an error occurs
|
|
3195
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3519
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateDomainRecords.ts.html |here} to see how to use UpdateDomainRecords API.
|
|
3196
3520
|
*/
|
|
3197
3521
|
updateDomainRecords(updateDomainRecordsRequest) {
|
|
3198
3522
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3213,7 +3537,8 @@ class DnsClient {
|
|
|
3213
3537
|
"If-Unmodified-Since": updateDomainRecordsRequest.ifUnmodifiedSince,
|
|
3214
3538
|
"opc-request-id": updateDomainRecordsRequest.opcRequestId
|
|
3215
3539
|
};
|
|
3216
|
-
const
|
|
3540
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3541
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3217
3542
|
if (this.logger)
|
|
3218
3543
|
retrier.logger = this.logger;
|
|
3219
3544
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3269,10 +3594,11 @@ class DnsClient {
|
|
|
3269
3594
|
* value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope
|
|
3270
3595
|
* query parameter then the viewId query parameter is required.
|
|
3271
3596
|
*
|
|
3597
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3272
3598
|
* @param UpdateRRSetRequest
|
|
3273
3599
|
* @return UpdateRRSetResponse
|
|
3274
3600
|
* @throws OciError when an error occurs
|
|
3275
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3601
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateRRSet.ts.html |here} to see how to use UpdateRRSet API.
|
|
3276
3602
|
*/
|
|
3277
3603
|
updateRRSet(updateRRSetRequest) {
|
|
3278
3604
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3294,7 +3620,8 @@ class DnsClient {
|
|
|
3294
3620
|
"If-Unmodified-Since": updateRRSetRequest.ifUnmodifiedSince,
|
|
3295
3621
|
"opc-request-id": updateRRSetRequest.opcRequestId
|
|
3296
3622
|
};
|
|
3297
|
-
const
|
|
3623
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3624
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
3298
3625
|
if (this.logger)
|
|
3299
3626
|
retrier.logger = this.logger;
|
|
3300
3627
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3348,10 +3675,11 @@ class DnsClient {
|
|
|
3348
3675
|
/**
|
|
3349
3676
|
* Updates the specified resolver with your new information. Requires a `PRIVATE` scope query parameter.
|
|
3350
3677
|
*
|
|
3678
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3351
3679
|
* @param UpdateResolverRequest
|
|
3352
3680
|
* @return UpdateResolverResponse
|
|
3353
3681
|
* @throws OciError when an error occurs
|
|
3354
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3682
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateResolver.ts.html |here} to see how to use UpdateResolver API.
|
|
3355
3683
|
*/
|
|
3356
3684
|
updateResolver(updateResolverRequest) {
|
|
3357
3685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3369,7 +3697,8 @@ class DnsClient {
|
|
|
3369
3697
|
"If-Unmodified-Since": updateResolverRequest.ifUnmodifiedSince,
|
|
3370
3698
|
"opc-request-id": updateResolverRequest.opcRequestId
|
|
3371
3699
|
};
|
|
3372
|
-
const
|
|
3700
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3701
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverRequest.retryConfiguration, specRetryConfiguration);
|
|
3373
3702
|
if (this.logger)
|
|
3374
3703
|
retrier.logger = this.logger;
|
|
3375
3704
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3418,10 +3747,11 @@ class DnsClient {
|
|
|
3418
3747
|
/**
|
|
3419
3748
|
* Updates the specified resolver endpoint with your new information. Requires a `PRIVATE` scope query parameter.
|
|
3420
3749
|
*
|
|
3750
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3421
3751
|
* @param UpdateResolverEndpointRequest
|
|
3422
3752
|
* @return UpdateResolverEndpointResponse
|
|
3423
3753
|
* @throws OciError when an error occurs
|
|
3424
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3754
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateResolverEndpoint.ts.html |here} to see how to use UpdateResolverEndpoint API.
|
|
3425
3755
|
*/
|
|
3426
3756
|
updateResolverEndpoint(updateResolverEndpointRequest) {
|
|
3427
3757
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3440,7 +3770,8 @@ class DnsClient {
|
|
|
3440
3770
|
"If-Unmodified-Since": updateResolverEndpointRequest.ifUnmodifiedSince,
|
|
3441
3771
|
"opc-request-id": updateResolverEndpointRequest.opcRequestId
|
|
3442
3772
|
};
|
|
3443
|
-
const
|
|
3773
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3774
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
3444
3775
|
if (this.logger)
|
|
3445
3776
|
retrier.logger = this.logger;
|
|
3446
3777
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3489,10 +3820,11 @@ class DnsClient {
|
|
|
3489
3820
|
/**
|
|
3490
3821
|
* Updates the configuration of the specified steering policy.
|
|
3491
3822
|
*
|
|
3823
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3492
3824
|
* @param UpdateSteeringPolicyRequest
|
|
3493
3825
|
* @return UpdateSteeringPolicyResponse
|
|
3494
3826
|
* @throws OciError when an error occurs
|
|
3495
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3827
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateSteeringPolicy.ts.html |here} to see how to use UpdateSteeringPolicy API.
|
|
3496
3828
|
*/
|
|
3497
3829
|
updateSteeringPolicy(updateSteeringPolicyRequest) {
|
|
3498
3830
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3510,7 +3842,8 @@ class DnsClient {
|
|
|
3510
3842
|
"If-Unmodified-Since": updateSteeringPolicyRequest.ifUnmodifiedSince,
|
|
3511
3843
|
"opc-request-id": updateSteeringPolicyRequest.opcRequestId
|
|
3512
3844
|
};
|
|
3513
|
-
const
|
|
3845
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3846
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3514
3847
|
if (this.logger)
|
|
3515
3848
|
retrier.logger = this.logger;
|
|
3516
3849
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3554,10 +3887,11 @@ class DnsClient {
|
|
|
3554
3887
|
/**
|
|
3555
3888
|
* Updates the specified steering policy attachment with your new information.
|
|
3556
3889
|
*
|
|
3890
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3557
3891
|
* @param UpdateSteeringPolicyAttachmentRequest
|
|
3558
3892
|
* @return UpdateSteeringPolicyAttachmentResponse
|
|
3559
3893
|
* @throws OciError when an error occurs
|
|
3560
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3894
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateSteeringPolicyAttachment.ts.html |here} to see how to use UpdateSteeringPolicyAttachment API.
|
|
3561
3895
|
*/
|
|
3562
3896
|
updateSteeringPolicyAttachment(updateSteeringPolicyAttachmentRequest) {
|
|
3563
3897
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3575,7 +3909,8 @@ class DnsClient {
|
|
|
3575
3909
|
"If-Unmodified-Since": updateSteeringPolicyAttachmentRequest.ifUnmodifiedSince,
|
|
3576
3910
|
"opc-request-id": updateSteeringPolicyAttachmentRequest.opcRequestId
|
|
3577
3911
|
};
|
|
3578
|
-
const
|
|
3912
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3913
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3579
3914
|
if (this.logger)
|
|
3580
3915
|
retrier.logger = this.logger;
|
|
3581
3916
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3619,10 +3954,11 @@ class DnsClient {
|
|
|
3619
3954
|
/**
|
|
3620
3955
|
* Updates the specified TSIG key.
|
|
3621
3956
|
*
|
|
3957
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3622
3958
|
* @param UpdateTsigKeyRequest
|
|
3623
3959
|
* @return UpdateTsigKeyResponse
|
|
3624
3960
|
* @throws OciError when an error occurs
|
|
3625
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3961
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateTsigKey.ts.html |here} to see how to use UpdateTsigKey API.
|
|
3626
3962
|
*/
|
|
3627
3963
|
updateTsigKey(updateTsigKeyRequest) {
|
|
3628
3964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3640,7 +3976,8 @@ class DnsClient {
|
|
|
3640
3976
|
"If-Unmodified-Since": updateTsigKeyRequest.ifUnmodifiedSince,
|
|
3641
3977
|
"opc-request-id": updateTsigKeyRequest.opcRequestId
|
|
3642
3978
|
};
|
|
3643
|
-
const
|
|
3979
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3980
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
3644
3981
|
if (this.logger)
|
|
3645
3982
|
retrier.logger = this.logger;
|
|
3646
3983
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3689,10 +4026,11 @@ class DnsClient {
|
|
|
3689
4026
|
/**
|
|
3690
4027
|
* Updates the specified view with your new information. Requires a `PRIVATE` scope query parameter.
|
|
3691
4028
|
*
|
|
4029
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3692
4030
|
* @param UpdateViewRequest
|
|
3693
4031
|
* @return UpdateViewResponse
|
|
3694
4032
|
* @throws OciError when an error occurs
|
|
3695
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4033
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateView.ts.html |here} to see how to use UpdateView API.
|
|
3696
4034
|
*/
|
|
3697
4035
|
updateView(updateViewRequest) {
|
|
3698
4036
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3710,7 +4048,8 @@ class DnsClient {
|
|
|
3710
4048
|
"If-Unmodified-Since": updateViewRequest.ifUnmodifiedSince,
|
|
3711
4049
|
"opc-request-id": updateViewRequest.opcRequestId
|
|
3712
4050
|
};
|
|
3713
|
-
const
|
|
4051
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4052
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateViewRequest.retryConfiguration, specRetryConfiguration);
|
|
3714
4053
|
if (this.logger)
|
|
3715
4054
|
retrier.logger = this.logger;
|
|
3716
4055
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3763,10 +4102,11 @@ class DnsClient {
|
|
|
3763
4102
|
* provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query
|
|
3764
4103
|
* parameter is required.
|
|
3765
4104
|
*
|
|
4105
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3766
4106
|
* @param UpdateZoneRequest
|
|
3767
4107
|
* @return UpdateZoneResponse
|
|
3768
4108
|
* @throws OciError when an error occurs
|
|
3769
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateZone.ts.html |here} to see how to use UpdateZone API.
|
|
3770
4110
|
*/
|
|
3771
4111
|
updateZone(updateZoneRequest) {
|
|
3772
4112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3786,7 +4126,8 @@ class DnsClient {
|
|
|
3786
4126
|
"If-Unmodified-Since": updateZoneRequest.ifUnmodifiedSince,
|
|
3787
4127
|
"opc-request-id": updateZoneRequest.opcRequestId
|
|
3788
4128
|
};
|
|
3789
|
-
const
|
|
4129
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4130
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
3790
4131
|
if (this.logger)
|
|
3791
4132
|
retrier.logger = this.logger;
|
|
3792
4133
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3840,10 +4181,11 @@ class DnsClient {
|
|
|
3840
4181
|
* When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then
|
|
3841
4182
|
* the viewId query parameter is required.
|
|
3842
4183
|
*
|
|
4184
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3843
4185
|
* @param UpdateZoneRecordsRequest
|
|
3844
4186
|
* @return UpdateZoneRecordsResponse
|
|
3845
4187
|
* @throws OciError when an error occurs
|
|
3846
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4188
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/dns/UpdateZoneRecords.ts.html |here} to see how to use UpdateZoneRecords API.
|
|
3847
4189
|
*/
|
|
3848
4190
|
updateZoneRecords(updateZoneRecordsRequest) {
|
|
3849
4191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3863,7 +4205,8 @@ class DnsClient {
|
|
|
3863
4205
|
"If-Unmodified-Since": updateZoneRecordsRequest.ifUnmodifiedSince,
|
|
3864
4206
|
"opc-request-id": updateZoneRecordsRequest.opcRequestId
|
|
3865
4207
|
};
|
|
3866
|
-
const
|
|
4208
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4209
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3867
4210
|
if (this.logger)
|
|
3868
4211
|
retrier.logger = this.logger;
|
|
3869
4212
|
const request = yield oci_common_2.composeRequest({
|