oci-dns 2.24.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 +378 -353
- package/lib/client.js +427 -402
- 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
|
@@ -153,15 +153,17 @@ class DnsClient {
|
|
|
153
153
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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
|
+
*/
|
|
165
167
|
changeResolverCompartment(changeResolverCompartmentRequest) {
|
|
166
168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
167
169
|
if (this.logger)
|
|
@@ -178,7 +180,7 @@ class DnsClient {
|
|
|
178
180
|
"opc-retry-token": changeResolverCompartmentRequest.opcRetryToken,
|
|
179
181
|
"opc-request-id": changeResolverCompartmentRequest.opcRequestId
|
|
180
182
|
};
|
|
181
|
-
const specRetryConfiguration = common.
|
|
183
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
182
184
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeResolverCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
183
185
|
if (this.logger)
|
|
184
186
|
retrier.logger = this.logger;
|
|
@@ -219,11 +221,11 @@ class DnsClient {
|
|
|
219
221
|
/**
|
|
220
222
|
* Moves a steering policy into a different compartment.
|
|
221
223
|
*
|
|
222
|
-
* This operation
|
|
224
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
223
225
|
* @param ChangeSteeringPolicyCompartmentRequest
|
|
224
226
|
* @return ChangeSteeringPolicyCompartmentResponse
|
|
225
227
|
* @throws OciError when an error occurs
|
|
226
|
-
* @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.
|
|
227
229
|
*/
|
|
228
230
|
changeSteeringPolicyCompartment(changeSteeringPolicyCompartmentRequest) {
|
|
229
231
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -241,7 +243,7 @@ class DnsClient {
|
|
|
241
243
|
"opc-retry-token": changeSteeringPolicyCompartmentRequest.opcRetryToken,
|
|
242
244
|
"opc-request-id": changeSteeringPolicyCompartmentRequest.opcRequestId
|
|
243
245
|
};
|
|
244
|
-
const specRetryConfiguration = common.
|
|
246
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
245
247
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSteeringPolicyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
246
248
|
if (this.logger)
|
|
247
249
|
retrier.logger = this.logger;
|
|
@@ -277,11 +279,11 @@ class DnsClient {
|
|
|
277
279
|
/**
|
|
278
280
|
* Moves a TSIG key into a different compartment.
|
|
279
281
|
*
|
|
280
|
-
* This operation
|
|
282
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
281
283
|
* @param ChangeTsigKeyCompartmentRequest
|
|
282
284
|
* @return ChangeTsigKeyCompartmentResponse
|
|
283
285
|
* @throws OciError when an error occurs
|
|
284
|
-
* @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.
|
|
285
287
|
*/
|
|
286
288
|
changeTsigKeyCompartment(changeTsigKeyCompartmentRequest) {
|
|
287
289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -299,7 +301,7 @@ class DnsClient {
|
|
|
299
301
|
"opc-retry-token": changeTsigKeyCompartmentRequest.opcRetryToken,
|
|
300
302
|
"opc-request-id": changeTsigKeyCompartmentRequest.opcRequestId
|
|
301
303
|
};
|
|
302
|
-
const specRetryConfiguration = common.
|
|
304
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
303
305
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeTsigKeyCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
304
306
|
if (this.logger)
|
|
305
307
|
retrier.logger = this.logger;
|
|
@@ -333,15 +335,16 @@ class DnsClient {
|
|
|
333
335
|
});
|
|
334
336
|
}
|
|
335
337
|
/**
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
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
|
+
*/
|
|
345
348
|
changeViewCompartment(changeViewCompartmentRequest) {
|
|
346
349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
347
350
|
if (this.logger)
|
|
@@ -358,7 +361,7 @@ class DnsClient {
|
|
|
358
361
|
"opc-retry-token": changeViewCompartmentRequest.opcRetryToken,
|
|
359
362
|
"opc-request-id": changeViewCompartmentRequest.opcRequestId
|
|
360
363
|
};
|
|
361
|
-
const specRetryConfiguration = common.
|
|
364
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
362
365
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeViewCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
363
366
|
if (this.logger)
|
|
364
367
|
retrier.logger = this.logger;
|
|
@@ -397,18 +400,21 @@ class DnsClient {
|
|
|
397
400
|
});
|
|
398
401
|
}
|
|
399
402
|
/**
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
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
|
+
*/
|
|
412
418
|
changeZoneCompartment(changeZoneCompartmentRequest) {
|
|
413
419
|
return __awaiter(this, void 0, void 0, function* () {
|
|
414
420
|
if (this.logger)
|
|
@@ -425,7 +431,7 @@ class DnsClient {
|
|
|
425
431
|
"opc-retry-token": changeZoneCompartmentRequest.opcRetryToken,
|
|
426
432
|
"opc-request-id": changeZoneCompartmentRequest.opcRequestId
|
|
427
433
|
};
|
|
428
|
-
const specRetryConfiguration = common.
|
|
434
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
429
435
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeZoneCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
430
436
|
if (this.logger)
|
|
431
437
|
retrier.logger = this.logger;
|
|
@@ -464,13 +470,13 @@ class DnsClient {
|
|
|
464
470
|
});
|
|
465
471
|
}
|
|
466
472
|
/**
|
|
467
|
-
* Creates a new resolver endpoint
|
|
473
|
+
* Creates a new resolver endpoint in the same compartment as the resolver.
|
|
468
474
|
*
|
|
469
|
-
* This operation
|
|
475
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
470
476
|
* @param CreateResolverEndpointRequest
|
|
471
477
|
* @return CreateResolverEndpointResponse
|
|
472
478
|
* @throws OciError when an error occurs
|
|
473
|
-
* @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.
|
|
474
480
|
*/
|
|
475
481
|
createResolverEndpoint(createResolverEndpointRequest) {
|
|
476
482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -487,7 +493,7 @@ class DnsClient {
|
|
|
487
493
|
"opc-retry-token": createResolverEndpointRequest.opcRetryToken,
|
|
488
494
|
"opc-request-id": createResolverEndpointRequest.opcRequestId
|
|
489
495
|
};
|
|
490
|
-
const specRetryConfiguration = common.
|
|
496
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
491
497
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
492
498
|
if (this.logger)
|
|
493
499
|
retrier.logger = this.logger;
|
|
@@ -543,11 +549,11 @@ class DnsClient {
|
|
|
543
549
|
* Creates a new steering policy in the specified compartment. For more information on
|
|
544
550
|
* creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
|
|
545
551
|
*
|
|
546
|
-
* This operation
|
|
552
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
547
553
|
* @param CreateSteeringPolicyRequest
|
|
548
554
|
* @return CreateSteeringPolicyResponse
|
|
549
555
|
* @throws OciError when an error occurs
|
|
550
|
-
* @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.
|
|
551
557
|
*/
|
|
552
558
|
createSteeringPolicy(createSteeringPolicyRequest) {
|
|
553
559
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -562,7 +568,7 @@ class DnsClient {
|
|
|
562
568
|
"opc-retry-token": createSteeringPolicyRequest.opcRetryToken,
|
|
563
569
|
"opc-request-id": createSteeringPolicyRequest.opcRequestId
|
|
564
570
|
};
|
|
565
|
-
const specRetryConfiguration = common.
|
|
571
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
566
572
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
567
573
|
if (this.logger)
|
|
568
574
|
retrier.logger = this.logger;
|
|
@@ -617,11 +623,11 @@ class DnsClient {
|
|
|
617
623
|
For the purposes of access control, the attachment is automatically placed
|
|
618
624
|
* into the same compartment as the domain's zone.
|
|
619
625
|
*
|
|
620
|
-
* This operation
|
|
626
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
621
627
|
* @param CreateSteeringPolicyAttachmentRequest
|
|
622
628
|
* @return CreateSteeringPolicyAttachmentResponse
|
|
623
629
|
* @throws OciError when an error occurs
|
|
624
|
-
* @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.
|
|
625
631
|
*/
|
|
626
632
|
createSteeringPolicyAttachment(createSteeringPolicyAttachmentRequest) {
|
|
627
633
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -636,7 +642,7 @@ class DnsClient {
|
|
|
636
642
|
"opc-retry-token": createSteeringPolicyAttachmentRequest.opcRetryToken,
|
|
637
643
|
"opc-request-id": createSteeringPolicyAttachmentRequest.opcRequestId
|
|
638
644
|
};
|
|
639
|
-
const specRetryConfiguration = common.
|
|
645
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
640
646
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
641
647
|
if (this.logger)
|
|
642
648
|
retrier.logger = this.logger;
|
|
@@ -687,11 +693,11 @@ class DnsClient {
|
|
|
687
693
|
* Creates a new TSIG key in the specified compartment. There is no
|
|
688
694
|
* `opc-retry-token` header since TSIG key names must be globally unique.
|
|
689
695
|
*
|
|
690
|
-
* This operation
|
|
696
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
691
697
|
* @param CreateTsigKeyRequest
|
|
692
698
|
* @return CreateTsigKeyResponse
|
|
693
699
|
* @throws OciError when an error occurs
|
|
694
|
-
* @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.
|
|
695
701
|
*/
|
|
696
702
|
createTsigKey(createTsigKeyRequest) {
|
|
697
703
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -705,7 +711,7 @@ class DnsClient {
|
|
|
705
711
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
706
712
|
"opc-request-id": createTsigKeyRequest.opcRequestId
|
|
707
713
|
};
|
|
708
|
-
const specRetryConfiguration = common.
|
|
714
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
709
715
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
710
716
|
if (this.logger)
|
|
711
717
|
retrier.logger = this.logger;
|
|
@@ -758,13 +764,13 @@ class DnsClient {
|
|
|
758
764
|
});
|
|
759
765
|
}
|
|
760
766
|
/**
|
|
761
|
-
* Creates a new view in the specified compartment.
|
|
767
|
+
* Creates a new view in the specified compartment.
|
|
762
768
|
*
|
|
763
|
-
* This operation
|
|
769
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
764
770
|
* @param CreateViewRequest
|
|
765
771
|
* @return CreateViewResponse
|
|
766
772
|
* @throws OciError when an error occurs
|
|
767
|
-
* @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.
|
|
768
774
|
*/
|
|
769
775
|
createView(createViewRequest) {
|
|
770
776
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -779,7 +785,7 @@ class DnsClient {
|
|
|
779
785
|
"opc-retry-token": createViewRequest.opcRetryToken,
|
|
780
786
|
"opc-request-id": createViewRequest.opcRequestId
|
|
781
787
|
};
|
|
782
|
-
const specRetryConfiguration = common.
|
|
788
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
783
789
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createViewRequest.retryConfiguration, specRetryConfiguration);
|
|
784
790
|
if (this.logger)
|
|
785
791
|
retrier.logger = this.logger;
|
|
@@ -832,18 +838,17 @@ class DnsClient {
|
|
|
832
838
|
});
|
|
833
839
|
}
|
|
834
840
|
/**
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
*/
|
|
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
|
+
*/
|
|
847
852
|
createZone(createZoneRequest) {
|
|
848
853
|
return __awaiter(this, void 0, void 0, function* () {
|
|
849
854
|
if (this.logger)
|
|
@@ -911,16 +916,17 @@ class DnsClient {
|
|
|
911
916
|
});
|
|
912
917
|
}
|
|
913
918
|
/**
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
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
|
+
*/
|
|
924
930
|
deleteDomainRecords(deleteDomainRecordsRequest) {
|
|
925
931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
926
932
|
if (this.logger)
|
|
@@ -940,7 +946,7 @@ class DnsClient {
|
|
|
940
946
|
"If-Unmodified-Since": deleteDomainRecordsRequest.ifUnmodifiedSince,
|
|
941
947
|
"opc-request-id": deleteDomainRecordsRequest.opcRequestId
|
|
942
948
|
};
|
|
943
|
-
const specRetryConfiguration = common.
|
|
949
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
944
950
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
945
951
|
if (this.logger)
|
|
946
952
|
retrier.logger = this.logger;
|
|
@@ -973,16 +979,17 @@ class DnsClient {
|
|
|
973
979
|
});
|
|
974
980
|
}
|
|
975
981
|
/**
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
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
|
+
*/
|
|
986
993
|
deleteRRSet(deleteRRSetRequest) {
|
|
987
994
|
return __awaiter(this, void 0, void 0, function* () {
|
|
988
995
|
if (this.logger)
|
|
@@ -1003,7 +1010,7 @@ class DnsClient {
|
|
|
1003
1010
|
"If-Unmodified-Since": deleteRRSetRequest.ifUnmodifiedSince,
|
|
1004
1011
|
"opc-request-id": deleteRRSetRequest.opcRequestId
|
|
1005
1012
|
};
|
|
1006
|
-
const specRetryConfiguration = common.
|
|
1013
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1007
1014
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1008
1015
|
if (this.logger)
|
|
1009
1016
|
retrier.logger = this.logger;
|
|
@@ -1036,17 +1043,18 @@ class DnsClient {
|
|
|
1036
1043
|
});
|
|
1037
1044
|
}
|
|
1038
1045
|
/**
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
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
|
+
*/
|
|
1050
1058
|
deleteResolverEndpoint(deleteResolverEndpointRequest) {
|
|
1051
1059
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1052
1060
|
if (this.logger)
|
|
@@ -1064,7 +1072,7 @@ class DnsClient {
|
|
|
1064
1072
|
"If-Unmodified-Since": deleteResolverEndpointRequest.ifUnmodifiedSince,
|
|
1065
1073
|
"opc-request-id": deleteResolverEndpointRequest.opcRequestId
|
|
1066
1074
|
};
|
|
1067
|
-
const specRetryConfiguration = common.
|
|
1075
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1068
1076
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1069
1077
|
if (this.logger)
|
|
1070
1078
|
retrier.logger = this.logger;
|
|
@@ -1102,17 +1110,18 @@ class DnsClient {
|
|
|
1102
1110
|
});
|
|
1103
1111
|
}
|
|
1104
1112
|
/**
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
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
|
+
*/
|
|
1116
1125
|
deleteSteeringPolicy(deleteSteeringPolicyRequest) {
|
|
1117
1126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1118
1127
|
if (this.logger)
|
|
@@ -1129,7 +1138,7 @@ class DnsClient {
|
|
|
1129
1138
|
"If-Unmodified-Since": deleteSteeringPolicyRequest.ifUnmodifiedSince,
|
|
1130
1139
|
"opc-request-id": deleteSteeringPolicyRequest.opcRequestId
|
|
1131
1140
|
};
|
|
1132
|
-
const specRetryConfiguration = common.
|
|
1141
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1133
1142
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1134
1143
|
if (this.logger)
|
|
1135
1144
|
retrier.logger = this.logger;
|
|
@@ -1165,11 +1174,11 @@ class DnsClient {
|
|
|
1165
1174
|
* Deletes the specified steering policy attachment.
|
|
1166
1175
|
* A `204` response indicates that the delete has been successful.
|
|
1167
1176
|
*
|
|
1168
|
-
* This operation
|
|
1177
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1169
1178
|
* @param DeleteSteeringPolicyAttachmentRequest
|
|
1170
1179
|
* @return DeleteSteeringPolicyAttachmentResponse
|
|
1171
1180
|
* @throws OciError when an error occurs
|
|
1172
|
-
* @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.
|
|
1173
1182
|
*/
|
|
1174
1183
|
deleteSteeringPolicyAttachment(deleteSteeringPolicyAttachmentRequest) {
|
|
1175
1184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1187,7 +1196,7 @@ class DnsClient {
|
|
|
1187
1196
|
"If-Unmodified-Since": deleteSteeringPolicyAttachmentRequest.ifUnmodifiedSince,
|
|
1188
1197
|
"opc-request-id": deleteSteeringPolicyAttachmentRequest.opcRequestId
|
|
1189
1198
|
};
|
|
1190
|
-
const specRetryConfiguration = common.
|
|
1199
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1191
1200
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1192
1201
|
if (this.logger)
|
|
1193
1202
|
retrier.logger = this.logger;
|
|
@@ -1222,11 +1231,11 @@ class DnsClient {
|
|
|
1222
1231
|
/**
|
|
1223
1232
|
* Deletes the specified TSIG key.
|
|
1224
1233
|
*
|
|
1225
|
-
* This operation
|
|
1234
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1226
1235
|
* @param DeleteTsigKeyRequest
|
|
1227
1236
|
* @return DeleteTsigKeyResponse
|
|
1228
1237
|
* @throws OciError when an error occurs
|
|
1229
|
-
* @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.
|
|
1230
1239
|
*/
|
|
1231
1240
|
deleteTsigKey(deleteTsigKeyRequest) {
|
|
1232
1241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1244,7 +1253,7 @@ class DnsClient {
|
|
|
1244
1253
|
"If-Unmodified-Since": deleteTsigKeyRequest.ifUnmodifiedSince,
|
|
1245
1254
|
"opc-request-id": deleteTsigKeyRequest.opcRequestId
|
|
1246
1255
|
};
|
|
1247
|
-
const specRetryConfiguration = common.
|
|
1256
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1248
1257
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1249
1258
|
if (this.logger)
|
|
1250
1259
|
retrier.logger = this.logger;
|
|
@@ -1282,18 +1291,19 @@ class DnsClient {
|
|
|
1282
1291
|
});
|
|
1283
1292
|
}
|
|
1284
1293
|
/**
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
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
|
+
*/
|
|
1297
1307
|
deleteView(deleteViewRequest) {
|
|
1298
1308
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1299
1309
|
if (this.logger)
|
|
@@ -1310,7 +1320,7 @@ class DnsClient {
|
|
|
1310
1320
|
"If-Unmodified-Since": deleteViewRequest.ifUnmodifiedSince,
|
|
1311
1321
|
"opc-request-id": deleteViewRequest.opcRequestId
|
|
1312
1322
|
};
|
|
1313
|
-
const specRetryConfiguration = common.
|
|
1323
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1314
1324
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteViewRequest.retryConfiguration, specRetryConfiguration);
|
|
1315
1325
|
if (this.logger)
|
|
1316
1326
|
retrier.logger = this.logger;
|
|
@@ -1348,17 +1358,18 @@ class DnsClient {
|
|
|
1348
1358
|
});
|
|
1349
1359
|
}
|
|
1350
1360
|
/**
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
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
|
+
*/
|
|
1362
1373
|
deleteZone(deleteZoneRequest) {
|
|
1363
1374
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1364
1375
|
if (this.logger)
|
|
@@ -1415,18 +1426,18 @@ class DnsClient {
|
|
|
1415
1426
|
});
|
|
1416
1427
|
}
|
|
1417
1428
|
/**
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
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
|
+
*/
|
|
1430
1441
|
getDomainRecords(getDomainRecordsRequest) {
|
|
1431
1442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1432
1443
|
if (this.logger)
|
|
@@ -1452,7 +1463,7 @@ class DnsClient {
|
|
|
1452
1463
|
"If-Modified-Since": getDomainRecordsRequest.ifModifiedSince,
|
|
1453
1464
|
"opc-request-id": getDomainRecordsRequest.opcRequestId
|
|
1454
1465
|
};
|
|
1455
|
-
const specRetryConfiguration = common.
|
|
1466
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1456
1467
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
1457
1468
|
if (this.logger)
|
|
1458
1469
|
retrier.logger = this.logger;
|
|
@@ -1544,17 +1555,17 @@ class DnsClient {
|
|
|
1544
1555
|
return oci_common_1.genericPaginateResponses(request, req => this.getDomainRecords(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
1545
1556
|
}
|
|
1546
1557
|
/**
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
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
|
+
*/
|
|
1558
1569
|
getRRSet(getRRSetRequest) {
|
|
1559
1570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1560
1571
|
if (this.logger)
|
|
@@ -1578,7 +1589,7 @@ class DnsClient {
|
|
|
1578
1589
|
"If-Modified-Since": getRRSetRequest.ifModifiedSince,
|
|
1579
1590
|
"opc-request-id": getRRSetRequest.opcRequestId
|
|
1580
1591
|
};
|
|
1581
|
-
const specRetryConfiguration = common.
|
|
1592
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1582
1593
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
1583
1594
|
if (this.logger)
|
|
1584
1595
|
retrier.logger = this.logger;
|
|
@@ -1670,16 +1681,17 @@ class DnsClient {
|
|
|
1670
1681
|
return oci_common_1.genericPaginateResponses(request, req => this.getRRSet(req), res => res.opcNextPage, (req, nextPageToken) => (req.page = nextPageToken));
|
|
1671
1682
|
}
|
|
1672
1683
|
/**
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
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
|
+
*/
|
|
1683
1695
|
getResolver(getResolverRequest) {
|
|
1684
1696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1685
1697
|
if (this.logger)
|
|
@@ -1696,7 +1708,7 @@ class DnsClient {
|
|
|
1696
1708
|
"If-None-Match": getResolverRequest.ifNoneMatch,
|
|
1697
1709
|
"opc-request-id": getResolverRequest.opcRequestId
|
|
1698
1710
|
};
|
|
1699
|
-
const specRetryConfiguration = common.
|
|
1711
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1700
1712
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverRequest.retryConfiguration, specRetryConfiguration);
|
|
1701
1713
|
if (this.logger)
|
|
1702
1714
|
retrier.logger = this.logger;
|
|
@@ -1738,16 +1750,17 @@ class DnsClient {
|
|
|
1738
1750
|
});
|
|
1739
1751
|
}
|
|
1740
1752
|
/**
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
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
|
+
*/
|
|
1751
1764
|
getResolverEndpoint(getResolverEndpointRequest) {
|
|
1752
1765
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1753
1766
|
if (this.logger)
|
|
@@ -1765,7 +1778,7 @@ class DnsClient {
|
|
|
1765
1778
|
"If-None-Match": getResolverEndpointRequest.ifNoneMatch,
|
|
1766
1779
|
"opc-request-id": getResolverEndpointRequest.opcRequestId
|
|
1767
1780
|
};
|
|
1768
|
-
const specRetryConfiguration = common.
|
|
1781
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1769
1782
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1770
1783
|
if (this.logger)
|
|
1771
1784
|
retrier.logger = this.logger;
|
|
@@ -1809,11 +1822,11 @@ class DnsClient {
|
|
|
1809
1822
|
/**
|
|
1810
1823
|
* Gets information about the specified steering policy.
|
|
1811
1824
|
*
|
|
1812
|
-
* This operation
|
|
1825
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1813
1826
|
* @param GetSteeringPolicyRequest
|
|
1814
1827
|
* @return GetSteeringPolicyResponse
|
|
1815
1828
|
* @throws OciError when an error occurs
|
|
1816
|
-
* @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.
|
|
1817
1830
|
*/
|
|
1818
1831
|
getSteeringPolicy(getSteeringPolicyRequest) {
|
|
1819
1832
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1831,7 +1844,7 @@ class DnsClient {
|
|
|
1831
1844
|
"If-Modified-Since": getSteeringPolicyRequest.ifModifiedSince,
|
|
1832
1845
|
"opc-request-id": getSteeringPolicyRequest.opcRequestId
|
|
1833
1846
|
};
|
|
1834
|
-
const specRetryConfiguration = common.
|
|
1847
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1835
1848
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1836
1849
|
if (this.logger)
|
|
1837
1850
|
retrier.logger = this.logger;
|
|
@@ -1875,11 +1888,11 @@ class DnsClient {
|
|
|
1875
1888
|
/**
|
|
1876
1889
|
* Gets information about the specified steering policy attachment.
|
|
1877
1890
|
*
|
|
1878
|
-
* This operation
|
|
1891
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1879
1892
|
* @param GetSteeringPolicyAttachmentRequest
|
|
1880
1893
|
* @return GetSteeringPolicyAttachmentResponse
|
|
1881
1894
|
* @throws OciError when an error occurs
|
|
1882
|
-
* @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.
|
|
1883
1896
|
*/
|
|
1884
1897
|
getSteeringPolicyAttachment(getSteeringPolicyAttachmentRequest) {
|
|
1885
1898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1897,7 +1910,7 @@ class DnsClient {
|
|
|
1897
1910
|
"If-Modified-Since": getSteeringPolicyAttachmentRequest.ifModifiedSince,
|
|
1898
1911
|
"opc-request-id": getSteeringPolicyAttachmentRequest.opcRequestId
|
|
1899
1912
|
};
|
|
1900
|
-
const specRetryConfiguration = common.
|
|
1913
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1901
1914
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1902
1915
|
if (this.logger)
|
|
1903
1916
|
retrier.logger = this.logger;
|
|
@@ -1941,11 +1954,11 @@ class DnsClient {
|
|
|
1941
1954
|
/**
|
|
1942
1955
|
* Gets information about the specified TSIG key.
|
|
1943
1956
|
*
|
|
1944
|
-
* This operation
|
|
1957
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1945
1958
|
* @param GetTsigKeyRequest
|
|
1946
1959
|
* @return GetTsigKeyResponse
|
|
1947
1960
|
* @throws OciError when an error occurs
|
|
1948
|
-
* @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.
|
|
1949
1962
|
*/
|
|
1950
1963
|
getTsigKey(getTsigKeyRequest) {
|
|
1951
1964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1963,7 +1976,7 @@ class DnsClient {
|
|
|
1963
1976
|
"If-Modified-Since": getTsigKeyRequest.ifModifiedSince,
|
|
1964
1977
|
"opc-request-id": getTsigKeyRequest.opcRequestId
|
|
1965
1978
|
};
|
|
1966
|
-
const specRetryConfiguration = common.
|
|
1979
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1967
1980
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1968
1981
|
if (this.logger)
|
|
1969
1982
|
retrier.logger = this.logger;
|
|
@@ -2005,16 +2018,18 @@ class DnsClient {
|
|
|
2005
2018
|
});
|
|
2006
2019
|
}
|
|
2007
2020
|
/**
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
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
|
+
*/
|
|
2018
2033
|
getView(getViewRequest) {
|
|
2019
2034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2020
2035
|
if (this.logger)
|
|
@@ -2031,7 +2046,7 @@ class DnsClient {
|
|
|
2031
2046
|
"If-None-Match": getViewRequest.ifNoneMatch,
|
|
2032
2047
|
"opc-request-id": getViewRequest.opcRequestId
|
|
2033
2048
|
};
|
|
2034
|
-
const specRetryConfiguration = common.
|
|
2049
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2035
2050
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getViewRequest.retryConfiguration, specRetryConfiguration);
|
|
2036
2051
|
if (this.logger)
|
|
2037
2052
|
retrier.logger = this.logger;
|
|
@@ -2073,16 +2088,17 @@ class DnsClient {
|
|
|
2073
2088
|
});
|
|
2074
2089
|
}
|
|
2075
2090
|
/**
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
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
|
+
*/
|
|
2086
2102
|
getZone(getZoneRequest) {
|
|
2087
2103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2088
2104
|
if (this.logger)
|
|
@@ -2101,7 +2117,7 @@ class DnsClient {
|
|
|
2101
2117
|
"If-Modified-Since": getZoneRequest.ifModifiedSince,
|
|
2102
2118
|
"opc-request-id": getZoneRequest.opcRequestId
|
|
2103
2119
|
};
|
|
2104
|
-
const specRetryConfiguration = common.
|
|
2120
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2105
2121
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
2106
2122
|
if (this.logger)
|
|
2107
2123
|
retrier.logger = this.logger;
|
|
@@ -2145,11 +2161,11 @@ class DnsClient {
|
|
|
2145
2161
|
/**
|
|
2146
2162
|
* Gets the requested zone's zone file.
|
|
2147
2163
|
*
|
|
2148
|
-
* This operation
|
|
2164
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2149
2165
|
* @param GetZoneContentRequest
|
|
2150
2166
|
* @return GetZoneContentResponse
|
|
2151
2167
|
* @throws OciError when an error occurs
|
|
2152
|
-
* @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.
|
|
2153
2169
|
*/
|
|
2154
2170
|
getZoneContent(getZoneContentRequest) {
|
|
2155
2171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2168,7 +2184,7 @@ class DnsClient {
|
|
|
2168
2184
|
"If-Modified-Since": getZoneContentRequest.ifModifiedSince,
|
|
2169
2185
|
"opc-request-id": getZoneContentRequest.opcRequestId
|
|
2170
2186
|
};
|
|
2171
|
-
const specRetryConfiguration = common.
|
|
2187
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2172
2188
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneContentRequest.retryConfiguration, specRetryConfiguration);
|
|
2173
2189
|
if (this.logger)
|
|
2174
2190
|
retrier.logger = this.logger;
|
|
@@ -2209,18 +2225,19 @@ class DnsClient {
|
|
|
2209
2225
|
});
|
|
2210
2226
|
}
|
|
2211
2227
|
/**
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
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
|
+
*/
|
|
2224
2241
|
getZoneRecords(getZoneRecordsRequest) {
|
|
2225
2242
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2226
2243
|
if (this.logger)
|
|
@@ -2247,7 +2264,7 @@ class DnsClient {
|
|
|
2247
2264
|
"If-Modified-Since": getZoneRecordsRequest.ifModifiedSince,
|
|
2248
2265
|
"opc-request-id": getZoneRecordsRequest.opcRequestId
|
|
2249
2266
|
};
|
|
2250
|
-
const specRetryConfiguration = common.
|
|
2267
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2251
2268
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
2252
2269
|
if (this.logger)
|
|
2253
2270
|
retrier.logger = this.logger;
|
|
@@ -2342,13 +2359,13 @@ class DnsClient {
|
|
|
2342
2359
|
* Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state.
|
|
2343
2360
|
* It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState
|
|
2344
2361
|
* query parameter is provided, the collection does not include resolver endpoints in the DELETED
|
|
2345
|
-
* lifecycle state to be consistent with other operations of the API.
|
|
2362
|
+
* lifecycle state to be consistent with other operations of the API.
|
|
2346
2363
|
*
|
|
2347
|
-
* This operation
|
|
2364
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2348
2365
|
* @param ListResolverEndpointsRequest
|
|
2349
2366
|
* @return ListResolverEndpointsResponse
|
|
2350
2367
|
* @throws OciError when an error occurs
|
|
2351
|
-
* @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.
|
|
2352
2369
|
*/
|
|
2353
2370
|
listResolverEndpoints(listResolverEndpointsRequest) {
|
|
2354
2371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2370,7 +2387,7 @@ class DnsClient {
|
|
|
2370
2387
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2371
2388
|
"opc-request-id": listResolverEndpointsRequest.opcRequestId
|
|
2372
2389
|
};
|
|
2373
|
-
const specRetryConfiguration = common.
|
|
2390
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2374
2391
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolverEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
2375
2392
|
if (this.logger)
|
|
2376
2393
|
retrier.logger = this.logger;
|
|
@@ -2452,19 +2469,19 @@ class DnsClient {
|
|
|
2452
2469
|
return oci_common_1.paginateResponses(request, req => this.listResolverEndpoints(req));
|
|
2453
2470
|
}
|
|
2454
2471
|
/**
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
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
|
+
*/
|
|
2468
2485
|
listResolvers(listResolversRequest) {
|
|
2469
2486
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2470
2487
|
if (this.logger)
|
|
@@ -2485,7 +2502,7 @@ class DnsClient {
|
|
|
2485
2502
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2486
2503
|
"opc-request-id": listResolversRequest.opcRequestId
|
|
2487
2504
|
};
|
|
2488
|
-
const specRetryConfiguration = common.
|
|
2505
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2489
2506
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResolversRequest.retryConfiguration, specRetryConfiguration);
|
|
2490
2507
|
if (this.logger)
|
|
2491
2508
|
retrier.logger = this.logger;
|
|
@@ -2569,11 +2586,11 @@ class DnsClient {
|
|
|
2569
2586
|
/**
|
|
2570
2587
|
* Gets a list of all steering policies in the specified compartment.
|
|
2571
2588
|
*
|
|
2572
|
-
* This operation
|
|
2589
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2573
2590
|
* @param ListSteeringPoliciesRequest
|
|
2574
2591
|
* @return ListSteeringPoliciesResponse
|
|
2575
2592
|
* @throws OciError when an error occurs
|
|
2576
|
-
* @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.
|
|
2577
2594
|
*/
|
|
2578
2595
|
listSteeringPolicies(listSteeringPoliciesRequest) {
|
|
2579
2596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2600,7 +2617,7 @@ class DnsClient {
|
|
|
2600
2617
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2601
2618
|
"opc-request-id": listSteeringPoliciesRequest.opcRequestId
|
|
2602
2619
|
};
|
|
2603
|
-
const specRetryConfiguration = common.
|
|
2620
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2604
2621
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
2605
2622
|
if (this.logger)
|
|
2606
2623
|
retrier.logger = this.logger;
|
|
@@ -2689,11 +2706,11 @@ class DnsClient {
|
|
|
2689
2706
|
/**
|
|
2690
2707
|
* Lists the steering policy attachments in the specified compartment.
|
|
2691
2708
|
*
|
|
2692
|
-
* This operation
|
|
2709
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2693
2710
|
* @param ListSteeringPolicyAttachmentsRequest
|
|
2694
2711
|
* @return ListSteeringPolicyAttachmentsResponse
|
|
2695
2712
|
* @throws OciError when an error occurs
|
|
2696
|
-
* @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.
|
|
2697
2714
|
*/
|
|
2698
2715
|
listSteeringPolicyAttachments(listSteeringPolicyAttachmentsRequest) {
|
|
2699
2716
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2721,7 +2738,7 @@ class DnsClient {
|
|
|
2721
2738
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2722
2739
|
"opc-request-id": listSteeringPolicyAttachmentsRequest.opcRequestId
|
|
2723
2740
|
};
|
|
2724
|
-
const specRetryConfiguration = common.
|
|
2741
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2725
2742
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSteeringPolicyAttachmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
2726
2743
|
if (this.logger)
|
|
2727
2744
|
retrier.logger = this.logger;
|
|
@@ -2810,11 +2827,11 @@ class DnsClient {
|
|
|
2810
2827
|
/**
|
|
2811
2828
|
* Gets a list of all TSIG keys in the specified compartment.
|
|
2812
2829
|
*
|
|
2813
|
-
* This operation
|
|
2830
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2814
2831
|
* @param ListTsigKeysRequest
|
|
2815
2832
|
* @return ListTsigKeysResponse
|
|
2816
2833
|
* @throws OciError when an error occurs
|
|
2817
|
-
* @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.
|
|
2818
2835
|
*/
|
|
2819
2836
|
listTsigKeys(listTsigKeysRequest) {
|
|
2820
2837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2836,7 +2853,7 @@ class DnsClient {
|
|
|
2836
2853
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2837
2854
|
"opc-request-id": listTsigKeysRequest.opcRequestId
|
|
2838
2855
|
};
|
|
2839
|
-
const specRetryConfiguration = common.
|
|
2856
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2840
2857
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTsigKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
2841
2858
|
if (this.logger)
|
|
2842
2859
|
retrier.logger = this.logger;
|
|
@@ -2918,19 +2935,19 @@ class DnsClient {
|
|
|
2918
2935
|
return oci_common_1.paginateResponses(request, req => this.listTsigKeys(req));
|
|
2919
2936
|
}
|
|
2920
2937
|
/**
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
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
|
+
*/
|
|
2934
2951
|
listViews(listViewsRequest) {
|
|
2935
2952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2936
2953
|
if (this.logger)
|
|
@@ -2951,7 +2968,7 @@ class DnsClient {
|
|
|
2951
2968
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2952
2969
|
"opc-request-id": listViewsRequest.opcRequestId
|
|
2953
2970
|
};
|
|
2954
|
-
const specRetryConfiguration = common.
|
|
2971
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2955
2972
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listViewsRequest.retryConfiguration, specRetryConfiguration);
|
|
2956
2973
|
if (this.logger)
|
|
2957
2974
|
retrier.logger = this.logger;
|
|
@@ -3037,11 +3054,11 @@ class DnsClient {
|
|
|
3037
3054
|
* compartment (which must be the root compartment of a tenancy) that transfer zone data with external master or
|
|
3038
3055
|
* downstream nameservers.
|
|
3039
3056
|
*
|
|
3040
|
-
* This operation
|
|
3057
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3041
3058
|
* @param ListZoneTransferServersRequest
|
|
3042
3059
|
* @return ListZoneTransferServersResponse
|
|
3043
3060
|
* @throws OciError when an error occurs
|
|
3044
|
-
* @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.
|
|
3045
3062
|
*/
|
|
3046
3063
|
listZoneTransferServers(listZoneTransferServersRequest) {
|
|
3047
3064
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3057,7 +3074,7 @@ class DnsClient {
|
|
|
3057
3074
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3058
3075
|
"opc-request-id": listZoneTransferServersRequest.opcRequestId
|
|
3059
3076
|
};
|
|
3060
|
-
const specRetryConfiguration = common.
|
|
3077
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3061
3078
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZoneTransferServersRequest.retryConfiguration, specRetryConfiguration);
|
|
3062
3079
|
if (this.logger)
|
|
3063
3080
|
retrier.logger = this.logger;
|
|
@@ -3139,15 +3156,17 @@ class DnsClient {
|
|
|
3139
3156
|
return oci_common_1.paginateResponses(request, req => this.listZoneTransferServers(req));
|
|
3140
3157
|
}
|
|
3141
3158
|
/**
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
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
|
+
*/
|
|
3151
3170
|
listZones(listZonesRequest) {
|
|
3152
3171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3153
3172
|
if (this.logger)
|
|
@@ -3173,7 +3192,7 @@ class DnsClient {
|
|
|
3173
3192
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3174
3193
|
"opc-request-id": listZonesRequest.opcRequestId
|
|
3175
3194
|
};
|
|
3176
|
-
const specRetryConfiguration = common.
|
|
3195
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3177
3196
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listZonesRequest.retryConfiguration, specRetryConfiguration);
|
|
3178
3197
|
if (this.logger)
|
|
3179
3198
|
retrier.logger = this.logger;
|
|
@@ -3260,18 +3279,19 @@ class DnsClient {
|
|
|
3260
3279
|
return oci_common_1.paginateResponses(request, req => this.listZones(req));
|
|
3261
3280
|
}
|
|
3262
3281
|
/**
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
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
|
+
*/
|
|
3275
3295
|
patchDomainRecords(patchDomainRecordsRequest) {
|
|
3276
3296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3277
3297
|
if (this.logger)
|
|
@@ -3291,7 +3311,7 @@ class DnsClient {
|
|
|
3291
3311
|
"If-Unmodified-Since": patchDomainRecordsRequest.ifUnmodifiedSince,
|
|
3292
3312
|
"opc-request-id": patchDomainRecordsRequest.opcRequestId
|
|
3293
3313
|
};
|
|
3294
|
-
const specRetryConfiguration = common.
|
|
3314
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3295
3315
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3296
3316
|
if (this.logger)
|
|
3297
3317
|
retrier.logger = this.logger;
|
|
@@ -3344,16 +3364,17 @@ class DnsClient {
|
|
|
3344
3364
|
});
|
|
3345
3365
|
}
|
|
3346
3366
|
/**
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
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
|
+
*/
|
|
3357
3378
|
patchRRSet(patchRRSetRequest) {
|
|
3358
3379
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3359
3380
|
if (this.logger)
|
|
@@ -3374,7 +3395,7 @@ class DnsClient {
|
|
|
3374
3395
|
"If-Unmodified-Since": patchRRSetRequest.ifUnmodifiedSince,
|
|
3375
3396
|
"opc-request-id": patchRRSetRequest.opcRequestId
|
|
3376
3397
|
};
|
|
3377
|
-
const specRetryConfiguration = common.
|
|
3398
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3378
3399
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
3379
3400
|
if (this.logger)
|
|
3380
3401
|
retrier.logger = this.logger;
|
|
@@ -3427,18 +3448,19 @@ class DnsClient {
|
|
|
3427
3448
|
});
|
|
3428
3449
|
}
|
|
3429
3450
|
/**
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
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
|
+
*/
|
|
3442
3464
|
patchZoneRecords(patchZoneRecordsRequest) {
|
|
3443
3465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3444
3466
|
if (this.logger)
|
|
@@ -3457,7 +3479,7 @@ class DnsClient {
|
|
|
3457
3479
|
"If-Unmodified-Since": patchZoneRecordsRequest.ifUnmodifiedSince,
|
|
3458
3480
|
"opc-request-id": patchZoneRecordsRequest.opcRequestId
|
|
3459
3481
|
};
|
|
3460
|
-
const specRetryConfiguration = common.
|
|
3482
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3461
3483
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3462
3484
|
if (this.logger)
|
|
3463
3485
|
retrier.logger = this.logger;
|
|
@@ -3510,19 +3532,19 @@ class DnsClient {
|
|
|
3510
3532
|
});
|
|
3511
3533
|
}
|
|
3512
3534
|
/**
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
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
|
+
*/
|
|
3526
3548
|
updateDomainRecords(updateDomainRecordsRequest) {
|
|
3527
3549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3528
3550
|
if (this.logger)
|
|
@@ -3542,7 +3564,7 @@ class DnsClient {
|
|
|
3542
3564
|
"If-Unmodified-Since": updateDomainRecordsRequest.ifUnmodifiedSince,
|
|
3543
3565
|
"opc-request-id": updateDomainRecordsRequest.opcRequestId
|
|
3544
3566
|
};
|
|
3545
|
-
const specRetryConfiguration = common.
|
|
3567
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3546
3568
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
3547
3569
|
if (this.logger)
|
|
3548
3570
|
retrier.logger = this.logger;
|
|
@@ -3595,16 +3617,17 @@ class DnsClient {
|
|
|
3595
3617
|
});
|
|
3596
3618
|
}
|
|
3597
3619
|
/**
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
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
|
+
*/
|
|
3608
3631
|
updateRRSet(updateRRSetRequest) {
|
|
3609
3632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3610
3633
|
if (this.logger)
|
|
@@ -3625,7 +3648,7 @@ class DnsClient {
|
|
|
3625
3648
|
"If-Unmodified-Since": updateRRSetRequest.ifUnmodifiedSince,
|
|
3626
3649
|
"opc-request-id": updateRRSetRequest.opcRequestId
|
|
3627
3650
|
};
|
|
3628
|
-
const specRetryConfiguration = common.
|
|
3651
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3629
3652
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateRRSetRequest.retryConfiguration, specRetryConfiguration);
|
|
3630
3653
|
if (this.logger)
|
|
3631
3654
|
retrier.logger = this.logger;
|
|
@@ -3678,13 +3701,13 @@ class DnsClient {
|
|
|
3678
3701
|
});
|
|
3679
3702
|
}
|
|
3680
3703
|
/**
|
|
3681
|
-
* Updates the specified resolver with your new information.
|
|
3704
|
+
* Updates the specified resolver with your new information.
|
|
3682
3705
|
*
|
|
3683
|
-
* This operation
|
|
3706
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3684
3707
|
* @param UpdateResolverRequest
|
|
3685
3708
|
* @return UpdateResolverResponse
|
|
3686
3709
|
* @throws OciError when an error occurs
|
|
3687
|
-
* @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.
|
|
3688
3711
|
*/
|
|
3689
3712
|
updateResolver(updateResolverRequest) {
|
|
3690
3713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3702,7 +3725,7 @@ class DnsClient {
|
|
|
3702
3725
|
"If-Unmodified-Since": updateResolverRequest.ifUnmodifiedSince,
|
|
3703
3726
|
"opc-request-id": updateResolverRequest.opcRequestId
|
|
3704
3727
|
};
|
|
3705
|
-
const specRetryConfiguration = common.
|
|
3728
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3706
3729
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverRequest.retryConfiguration, specRetryConfiguration);
|
|
3707
3730
|
if (this.logger)
|
|
3708
3731
|
retrier.logger = this.logger;
|
|
@@ -3750,13 +3773,13 @@ class DnsClient {
|
|
|
3750
3773
|
});
|
|
3751
3774
|
}
|
|
3752
3775
|
/**
|
|
3753
|
-
* Updates the specified resolver endpoint with your new information.
|
|
3776
|
+
* Updates the specified resolver endpoint with your new information.
|
|
3754
3777
|
*
|
|
3755
|
-
* This operation
|
|
3778
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3756
3779
|
* @param UpdateResolverEndpointRequest
|
|
3757
3780
|
* @return UpdateResolverEndpointResponse
|
|
3758
3781
|
* @throws OciError when an error occurs
|
|
3759
|
-
* @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.
|
|
3760
3783
|
*/
|
|
3761
3784
|
updateResolverEndpoint(updateResolverEndpointRequest) {
|
|
3762
3785
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3775,7 +3798,7 @@ class DnsClient {
|
|
|
3775
3798
|
"If-Unmodified-Since": updateResolverEndpointRequest.ifUnmodifiedSince,
|
|
3776
3799
|
"opc-request-id": updateResolverEndpointRequest.opcRequestId
|
|
3777
3800
|
};
|
|
3778
|
-
const specRetryConfiguration = common.
|
|
3801
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3779
3802
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateResolverEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
3780
3803
|
if (this.logger)
|
|
3781
3804
|
retrier.logger = this.logger;
|
|
@@ -3825,11 +3848,11 @@ class DnsClient {
|
|
|
3825
3848
|
/**
|
|
3826
3849
|
* Updates the configuration of the specified steering policy.
|
|
3827
3850
|
*
|
|
3828
|
-
* This operation
|
|
3851
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3829
3852
|
* @param UpdateSteeringPolicyRequest
|
|
3830
3853
|
* @return UpdateSteeringPolicyResponse
|
|
3831
3854
|
* @throws OciError when an error occurs
|
|
3832
|
-
* @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.
|
|
3833
3856
|
*/
|
|
3834
3857
|
updateSteeringPolicy(updateSteeringPolicyRequest) {
|
|
3835
3858
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3847,7 +3870,7 @@ class DnsClient {
|
|
|
3847
3870
|
"If-Unmodified-Since": updateSteeringPolicyRequest.ifUnmodifiedSince,
|
|
3848
3871
|
"opc-request-id": updateSteeringPolicyRequest.opcRequestId
|
|
3849
3872
|
};
|
|
3850
|
-
const specRetryConfiguration = common.
|
|
3873
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3851
3874
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3852
3875
|
if (this.logger)
|
|
3853
3876
|
retrier.logger = this.logger;
|
|
@@ -3892,11 +3915,11 @@ class DnsClient {
|
|
|
3892
3915
|
/**
|
|
3893
3916
|
* Updates the specified steering policy attachment with your new information.
|
|
3894
3917
|
*
|
|
3895
|
-
* This operation
|
|
3918
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3896
3919
|
* @param UpdateSteeringPolicyAttachmentRequest
|
|
3897
3920
|
* @return UpdateSteeringPolicyAttachmentResponse
|
|
3898
3921
|
* @throws OciError when an error occurs
|
|
3899
|
-
* @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.
|
|
3900
3923
|
*/
|
|
3901
3924
|
updateSteeringPolicyAttachment(updateSteeringPolicyAttachmentRequest) {
|
|
3902
3925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3914,7 +3937,7 @@ class DnsClient {
|
|
|
3914
3937
|
"If-Unmodified-Since": updateSteeringPolicyAttachmentRequest.ifUnmodifiedSince,
|
|
3915
3938
|
"opc-request-id": updateSteeringPolicyAttachmentRequest.opcRequestId
|
|
3916
3939
|
};
|
|
3917
|
-
const specRetryConfiguration = common.
|
|
3940
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3918
3941
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSteeringPolicyAttachmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3919
3942
|
if (this.logger)
|
|
3920
3943
|
retrier.logger = this.logger;
|
|
@@ -3959,11 +3982,11 @@ class DnsClient {
|
|
|
3959
3982
|
/**
|
|
3960
3983
|
* Updates the specified TSIG key.
|
|
3961
3984
|
*
|
|
3962
|
-
* This operation
|
|
3985
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3963
3986
|
* @param UpdateTsigKeyRequest
|
|
3964
3987
|
* @return UpdateTsigKeyResponse
|
|
3965
3988
|
* @throws OciError when an error occurs
|
|
3966
|
-
* @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.
|
|
3967
3990
|
*/
|
|
3968
3991
|
updateTsigKey(updateTsigKeyRequest) {
|
|
3969
3992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3981,7 +4004,7 @@ class DnsClient {
|
|
|
3981
4004
|
"If-Unmodified-Since": updateTsigKeyRequest.ifUnmodifiedSince,
|
|
3982
4005
|
"opc-request-id": updateTsigKeyRequest.opcRequestId
|
|
3983
4006
|
};
|
|
3984
|
-
const specRetryConfiguration = common.
|
|
4007
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3985
4008
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTsigKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
3986
4009
|
if (this.logger)
|
|
3987
4010
|
retrier.logger = this.logger;
|
|
@@ -4029,13 +4052,13 @@ class DnsClient {
|
|
|
4029
4052
|
});
|
|
4030
4053
|
}
|
|
4031
4054
|
/**
|
|
4032
|
-
* Updates the specified view with your new information.
|
|
4055
|
+
* Updates the specified view with your new information.
|
|
4033
4056
|
*
|
|
4034
|
-
* This operation
|
|
4057
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4035
4058
|
* @param UpdateViewRequest
|
|
4036
4059
|
* @return UpdateViewResponse
|
|
4037
4060
|
* @throws OciError when an error occurs
|
|
4038
|
-
* @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.
|
|
4039
4062
|
*/
|
|
4040
4063
|
updateView(updateViewRequest) {
|
|
4041
4064
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4053,7 +4076,7 @@ class DnsClient {
|
|
|
4053
4076
|
"If-Unmodified-Since": updateViewRequest.ifUnmodifiedSince,
|
|
4054
4077
|
"opc-request-id": updateViewRequest.opcRequestId
|
|
4055
4078
|
};
|
|
4056
|
-
const specRetryConfiguration = common.
|
|
4079
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4057
4080
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateViewRequest.retryConfiguration, specRetryConfiguration);
|
|
4058
4081
|
if (this.logger)
|
|
4059
4082
|
retrier.logger = this.logger;
|
|
@@ -4101,18 +4124,19 @@ class DnsClient {
|
|
|
4101
4124
|
});
|
|
4102
4125
|
}
|
|
4103
4126
|
/**
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
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
|
+
*/
|
|
4116
4140
|
updateZone(updateZoneRequest) {
|
|
4117
4141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4118
4142
|
if (this.logger)
|
|
@@ -4131,7 +4155,7 @@ class DnsClient {
|
|
|
4131
4155
|
"If-Unmodified-Since": updateZoneRequest.ifUnmodifiedSince,
|
|
4132
4156
|
"opc-request-id": updateZoneRequest.opcRequestId
|
|
4133
4157
|
};
|
|
4134
|
-
const specRetryConfiguration = common.
|
|
4158
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4135
4159
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRequest.retryConfiguration, specRetryConfiguration);
|
|
4136
4160
|
if (this.logger)
|
|
4137
4161
|
retrier.logger = this.logger;
|
|
@@ -4179,19 +4203,20 @@ class DnsClient {
|
|
|
4179
4203
|
});
|
|
4180
4204
|
}
|
|
4181
4205
|
/**
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
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
|
+
*/
|
|
4195
4220
|
updateZoneRecords(updateZoneRecordsRequest) {
|
|
4196
4221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4197
4222
|
if (this.logger)
|
|
@@ -4210,7 +4235,7 @@ class DnsClient {
|
|
|
4210
4235
|
"If-Unmodified-Since": updateZoneRecordsRequest.ifUnmodifiedSince,
|
|
4211
4236
|
"opc-request-id": updateZoneRecordsRequest.opcRequestId
|
|
4212
4237
|
};
|
|
4213
|
-
const specRetryConfiguration = common.
|
|
4238
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
4214
4239
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateZoneRecordsRequest.retryConfiguration, specRetryConfiguration);
|
|
4215
4240
|
if (this.logger)
|
|
4216
4241
|
retrier.logger = this.logger;
|