oci-dns 2.21.0 → 2.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +379 -353
- package/lib/client.js +433 -403
- package/lib/client.js.map +1 -1
- package/lib/model/record-details.d.ts +2 -1
- package/lib/model/record-details.js.map +1 -1
- package/lib/model/record-operation.d.ts +2 -1
- package/lib/model/record-operation.js.map +1 -1
- package/lib/model/record.d.ts +2 -1
- package/lib/model/record.js.map +1 -1
- package/lib/model/resolver-vnic-endpoint-summary.d.ts +2 -1
- package/lib/model/resolver-vnic-endpoint-summary.js.map +1 -1
- package/lib/model/resolver-vnic-endpoint.d.ts +2 -1
- package/lib/model/resolver-vnic-endpoint.js.map +1 -1
- package/lib/model/steering-policy-filter-rule-case.d.ts +1 -1
- package/lib/model/steering-policy-health-rule-case.d.ts +1 -1
- package/lib/model/steering-policy-limit-rule-case.d.ts +1 -1
- package/lib/model/steering-policy-priority-rule-case.d.ts +1 -1
- package/lib/model/steering-policy-weighted-rule-case.d.ts +1 -1
- package/lib/model/tsig-key.d.ts +1 -2
- package/lib/model/tsig-key.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 +6 -3
- package/lib/request/delete-domain-records-request.d.ts +6 -3
- package/lib/request/delete-resolver-endpoint-request.d.ts +1 -1
- package/lib/request/delete-rrset-request.d.ts +6 -3
- 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 +6 -3
- package/lib/request/get-domain-records-request.d.ts +6 -3
- package/lib/request/get-domain-records-request.js.map +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 +6 -3
- 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 +6 -3
- package/lib/request/get-zone-records-request.js.map +1 -1
- package/lib/request/get-zone-request.d.ts +6 -3
- 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 +6 -3
- package/lib/request/patch-rrset-request.d.ts +6 -3
- package/lib/request/patch-zone-records-request.d.ts +6 -3
- package/lib/request/update-domain-records-request.d.ts +6 -3
- 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 +6 -3
- 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 +6 -3
- package/lib/request/update-zone-request.d.ts +6 -3
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -62,6 +62,7 @@ class DnsClient {
|
|
|
62
62
|
this["_endpoint"] = "";
|
|
63
63
|
this["_defaultHeaders"] = {};
|
|
64
64
|
this._circuitBreaker = null;
|
|
65
|
+
this._httpOptions = undefined;
|
|
65
66
|
const requestSigner = params.authenticationDetailsProvider
|
|
66
67
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
67
68
|
: null;
|
|
@@ -70,6 +71,9 @@ class DnsClient {
|
|
|
70
71
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
71
72
|
? clientConfiguration.circuitBreaker.circuit
|
|
72
73
|
: null;
|
|
74
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
75
|
+
? clientConfiguration.httpOptions
|
|
76
|
+
: undefined;
|
|
73
77
|
}
|
|
74
78
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
75
79
|
const specCircuitBreakerEnabled = true;
|
|
@@ -79,7 +83,8 @@ class DnsClient {
|
|
|
79
83
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
80
84
|
}
|
|
81
85
|
this._httpClient =
|
|
82
|
-
params.httpClient ||
|
|
86
|
+
params.httpClient ||
|
|
87
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
83
88
|
if (params.authenticationDetailsProvider &&
|
|
84
89
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
85
90
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -148,15 +153,17 @@ class DnsClient {
|
|
|
148
153
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
149
154
|
}
|
|
150
155
|
/**
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
156
|
+
* Moves a resolver into a different compartment along with its protected default view and any endpoints.
|
|
157
|
+
* <p>
|
|
158
|
+
Zones in the default view are not moved. VCN-dedicated resolvers are initially created in the same compartment
|
|
159
|
+
* as their corresponding VCN, but can then be moved to a different compartment.
|
|
160
|
+
*
|
|
161
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
162
|
+
* @param ChangeResolverCompartmentRequest
|
|
163
|
+
* @return ChangeResolverCompartmentResponse
|
|
164
|
+
* @throws OciError when an error occurs
|
|
165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ChangeResolverCompartment.ts.html |here} to see how to use ChangeResolverCompartment API.
|
|
166
|
+
*/
|
|
160
167
|
changeResolverCompartment(changeResolverCompartmentRequest) {
|
|
161
168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
162
169
|
if (this.logger)
|
|
@@ -173,7 +180,7 @@ class DnsClient {
|
|
|
173
180
|
"opc-retry-token": changeResolverCompartmentRequest.opcRetryToken,
|
|
174
181
|
"opc-request-id": changeResolverCompartmentRequest.opcRequestId
|
|
175
182
|
};
|
|
176
|
-
const specRetryConfiguration = common.
|
|
183
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
177
184
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeResolverCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
178
185
|
if (this.logger)
|
|
179
186
|
retrier.logger = this.logger;
|
|
@@ -214,11 +221,11 @@ class DnsClient {
|
|
|
214
221
|
/**
|
|
215
222
|
* Moves a steering policy into a different compartment.
|
|
216
223
|
*
|
|
217
|
-
* This operation
|
|
224
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
218
225
|
* @param ChangeSteeringPolicyCompartmentRequest
|
|
219
226
|
* @return ChangeSteeringPolicyCompartmentResponse
|
|
220
227
|
* @throws OciError when an error occurs
|
|
221
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
228
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ChangeSteeringPolicyCompartment.ts.html |here} to see how to use ChangeSteeringPolicyCompartment API.
|
|
222
229
|
*/
|
|
223
230
|
changeSteeringPolicyCompartment(changeSteeringPolicyCompartmentRequest) {
|
|
224
231
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -236,7 +243,7 @@ class DnsClient {
|
|
|
236
243
|
"opc-retry-token": changeSteeringPolicyCompartmentRequest.opcRetryToken,
|
|
237
244
|
"opc-request-id": changeSteeringPolicyCompartmentRequest.opcRequestId
|
|
238
245
|
};
|
|
239
|
-
const specRetryConfiguration = common.
|
|
246
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
240
247
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSteeringPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
241
248
|
if (this.logger)
|
|
242
249
|
retrier.logger = this.logger;
|
|
@@ -272,11 +279,11 @@ class DnsClient {
|
|
|
272
279
|
/**
|
|
273
280
|
* Moves a TSIG key into a different compartment.
|
|
274
281
|
*
|
|
275
|
-
* This operation
|
|
282
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
276
283
|
* @param ChangeTsigKeyCompartmentRequest
|
|
277
284
|
* @return ChangeTsigKeyCompartmentResponse
|
|
278
285
|
* @throws OciError when an error occurs
|
|
279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ChangeTsigKeyCompartment.ts.html |here} to see how to use ChangeTsigKeyCompartment API.
|
|
280
287
|
*/
|
|
281
288
|
changeTsigKeyCompartment(changeTsigKeyCompartmentRequest) {
|
|
282
289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -294,7 +301,7 @@ class DnsClient {
|
|
|
294
301
|
"opc-retry-token": changeTsigKeyCompartmentRequest.opcRetryToken,
|
|
295
302
|
"opc-request-id": changeTsigKeyCompartmentRequest.opcRequestId
|
|
296
303
|
};
|
|
297
|
-
const specRetryConfiguration = common.
|
|
304
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
298
305
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeTsigKeyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
299
306
|
if (this.logger)
|
|
300
307
|
retrier.logger = this.logger;
|
|
@@ -328,15 +335,16 @@ class DnsClient {
|
|
|
328
335
|
});
|
|
329
336
|
}
|
|
330
337
|
/**
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
* Moves a view into a different compartment.
|
|
339
|
+
* <p>
|
|
340
|
+
To change the compartment of a protected view, change the compartment of its corresponding resolver.
|
|
341
|
+
*
|
|
342
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
343
|
+
* @param ChangeViewCompartmentRequest
|
|
344
|
+
* @return ChangeViewCompartmentResponse
|
|
345
|
+
* @throws OciError when an error occurs
|
|
346
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ChangeViewCompartment.ts.html |here} to see how to use ChangeViewCompartment API.
|
|
347
|
+
*/
|
|
340
348
|
changeViewCompartment(changeViewCompartmentRequest) {
|
|
341
349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
342
350
|
if (this.logger)
|
|
@@ -353,7 +361,7 @@ class DnsClient {
|
|
|
353
361
|
"opc-retry-token": changeViewCompartmentRequest.opcRetryToken,
|
|
354
362
|
"opc-request-id": changeViewCompartmentRequest.opcRequestId
|
|
355
363
|
};
|
|
356
|
-
const specRetryConfiguration = common.
|
|
364
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
357
365
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeViewCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
358
366
|
if (this.logger)
|
|
359
367
|
retrier.logger = this.logger;
|
|
@@ -392,18 +400,21 @@ class DnsClient {
|
|
|
392
400
|
});
|
|
393
401
|
}
|
|
394
402
|
/**
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
403
|
+
* Moves a zone into a different compartment.
|
|
404
|
+
* <p>
|
|
405
|
+
Protected zones cannot have their compartment changed. When the zone name is provided as a path
|
|
406
|
+
* parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is
|
|
407
|
+
* required.
|
|
408
|
+
* <p>
|
|
409
|
+
**Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into
|
|
410
|
+
* the provided compartment.
|
|
411
|
+
*
|
|
412
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
413
|
+
* @param ChangeZoneCompartmentRequest
|
|
414
|
+
* @return ChangeZoneCompartmentResponse
|
|
415
|
+
* @throws OciError when an error occurs
|
|
416
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ChangeZoneCompartment.ts.html |here} to see how to use ChangeZoneCompartment API.
|
|
417
|
+
*/
|
|
407
418
|
changeZoneCompartment(changeZoneCompartmentRequest) {
|
|
408
419
|
return __awaiter(this, void 0, void 0, function* () {
|
|
409
420
|
if (this.logger)
|
|
@@ -420,7 +431,7 @@ class DnsClient {
|
|
|
420
431
|
"opc-retry-token": changeZoneCompartmentRequest.opcRetryToken,
|
|
421
432
|
"opc-request-id": changeZoneCompartmentRequest.opcRequestId
|
|
422
433
|
};
|
|
423
|
-
const specRetryConfiguration = common.
|
|
434
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
424
435
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeZoneCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
425
436
|
if (this.logger)
|
|
426
437
|
retrier.logger = this.logger;
|
|
@@ -459,13 +470,13 @@ class DnsClient {
|
|
|
459
470
|
});
|
|
460
471
|
}
|
|
461
472
|
/**
|
|
462
|
-
* Creates a new resolver endpoint
|
|
473
|
+
* Creates a new resolver endpoint in the same compartment as the resolver.
|
|
463
474
|
*
|
|
464
|
-
* This operation
|
|
475
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
465
476
|
* @param CreateResolverEndpointRequest
|
|
466
477
|
* @return CreateResolverEndpointResponse
|
|
467
478
|
* @throws OciError when an error occurs
|
|
468
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
479
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/CreateResolverEndpoint.ts.html |here} to see how to use CreateResolverEndpoint API.
|
|
469
480
|
*/
|
|
470
481
|
createResolverEndpoint(createResolverEndpointRequest) {
|
|
471
482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -482,7 +493,7 @@ class DnsClient {
|
|
|
482
493
|
"opc-retry-token": createResolverEndpointRequest.opcRetryToken,
|
|
483
494
|
"opc-request-id": createResolverEndpointRequest.opcRequestId
|
|
484
495
|
};
|
|
485
|
-
const specRetryConfiguration = common.
|
|
496
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
486
497
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
487
498
|
if (this.logger)
|
|
488
499
|
retrier.logger = this.logger;
|
|
@@ -538,11 +549,11 @@ class DnsClient {
|
|
|
538
549
|
* Creates a new steering policy in the specified compartment. For more information on
|
|
539
550
|
* creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
|
|
540
551
|
*
|
|
541
|
-
* This operation
|
|
552
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
542
553
|
* @param CreateSteeringPolicyRequest
|
|
543
554
|
* @return CreateSteeringPolicyResponse
|
|
544
555
|
* @throws OciError when an error occurs
|
|
545
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
556
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/CreateSteeringPolicy.ts.html |here} to see how to use CreateSteeringPolicy API.
|
|
546
557
|
*/
|
|
547
558
|
createSteeringPolicy(createSteeringPolicyRequest) {
|
|
548
559
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -557,7 +568,7 @@ class DnsClient {
|
|
|
557
568
|
"opc-retry-token": createSteeringPolicyRequest.opcRetryToken,
|
|
558
569
|
"opc-request-id": createSteeringPolicyRequest.opcRequestId
|
|
559
570
|
};
|
|
560
|
-
const specRetryConfiguration = common.
|
|
571
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
561
572
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
562
573
|
if (this.logger)
|
|
563
574
|
retrier.logger = this.logger;
|
|
@@ -612,11 +623,11 @@ class DnsClient {
|
|
|
612
623
|
For the purposes of access control, the attachment is automatically placed
|
|
613
624
|
* into the same compartment as the domain's zone.
|
|
614
625
|
*
|
|
615
|
-
* This operation
|
|
626
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
616
627
|
* @param CreateSteeringPolicyAttachmentRequest
|
|
617
628
|
* @return CreateSteeringPolicyAttachmentResponse
|
|
618
629
|
* @throws OciError when an error occurs
|
|
619
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
630
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/CreateSteeringPolicyAttachment.ts.html |here} to see how to use CreateSteeringPolicyAttachment API.
|
|
620
631
|
*/
|
|
621
632
|
createSteeringPolicyAttachment(createSteeringPolicyAttachmentRequest) {
|
|
622
633
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -631,7 +642,7 @@ class DnsClient {
|
|
|
631
642
|
"opc-retry-token": createSteeringPolicyAttachmentRequest.opcRetryToken,
|
|
632
643
|
"opc-request-id": createSteeringPolicyAttachmentRequest.opcRequestId
|
|
633
644
|
};
|
|
634
|
-
const specRetryConfiguration = common.
|
|
645
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
635
646
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
636
647
|
if (this.logger)
|
|
637
648
|
retrier.logger = this.logger;
|
|
@@ -682,11 +693,11 @@ class DnsClient {
|
|
|
682
693
|
* Creates a new TSIG key in the specified compartment. There is no
|
|
683
694
|
* `opc-retry-token` header since TSIG key names must be globally unique.
|
|
684
695
|
*
|
|
685
|
-
* This operation
|
|
696
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
686
697
|
* @param CreateTsigKeyRequest
|
|
687
698
|
* @return CreateTsigKeyResponse
|
|
688
699
|
* @throws OciError when an error occurs
|
|
689
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
700
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/CreateTsigKey.ts.html |here} to see how to use CreateTsigKey API.
|
|
690
701
|
*/
|
|
691
702
|
createTsigKey(createTsigKeyRequest) {
|
|
692
703
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -700,7 +711,7 @@ class DnsClient {
|
|
|
700
711
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
701
712
|
"opc-request-id": createTsigKeyRequest.opcRequestId
|
|
702
713
|
};
|
|
703
|
-
const specRetryConfiguration = common.
|
|
714
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
704
715
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
705
716
|
if (this.logger)
|
|
706
717
|
retrier.logger = this.logger;
|
|
@@ -753,13 +764,13 @@ class DnsClient {
|
|
|
753
764
|
});
|
|
754
765
|
}
|
|
755
766
|
/**
|
|
756
|
-
* Creates a new view in the specified compartment.
|
|
767
|
+
* Creates a new view in the specified compartment.
|
|
757
768
|
*
|
|
758
|
-
* This operation
|
|
769
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
759
770
|
* @param CreateViewRequest
|
|
760
771
|
* @return CreateViewResponse
|
|
761
772
|
* @throws OciError when an error occurs
|
|
762
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
773
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/CreateView.ts.html |here} to see how to use CreateView API.
|
|
763
774
|
*/
|
|
764
775
|
createView(createViewRequest) {
|
|
765
776
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -774,7 +785,7 @@ class DnsClient {
|
|
|
774
785
|
"opc-retry-token": createViewRequest.opcRetryToken,
|
|
775
786
|
"opc-request-id": createViewRequest.opcRequestId
|
|
776
787
|
};
|
|
777
|
-
const specRetryConfiguration = common.
|
|
788
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
778
789
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createViewRequest.retryConfiguration, specRetryConfiguration);
|
|
779
790
|
if (this.logger)
|
|
780
791
|
retrier.logger = this.logger;
|
|
@@ -827,18 +838,17 @@ class DnsClient {
|
|
|
827
838
|
});
|
|
828
839
|
}
|
|
829
840
|
/**
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
*/
|
|
841
|
+
* Creates a new zone in the specified compartment.
|
|
842
|
+
* <p>
|
|
843
|
+
Private zones must have a zone type of `PRIMARY`. Creating a private zone at or under `oraclevcn.com`
|
|
844
|
+
* within the default protected view of a VCN-dedicated resolver is not permitted.
|
|
845
|
+
*
|
|
846
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
847
|
+
* @param CreateZoneRequest
|
|
848
|
+
* @return CreateZoneResponse
|
|
849
|
+
* @throws OciError when an error occurs
|
|
850
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/CreateZone.ts.html |here} to see how to use CreateZone API.
|
|
851
|
+
*/
|
|
842
852
|
createZone(createZoneRequest) {
|
|
843
853
|
return __awaiter(this, void 0, void 0, function* () {
|
|
844
854
|
if (this.logger)
|
|
@@ -906,16 +916,17 @@ class DnsClient {
|
|
|
906
916
|
});
|
|
907
917
|
}
|
|
908
918
|
/**
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
+
* Deletes all records at the specified zone and domain.
|
|
920
|
+
* <p>
|
|
921
|
+
When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter
|
|
922
|
+
* then the viewId query parameter is required.
|
|
923
|
+
*
|
|
924
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
925
|
+
* @param DeleteDomainRecordsRequest
|
|
926
|
+
* @return DeleteDomainRecordsResponse
|
|
927
|
+
* @throws OciError when an error occurs
|
|
928
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/DeleteDomainRecords.ts.html |here} to see how to use DeleteDomainRecords API.
|
|
929
|
+
*/
|
|
919
930
|
deleteDomainRecords(deleteDomainRecordsRequest) {
|
|
920
931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
921
932
|
if (this.logger)
|
|
@@ -935,7 +946,7 @@ class DnsClient {
|
|
|
935
946
|
"If-Unmodified-Since": deleteDomainRecordsRequest.ifUnmodifiedSince,
|
|
936
947
|
"opc-request-id": deleteDomainRecordsRequest.opcRequestId
|
|
937
948
|
};
|
|
938
|
-
const specRetryConfiguration = common.
|
|
949
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
939
950
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
940
951
|
if (this.logger)
|
|
941
952
|
retrier.logger = this.logger;
|
|
@@ -968,16 +979,17 @@ class DnsClient {
|
|
|
968
979
|
});
|
|
969
980
|
}
|
|
970
981
|
/**
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
982
|
+
* Deletes all records in the specified RRSet.
|
|
983
|
+
* <p>
|
|
984
|
+
When the zone name is provided as a path parameter and `PRIVATE` is used for the scope
|
|
985
|
+
* query parameter then the viewId query parameter is required.
|
|
986
|
+
*
|
|
987
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
988
|
+
* @param DeleteRRSetRequest
|
|
989
|
+
* @return DeleteRRSetResponse
|
|
990
|
+
* @throws OciError when an error occurs
|
|
991
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/DeleteRRSet.ts.html |here} to see how to use DeleteRRSet API.
|
|
992
|
+
*/
|
|
981
993
|
deleteRRSet(deleteRRSetRequest) {
|
|
982
994
|
return __awaiter(this, void 0, void 0, function* () {
|
|
983
995
|
if (this.logger)
|
|
@@ -998,7 +1010,7 @@ class DnsClient {
|
|
|
998
1010
|
"If-Unmodified-Since": deleteRRSetRequest.ifUnmodifiedSince,
|
|
999
1011
|
"opc-request-id": deleteRRSetRequest.opcRequestId
|
|
1000
1012
|
};
|
|
1001
|
-
const specRetryConfiguration = common.
|
|
1013
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1002
1014
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1003
1015
|
if (this.logger)
|
|
1004
1016
|
retrier.logger = this.logger;
|
|
@@ -1031,17 +1043,18 @@ class DnsClient {
|
|
|
1031
1043
|
});
|
|
1032
1044
|
}
|
|
1033
1045
|
/**
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1046
|
+
* Deletes the specified resolver endpoint.
|
|
1047
|
+
* <p>
|
|
1048
|
+
Note that attempting to delete a resolver endpoint in the DELETED lifecycle state will result in
|
|
1049
|
+
* a `404` response to be consistent with other operations of the API. Resolver endpoints may not
|
|
1050
|
+
* be deleted if they are referenced by a resolver rule.
|
|
1051
|
+
*
|
|
1052
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1053
|
+
* @param DeleteResolverEndpointRequest
|
|
1054
|
+
* @return DeleteResolverEndpointResponse
|
|
1055
|
+
* @throws OciError when an error occurs
|
|
1056
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/DeleteResolverEndpoint.ts.html |here} to see how to use DeleteResolverEndpoint API.
|
|
1057
|
+
*/
|
|
1045
1058
|
deleteResolverEndpoint(deleteResolverEndpointRequest) {
|
|
1046
1059
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1047
1060
|
if (this.logger)
|
|
@@ -1059,7 +1072,7 @@ class DnsClient {
|
|
|
1059
1072
|
"If-Unmodified-Since": deleteResolverEndpointRequest.ifUnmodifiedSince,
|
|
1060
1073
|
"opc-request-id": deleteResolverEndpointRequest.opcRequestId
|
|
1061
1074
|
};
|
|
1062
|
-
const specRetryConfiguration = common.
|
|
1075
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1063
1076
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1064
1077
|
if (this.logger)
|
|
1065
1078
|
retrier.logger = this.logger;
|
|
@@ -1097,17 +1110,18 @@ class DnsClient {
|
|
|
1097
1110
|
});
|
|
1098
1111
|
}
|
|
1099
1112
|
/**
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1113
|
+
* Deletes the specified steering policy.
|
|
1114
|
+
* <p>
|
|
1115
|
+
A `204` response indicates that the delete has been successful.
|
|
1116
|
+
* Deletion will fail if the policy is attached to any zones. To detach a
|
|
1117
|
+
* policy from a zone, see `DeleteSteeringPolicyAttachment`.
|
|
1118
|
+
*
|
|
1119
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1120
|
+
* @param DeleteSteeringPolicyRequest
|
|
1121
|
+
* @return DeleteSteeringPolicyResponse
|
|
1122
|
+
* @throws OciError when an error occurs
|
|
1123
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/DeleteSteeringPolicy.ts.html |here} to see how to use DeleteSteeringPolicy API.
|
|
1124
|
+
*/
|
|
1111
1125
|
deleteSteeringPolicy(deleteSteeringPolicyRequest) {
|
|
1112
1126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1113
1127
|
if (this.logger)
|
|
@@ -1124,7 +1138,7 @@ class DnsClient {
|
|
|
1124
1138
|
"If-Unmodified-Since": deleteSteeringPolicyRequest.ifUnmodifiedSince,
|
|
1125
1139
|
"opc-request-id": deleteSteeringPolicyRequest.opcRequestId
|
|
1126
1140
|
};
|
|
1127
|
-
const specRetryConfiguration = common.
|
|
1141
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1128
1142
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1129
1143
|
if (this.logger)
|
|
1130
1144
|
retrier.logger = this.logger;
|
|
@@ -1160,11 +1174,11 @@ class DnsClient {
|
|
|
1160
1174
|
* Deletes the specified steering policy attachment.
|
|
1161
1175
|
* A `204` response indicates that the delete has been successful.
|
|
1162
1176
|
*
|
|
1163
|
-
* This operation
|
|
1177
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1164
1178
|
* @param DeleteSteeringPolicyAttachmentRequest
|
|
1165
1179
|
* @return DeleteSteeringPolicyAttachmentResponse
|
|
1166
1180
|
* @throws OciError when an error occurs
|
|
1167
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1181
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/DeleteSteeringPolicyAttachment.ts.html |here} to see how to use DeleteSteeringPolicyAttachment API.
|
|
1168
1182
|
*/
|
|
1169
1183
|
deleteSteeringPolicyAttachment(deleteSteeringPolicyAttachmentRequest) {
|
|
1170
1184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1182,7 +1196,7 @@ class DnsClient {
|
|
|
1182
1196
|
"If-Unmodified-Since": deleteSteeringPolicyAttachmentRequest.ifUnmodifiedSince,
|
|
1183
1197
|
"opc-request-id": deleteSteeringPolicyAttachmentRequest.opcRequestId
|
|
1184
1198
|
};
|
|
1185
|
-
const specRetryConfiguration = common.
|
|
1199
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1186
1200
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1187
1201
|
if (this.logger)
|
|
1188
1202
|
retrier.logger = this.logger;
|
|
@@ -1217,11 +1231,11 @@ class DnsClient {
|
|
|
1217
1231
|
/**
|
|
1218
1232
|
* Deletes the specified TSIG key.
|
|
1219
1233
|
*
|
|
1220
|
-
* This operation
|
|
1234
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1221
1235
|
* @param DeleteTsigKeyRequest
|
|
1222
1236
|
* @return DeleteTsigKeyResponse
|
|
1223
1237
|
* @throws OciError when an error occurs
|
|
1224
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/DeleteTsigKey.ts.html |here} to see how to use DeleteTsigKey API.
|
|
1225
1239
|
*/
|
|
1226
1240
|
deleteTsigKey(deleteTsigKeyRequest) {
|
|
1227
1241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1239,7 +1253,7 @@ class DnsClient {
|
|
|
1239
1253
|
"If-Unmodified-Since": deleteTsigKeyRequest.ifUnmodifiedSince,
|
|
1240
1254
|
"opc-request-id": deleteTsigKeyRequest.opcRequestId
|
|
1241
1255
|
};
|
|
1242
|
-
const specRetryConfiguration = common.
|
|
1256
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1243
1257
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1244
1258
|
if (this.logger)
|
|
1245
1259
|
retrier.logger = this.logger;
|
|
@@ -1277,18 +1291,19 @@ class DnsClient {
|
|
|
1277
1291
|
});
|
|
1278
1292
|
}
|
|
1279
1293
|
/**
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1294
|
+
* Deletes the specified view.
|
|
1295
|
+
* <p>
|
|
1296
|
+
Note that attempting to delete a view in the DELETED lifecycleState will result in a `404`
|
|
1297
|
+
* response to be consistent with other operations of the API. Views cannot be
|
|
1298
|
+
* deleted if they are referenced by non-deleted zones or resolvers.
|
|
1299
|
+
* Protected views cannot be deleted.
|
|
1300
|
+
*
|
|
1301
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1302
|
+
* @param DeleteViewRequest
|
|
1303
|
+
* @return DeleteViewResponse
|
|
1304
|
+
* @throws OciError when an error occurs
|
|
1305
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/DeleteView.ts.html |here} to see how to use DeleteView API.
|
|
1306
|
+
*/
|
|
1292
1307
|
deleteView(deleteViewRequest) {
|
|
1293
1308
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1294
1309
|
if (this.logger)
|
|
@@ -1305,7 +1320,7 @@ class DnsClient {
|
|
|
1305
1320
|
"If-Unmodified-Since": deleteViewRequest.ifUnmodifiedSince,
|
|
1306
1321
|
"opc-request-id": deleteViewRequest.opcRequestId
|
|
1307
1322
|
};
|
|
1308
|
-
const specRetryConfiguration = common.
|
|
1323
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1309
1324
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteViewRequest.retryConfiguration, specRetryConfiguration);
|
|
1310
1325
|
if (this.logger)
|
|
1311
1326
|
retrier.logger = this.logger;
|
|
@@ -1343,17 +1358,18 @@ class DnsClient {
|
|
|
1343
1358
|
});
|
|
1344
1359
|
}
|
|
1345
1360
|
/**
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1361
|
+
* Deletes the specified zone and all its steering policy attachments.
|
|
1362
|
+
* <p>
|
|
1363
|
+
A `204` response indicates that the zone has been successfully deleted. Protected zones cannot be deleted.
|
|
1364
|
+
* When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter
|
|
1365
|
+
* then the viewId query parameter is required.
|
|
1366
|
+
*
|
|
1367
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1368
|
+
* @param DeleteZoneRequest
|
|
1369
|
+
* @return DeleteZoneResponse
|
|
1370
|
+
* @throws OciError when an error occurs
|
|
1371
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/DeleteZone.ts.html |here} to see how to use DeleteZone API.
|
|
1372
|
+
*/
|
|
1357
1373
|
deleteZone(deleteZoneRequest) {
|
|
1358
1374
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1359
1375
|
if (this.logger)
|
|
@@ -1410,18 +1426,18 @@ class DnsClient {
|
|
|
1410
1426
|
});
|
|
1411
1427
|
}
|
|
1412
1428
|
/**
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1429
|
+
* Gets a list of all records at the specified zone and domain.
|
|
1430
|
+
* <p>
|
|
1431
|
+
The results are sorted by `rtype` in alphabetical order by default. You can optionally filter and/or sort
|
|
1432
|
+
* the results using the listed parameters. When the zone name is provided as a path parameter and `PRIVATE`
|
|
1433
|
+
* is used for the scope query parameter then the viewId query parameter is required.
|
|
1434
|
+
*
|
|
1435
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1436
|
+
* @param GetDomainRecordsRequest
|
|
1437
|
+
* @return GetDomainRecordsResponse
|
|
1438
|
+
* @throws OciError when an error occurs
|
|
1439
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetDomainRecords.ts.html |here} to see how to use GetDomainRecords API.
|
|
1440
|
+
*/
|
|
1425
1441
|
getDomainRecords(getDomainRecordsRequest) {
|
|
1426
1442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1427
1443
|
if (this.logger)
|
|
@@ -1447,7 +1463,7 @@ class DnsClient {
|
|
|
1447
1463
|
"If-Modified-Since": getDomainRecordsRequest.ifModifiedSince,
|
|
1448
1464
|
"opc-request-id": getDomainRecordsRequest.opcRequestId
|
|
1449
1465
|
};
|
|
1450
|
-
const specRetryConfiguration = common.
|
|
1466
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1451
1467
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
1452
1468
|
if (this.logger)
|
|
1453
1469
|
retrier.logger = this.logger;
|
|
@@ -1539,17 +1555,17 @@ class DnsClient {
|
|
|
1539
1555
|
return oci_common_1.genericPaginateResponses(request, req => this.getDomainRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
1540
1556
|
}
|
|
1541
1557
|
/**
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1558
|
+
* Gets a list of all records in the specified RRSet.
|
|
1559
|
+
* <p>
|
|
1560
|
+
The results are sorted by `recordHash` by default. When the zone name is provided as a path parameter
|
|
1561
|
+
* and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
|
|
1562
|
+
*
|
|
1563
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1564
|
+
* @param GetRRSetRequest
|
|
1565
|
+
* @return GetRRSetResponse
|
|
1566
|
+
* @throws OciError when an error occurs
|
|
1567
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetRRSet.ts.html |here} to see how to use GetRRSet API.
|
|
1568
|
+
*/
|
|
1553
1569
|
getRRSet(getRRSetRequest) {
|
|
1554
1570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1555
1571
|
if (this.logger)
|
|
@@ -1573,7 +1589,7 @@ class DnsClient {
|
|
|
1573
1589
|
"If-Modified-Since": getRRSetRequest.ifModifiedSince,
|
|
1574
1590
|
"opc-request-id": getRRSetRequest.opcRequestId
|
|
1575
1591
|
};
|
|
1576
|
-
const specRetryConfiguration = common.
|
|
1592
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1577
1593
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1578
1594
|
if (this.logger)
|
|
1579
1595
|
retrier.logger = this.logger;
|
|
@@ -1665,16 +1681,17 @@ class DnsClient {
|
|
|
1665
1681
|
return oci_common_1.genericPaginateResponses(request, req => this.getRRSet(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
1666
1682
|
}
|
|
1667
1683
|
/**
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1684
|
+
* Gets information about a specific resolver.
|
|
1685
|
+
* <p>
|
|
1686
|
+
Note that attempting to get a resolver in the DELETED lifecycleState will result in a `404`
|
|
1687
|
+
* response to be consistent with other operations of the API.
|
|
1688
|
+
*
|
|
1689
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1690
|
+
* @param GetResolverRequest
|
|
1691
|
+
* @return GetResolverResponse
|
|
1692
|
+
* @throws OciError when an error occurs
|
|
1693
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetResolver.ts.html |here} to see how to use GetResolver API.
|
|
1694
|
+
*/
|
|
1678
1695
|
getResolver(getResolverRequest) {
|
|
1679
1696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1680
1697
|
if (this.logger)
|
|
@@ -1691,7 +1708,7 @@ class DnsClient {
|
|
|
1691
1708
|
"If-None-Match": getResolverRequest.ifNoneMatch,
|
|
1692
1709
|
"opc-request-id": getResolverRequest.opcRequestId
|
|
1693
1710
|
};
|
|
1694
|
-
const specRetryConfiguration = common.
|
|
1711
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1695
1712
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverRequest.retryConfiguration, specRetryConfiguration);
|
|
1696
1713
|
if (this.logger)
|
|
1697
1714
|
retrier.logger = this.logger;
|
|
@@ -1733,16 +1750,17 @@ class DnsClient {
|
|
|
1733
1750
|
});
|
|
1734
1751
|
}
|
|
1735
1752
|
/**
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1753
|
+
* Gets information about a specific resolver endpoint.
|
|
1754
|
+
* <p>
|
|
1755
|
+
Note that attempting to get a resolver endpoint in the DELETED lifecycle state will result
|
|
1756
|
+
* in a `404` response to be consistent with other operations of the API.
|
|
1757
|
+
*
|
|
1758
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1759
|
+
* @param GetResolverEndpointRequest
|
|
1760
|
+
* @return GetResolverEndpointResponse
|
|
1761
|
+
* @throws OciError when an error occurs
|
|
1762
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetResolverEndpoint.ts.html |here} to see how to use GetResolverEndpoint API.
|
|
1763
|
+
*/
|
|
1746
1764
|
getResolverEndpoint(getResolverEndpointRequest) {
|
|
1747
1765
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1748
1766
|
if (this.logger)
|
|
@@ -1760,7 +1778,7 @@ class DnsClient {
|
|
|
1760
1778
|
"If-None-Match": getResolverEndpointRequest.ifNoneMatch,
|
|
1761
1779
|
"opc-request-id": getResolverEndpointRequest.opcRequestId
|
|
1762
1780
|
};
|
|
1763
|
-
const specRetryConfiguration = common.
|
|
1781
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1764
1782
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1765
1783
|
if (this.logger)
|
|
1766
1784
|
retrier.logger = this.logger;
|
|
@@ -1804,11 +1822,11 @@ class DnsClient {
|
|
|
1804
1822
|
/**
|
|
1805
1823
|
* Gets information about the specified steering policy.
|
|
1806
1824
|
*
|
|
1807
|
-
* This operation
|
|
1825
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1808
1826
|
* @param GetSteeringPolicyRequest
|
|
1809
1827
|
* @return GetSteeringPolicyResponse
|
|
1810
1828
|
* @throws OciError when an error occurs
|
|
1811
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1829
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetSteeringPolicy.ts.html |here} to see how to use GetSteeringPolicy API.
|
|
1812
1830
|
*/
|
|
1813
1831
|
getSteeringPolicy(getSteeringPolicyRequest) {
|
|
1814
1832
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1826,7 +1844,7 @@ class DnsClient {
|
|
|
1826
1844
|
"If-Modified-Since": getSteeringPolicyRequest.ifModifiedSince,
|
|
1827
1845
|
"opc-request-id": getSteeringPolicyRequest.opcRequestId
|
|
1828
1846
|
};
|
|
1829
|
-
const specRetryConfiguration = common.
|
|
1847
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1830
1848
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1831
1849
|
if (this.logger)
|
|
1832
1850
|
retrier.logger = this.logger;
|
|
@@ -1870,11 +1888,11 @@ class DnsClient {
|
|
|
1870
1888
|
/**
|
|
1871
1889
|
* Gets information about the specified steering policy attachment.
|
|
1872
1890
|
*
|
|
1873
|
-
* This operation
|
|
1891
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1874
1892
|
* @param GetSteeringPolicyAttachmentRequest
|
|
1875
1893
|
* @return GetSteeringPolicyAttachmentResponse
|
|
1876
1894
|
* @throws OciError when an error occurs
|
|
1877
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1895
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetSteeringPolicyAttachment.ts.html |here} to see how to use GetSteeringPolicyAttachment API.
|
|
1878
1896
|
*/
|
|
1879
1897
|
getSteeringPolicyAttachment(getSteeringPolicyAttachmentRequest) {
|
|
1880
1898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1892,7 +1910,7 @@ class DnsClient {
|
|
|
1892
1910
|
"If-Modified-Since": getSteeringPolicyAttachmentRequest.ifModifiedSince,
|
|
1893
1911
|
"opc-request-id": getSteeringPolicyAttachmentRequest.opcRequestId
|
|
1894
1912
|
};
|
|
1895
|
-
const specRetryConfiguration = common.
|
|
1913
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1896
1914
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1897
1915
|
if (this.logger)
|
|
1898
1916
|
retrier.logger = this.logger;
|
|
@@ -1936,11 +1954,11 @@ class DnsClient {
|
|
|
1936
1954
|
/**
|
|
1937
1955
|
* Gets information about the specified TSIG key.
|
|
1938
1956
|
*
|
|
1939
|
-
* This operation
|
|
1957
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1940
1958
|
* @param GetTsigKeyRequest
|
|
1941
1959
|
* @return GetTsigKeyResponse
|
|
1942
1960
|
* @throws OciError when an error occurs
|
|
1943
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1961
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetTsigKey.ts.html |here} to see how to use GetTsigKey API.
|
|
1944
1962
|
*/
|
|
1945
1963
|
getTsigKey(getTsigKeyRequest) {
|
|
1946
1964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1958,7 +1976,7 @@ class DnsClient {
|
|
|
1958
1976
|
"If-Modified-Since": getTsigKeyRequest.ifModifiedSince,
|
|
1959
1977
|
"opc-request-id": getTsigKeyRequest.opcRequestId
|
|
1960
1978
|
};
|
|
1961
|
-
const specRetryConfiguration = common.
|
|
1979
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1962
1980
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1963
1981
|
if (this.logger)
|
|
1964
1982
|
retrier.logger = this.logger;
|
|
@@ -2000,16 +2018,18 @@ class DnsClient {
|
|
|
2000
2018
|
});
|
|
2001
2019
|
}
|
|
2002
2020
|
/**
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2021
|
+
* Gets information about a specific view.
|
|
2022
|
+
* <p>
|
|
2023
|
+
Note that attempting to get a
|
|
2024
|
+
* view in the DELETED lifecycleState will result in a `404` response to be
|
|
2025
|
+
* consistent with other operations of the API.
|
|
2026
|
+
*
|
|
2027
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2028
|
+
* @param GetViewRequest
|
|
2029
|
+
* @return GetViewResponse
|
|
2030
|
+
* @throws OciError when an error occurs
|
|
2031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetView.ts.html |here} to see how to use GetView API.
|
|
2032
|
+
*/
|
|
2013
2033
|
getView(getViewRequest) {
|
|
2014
2034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2015
2035
|
if (this.logger)
|
|
@@ -2026,7 +2046,7 @@ class DnsClient {
|
|
|
2026
2046
|
"If-None-Match": getViewRequest.ifNoneMatch,
|
|
2027
2047
|
"opc-request-id": getViewRequest.opcRequestId
|
|
2028
2048
|
};
|
|
2029
|
-
const specRetryConfiguration = common.
|
|
2049
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2030
2050
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getViewRequest.retryConfiguration, specRetryConfiguration);
|
|
2031
2051
|
if (this.logger)
|
|
2032
2052
|
retrier.logger = this.logger;
|
|
@@ -2068,16 +2088,17 @@ class DnsClient {
|
|
|
2068
2088
|
});
|
|
2069
2089
|
}
|
|
2070
2090
|
/**
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2091
|
+
* Gets information about the specified zone, including its creation date, zone type, and serial.
|
|
2092
|
+
* <p>
|
|
2093
|
+
When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query
|
|
2094
|
+
* parameter then the viewId query parameter is required.
|
|
2095
|
+
*
|
|
2096
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2097
|
+
* @param GetZoneRequest
|
|
2098
|
+
* @return GetZoneResponse
|
|
2099
|
+
* @throws OciError when an error occurs
|
|
2100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetZone.ts.html |here} to see how to use GetZone API.
|
|
2101
|
+
*/
|
|
2081
2102
|
getZone(getZoneRequest) {
|
|
2082
2103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2083
2104
|
if (this.logger)
|
|
@@ -2096,7 +2117,7 @@ class DnsClient {
|
|
|
2096
2117
|
"If-Modified-Since": getZoneRequest.ifModifiedSince,
|
|
2097
2118
|
"opc-request-id": getZoneRequest.opcRequestId
|
|
2098
2119
|
};
|
|
2099
|
-
const specRetryConfiguration = common.
|
|
2120
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2100
2121
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
2101
2122
|
if (this.logger)
|
|
2102
2123
|
retrier.logger = this.logger;
|
|
@@ -2140,11 +2161,11 @@ class DnsClient {
|
|
|
2140
2161
|
/**
|
|
2141
2162
|
* Gets the requested zone's zone file.
|
|
2142
2163
|
*
|
|
2143
|
-
* This operation
|
|
2164
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2144
2165
|
* @param GetZoneContentRequest
|
|
2145
2166
|
* @return GetZoneContentResponse
|
|
2146
2167
|
* @throws OciError when an error occurs
|
|
2147
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2168
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetZoneContent.ts.html |here} to see how to use GetZoneContent API.
|
|
2148
2169
|
*/
|
|
2149
2170
|
getZoneContent(getZoneContentRequest) {
|
|
2150
2171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2163,7 +2184,7 @@ class DnsClient {
|
|
|
2163
2184
|
"If-Modified-Since": getZoneContentRequest.ifModifiedSince,
|
|
2164
2185
|
"opc-request-id": getZoneContentRequest.opcRequestId
|
|
2165
2186
|
};
|
|
2166
|
-
const specRetryConfiguration = common.
|
|
2187
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2167
2188
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneContentRequest.retryConfiguration, specRetryConfiguration);
|
|
2168
2189
|
if (this.logger)
|
|
2169
2190
|
retrier.logger = this.logger;
|
|
@@ -2204,18 +2225,19 @@ class DnsClient {
|
|
|
2204
2225
|
});
|
|
2205
2226
|
}
|
|
2206
2227
|
/**
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2228
|
+
* Gets all records in the specified zone.
|
|
2229
|
+
* <p>
|
|
2230
|
+
The results are sorted by `domain` in alphabetical order by default. For more information about records,
|
|
2231
|
+
* see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
|
|
2232
|
+
* When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter
|
|
2233
|
+
* then the viewId query parameter is required.
|
|
2234
|
+
*
|
|
2235
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2236
|
+
* @param GetZoneRecordsRequest
|
|
2237
|
+
* @return GetZoneRecordsResponse
|
|
2238
|
+
* @throws OciError when an error occurs
|
|
2239
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/GetZoneRecords.ts.html |here} to see how to use GetZoneRecords API.
|
|
2240
|
+
*/
|
|
2219
2241
|
getZoneRecords(getZoneRecordsRequest) {
|
|
2220
2242
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2221
2243
|
if (this.logger)
|
|
@@ -2242,7 +2264,7 @@ class DnsClient {
|
|
|
2242
2264
|
"If-Modified-Since": getZoneRecordsRequest.ifModifiedSince,
|
|
2243
2265
|
"opc-request-id": getZoneRecordsRequest.opcRequestId
|
|
2244
2266
|
};
|
|
2245
|
-
const specRetryConfiguration = common.
|
|
2267
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2246
2268
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
2247
2269
|
if (this.logger)
|
|
2248
2270
|
retrier.logger = this.logger;
|
|
@@ -2337,13 +2359,13 @@ class DnsClient {
|
|
|
2337
2359
|
* Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state.
|
|
2338
2360
|
* It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState
|
|
2339
2361
|
* query parameter is provided, the collection does not include resolver endpoints in the DELETED
|
|
2340
|
-
* lifecycle state to be consistent with other operations of the API.
|
|
2362
|
+
* lifecycle state to be consistent with other operations of the API.
|
|
2341
2363
|
*
|
|
2342
|
-
* This operation
|
|
2364
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2343
2365
|
* @param ListResolverEndpointsRequest
|
|
2344
2366
|
* @return ListResolverEndpointsResponse
|
|
2345
2367
|
* @throws OciError when an error occurs
|
|
2346
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2368
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ListResolverEndpoints.ts.html |here} to see how to use ListResolverEndpoints API.
|
|
2347
2369
|
*/
|
|
2348
2370
|
listResolverEndpoints(listResolverEndpointsRequest) {
|
|
2349
2371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2365,7 +2387,7 @@ class DnsClient {
|
|
|
2365
2387
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2366
2388
|
"opc-request-id": listResolverEndpointsRequest.opcRequestId
|
|
2367
2389
|
};
|
|
2368
|
-
const specRetryConfiguration = common.
|
|
2390
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2369
2391
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolverEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
2370
2392
|
if (this.logger)
|
|
2371
2393
|
retrier.logger = this.logger;
|
|
@@ -2447,19 +2469,19 @@ class DnsClient {
|
|
|
2447
2469
|
return oci_common_1.paginateResponses(request, req => this.listResolverEndpoints(req));
|
|
2448
2470
|
}
|
|
2449
2471
|
/**
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2472
|
+
* Gets a list of all resolvers within a compartment.
|
|
2473
|
+
* <p>
|
|
2474
|
+
The collection can be filtered by display name, id, or lifecycle state. It can be sorted
|
|
2475
|
+
* on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState
|
|
2476
|
+
* query parameter is provided, the collection does not include resolvers in the DELETED
|
|
2477
|
+
* lifecycleState to be consistent with other operations of the API.
|
|
2478
|
+
*
|
|
2479
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2480
|
+
* @param ListResolversRequest
|
|
2481
|
+
* @return ListResolversResponse
|
|
2482
|
+
* @throws OciError when an error occurs
|
|
2483
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ListResolvers.ts.html |here} to see how to use ListResolvers API.
|
|
2484
|
+
*/
|
|
2463
2485
|
listResolvers(listResolversRequest) {
|
|
2464
2486
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2465
2487
|
if (this.logger)
|
|
@@ -2480,7 +2502,7 @@ class DnsClient {
|
|
|
2480
2502
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2481
2503
|
"opc-request-id": listResolversRequest.opcRequestId
|
|
2482
2504
|
};
|
|
2483
|
-
const specRetryConfiguration = common.
|
|
2505
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2484
2506
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolversRequest.retryConfiguration, specRetryConfiguration);
|
|
2485
2507
|
if (this.logger)
|
|
2486
2508
|
retrier.logger = this.logger;
|
|
@@ -2564,11 +2586,11 @@ class DnsClient {
|
|
|
2564
2586
|
/**
|
|
2565
2587
|
* Gets a list of all steering policies in the specified compartment.
|
|
2566
2588
|
*
|
|
2567
|
-
* This operation
|
|
2589
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2568
2590
|
* @param ListSteeringPoliciesRequest
|
|
2569
2591
|
* @return ListSteeringPoliciesResponse
|
|
2570
2592
|
* @throws OciError when an error occurs
|
|
2571
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2593
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ListSteeringPolicies.ts.html |here} to see how to use ListSteeringPolicies API.
|
|
2572
2594
|
*/
|
|
2573
2595
|
listSteeringPolicies(listSteeringPoliciesRequest) {
|
|
2574
2596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2595,7 +2617,7 @@ class DnsClient {
|
|
|
2595
2617
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2596
2618
|
"opc-request-id": listSteeringPoliciesRequest.opcRequestId
|
|
2597
2619
|
};
|
|
2598
|
-
const specRetryConfiguration = common.
|
|
2620
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2599
2621
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
2600
2622
|
if (this.logger)
|
|
2601
2623
|
retrier.logger = this.logger;
|
|
@@ -2684,11 +2706,11 @@ class DnsClient {
|
|
|
2684
2706
|
/**
|
|
2685
2707
|
* Lists the steering policy attachments in the specified compartment.
|
|
2686
2708
|
*
|
|
2687
|
-
* This operation
|
|
2709
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2688
2710
|
* @param ListSteeringPolicyAttachmentsRequest
|
|
2689
2711
|
* @return ListSteeringPolicyAttachmentsResponse
|
|
2690
2712
|
* @throws OciError when an error occurs
|
|
2691
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2713
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ListSteeringPolicyAttachments.ts.html |here} to see how to use ListSteeringPolicyAttachments API.
|
|
2692
2714
|
*/
|
|
2693
2715
|
listSteeringPolicyAttachments(listSteeringPolicyAttachmentsRequest) {
|
|
2694
2716
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2716,7 +2738,7 @@ class DnsClient {
|
|
|
2716
2738
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2717
2739
|
"opc-request-id": listSteeringPolicyAttachmentsRequest.opcRequestId
|
|
2718
2740
|
};
|
|
2719
|
-
const specRetryConfiguration = common.
|
|
2741
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2720
2742
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPolicyAttachmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
2721
2743
|
if (this.logger)
|
|
2722
2744
|
retrier.logger = this.logger;
|
|
@@ -2805,11 +2827,11 @@ class DnsClient {
|
|
|
2805
2827
|
/**
|
|
2806
2828
|
* Gets a list of all TSIG keys in the specified compartment.
|
|
2807
2829
|
*
|
|
2808
|
-
* This operation
|
|
2830
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2809
2831
|
* @param ListTsigKeysRequest
|
|
2810
2832
|
* @return ListTsigKeysResponse
|
|
2811
2833
|
* @throws OciError when an error occurs
|
|
2812
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2834
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ListTsigKeys.ts.html |here} to see how to use ListTsigKeys API.
|
|
2813
2835
|
*/
|
|
2814
2836
|
listTsigKeys(listTsigKeysRequest) {
|
|
2815
2837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2831,7 +2853,7 @@ class DnsClient {
|
|
|
2831
2853
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2832
2854
|
"opc-request-id": listTsigKeysRequest.opcRequestId
|
|
2833
2855
|
};
|
|
2834
|
-
const specRetryConfiguration = common.
|
|
2856
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2835
2857
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTsigKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
2836
2858
|
if (this.logger)
|
|
2837
2859
|
retrier.logger = this.logger;
|
|
@@ -2913,19 +2935,19 @@ class DnsClient {
|
|
|
2913
2935
|
return oci_common_1.paginateResponses(request, req => this.listTsigKeys(req));
|
|
2914
2936
|
}
|
|
2915
2937
|
/**
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2938
|
+
* Gets a list of all views within a compartment.
|
|
2939
|
+
* <p>
|
|
2940
|
+
The collection can be filtered by display name, id, or lifecycle state. It can be sorted
|
|
2941
|
+
* on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState
|
|
2942
|
+
* query parameter is provided, the collection does not include views in the DELETED
|
|
2943
|
+
* lifecycleState to be consistent with other operations of the API.
|
|
2944
|
+
*
|
|
2945
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2946
|
+
* @param ListViewsRequest
|
|
2947
|
+
* @return ListViewsResponse
|
|
2948
|
+
* @throws OciError when an error occurs
|
|
2949
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ListViews.ts.html |here} to see how to use ListViews API.
|
|
2950
|
+
*/
|
|
2929
2951
|
listViews(listViewsRequest) {
|
|
2930
2952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2931
2953
|
if (this.logger)
|
|
@@ -2946,7 +2968,7 @@ class DnsClient {
|
|
|
2946
2968
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2947
2969
|
"opc-request-id": listViewsRequest.opcRequestId
|
|
2948
2970
|
};
|
|
2949
|
-
const specRetryConfiguration = common.
|
|
2971
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2950
2972
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listViewsRequest.retryConfiguration, specRetryConfiguration);
|
|
2951
2973
|
if (this.logger)
|
|
2952
2974
|
retrier.logger = this.logger;
|
|
@@ -3032,11 +3054,11 @@ class DnsClient {
|
|
|
3032
3054
|
* compartment (which must be the root compartment of a tenancy) that transfer zone data with external master or
|
|
3033
3055
|
* downstream nameservers.
|
|
3034
3056
|
*
|
|
3035
|
-
* This operation
|
|
3057
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3036
3058
|
* @param ListZoneTransferServersRequest
|
|
3037
3059
|
* @return ListZoneTransferServersResponse
|
|
3038
3060
|
* @throws OciError when an error occurs
|
|
3039
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3061
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ListZoneTransferServers.ts.html |here} to see how to use ListZoneTransferServers API.
|
|
3040
3062
|
*/
|
|
3041
3063
|
listZoneTransferServers(listZoneTransferServersRequest) {
|
|
3042
3064
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3052,7 +3074,7 @@ class DnsClient {
|
|
|
3052
3074
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3053
3075
|
"opc-request-id": listZoneTransferServersRequest.opcRequestId
|
|
3054
3076
|
};
|
|
3055
|
-
const specRetryConfiguration = common.
|
|
3077
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3056
3078
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZoneTransferServersRequest.retryConfiguration, specRetryConfiguration);
|
|
3057
3079
|
if (this.logger)
|
|
3058
3080
|
retrier.logger = this.logger;
|
|
@@ -3134,15 +3156,17 @@ class DnsClient {
|
|
|
3134
3156
|
return oci_common_1.paginateResponses(request, req => this.listZoneTransferServers(req));
|
|
3135
3157
|
}
|
|
3136
3158
|
/**
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3159
|
+
* Gets a list of all zones in the specified compartment.
|
|
3160
|
+
* <p>
|
|
3161
|
+
The collection can be filtered by name, time created, scope, associated view, and zone type.
|
|
3162
|
+
* Filtering by view is only supported for private zones.
|
|
3163
|
+
*
|
|
3164
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3165
|
+
* @param ListZonesRequest
|
|
3166
|
+
* @return ListZonesResponse
|
|
3167
|
+
* @throws OciError when an error occurs
|
|
3168
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/ListZones.ts.html |here} to see how to use ListZones API.
|
|
3169
|
+
*/
|
|
3146
3170
|
listZones(listZonesRequest) {
|
|
3147
3171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3148
3172
|
if (this.logger)
|
|
@@ -3168,7 +3192,7 @@ class DnsClient {
|
|
|
3168
3192
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3169
3193
|
"opc-request-id": listZonesRequest.opcRequestId
|
|
3170
3194
|
};
|
|
3171
|
-
const specRetryConfiguration = common.
|
|
3195
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3172
3196
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZonesRequest.retryConfiguration, specRetryConfiguration);
|
|
3173
3197
|
if (this.logger)
|
|
3174
3198
|
retrier.logger = this.logger;
|
|
@@ -3255,18 +3279,19 @@ class DnsClient {
|
|
|
3255
3279
|
return oci_common_1.paginateResponses(request, req => this.listZones(req));
|
|
3256
3280
|
}
|
|
3257
3281
|
/**
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3282
|
+
* Updates records in the specified zone at a domain.
|
|
3283
|
+
* <p>
|
|
3284
|
+
You can update one record or all records for the specified zone depending on the changes provided in the
|
|
3285
|
+
* request body. You can also add or remove records using this function. When the zone name is provided as
|
|
3286
|
+
* a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is
|
|
3287
|
+
* required.
|
|
3288
|
+
*
|
|
3289
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3290
|
+
* @param PatchDomainRecordsRequest
|
|
3291
|
+
* @return PatchDomainRecordsResponse
|
|
3292
|
+
* @throws OciError when an error occurs
|
|
3293
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/PatchDomainRecords.ts.html |here} to see how to use PatchDomainRecords API.
|
|
3294
|
+
*/
|
|
3270
3295
|
patchDomainRecords(patchDomainRecordsRequest) {
|
|
3271
3296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3272
3297
|
if (this.logger)
|
|
@@ -3286,7 +3311,7 @@ class DnsClient {
|
|
|
3286
3311
|
"If-Unmodified-Since": patchDomainRecordsRequest.ifUnmodifiedSince,
|
|
3287
3312
|
"opc-request-id": patchDomainRecordsRequest.opcRequestId
|
|
3288
3313
|
};
|
|
3289
|
-
const specRetryConfiguration = common.
|
|
3314
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3290
3315
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3291
3316
|
if (this.logger)
|
|
3292
3317
|
retrier.logger = this.logger;
|
|
@@ -3339,16 +3364,17 @@ class DnsClient {
|
|
|
3339
3364
|
});
|
|
3340
3365
|
}
|
|
3341
3366
|
/**
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3367
|
+
* Updates records in the specified RRSet.
|
|
3368
|
+
* <p>
|
|
3369
|
+
When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query
|
|
3370
|
+
* parameter then the viewId query parameter is required.
|
|
3371
|
+
*
|
|
3372
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3373
|
+
* @param PatchRRSetRequest
|
|
3374
|
+
* @return PatchRRSetResponse
|
|
3375
|
+
* @throws OciError when an error occurs
|
|
3376
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/PatchRRSet.ts.html |here} to see how to use PatchRRSet API.
|
|
3377
|
+
*/
|
|
3352
3378
|
patchRRSet(patchRRSetRequest) {
|
|
3353
3379
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3354
3380
|
if (this.logger)
|
|
@@ -3369,7 +3395,7 @@ class DnsClient {
|
|
|
3369
3395
|
"If-Unmodified-Since": patchRRSetRequest.ifUnmodifiedSince,
|
|
3370
3396
|
"opc-request-id": patchRRSetRequest.opcRequestId
|
|
3371
3397
|
};
|
|
3372
|
-
const specRetryConfiguration = common.
|
|
3398
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3373
3399
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
3374
3400
|
if (this.logger)
|
|
3375
3401
|
retrier.logger = this.logger;
|
|
@@ -3422,18 +3448,19 @@ class DnsClient {
|
|
|
3422
3448
|
});
|
|
3423
3449
|
}
|
|
3424
3450
|
/**
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3451
|
+
* Updates a collection of records in the specified zone.
|
|
3452
|
+
* <p>
|
|
3453
|
+
You can update one record or all records for the specified zone depending on the changes provided in the
|
|
3454
|
+
* request body. You can also add or remove records using this function. When the zone name is provided as
|
|
3455
|
+
* a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is
|
|
3456
|
+
* required.
|
|
3457
|
+
*
|
|
3458
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3459
|
+
* @param PatchZoneRecordsRequest
|
|
3460
|
+
* @return PatchZoneRecordsResponse
|
|
3461
|
+
* @throws OciError when an error occurs
|
|
3462
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/PatchZoneRecords.ts.html |here} to see how to use PatchZoneRecords API.
|
|
3463
|
+
*/
|
|
3437
3464
|
patchZoneRecords(patchZoneRecordsRequest) {
|
|
3438
3465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3439
3466
|
if (this.logger)
|
|
@@ -3452,7 +3479,7 @@ class DnsClient {
|
|
|
3452
3479
|
"If-Unmodified-Since": patchZoneRecordsRequest.ifUnmodifiedSince,
|
|
3453
3480
|
"opc-request-id": patchZoneRecordsRequest.opcRequestId
|
|
3454
3481
|
};
|
|
3455
|
-
const specRetryConfiguration = common.
|
|
3482
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3456
3483
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3457
3484
|
if (this.logger)
|
|
3458
3485
|
retrier.logger = this.logger;
|
|
@@ -3505,19 +3532,19 @@ class DnsClient {
|
|
|
3505
3532
|
});
|
|
3506
3533
|
}
|
|
3507
3534
|
/**
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3535
|
+
* Replaces records in the specified zone at a domain with the records specified in the request body.
|
|
3536
|
+
* <p>
|
|
3537
|
+
If a specified record does not exist, it will be created. If the record exists, then it will be updated to
|
|
3538
|
+
* represent the record in the body of the request. If a record in the zone does not exist in the request body,
|
|
3539
|
+
* the record will be removed from the zone. When the zone name is provided as a path parameter and `PRIVATE`
|
|
3540
|
+
* is used for the scope query parameter then the viewId query parameter is required.
|
|
3541
|
+
*
|
|
3542
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3543
|
+
* @param UpdateDomainRecordsRequest
|
|
3544
|
+
* @return UpdateDomainRecordsResponse
|
|
3545
|
+
* @throws OciError when an error occurs
|
|
3546
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateDomainRecords.ts.html |here} to see how to use UpdateDomainRecords API.
|
|
3547
|
+
*/
|
|
3521
3548
|
updateDomainRecords(updateDomainRecordsRequest) {
|
|
3522
3549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3523
3550
|
if (this.logger)
|
|
@@ -3537,7 +3564,7 @@ class DnsClient {
|
|
|
3537
3564
|
"If-Unmodified-Since": updateDomainRecordsRequest.ifUnmodifiedSince,
|
|
3538
3565
|
"opc-request-id": updateDomainRecordsRequest.opcRequestId
|
|
3539
3566
|
};
|
|
3540
|
-
const specRetryConfiguration = common.
|
|
3567
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3541
3568
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3542
3569
|
if (this.logger)
|
|
3543
3570
|
retrier.logger = this.logger;
|
|
@@ -3590,16 +3617,17 @@ class DnsClient {
|
|
|
3590
3617
|
});
|
|
3591
3618
|
}
|
|
3592
3619
|
/**
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3620
|
+
* Replaces records in the specified RRSet.
|
|
3621
|
+
* <p>
|
|
3622
|
+
When the zone name is provided as a path parameter and `PRIVATE` is used for the scope
|
|
3623
|
+
* query parameter then the viewId query parameter is required.
|
|
3624
|
+
*
|
|
3625
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3626
|
+
* @param UpdateRRSetRequest
|
|
3627
|
+
* @return UpdateRRSetResponse
|
|
3628
|
+
* @throws OciError when an error occurs
|
|
3629
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateRRSet.ts.html |here} to see how to use UpdateRRSet API.
|
|
3630
|
+
*/
|
|
3603
3631
|
updateRRSet(updateRRSetRequest) {
|
|
3604
3632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3605
3633
|
if (this.logger)
|
|
@@ -3620,7 +3648,7 @@ class DnsClient {
|
|
|
3620
3648
|
"If-Unmodified-Since": updateRRSetRequest.ifUnmodifiedSince,
|
|
3621
3649
|
"opc-request-id": updateRRSetRequest.opcRequestId
|
|
3622
3650
|
};
|
|
3623
|
-
const specRetryConfiguration = common.
|
|
3651
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3624
3652
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
3625
3653
|
if (this.logger)
|
|
3626
3654
|
retrier.logger = this.logger;
|
|
@@ -3673,13 +3701,13 @@ class DnsClient {
|
|
|
3673
3701
|
});
|
|
3674
3702
|
}
|
|
3675
3703
|
/**
|
|
3676
|
-
* Updates the specified resolver with your new information.
|
|
3704
|
+
* Updates the specified resolver with your new information.
|
|
3677
3705
|
*
|
|
3678
|
-
* This operation
|
|
3706
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3679
3707
|
* @param UpdateResolverRequest
|
|
3680
3708
|
* @return UpdateResolverResponse
|
|
3681
3709
|
* @throws OciError when an error occurs
|
|
3682
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3710
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateResolver.ts.html |here} to see how to use UpdateResolver API.
|
|
3683
3711
|
*/
|
|
3684
3712
|
updateResolver(updateResolverRequest) {
|
|
3685
3713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3697,7 +3725,7 @@ class DnsClient {
|
|
|
3697
3725
|
"If-Unmodified-Since": updateResolverRequest.ifUnmodifiedSince,
|
|
3698
3726
|
"opc-request-id": updateResolverRequest.opcRequestId
|
|
3699
3727
|
};
|
|
3700
|
-
const specRetryConfiguration = common.
|
|
3728
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3701
3729
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverRequest.retryConfiguration, specRetryConfiguration);
|
|
3702
3730
|
if (this.logger)
|
|
3703
3731
|
retrier.logger = this.logger;
|
|
@@ -3745,13 +3773,13 @@ class DnsClient {
|
|
|
3745
3773
|
});
|
|
3746
3774
|
}
|
|
3747
3775
|
/**
|
|
3748
|
-
* Updates the specified resolver endpoint with your new information.
|
|
3776
|
+
* Updates the specified resolver endpoint with your new information.
|
|
3749
3777
|
*
|
|
3750
|
-
* This operation
|
|
3778
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3751
3779
|
* @param UpdateResolverEndpointRequest
|
|
3752
3780
|
* @return UpdateResolverEndpointResponse
|
|
3753
3781
|
* @throws OciError when an error occurs
|
|
3754
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3782
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateResolverEndpoint.ts.html |here} to see how to use UpdateResolverEndpoint API.
|
|
3755
3783
|
*/
|
|
3756
3784
|
updateResolverEndpoint(updateResolverEndpointRequest) {
|
|
3757
3785
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3770,7 +3798,7 @@ class DnsClient {
|
|
|
3770
3798
|
"If-Unmodified-Since": updateResolverEndpointRequest.ifUnmodifiedSince,
|
|
3771
3799
|
"opc-request-id": updateResolverEndpointRequest.opcRequestId
|
|
3772
3800
|
};
|
|
3773
|
-
const specRetryConfiguration = common.
|
|
3801
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3774
3802
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
3775
3803
|
if (this.logger)
|
|
3776
3804
|
retrier.logger = this.logger;
|
|
@@ -3820,11 +3848,11 @@ class DnsClient {
|
|
|
3820
3848
|
/**
|
|
3821
3849
|
* Updates the configuration of the specified steering policy.
|
|
3822
3850
|
*
|
|
3823
|
-
* This operation
|
|
3851
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3824
3852
|
* @param UpdateSteeringPolicyRequest
|
|
3825
3853
|
* @return UpdateSteeringPolicyResponse
|
|
3826
3854
|
* @throws OciError when an error occurs
|
|
3827
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3855
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateSteeringPolicy.ts.html |here} to see how to use UpdateSteeringPolicy API.
|
|
3828
3856
|
*/
|
|
3829
3857
|
updateSteeringPolicy(updateSteeringPolicyRequest) {
|
|
3830
3858
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3842,7 +3870,7 @@ class DnsClient {
|
|
|
3842
3870
|
"If-Unmodified-Since": updateSteeringPolicyRequest.ifUnmodifiedSince,
|
|
3843
3871
|
"opc-request-id": updateSteeringPolicyRequest.opcRequestId
|
|
3844
3872
|
};
|
|
3845
|
-
const specRetryConfiguration = common.
|
|
3873
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3846
3874
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3847
3875
|
if (this.logger)
|
|
3848
3876
|
retrier.logger = this.logger;
|
|
@@ -3887,11 +3915,11 @@ class DnsClient {
|
|
|
3887
3915
|
/**
|
|
3888
3916
|
* Updates the specified steering policy attachment with your new information.
|
|
3889
3917
|
*
|
|
3890
|
-
* This operation
|
|
3918
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3891
3919
|
* @param UpdateSteeringPolicyAttachmentRequest
|
|
3892
3920
|
* @return UpdateSteeringPolicyAttachmentResponse
|
|
3893
3921
|
* @throws OciError when an error occurs
|
|
3894
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3922
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateSteeringPolicyAttachment.ts.html |here} to see how to use UpdateSteeringPolicyAttachment API.
|
|
3895
3923
|
*/
|
|
3896
3924
|
updateSteeringPolicyAttachment(updateSteeringPolicyAttachmentRequest) {
|
|
3897
3925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3909,7 +3937,7 @@ class DnsClient {
|
|
|
3909
3937
|
"If-Unmodified-Since": updateSteeringPolicyAttachmentRequest.ifUnmodifiedSince,
|
|
3910
3938
|
"opc-request-id": updateSteeringPolicyAttachmentRequest.opcRequestId
|
|
3911
3939
|
};
|
|
3912
|
-
const specRetryConfiguration = common.
|
|
3940
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3913
3941
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3914
3942
|
if (this.logger)
|
|
3915
3943
|
retrier.logger = this.logger;
|
|
@@ -3954,11 +3982,11 @@ class DnsClient {
|
|
|
3954
3982
|
/**
|
|
3955
3983
|
* Updates the specified TSIG key.
|
|
3956
3984
|
*
|
|
3957
|
-
* This operation
|
|
3985
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3958
3986
|
* @param UpdateTsigKeyRequest
|
|
3959
3987
|
* @return UpdateTsigKeyResponse
|
|
3960
3988
|
* @throws OciError when an error occurs
|
|
3961
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3989
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateTsigKey.ts.html |here} to see how to use UpdateTsigKey API.
|
|
3962
3990
|
*/
|
|
3963
3991
|
updateTsigKey(updateTsigKeyRequest) {
|
|
3964
3992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3976,7 +4004,7 @@ class DnsClient {
|
|
|
3976
4004
|
"If-Unmodified-Since": updateTsigKeyRequest.ifUnmodifiedSince,
|
|
3977
4005
|
"opc-request-id": updateTsigKeyRequest.opcRequestId
|
|
3978
4006
|
};
|
|
3979
|
-
const specRetryConfiguration = common.
|
|
4007
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3980
4008
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
3981
4009
|
if (this.logger)
|
|
3982
4010
|
retrier.logger = this.logger;
|
|
@@ -4024,13 +4052,13 @@ class DnsClient {
|
|
|
4024
4052
|
});
|
|
4025
4053
|
}
|
|
4026
4054
|
/**
|
|
4027
|
-
* Updates the specified view with your new information.
|
|
4055
|
+
* Updates the specified view with your new information.
|
|
4028
4056
|
*
|
|
4029
|
-
* This operation
|
|
4057
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4030
4058
|
* @param UpdateViewRequest
|
|
4031
4059
|
* @return UpdateViewResponse
|
|
4032
4060
|
* @throws OciError when an error occurs
|
|
4033
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4061
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateView.ts.html |here} to see how to use UpdateView API.
|
|
4034
4062
|
*/
|
|
4035
4063
|
updateView(updateViewRequest) {
|
|
4036
4064
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4048,7 +4076,7 @@ class DnsClient {
|
|
|
4048
4076
|
"If-Unmodified-Since": updateViewRequest.ifUnmodifiedSince,
|
|
4049
4077
|
"opc-request-id": updateViewRequest.opcRequestId
|
|
4050
4078
|
};
|
|
4051
|
-
const specRetryConfiguration = common.
|
|
4079
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4052
4080
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateViewRequest.retryConfiguration, specRetryConfiguration);
|
|
4053
4081
|
if (this.logger)
|
|
4054
4082
|
retrier.logger = this.logger;
|
|
@@ -4096,18 +4124,19 @@ class DnsClient {
|
|
|
4096
4124
|
});
|
|
4097
4125
|
}
|
|
4098
4126
|
/**
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4127
|
+
* Updates the zone with the specified information.
|
|
4128
|
+
* <p>
|
|
4129
|
+
Global secondary zones may have their external masters updated. For more information about secondary
|
|
4130
|
+
* zones, see [Manage DNS Service Zone](https://docs.cloud.oracle.com/iaas/Content/DNS/Tasks/managingdnszones.htm). When the zone name
|
|
4131
|
+
* is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId
|
|
4132
|
+
* query parameter is required.
|
|
4133
|
+
*
|
|
4134
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4135
|
+
* @param UpdateZoneRequest
|
|
4136
|
+
* @return UpdateZoneResponse
|
|
4137
|
+
* @throws OciError when an error occurs
|
|
4138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateZone.ts.html |here} to see how to use UpdateZone API.
|
|
4139
|
+
*/
|
|
4111
4140
|
updateZone(updateZoneRequest) {
|
|
4112
4141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4113
4142
|
if (this.logger)
|
|
@@ -4126,7 +4155,7 @@ class DnsClient {
|
|
|
4126
4155
|
"If-Unmodified-Since": updateZoneRequest.ifUnmodifiedSince,
|
|
4127
4156
|
"opc-request-id": updateZoneRequest.opcRequestId
|
|
4128
4157
|
};
|
|
4129
|
-
const specRetryConfiguration = common.
|
|
4158
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4130
4159
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
4131
4160
|
if (this.logger)
|
|
4132
4161
|
retrier.logger = this.logger;
|
|
@@ -4174,19 +4203,20 @@ class DnsClient {
|
|
|
4174
4203
|
});
|
|
4175
4204
|
}
|
|
4176
4205
|
/**
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4206
|
+
* Replaces records in the specified zone with the records specified in the request body.
|
|
4207
|
+
* <p>
|
|
4208
|
+
If a specified record does not exist, it will be created. If the record exists, then it will be updated
|
|
4209
|
+
* to represent the record in the body of the request. If a record in the zone does not exist in the
|
|
4210
|
+
* request body, the record will be removed from the zone. When the zone name is provided as a path
|
|
4211
|
+
* parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is
|
|
4212
|
+
* required.
|
|
4213
|
+
*
|
|
4214
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4215
|
+
* @param UpdateZoneRecordsRequest
|
|
4216
|
+
* @return UpdateZoneRecordsResponse
|
|
4217
|
+
* @throws OciError when an error occurs
|
|
4218
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/dns/UpdateZoneRecords.ts.html |here} to see how to use UpdateZoneRecords API.
|
|
4219
|
+
*/
|
|
4190
4220
|
updateZoneRecords(updateZoneRecordsRequest) {
|
|
4191
4221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4192
4222
|
if (this.logger)
|
|
@@ -4205,7 +4235,7 @@ class DnsClient {
|
|
|
4205
4235
|
"If-Unmodified-Since": updateZoneRecordsRequest.ifUnmodifiedSince,
|
|
4206
4236
|
"opc-request-id": updateZoneRecordsRequest.opcRequestId
|
|
4207
4237
|
};
|
|
4208
|
-
const specRetryConfiguration = common.
|
|
4238
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4209
4239
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
4210
4240
|
if (this.logger)
|
|
4211
4241
|
retrier.logger = this.logger;
|