oci-dns 2.5.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +6 -0
- package/lib/client.d.ts +105 -51
- package/lib/client.js +214 -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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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({
|
|
@@ -1494,10 +1544,11 @@ class DnsClient {
|
|
|
1494
1544
|
* provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query
|
|
1495
1545
|
* parameter is required.
|
|
1496
1546
|
*
|
|
1547
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1497
1548
|
* @param GetRRSetRequest
|
|
1498
1549
|
* @return GetRRSetResponse
|
|
1499
1550
|
* @throws OciError when an error occurs
|
|
1500
|
-
* @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.1/dns/GetRRSet.ts.html |here} to see how to use GetRRSet API.
|
|
1501
1552
|
*/
|
|
1502
1553
|
getRRSet(getRRSetRequest) {
|
|
1503
1554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1522,7 +1573,8 @@ class DnsClient {
|
|
|
1522
1573
|
"If-Modified-Since": getRRSetRequest.ifModifiedSince,
|
|
1523
1574
|
"opc-request-id": getRRSetRequest.opcRequestId
|
|
1524
1575
|
};
|
|
1525
|
-
const
|
|
1576
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1577
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1526
1578
|
if (this.logger)
|
|
1527
1579
|
retrier.logger = this.logger;
|
|
1528
1580
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1617,10 +1669,11 @@ class DnsClient {
|
|
|
1617
1669
|
* resolver in the DELETED lifecycleState will result in a `404` response to be
|
|
1618
1670
|
* consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
1619
1671
|
*
|
|
1672
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1620
1673
|
* @param GetResolverRequest
|
|
1621
1674
|
* @return GetResolverResponse
|
|
1622
1675
|
* @throws OciError when an error occurs
|
|
1623
|
-
* @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.1/dns/GetResolver.ts.html |here} to see how to use GetResolver API.
|
|
1624
1677
|
*/
|
|
1625
1678
|
getResolver(getResolverRequest) {
|
|
1626
1679
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1638,7 +1691,8 @@ class DnsClient {
|
|
|
1638
1691
|
"If-None-Match": getResolverRequest.ifNoneMatch,
|
|
1639
1692
|
"opc-request-id": getResolverRequest.opcRequestId
|
|
1640
1693
|
};
|
|
1641
|
-
const
|
|
1694
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1695
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverRequest.retryConfiguration, specRetryConfiguration);
|
|
1642
1696
|
if (this.logger)
|
|
1643
1697
|
retrier.logger = this.logger;
|
|
1644
1698
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1683,10 +1737,11 @@ class DnsClient {
|
|
|
1683
1737
|
* in the DELETED lifecycle state will result in a `404` response to be consistent with other operations of the
|
|
1684
1738
|
* API. Requires a `PRIVATE` scope query parameter.
|
|
1685
1739
|
*
|
|
1740
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1686
1741
|
* @param GetResolverEndpointRequest
|
|
1687
1742
|
* @return GetResolverEndpointResponse
|
|
1688
1743
|
* @throws OciError when an error occurs
|
|
1689
|
-
* @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.1/dns/GetResolverEndpoint.ts.html |here} to see how to use GetResolverEndpoint API.
|
|
1690
1745
|
*/
|
|
1691
1746
|
getResolverEndpoint(getResolverEndpointRequest) {
|
|
1692
1747
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1705,7 +1760,8 @@ class DnsClient {
|
|
|
1705
1760
|
"If-None-Match": getResolverEndpointRequest.ifNoneMatch,
|
|
1706
1761
|
"opc-request-id": getResolverEndpointRequest.opcRequestId
|
|
1707
1762
|
};
|
|
1708
|
-
const
|
|
1763
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1764
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1709
1765
|
if (this.logger)
|
|
1710
1766
|
retrier.logger = this.logger;
|
|
1711
1767
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1748,10 +1804,11 @@ class DnsClient {
|
|
|
1748
1804
|
/**
|
|
1749
1805
|
* Gets information about the specified steering policy.
|
|
1750
1806
|
*
|
|
1807
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1751
1808
|
* @param GetSteeringPolicyRequest
|
|
1752
1809
|
* @return GetSteeringPolicyResponse
|
|
1753
1810
|
* @throws OciError when an error occurs
|
|
1754
|
-
* @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.1/dns/GetSteeringPolicy.ts.html |here} to see how to use GetSteeringPolicy API.
|
|
1755
1812
|
*/
|
|
1756
1813
|
getSteeringPolicy(getSteeringPolicyRequest) {
|
|
1757
1814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1769,7 +1826,8 @@ class DnsClient {
|
|
|
1769
1826
|
"If-Modified-Since": getSteeringPolicyRequest.ifModifiedSince,
|
|
1770
1827
|
"opc-request-id": getSteeringPolicyRequest.opcRequestId
|
|
1771
1828
|
};
|
|
1772
|
-
const
|
|
1829
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1830
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1773
1831
|
if (this.logger)
|
|
1774
1832
|
retrier.logger = this.logger;
|
|
1775
1833
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1812,10 +1870,11 @@ class DnsClient {
|
|
|
1812
1870
|
/**
|
|
1813
1871
|
* Gets information about the specified steering policy attachment.
|
|
1814
1872
|
*
|
|
1873
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1815
1874
|
* @param GetSteeringPolicyAttachmentRequest
|
|
1816
1875
|
* @return GetSteeringPolicyAttachmentResponse
|
|
1817
1876
|
* @throws OciError when an error occurs
|
|
1818
|
-
* @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.1/dns/GetSteeringPolicyAttachment.ts.html |here} to see how to use GetSteeringPolicyAttachment API.
|
|
1819
1878
|
*/
|
|
1820
1879
|
getSteeringPolicyAttachment(getSteeringPolicyAttachmentRequest) {
|
|
1821
1880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1833,7 +1892,8 @@ class DnsClient {
|
|
|
1833
1892
|
"If-Modified-Since": getSteeringPolicyAttachmentRequest.ifModifiedSince,
|
|
1834
1893
|
"opc-request-id": getSteeringPolicyAttachmentRequest.opcRequestId
|
|
1835
1894
|
};
|
|
1836
|
-
const
|
|
1895
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1896
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1837
1897
|
if (this.logger)
|
|
1838
1898
|
retrier.logger = this.logger;
|
|
1839
1899
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1876,10 +1936,11 @@ class DnsClient {
|
|
|
1876
1936
|
/**
|
|
1877
1937
|
* Gets information about the specified TSIG key.
|
|
1878
1938
|
*
|
|
1939
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1879
1940
|
* @param GetTsigKeyRequest
|
|
1880
1941
|
* @return GetTsigKeyResponse
|
|
1881
1942
|
* @throws OciError when an error occurs
|
|
1882
|
-
* @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.1/dns/GetTsigKey.ts.html |here} to see how to use GetTsigKey API.
|
|
1883
1944
|
*/
|
|
1884
1945
|
getTsigKey(getTsigKeyRequest) {
|
|
1885
1946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1897,7 +1958,8 @@ class DnsClient {
|
|
|
1897
1958
|
"If-Modified-Since": getTsigKeyRequest.ifModifiedSince,
|
|
1898
1959
|
"opc-request-id": getTsigKeyRequest.opcRequestId
|
|
1899
1960
|
};
|
|
1900
|
-
const
|
|
1961
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1962
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1901
1963
|
if (this.logger)
|
|
1902
1964
|
retrier.logger = this.logger;
|
|
1903
1965
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1942,10 +2004,11 @@ class DnsClient {
|
|
|
1942
2004
|
* view in the DELETED lifecycleState will result in a `404` response to be
|
|
1943
2005
|
* consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
1944
2006
|
*
|
|
2007
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1945
2008
|
* @param GetViewRequest
|
|
1946
2009
|
* @return GetViewResponse
|
|
1947
2010
|
* @throws OciError when an error occurs
|
|
1948
|
-
* @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.1/dns/GetView.ts.html |here} to see how to use GetView API.
|
|
1949
2012
|
*/
|
|
1950
2013
|
getView(getViewRequest) {
|
|
1951
2014
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1963,7 +2026,8 @@ class DnsClient {
|
|
|
1963
2026
|
"If-None-Match": getViewRequest.ifNoneMatch,
|
|
1964
2027
|
"opc-request-id": getViewRequest.opcRequestId
|
|
1965
2028
|
};
|
|
1966
|
-
const
|
|
2029
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2030
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getViewRequest.retryConfiguration, specRetryConfiguration);
|
|
1967
2031
|
if (this.logger)
|
|
1968
2032
|
retrier.logger = this.logger;
|
|
1969
2033
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2008,10 +2072,11 @@ class DnsClient {
|
|
|
2008
2072
|
* zones, the scope query parameter is required with a value of `PRIVATE`. When the zone name is provided as a
|
|
2009
2073
|
* path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
|
|
2010
2074
|
*
|
|
2075
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2011
2076
|
* @param GetZoneRequest
|
|
2012
2077
|
* @return GetZoneResponse
|
|
2013
2078
|
* @throws OciError when an error occurs
|
|
2014
|
-
* @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.1/dns/GetZone.ts.html |here} to see how to use GetZone API.
|
|
2015
2080
|
*/
|
|
2016
2081
|
getZone(getZoneRequest) {
|
|
2017
2082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2031,7 +2096,8 @@ class DnsClient {
|
|
|
2031
2096
|
"If-Modified-Since": getZoneRequest.ifModifiedSince,
|
|
2032
2097
|
"opc-request-id": getZoneRequest.opcRequestId
|
|
2033
2098
|
};
|
|
2034
|
-
const
|
|
2099
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2100
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
2035
2101
|
if (this.logger)
|
|
2036
2102
|
retrier.logger = this.logger;
|
|
2037
2103
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2074,10 +2140,11 @@ class DnsClient {
|
|
|
2074
2140
|
/**
|
|
2075
2141
|
* Gets the requested zone's zone file.
|
|
2076
2142
|
*
|
|
2143
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2077
2144
|
* @param GetZoneContentRequest
|
|
2078
2145
|
* @return GetZoneContentResponse
|
|
2079
2146
|
* @throws OciError when an error occurs
|
|
2080
|
-
* @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.1/dns/GetZoneContent.ts.html |here} to see how to use GetZoneContent API.
|
|
2081
2148
|
*/
|
|
2082
2149
|
getZoneContent(getZoneContentRequest) {
|
|
2083
2150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2096,7 +2163,8 @@ class DnsClient {
|
|
|
2096
2163
|
"If-Modified-Since": getZoneContentRequest.ifModifiedSince,
|
|
2097
2164
|
"opc-request-id": getZoneContentRequest.opcRequestId
|
|
2098
2165
|
};
|
|
2099
|
-
const
|
|
2166
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2167
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneContentRequest.retryConfiguration, specRetryConfiguration);
|
|
2100
2168
|
if (this.logger)
|
|
2101
2169
|
retrier.logger = this.logger;
|
|
2102
2170
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2142,10 +2210,11 @@ class DnsClient {
|
|
|
2142
2210
|
* provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query
|
|
2143
2211
|
* parameter is required.
|
|
2144
2212
|
*
|
|
2213
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2145
2214
|
* @param GetZoneRecordsRequest
|
|
2146
2215
|
* @return GetZoneRecordsResponse
|
|
2147
2216
|
* @throws OciError when an error occurs
|
|
2148
|
-
* @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.1/dns/GetZoneRecords.ts.html |here} to see how to use GetZoneRecords API.
|
|
2149
2218
|
*/
|
|
2150
2219
|
getZoneRecords(getZoneRecordsRequest) {
|
|
2151
2220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2173,7 +2242,8 @@ class DnsClient {
|
|
|
2173
2242
|
"If-Modified-Since": getZoneRecordsRequest.ifModifiedSince,
|
|
2174
2243
|
"opc-request-id": getZoneRecordsRequest.opcRequestId
|
|
2175
2244
|
};
|
|
2176
|
-
const
|
|
2245
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2246
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
2177
2247
|
if (this.logger)
|
|
2178
2248
|
retrier.logger = this.logger;
|
|
2179
2249
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2269,10 +2339,11 @@ class DnsClient {
|
|
|
2269
2339
|
* query parameter is provided, the collection does not include resolver endpoints in the DELETED
|
|
2270
2340
|
* lifecycle state to be consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
2271
2341
|
*
|
|
2342
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2272
2343
|
* @param ListResolverEndpointsRequest
|
|
2273
2344
|
* @return ListResolverEndpointsResponse
|
|
2274
2345
|
* @throws OciError when an error occurs
|
|
2275
|
-
* @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.1/dns/ListResolverEndpoints.ts.html |here} to see how to use ListResolverEndpoints API.
|
|
2276
2347
|
*/
|
|
2277
2348
|
listResolverEndpoints(listResolverEndpointsRequest) {
|
|
2278
2349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2294,7 +2365,8 @@ class DnsClient {
|
|
|
2294
2365
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2295
2366
|
"opc-request-id": listResolverEndpointsRequest.opcRequestId
|
|
2296
2367
|
};
|
|
2297
|
-
const
|
|
2368
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2369
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolverEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
2298
2370
|
if (this.logger)
|
|
2299
2371
|
retrier.logger = this.logger;
|
|
2300
2372
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2382,10 +2454,11 @@ class DnsClient {
|
|
|
2382
2454
|
* does not include resolvers in the DELETED lifecycleState to be consistent
|
|
2383
2455
|
* with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
2384
2456
|
*
|
|
2457
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2385
2458
|
* @param ListResolversRequest
|
|
2386
2459
|
* @return ListResolversResponse
|
|
2387
2460
|
* @throws OciError when an error occurs
|
|
2388
|
-
* @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.1/dns/ListResolvers.ts.html |here} to see how to use ListResolvers API.
|
|
2389
2462
|
*/
|
|
2390
2463
|
listResolvers(listResolversRequest) {
|
|
2391
2464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2407,7 +2480,8 @@ class DnsClient {
|
|
|
2407
2480
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2408
2481
|
"opc-request-id": listResolversRequest.opcRequestId
|
|
2409
2482
|
};
|
|
2410
|
-
const
|
|
2483
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2484
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolversRequest.retryConfiguration, specRetryConfiguration);
|
|
2411
2485
|
if (this.logger)
|
|
2412
2486
|
retrier.logger = this.logger;
|
|
2413
2487
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2490,10 +2564,11 @@ class DnsClient {
|
|
|
2490
2564
|
/**
|
|
2491
2565
|
* Gets a list of all steering policies in the specified compartment.
|
|
2492
2566
|
*
|
|
2567
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2493
2568
|
* @param ListSteeringPoliciesRequest
|
|
2494
2569
|
* @return ListSteeringPoliciesResponse
|
|
2495
2570
|
* @throws OciError when an error occurs
|
|
2496
|
-
* @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.1/dns/ListSteeringPolicies.ts.html |here} to see how to use ListSteeringPolicies API.
|
|
2497
2572
|
*/
|
|
2498
2573
|
listSteeringPolicies(listSteeringPoliciesRequest) {
|
|
2499
2574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2520,7 +2595,8 @@ class DnsClient {
|
|
|
2520
2595
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2521
2596
|
"opc-request-id": listSteeringPoliciesRequest.opcRequestId
|
|
2522
2597
|
};
|
|
2523
|
-
const
|
|
2598
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2599
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
2524
2600
|
if (this.logger)
|
|
2525
2601
|
retrier.logger = this.logger;
|
|
2526
2602
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2608,10 +2684,11 @@ class DnsClient {
|
|
|
2608
2684
|
/**
|
|
2609
2685
|
* Lists the steering policy attachments in the specified compartment.
|
|
2610
2686
|
*
|
|
2687
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2611
2688
|
* @param ListSteeringPolicyAttachmentsRequest
|
|
2612
2689
|
* @return ListSteeringPolicyAttachmentsResponse
|
|
2613
2690
|
* @throws OciError when an error occurs
|
|
2614
|
-
* @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.1/dns/ListSteeringPolicyAttachments.ts.html |here} to see how to use ListSteeringPolicyAttachments API.
|
|
2615
2692
|
*/
|
|
2616
2693
|
listSteeringPolicyAttachments(listSteeringPolicyAttachmentsRequest) {
|
|
2617
2694
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2639,7 +2716,8 @@ class DnsClient {
|
|
|
2639
2716
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2640
2717
|
"opc-request-id": listSteeringPolicyAttachmentsRequest.opcRequestId
|
|
2641
2718
|
};
|
|
2642
|
-
const
|
|
2719
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2720
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPolicyAttachmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
2643
2721
|
if (this.logger)
|
|
2644
2722
|
retrier.logger = this.logger;
|
|
2645
2723
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2727,10 +2805,11 @@ class DnsClient {
|
|
|
2727
2805
|
/**
|
|
2728
2806
|
* Gets a list of all TSIG keys in the specified compartment.
|
|
2729
2807
|
*
|
|
2808
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2730
2809
|
* @param ListTsigKeysRequest
|
|
2731
2810
|
* @return ListTsigKeysResponse
|
|
2732
2811
|
* @throws OciError when an error occurs
|
|
2733
|
-
* @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.1/dns/ListTsigKeys.ts.html |here} to see how to use ListTsigKeys API.
|
|
2734
2813
|
*/
|
|
2735
2814
|
listTsigKeys(listTsigKeysRequest) {
|
|
2736
2815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2752,7 +2831,8 @@ class DnsClient {
|
|
|
2752
2831
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2753
2832
|
"opc-request-id": listTsigKeysRequest.opcRequestId
|
|
2754
2833
|
};
|
|
2755
|
-
const
|
|
2834
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2835
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTsigKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
2756
2836
|
if (this.logger)
|
|
2757
2837
|
retrier.logger = this.logger;
|
|
2758
2838
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2840,10 +2920,11 @@ class DnsClient {
|
|
|
2840
2920
|
* does not include views in the DELETED lifecycleState to be consistent
|
|
2841
2921
|
* with other operations of the API. Requires a `PRIVATE` scope query parameter.
|
|
2842
2922
|
*
|
|
2923
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2843
2924
|
* @param ListViewsRequest
|
|
2844
2925
|
* @return ListViewsResponse
|
|
2845
2926
|
* @throws OciError when an error occurs
|
|
2846
|
-
* @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.1/dns/ListViews.ts.html |here} to see how to use ListViews API.
|
|
2847
2928
|
*/
|
|
2848
2929
|
listViews(listViewsRequest) {
|
|
2849
2930
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2865,7 +2946,8 @@ class DnsClient {
|
|
|
2865
2946
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2866
2947
|
"opc-request-id": listViewsRequest.opcRequestId
|
|
2867
2948
|
};
|
|
2868
|
-
const
|
|
2949
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2950
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listViewsRequest.retryConfiguration, specRetryConfiguration);
|
|
2869
2951
|
if (this.logger)
|
|
2870
2952
|
retrier.logger = this.logger;
|
|
2871
2953
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2950,10 +3032,11 @@ class DnsClient {
|
|
|
2950
3032
|
* compartment (which must be the root compartment of a tenancy) that transfer zone data with external master or
|
|
2951
3033
|
* downstream nameservers.
|
|
2952
3034
|
*
|
|
3035
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2953
3036
|
* @param ListZoneTransferServersRequest
|
|
2954
3037
|
* @return ListZoneTransferServersResponse
|
|
2955
3038
|
* @throws OciError when an error occurs
|
|
2956
|
-
* @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.1/dns/ListZoneTransferServers.ts.html |here} to see how to use ListZoneTransferServers API.
|
|
2957
3040
|
*/
|
|
2958
3041
|
listZoneTransferServers(listZoneTransferServersRequest) {
|
|
2959
3042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2969,7 +3052,8 @@ class DnsClient {
|
|
|
2969
3052
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2970
3053
|
"opc-request-id": listZoneTransferServersRequest.opcRequestId
|
|
2971
3054
|
};
|
|
2972
|
-
const
|
|
3055
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3056
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZoneTransferServersRequest.retryConfiguration, specRetryConfiguration);
|
|
2973
3057
|
if (this.logger)
|
|
2974
3058
|
retrier.logger = this.logger;
|
|
2975
3059
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3053,10 +3137,11 @@ class DnsClient {
|
|
|
3053
3137
|
* Gets a list of all zones in the specified compartment. The collection can be filtered by name, time created,
|
|
3054
3138
|
* scope, associated view, and zone type. Filtering by view is only supported for private zones.
|
|
3055
3139
|
*
|
|
3140
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3056
3141
|
* @param ListZonesRequest
|
|
3057
3142
|
* @return ListZonesResponse
|
|
3058
3143
|
* @throws OciError when an error occurs
|
|
3059
|
-
* @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.1/dns/ListZones.ts.html |here} to see how to use ListZones API.
|
|
3060
3145
|
*/
|
|
3061
3146
|
listZones(listZonesRequest) {
|
|
3062
3147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3083,7 +3168,8 @@ class DnsClient {
|
|
|
3083
3168
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3084
3169
|
"opc-request-id": listZonesRequest.opcRequestId
|
|
3085
3170
|
};
|
|
3086
|
-
const
|
|
3171
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3172
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZonesRequest.retryConfiguration, specRetryConfiguration);
|
|
3087
3173
|
if (this.logger)
|
|
3088
3174
|
retrier.logger = this.logger;
|
|
3089
3175
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3175,10 +3261,11 @@ class DnsClient {
|
|
|
3175
3261
|
* name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId
|
|
3176
3262
|
* query parameter is required.
|
|
3177
3263
|
*
|
|
3264
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3178
3265
|
* @param PatchDomainRecordsRequest
|
|
3179
3266
|
* @return PatchDomainRecordsResponse
|
|
3180
3267
|
* @throws OciError when an error occurs
|
|
3181
|
-
* @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.1/dns/PatchDomainRecords.ts.html |here} to see how to use PatchDomainRecords API.
|
|
3182
3269
|
*/
|
|
3183
3270
|
patchDomainRecords(patchDomainRecordsRequest) {
|
|
3184
3271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3199,7 +3286,8 @@ class DnsClient {
|
|
|
3199
3286
|
"If-Unmodified-Since": patchDomainRecordsRequest.ifUnmodifiedSince,
|
|
3200
3287
|
"opc-request-id": patchDomainRecordsRequest.opcRequestId
|
|
3201
3288
|
};
|
|
3202
|
-
const
|
|
3289
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3290
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3203
3291
|
if (this.logger)
|
|
3204
3292
|
retrier.logger = this.logger;
|
|
3205
3293
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3255,10 +3343,11 @@ class DnsClient {
|
|
|
3255
3343
|
* of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query
|
|
3256
3344
|
* parameter then the viewId query parameter is required.
|
|
3257
3345
|
*
|
|
3346
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3258
3347
|
* @param PatchRRSetRequest
|
|
3259
3348
|
* @return PatchRRSetResponse
|
|
3260
3349
|
* @throws OciError when an error occurs
|
|
3261
|
-
* @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.1/dns/PatchRRSet.ts.html |here} to see how to use PatchRRSet API.
|
|
3262
3351
|
*/
|
|
3263
3352
|
patchRRSet(patchRRSetRequest) {
|
|
3264
3353
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3280,7 +3369,8 @@ class DnsClient {
|
|
|
3280
3369
|
"If-Unmodified-Since": patchRRSetRequest.ifUnmodifiedSince,
|
|
3281
3370
|
"opc-request-id": patchRRSetRequest.opcRequestId
|
|
3282
3371
|
};
|
|
3283
|
-
const
|
|
3372
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3373
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
3284
3374
|
if (this.logger)
|
|
3285
3375
|
retrier.logger = this.logger;
|
|
3286
3376
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3338,10 +3428,11 @@ class DnsClient {
|
|
|
3338
3428
|
* the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the
|
|
3339
3429
|
* viewId query parameter is required.
|
|
3340
3430
|
*
|
|
3431
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3341
3432
|
* @param PatchZoneRecordsRequest
|
|
3342
3433
|
* @return PatchZoneRecordsResponse
|
|
3343
3434
|
* @throws OciError when an error occurs
|
|
3344
|
-
* @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.1/dns/PatchZoneRecords.ts.html |here} to see how to use PatchZoneRecords API.
|
|
3345
3436
|
*/
|
|
3346
3437
|
patchZoneRecords(patchZoneRecordsRequest) {
|
|
3347
3438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3361,7 +3452,8 @@ class DnsClient {
|
|
|
3361
3452
|
"If-Unmodified-Since": patchZoneRecordsRequest.ifUnmodifiedSince,
|
|
3362
3453
|
"opc-request-id": patchZoneRecordsRequest.opcRequestId
|
|
3363
3454
|
};
|
|
3364
|
-
const
|
|
3455
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3456
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3365
3457
|
if (this.logger)
|
|
3366
3458
|
retrier.logger = this.logger;
|
|
3367
3459
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3420,10 +3512,11 @@ class DnsClient {
|
|
|
3420
3512
|
* value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope
|
|
3421
3513
|
* query parameter then the viewId query parameter is required.
|
|
3422
3514
|
*
|
|
3515
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3423
3516
|
* @param UpdateDomainRecordsRequest
|
|
3424
3517
|
* @return UpdateDomainRecordsResponse
|
|
3425
3518
|
* @throws OciError when an error occurs
|
|
3426
|
-
* @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.1/dns/UpdateDomainRecords.ts.html |here} to see how to use UpdateDomainRecords API.
|
|
3427
3520
|
*/
|
|
3428
3521
|
updateDomainRecords(updateDomainRecordsRequest) {
|
|
3429
3522
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3444,7 +3537,8 @@ class DnsClient {
|
|
|
3444
3537
|
"If-Unmodified-Since": updateDomainRecordsRequest.ifUnmodifiedSince,
|
|
3445
3538
|
"opc-request-id": updateDomainRecordsRequest.opcRequestId
|
|
3446
3539
|
};
|
|
3447
|
-
const
|
|
3540
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3541
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3448
3542
|
if (this.logger)
|
|
3449
3543
|
retrier.logger = this.logger;
|
|
3450
3544
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3500,10 +3594,11 @@ class DnsClient {
|
|
|
3500
3594
|
* value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope
|
|
3501
3595
|
* query parameter then the viewId query parameter is required.
|
|
3502
3596
|
*
|
|
3597
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3503
3598
|
* @param UpdateRRSetRequest
|
|
3504
3599
|
* @return UpdateRRSetResponse
|
|
3505
3600
|
* @throws OciError when an error occurs
|
|
3506
|
-
* @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.1/dns/UpdateRRSet.ts.html |here} to see how to use UpdateRRSet API.
|
|
3507
3602
|
*/
|
|
3508
3603
|
updateRRSet(updateRRSetRequest) {
|
|
3509
3604
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3525,7 +3620,8 @@ class DnsClient {
|
|
|
3525
3620
|
"If-Unmodified-Since": updateRRSetRequest.ifUnmodifiedSince,
|
|
3526
3621
|
"opc-request-id": updateRRSetRequest.opcRequestId
|
|
3527
3622
|
};
|
|
3528
|
-
const
|
|
3623
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3624
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
3529
3625
|
if (this.logger)
|
|
3530
3626
|
retrier.logger = this.logger;
|
|
3531
3627
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3579,10 +3675,11 @@ class DnsClient {
|
|
|
3579
3675
|
/**
|
|
3580
3676
|
* Updates the specified resolver with your new information. Requires a `PRIVATE` scope query parameter.
|
|
3581
3677
|
*
|
|
3678
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3582
3679
|
* @param UpdateResolverRequest
|
|
3583
3680
|
* @return UpdateResolverResponse
|
|
3584
3681
|
* @throws OciError when an error occurs
|
|
3585
|
-
* @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.1/dns/UpdateResolver.ts.html |here} to see how to use UpdateResolver API.
|
|
3586
3683
|
*/
|
|
3587
3684
|
updateResolver(updateResolverRequest) {
|
|
3588
3685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3600,7 +3697,8 @@ class DnsClient {
|
|
|
3600
3697
|
"If-Unmodified-Since": updateResolverRequest.ifUnmodifiedSince,
|
|
3601
3698
|
"opc-request-id": updateResolverRequest.opcRequestId
|
|
3602
3699
|
};
|
|
3603
|
-
const
|
|
3700
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3701
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverRequest.retryConfiguration, specRetryConfiguration);
|
|
3604
3702
|
if (this.logger)
|
|
3605
3703
|
retrier.logger = this.logger;
|
|
3606
3704
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3649,10 +3747,11 @@ class DnsClient {
|
|
|
3649
3747
|
/**
|
|
3650
3748
|
* Updates the specified resolver endpoint with your new information. Requires a `PRIVATE` scope query parameter.
|
|
3651
3749
|
*
|
|
3750
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3652
3751
|
* @param UpdateResolverEndpointRequest
|
|
3653
3752
|
* @return UpdateResolverEndpointResponse
|
|
3654
3753
|
* @throws OciError when an error occurs
|
|
3655
|
-
* @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.1/dns/UpdateResolverEndpoint.ts.html |here} to see how to use UpdateResolverEndpoint API.
|
|
3656
3755
|
*/
|
|
3657
3756
|
updateResolverEndpoint(updateResolverEndpointRequest) {
|
|
3658
3757
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3671,7 +3770,8 @@ class DnsClient {
|
|
|
3671
3770
|
"If-Unmodified-Since": updateResolverEndpointRequest.ifUnmodifiedSince,
|
|
3672
3771
|
"opc-request-id": updateResolverEndpointRequest.opcRequestId
|
|
3673
3772
|
};
|
|
3674
|
-
const
|
|
3773
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3774
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
3675
3775
|
if (this.logger)
|
|
3676
3776
|
retrier.logger = this.logger;
|
|
3677
3777
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3720,10 +3820,11 @@ class DnsClient {
|
|
|
3720
3820
|
/**
|
|
3721
3821
|
* Updates the configuration of the specified steering policy.
|
|
3722
3822
|
*
|
|
3823
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3723
3824
|
* @param UpdateSteeringPolicyRequest
|
|
3724
3825
|
* @return UpdateSteeringPolicyResponse
|
|
3725
3826
|
* @throws OciError when an error occurs
|
|
3726
|
-
* @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.1/dns/UpdateSteeringPolicy.ts.html |here} to see how to use UpdateSteeringPolicy API.
|
|
3727
3828
|
*/
|
|
3728
3829
|
updateSteeringPolicy(updateSteeringPolicyRequest) {
|
|
3729
3830
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3741,7 +3842,8 @@ class DnsClient {
|
|
|
3741
3842
|
"If-Unmodified-Since": updateSteeringPolicyRequest.ifUnmodifiedSince,
|
|
3742
3843
|
"opc-request-id": updateSteeringPolicyRequest.opcRequestId
|
|
3743
3844
|
};
|
|
3744
|
-
const
|
|
3845
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3846
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3745
3847
|
if (this.logger)
|
|
3746
3848
|
retrier.logger = this.logger;
|
|
3747
3849
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3785,10 +3887,11 @@ class DnsClient {
|
|
|
3785
3887
|
/**
|
|
3786
3888
|
* Updates the specified steering policy attachment with your new information.
|
|
3787
3889
|
*
|
|
3890
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3788
3891
|
* @param UpdateSteeringPolicyAttachmentRequest
|
|
3789
3892
|
* @return UpdateSteeringPolicyAttachmentResponse
|
|
3790
3893
|
* @throws OciError when an error occurs
|
|
3791
|
-
* @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.1/dns/UpdateSteeringPolicyAttachment.ts.html |here} to see how to use UpdateSteeringPolicyAttachment API.
|
|
3792
3895
|
*/
|
|
3793
3896
|
updateSteeringPolicyAttachment(updateSteeringPolicyAttachmentRequest) {
|
|
3794
3897
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3806,7 +3909,8 @@ class DnsClient {
|
|
|
3806
3909
|
"If-Unmodified-Since": updateSteeringPolicyAttachmentRequest.ifUnmodifiedSince,
|
|
3807
3910
|
"opc-request-id": updateSteeringPolicyAttachmentRequest.opcRequestId
|
|
3808
3911
|
};
|
|
3809
|
-
const
|
|
3912
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3913
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3810
3914
|
if (this.logger)
|
|
3811
3915
|
retrier.logger = this.logger;
|
|
3812
3916
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3850,10 +3954,11 @@ class DnsClient {
|
|
|
3850
3954
|
/**
|
|
3851
3955
|
* Updates the specified TSIG key.
|
|
3852
3956
|
*
|
|
3957
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3853
3958
|
* @param UpdateTsigKeyRequest
|
|
3854
3959
|
* @return UpdateTsigKeyResponse
|
|
3855
3960
|
* @throws OciError when an error occurs
|
|
3856
|
-
* @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.1/dns/UpdateTsigKey.ts.html |here} to see how to use UpdateTsigKey API.
|
|
3857
3962
|
*/
|
|
3858
3963
|
updateTsigKey(updateTsigKeyRequest) {
|
|
3859
3964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3871,7 +3976,8 @@ class DnsClient {
|
|
|
3871
3976
|
"If-Unmodified-Since": updateTsigKeyRequest.ifUnmodifiedSince,
|
|
3872
3977
|
"opc-request-id": updateTsigKeyRequest.opcRequestId
|
|
3873
3978
|
};
|
|
3874
|
-
const
|
|
3979
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3980
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
3875
3981
|
if (this.logger)
|
|
3876
3982
|
retrier.logger = this.logger;
|
|
3877
3983
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3920,10 +4026,11 @@ class DnsClient {
|
|
|
3920
4026
|
/**
|
|
3921
4027
|
* Updates the specified view with your new information. Requires a `PRIVATE` scope query parameter.
|
|
3922
4028
|
*
|
|
4029
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3923
4030
|
* @param UpdateViewRequest
|
|
3924
4031
|
* @return UpdateViewResponse
|
|
3925
4032
|
* @throws OciError when an error occurs
|
|
3926
|
-
* @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.1/dns/UpdateView.ts.html |here} to see how to use UpdateView API.
|
|
3927
4034
|
*/
|
|
3928
4035
|
updateView(updateViewRequest) {
|
|
3929
4036
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3941,7 +4048,8 @@ class DnsClient {
|
|
|
3941
4048
|
"If-Unmodified-Since": updateViewRequest.ifUnmodifiedSince,
|
|
3942
4049
|
"opc-request-id": updateViewRequest.opcRequestId
|
|
3943
4050
|
};
|
|
3944
|
-
const
|
|
4051
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4052
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateViewRequest.retryConfiguration, specRetryConfiguration);
|
|
3945
4053
|
if (this.logger)
|
|
3946
4054
|
retrier.logger = this.logger;
|
|
3947
4055
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3994,10 +4102,11 @@ class DnsClient {
|
|
|
3994
4102
|
* provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query
|
|
3995
4103
|
* parameter is required.
|
|
3996
4104
|
*
|
|
4105
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3997
4106
|
* @param UpdateZoneRequest
|
|
3998
4107
|
* @return UpdateZoneResponse
|
|
3999
4108
|
* @throws OciError when an error occurs
|
|
4000
|
-
* @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.1/dns/UpdateZone.ts.html |here} to see how to use UpdateZone API.
|
|
4001
4110
|
*/
|
|
4002
4111
|
updateZone(updateZoneRequest) {
|
|
4003
4112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4017,7 +4126,8 @@ class DnsClient {
|
|
|
4017
4126
|
"If-Unmodified-Since": updateZoneRequest.ifUnmodifiedSince,
|
|
4018
4127
|
"opc-request-id": updateZoneRequest.opcRequestId
|
|
4019
4128
|
};
|
|
4020
|
-
const
|
|
4129
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4130
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
4021
4131
|
if (this.logger)
|
|
4022
4132
|
retrier.logger = this.logger;
|
|
4023
4133
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4071,10 +4181,11 @@ class DnsClient {
|
|
|
4071
4181
|
* When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then
|
|
4072
4182
|
* the viewId query parameter is required.
|
|
4073
4183
|
*
|
|
4184
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4074
4185
|
* @param UpdateZoneRecordsRequest
|
|
4075
4186
|
* @return UpdateZoneRecordsResponse
|
|
4076
4187
|
* @throws OciError when an error occurs
|
|
4077
|
-
* @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.1/dns/UpdateZoneRecords.ts.html |here} to see how to use UpdateZoneRecords API.
|
|
4078
4189
|
*/
|
|
4079
4190
|
updateZoneRecords(updateZoneRecordsRequest) {
|
|
4080
4191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4094,7 +4205,8 @@ class DnsClient {
|
|
|
4094
4205
|
"If-Unmodified-Since": updateZoneRecordsRequest.ifUnmodifiedSince,
|
|
4095
4206
|
"opc-request-id": updateZoneRecordsRequest.opcRequestId
|
|
4096
4207
|
};
|
|
4097
|
-
const
|
|
4208
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4209
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
4098
4210
|
if (this.logger)
|
|
4099
4211
|
retrier.logger = this.logger;
|
|
4100
4212
|
const request = yield oci_common_2.composeRequest({
|