oci-dns 2.76.1 → 2.77.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 +52 -52
- package/lib/client.js +52 -52
- package/lib/model/create-steering-policy-details.d.ts +18 -18
- package/lib/model/create-tsig-key-details.d.ts +2 -2
- package/lib/model/create-view-details.d.ts +2 -2
- package/lib/model/create-zone-base-details.d.ts +2 -2
- package/lib/model/create-zone-details.d.ts +4 -4
- package/lib/model/dynect-migration-details.d.ts +1 -1
- package/lib/model/external-downstream.d.ts +1 -1
- package/lib/model/migration-replacement.d.ts +1 -1
- package/lib/model/record-operation.d.ts +8 -8
- package/lib/model/resolver-endpoint-summary.d.ts +2 -2
- package/lib/model/resolver-endpoint.d.ts +2 -2
- package/lib/model/resolver-summary.d.ts +4 -4
- package/lib/model/resolver.d.ts +4 -4
- package/lib/model/steering-policy-answer.d.ts +7 -7
- package/lib/model/steering-policy-attachment-summary.d.ts +1 -1
- package/lib/model/steering-policy-attachment.d.ts +1 -1
- package/lib/model/steering-policy-filter-answer-data.d.ts +1 -1
- package/lib/model/steering-policy-filter-rule-case.d.ts +3 -3
- package/lib/model/steering-policy-filter-rule.d.ts +8 -8
- package/lib/model/steering-policy-health-rule-case.d.ts +2 -2
- package/lib/model/steering-policy-health-rule.d.ts +6 -6
- package/lib/model/steering-policy-limit-rule-case.d.ts +3 -3
- package/lib/model/steering-policy-limit-rule.d.ts +8 -8
- package/lib/model/steering-policy-priority-answer-data.d.ts +2 -2
- package/lib/model/steering-policy-priority-rule-case.d.ts +3 -3
- package/lib/model/steering-policy-priority-rule.d.ts +8 -8
- package/lib/model/steering-policy-rule.d.ts +1 -1
- package/lib/model/steering-policy-summary.d.ts +19 -19
- package/lib/model/steering-policy-weighted-answer-data.d.ts +1 -1
- package/lib/model/steering-policy-weighted-rule-case.d.ts +3 -3
- package/lib/model/steering-policy-weighted-rule.d.ts +8 -8
- package/lib/model/steering-policy.d.ts +19 -19
- package/lib/model/tsig-key-summary.d.ts +3 -3
- package/lib/model/tsig-key.d.ts +4 -4
- package/lib/model/update-resolver-details.d.ts +2 -2
- package/lib/model/update-steering-policy-details.d.ts +18 -18
- package/lib/model/update-tsig-key-details.d.ts +2 -2
- package/lib/model/update-view-details.d.ts +2 -2
- package/lib/model/update-zone-details.d.ts +5 -5
- package/lib/model/view-summary.d.ts +4 -4
- package/lib/model/view.d.ts +4 -4
- package/lib/model/zone-summary.d.ts +4 -4
- package/lib/model/zone.d.ts +7 -7
- package/lib/request/change-resolver-compartment-request.d.ts +3 -3
- package/lib/request/change-steering-policy-compartment-request.d.ts +3 -3
- package/lib/request/change-tsig-key-compartment-request.d.ts +3 -3
- package/lib/request/change-view-compartment-request.d.ts +3 -3
- package/lib/request/change-zone-compartment-request.d.ts +3 -3
- 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-from-zone-file-request.d.ts +1 -1
- package/lib/request/create-zone-request.d.ts +1 -1
- package/lib/request/delete-domain-records-request.d.ts +4 -4
- package/lib/request/delete-resolver-endpoint-request.d.ts +4 -4
- package/lib/request/delete-rrset-request.d.ts +4 -4
- package/lib/request/delete-steering-policy-attachment-request.d.ts +4 -4
- package/lib/request/delete-steering-policy-request.d.ts +4 -4
- package/lib/request/delete-tsig-key-request.d.ts +4 -4
- package/lib/request/delete-view-request.d.ts +4 -4
- package/lib/request/delete-zone-request.d.ts +4 -4
- package/lib/request/get-domain-records-request.d.ts +5 -5
- package/lib/request/get-resolver-endpoint-request.d.ts +4 -4
- package/lib/request/get-resolver-request.d.ts +4 -4
- package/lib/request/get-rrset-request.d.ts +5 -5
- package/lib/request/get-steering-policy-attachment-request.d.ts +4 -4
- package/lib/request/get-steering-policy-request.d.ts +4 -4
- package/lib/request/get-tsig-key-request.d.ts +4 -4
- package/lib/request/get-view-request.d.ts +4 -4
- package/lib/request/get-zone-content-request.d.ts +4 -4
- package/lib/request/get-zone-records-request.d.ts +5 -5
- package/lib/request/get-zone-request.d.ts +4 -4
- package/lib/request/list-resolver-endpoints-request.d.ts +2 -2
- package/lib/request/list-resolvers-request.d.ts +2 -2
- package/lib/request/list-steering-policies-request.d.ts +3 -3
- package/lib/request/list-steering-policy-attachments-request.d.ts +3 -3
- package/lib/request/list-tsig-keys-request.d.ts +3 -3
- package/lib/request/list-views-request.d.ts +2 -2
- package/lib/request/list-zone-transfer-servers-request.d.ts +2 -2
- package/lib/request/list-zones-request.d.ts +3 -3
- package/lib/request/patch-domain-records-request.d.ts +4 -4
- package/lib/request/patch-rrset-request.d.ts +4 -4
- package/lib/request/patch-zone-records-request.d.ts +4 -4
- package/lib/request/update-domain-records-request.d.ts +4 -4
- package/lib/request/update-resolver-endpoint-request.d.ts +4 -4
- package/lib/request/update-resolver-request.d.ts +4 -4
- package/lib/request/update-rrset-request.d.ts +4 -4
- package/lib/request/update-steering-policy-attachment-request.d.ts +4 -4
- package/lib/request/update-steering-policy-request.d.ts +4 -4
- package/lib/request/update-tsig-key-request.d.ts +4 -4
- package/lib/request/update-view-request.d.ts +4 -4
- package/lib/request/update-zone-records-request.d.ts +4 -4
- package/lib/request/update-zone-request.d.ts +4 -4
- package/package.json +3 -3
|
@@ -34,7 +34,7 @@ export interface DynectMigrationDetails {
|
|
|
34
34
|
*/
|
|
35
35
|
"password": string;
|
|
36
36
|
/**
|
|
37
|
-
* A map of fully-qualified domain names (FQDNs) to an array of
|
|
37
|
+
* A map of fully-qualified domain names (FQDNs) to an array of {@code MigrationReplacement} objects.
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
40
|
"httpRedirectReplacements"?: {
|
|
@@ -14,7 +14,7 @@ For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concep
|
|
|
14
14
|
*/
|
|
15
15
|
/**
|
|
16
16
|
* External downstream nameserver for the zone.
|
|
17
|
-
* This field is currently not supported when
|
|
17
|
+
* This field is currently not supported when {@code zoneType} is {@code SECONDARY} or {@code scope} is {@code PRIVATE}.
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
20
|
export interface ExternalDownstream {
|
|
@@ -23,7 +23,7 @@ export interface MigrationReplacement {
|
|
|
23
23
|
*/
|
|
24
24
|
"rtype": string;
|
|
25
25
|
/**
|
|
26
|
-
* The canonical name for a substitute type of the replacement record to be used if the specified
|
|
26
|
+
* The canonical name for a substitute type of the replacement record to be used if the specified {@code rtype} is not allowed at the domain. The specified {@code ttl} and {@code rdata} will still apply with the substitute type.
|
|
27
27
|
*/
|
|
28
28
|
"substituteRtype"?: string;
|
|
29
29
|
/**
|
|
@@ -15,7 +15,7 @@ For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concep
|
|
|
15
15
|
/**
|
|
16
16
|
* An extension of the existing record resource, describing either a
|
|
17
17
|
* precondition, an add, or a remove. Preconditions check all fields,
|
|
18
|
-
* including read-only data like
|
|
18
|
+
* including read-only data like {@code recordHash} and {@code rrsetVersion}.
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
export interface RecordOperation {
|
|
@@ -63,22 +63,22 @@ export interface RecordOperation {
|
|
|
63
63
|
* A description of how a record relates to a PATCH operation.
|
|
64
64
|
* <p>
|
|
65
65
|
|
|
66
|
-
* -
|
|
67
|
-
* -
|
|
68
|
-
* -
|
|
69
|
-
* -
|
|
66
|
+
* - {@code REQUIRE} indicates a precondition that record data **must** already exist.
|
|
67
|
+
* - {@code PROHIBIT} indicates a precondition that record data **must not** already exist.
|
|
68
|
+
* - {@code ADD} indicates that record data **must** exist after successful application.
|
|
69
|
+
* - {@code REMOVE} indicates that record data **must not** exist after successful application.
|
|
70
70
|
* <p>
|
|
71
71
|
|
|
72
|
-
* **Note:**
|
|
72
|
+
* **Note:** {@code ADD} and {@code REMOVE} operations can succeed even if
|
|
73
73
|
* they require no changes when applied, such as when the described
|
|
74
74
|
* records are already present or absent.
|
|
75
75
|
* <p>
|
|
76
76
|
|
|
77
|
-
* **Note:**
|
|
77
|
+
* **Note:** {@code ADD} and {@code REMOVE} operations can describe changes for
|
|
78
78
|
* more than one record.
|
|
79
79
|
* <p>
|
|
80
80
|
|
|
81
|
-
* **Example:**
|
|
81
|
+
* **Example:** {@code { \"domain\": \"www.example.com\", \"rtype\": \"AAAA\", \"ttl\": 60 }}
|
|
82
82
|
* specifies a new TTL for every record in the www.example.com AAAA RRSet.
|
|
83
83
|
*
|
|
84
84
|
*/
|
|
@@ -56,7 +56,7 @@ export interface ResolverEndpointSummary {
|
|
|
56
56
|
* The date and time the resource was created in \"YYYY-MM-ddThh:mm:ssZ\" format
|
|
57
57
|
* with a Z offset, as defined by RFC 3339.
|
|
58
58
|
* <p>
|
|
59
|
-
**Example:**
|
|
59
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
60
60
|
*
|
|
61
61
|
*/
|
|
62
62
|
"timeCreated": Date;
|
|
@@ -64,7 +64,7 @@ export interface ResolverEndpointSummary {
|
|
|
64
64
|
* The date and time the resource was last updated in \"YYYY-MM-ddThh:mm:ssZ\"
|
|
65
65
|
* format with a Z offset, as defined by RFC 3339.
|
|
66
66
|
* <p>
|
|
67
|
-
**Example:**
|
|
67
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
68
68
|
*
|
|
69
69
|
*/
|
|
70
70
|
"timeUpdated": Date;
|
|
@@ -56,7 +56,7 @@ export interface ResolverEndpoint {
|
|
|
56
56
|
* The date and time the resource was created in \"YYYY-MM-ddThh:mm:ssZ\" format
|
|
57
57
|
* with a Z offset, as defined by RFC 3339.
|
|
58
58
|
* <p>
|
|
59
|
-
**Example:**
|
|
59
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
60
60
|
*
|
|
61
61
|
*/
|
|
62
62
|
"timeCreated": Date;
|
|
@@ -64,7 +64,7 @@ export interface ResolverEndpoint {
|
|
|
64
64
|
* The date and time the resource was last updated in \"YYYY-MM-ddThh:mm:ssZ\"
|
|
65
65
|
* format with a Z offset, as defined by RFC 3339.
|
|
66
66
|
* <p>
|
|
67
|
-
**Example:**
|
|
67
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
68
68
|
*
|
|
69
69
|
*/
|
|
70
70
|
"timeUpdated": Date;
|
|
@@ -42,7 +42,7 @@ export interface ResolverSummary {
|
|
|
42
42
|
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
43
43
|
* <p>
|
|
44
44
|
|
|
45
|
-
* **Example:**
|
|
45
|
+
* **Example:** {@code {\"Department\": \"Finance\"}}
|
|
46
46
|
*
|
|
47
47
|
*/
|
|
48
48
|
"freeformTags": {
|
|
@@ -53,7 +53,7 @@ export interface ResolverSummary {
|
|
|
53
53
|
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
54
54
|
* <p>
|
|
55
55
|
|
|
56
|
-
* **Example:**
|
|
56
|
+
* **Example:** {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
57
57
|
*
|
|
58
58
|
*/
|
|
59
59
|
"definedTags": {
|
|
@@ -69,7 +69,7 @@ export interface ResolverSummary {
|
|
|
69
69
|
* The date and time the resource was created in \"YYYY-MM-ddThh:mm:ssZ\" format
|
|
70
70
|
* with a Z offset, as defined by RFC 3339.
|
|
71
71
|
* <p>
|
|
72
|
-
**Example:**
|
|
72
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
73
73
|
*
|
|
74
74
|
*/
|
|
75
75
|
"timeCreated": Date;
|
|
@@ -77,7 +77,7 @@ export interface ResolverSummary {
|
|
|
77
77
|
* The date and time the resource was last updated in \"YYYY-MM-ddThh:mm:ssZ\"
|
|
78
78
|
* format with a Z offset, as defined by RFC 3339.
|
|
79
79
|
* <p>
|
|
80
|
-
**Example:**
|
|
80
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
81
81
|
*
|
|
82
82
|
*/
|
|
83
83
|
"timeUpdated": Date;
|
package/lib/model/resolver.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface Resolver {
|
|
|
43
43
|
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
44
44
|
* <p>
|
|
45
45
|
|
|
46
|
-
* **Example:**
|
|
46
|
+
* **Example:** {@code {\"Department\": \"Finance\"}}
|
|
47
47
|
*
|
|
48
48
|
*/
|
|
49
49
|
"freeformTags": {
|
|
@@ -54,7 +54,7 @@ export interface Resolver {
|
|
|
54
54
|
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
55
55
|
* <p>
|
|
56
56
|
|
|
57
|
-
* **Example:**
|
|
57
|
+
* **Example:** {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
58
58
|
*
|
|
59
59
|
*/
|
|
60
60
|
"definedTags": {
|
|
@@ -70,7 +70,7 @@ export interface Resolver {
|
|
|
70
70
|
* The date and time the resource was created in \"YYYY-MM-ddThh:mm:ssZ\" format
|
|
71
71
|
* with a Z offset, as defined by RFC 3339.
|
|
72
72
|
* <p>
|
|
73
|
-
**Example:**
|
|
73
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
74
74
|
*
|
|
75
75
|
*/
|
|
76
76
|
"timeCreated": Date;
|
|
@@ -78,7 +78,7 @@ export interface Resolver {
|
|
|
78
78
|
* The date and time the resource was last updated in \"YYYY-MM-ddThh:mm:ssZ\"
|
|
79
79
|
* format with a Z offset, as defined by RFC 3339.
|
|
80
80
|
* <p>
|
|
81
|
-
**Example:**
|
|
81
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
82
82
|
*
|
|
83
83
|
*/
|
|
84
84
|
"timeUpdated": Date;
|
|
@@ -22,8 +22,8 @@ For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concep
|
|
|
22
22
|
export interface SteeringPolicyAnswer {
|
|
23
23
|
/**
|
|
24
24
|
* A user-friendly name for the answer, unique within the steering policy.
|
|
25
|
-
* An answer's
|
|
26
|
-
* of rules using
|
|
25
|
+
* An answer's {@code name} property can be referenced in {@code answerCondition} properties
|
|
26
|
+
* of rules using {@code answer.name}.
|
|
27
27
|
* <p>
|
|
28
28
|
**Example:**
|
|
29
29
|
* <p>
|
|
@@ -57,8 +57,8 @@ export interface SteeringPolicyAnswer {
|
|
|
57
57
|
"rdata": string;
|
|
58
58
|
/**
|
|
59
59
|
* The freeform name of a group of one or more records in which this record is included,
|
|
60
|
-
* such as \"LAX data center\". An answer's
|
|
61
|
-
* properties of rules using
|
|
60
|
+
* such as \"LAX data center\". An answer's {@code pool} property can be referenced in {@code answerCondition}
|
|
61
|
+
* properties of rules using {@code answer.pool}.
|
|
62
62
|
* <p>
|
|
63
63
|
**Example:**
|
|
64
64
|
* <p>
|
|
@@ -77,9 +77,9 @@ export interface SteeringPolicyAnswer {
|
|
|
77
77
|
*/
|
|
78
78
|
"pool"?: string;
|
|
79
79
|
/**
|
|
80
|
-
* Set this property to
|
|
81
|
-
* such as when the corresponding server is down for maintenance. An answer's
|
|
82
|
-
* property can be referenced in
|
|
80
|
+
* Set this property to {@code true} to indicate that the answer is administratively disabled,
|
|
81
|
+
* such as when the corresponding server is down for maintenance. An answer's {@code isDisabled}
|
|
82
|
+
* property can be referenced in {@code answerCondition} properties in rules using {@code answer.isDisabled}.
|
|
83
83
|
* <p>
|
|
84
84
|
**Example:**
|
|
85
85
|
* \"rules\": [
|
|
@@ -57,7 +57,7 @@ export interface SteeringPolicyAttachmentSummary {
|
|
|
57
57
|
/**
|
|
58
58
|
* The date and time the resource was created, expressed in RFC 3339 timestamp format.
|
|
59
59
|
* <p>
|
|
60
|
-
**Example:**
|
|
60
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
61
61
|
*
|
|
62
62
|
*/
|
|
63
63
|
"timeCreated": Date;
|
|
@@ -63,7 +63,7 @@ export interface SteeringPolicyAttachment {
|
|
|
63
63
|
/**
|
|
64
64
|
* The date and time the resource was created, expressed in RFC 3339 timestamp format.
|
|
65
65
|
* <p>
|
|
66
|
-
**Example:**
|
|
66
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
67
67
|
*
|
|
68
68
|
*/
|
|
69
69
|
"timeCreated": Date;
|
|
@@ -18,14 +18,14 @@ export interface SteeringPolicyFilterRuleCase {
|
|
|
18
18
|
* An expression that uses conditions at the time of a DNS query to indicate
|
|
19
19
|
* whether a case matches. Conditions may include the geographical location, IP
|
|
20
20
|
* subnet, or ASN the DNS query originated. **Example:** If you have an
|
|
21
|
-
* office that uses the subnet
|
|
22
|
-
* expression
|
|
21
|
+
* office that uses the subnet {@code 192.0.2.0/24} you could use a {@code caseCondition}
|
|
22
|
+
* expression {@code query.client.address in ('192.0.2.0/24')} to define a case that
|
|
23
23
|
* matches queries from that office.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
"caseCondition"?: string;
|
|
27
27
|
/**
|
|
28
|
-
* An array of
|
|
28
|
+
* An array of {@code SteeringPolicyFilterAnswerData} objects.
|
|
29
29
|
*/
|
|
30
30
|
"answerData"?: Array<model.SteeringPolicyFilterAnswerData>;
|
|
31
31
|
}
|
|
@@ -15,21 +15,21 @@ For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concep
|
|
|
15
15
|
import * as model from "../model";
|
|
16
16
|
export interface SteeringPolicyFilterRule extends model.SteeringPolicyRule {
|
|
17
17
|
/**
|
|
18
|
-
* An array of
|
|
18
|
+
* An array of {@code caseConditions}. A rule may optionally include a sequence of cases defining alternate
|
|
19
19
|
* configurations for how it should behave during processing for any given DNS query. When a rule has
|
|
20
|
-
* no sequence of
|
|
21
|
-
* a rule has an empty sequence of
|
|
22
|
-
* non-empty sequence of
|
|
23
|
-
*
|
|
24
|
-
*
|
|
20
|
+
* no sequence of {@code cases}, it is always evaluated with the same configuration during processing. When
|
|
21
|
+
* a rule has an empty sequence of {@code cases}, it is always ignored during processing. When a rule has a
|
|
22
|
+
* non-empty sequence of {@code cases}, its behavior during processing is configured by the first matching
|
|
23
|
+
* {@code case} in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
|
|
24
|
+
* {@code caseCondition} always matches. A rule case with a {@code caseCondition} matches only when that expression
|
|
25
25
|
* evaluates to true for the given query.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
"cases"?: Array<model.SteeringPolicyFilterRuleCase>;
|
|
29
29
|
/**
|
|
30
30
|
* Defines a default set of answer conditions and values that are applied to an answer when
|
|
31
|
-
*
|
|
32
|
-
*
|
|
31
|
+
* {@code cases} is not defined for the rule, or a matching case does not have any matching
|
|
32
|
+
* {@code answerCondition}s in its {@code answerData}. {@code defaultAnswerData} is not applied if {@code cases} is
|
|
33
33
|
* defined and there are no matching cases. In this scenario, the next rule will be processed.
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
@@ -17,8 +17,8 @@ export interface SteeringPolicyHealthRuleCase {
|
|
|
17
17
|
* An expression that uses conditions at the time of a DNS query to indicate
|
|
18
18
|
* whether a case matches. Conditions may include the geographical location, IP
|
|
19
19
|
* subnet, or ASN the DNS query originated. **Example:** If you have an
|
|
20
|
-
* office that uses the subnet
|
|
21
|
-
* expression
|
|
20
|
+
* office that uses the subnet {@code 192.0.2.0/24} you could use a {@code caseCondition}
|
|
21
|
+
* expression {@code query.client.address in ('192.0.2.0/24')} to define a case that
|
|
22
22
|
* matches queries from that office.
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
@@ -15,13 +15,13 @@ For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concep
|
|
|
15
15
|
import * as model from "../model";
|
|
16
16
|
export interface SteeringPolicyHealthRule extends model.SteeringPolicyRule {
|
|
17
17
|
/**
|
|
18
|
-
* An array of
|
|
18
|
+
* An array of {@code caseConditions}. A rule may optionally include a sequence of cases defining alternate
|
|
19
19
|
* configurations for how it should behave during processing for any given DNS query. When a rule has
|
|
20
|
-
* no sequence of
|
|
21
|
-
* a rule has an empty sequence of
|
|
22
|
-
* non-empty sequence of
|
|
23
|
-
*
|
|
24
|
-
*
|
|
20
|
+
* no sequence of {@code cases}, it is always evaluated with the same configuration during processing. When
|
|
21
|
+
* a rule has an empty sequence of {@code cases}, it is always ignored during processing. When a rule has a
|
|
22
|
+
* non-empty sequence of {@code cases}, its behavior during processing is configured by the first matching
|
|
23
|
+
* {@code case} in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
|
|
24
|
+
* {@code caseCondition} always matches. A rule case with a {@code caseCondition} matches only when that expression
|
|
25
25
|
* evaluates to true for the given query.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -17,15 +17,15 @@ export interface SteeringPolicyLimitRuleCase {
|
|
|
17
17
|
* An expression that uses conditions at the time of a DNS query to indicate
|
|
18
18
|
* whether a case matches. Conditions may include the geographical location, IP
|
|
19
19
|
* subnet, or ASN the DNS query originated. **Example:** If you have an
|
|
20
|
-
* office that uses the subnet
|
|
21
|
-
* expression
|
|
20
|
+
* office that uses the subnet {@code 192.0.2.0/24} you could use a {@code caseCondition}
|
|
21
|
+
* expression {@code query.client.address in ('192.0.2.0/24')} to define a case that
|
|
22
22
|
* matches queries from that office.
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
"caseCondition"?: string;
|
|
26
26
|
/**
|
|
27
27
|
* The number of answers allowed to remain after the limit rule has been processed, keeping only the
|
|
28
|
-
* first of the remaining answers in the list. Example: If the
|
|
28
|
+
* first of the remaining answers in the list. Example: If the {@code count} property is set to {@code 2} and
|
|
29
29
|
* four answers remain before the limit rule is processed, only the first two answers in the list will
|
|
30
30
|
* remain after the limit rule has been processed.
|
|
31
31
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
@@ -15,20 +15,20 @@ For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concep
|
|
|
15
15
|
import * as model from "../model";
|
|
16
16
|
export interface SteeringPolicyLimitRule extends model.SteeringPolicyRule {
|
|
17
17
|
/**
|
|
18
|
-
* An array of
|
|
18
|
+
* An array of {@code caseConditions}. A rule may optionally include a sequence of cases defining alternate
|
|
19
19
|
* configurations for how it should behave during processing for any given DNS query. When a rule has
|
|
20
|
-
* no sequence of
|
|
21
|
-
* a rule has an empty sequence of
|
|
22
|
-
* non-empty sequence of
|
|
23
|
-
*
|
|
24
|
-
*
|
|
20
|
+
* no sequence of {@code cases}, it is always evaluated with the same configuration during processing. When
|
|
21
|
+
* a rule has an empty sequence of {@code cases}, it is always ignored during processing. When a rule has a
|
|
22
|
+
* non-empty sequence of {@code cases}, its behavior during processing is configured by the first matching
|
|
23
|
+
* {@code case} in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
|
|
24
|
+
* {@code caseCondition} always matches. A rule case with a {@code caseCondition} matches only when that expression
|
|
25
25
|
* evaluates to true for the given query.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
"cases"?: Array<model.SteeringPolicyLimitRuleCase>;
|
|
29
29
|
/**
|
|
30
|
-
* Defines a default count if
|
|
31
|
-
* not define
|
|
30
|
+
* Defines a default count if {@code cases} is not defined for the rule or a matching case does
|
|
31
|
+
* not define {@code count}. {@code defaultCount} is **not** applied if {@code cases} is defined and there
|
|
32
32
|
* are no matching cases. In this scenario, the next rule will be processed. If no rules
|
|
33
33
|
* remain to be processed, the answer will be chosen from the remaining list of answers.
|
|
34
34
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
@@ -19,9 +19,9 @@ export interface SteeringPolicyPriorityAnswerData {
|
|
|
19
19
|
*/
|
|
20
20
|
"answerCondition"?: string;
|
|
21
21
|
/**
|
|
22
|
-
* The rank assigned to the set of answers that match the expression in
|
|
22
|
+
* The rank assigned to the set of answers that match the expression in {@code answerCondition}.
|
|
23
23
|
* Answers with the lowest values move to the beginning of the list without changing the
|
|
24
|
-
* relative order of those with the same value. Answers can be given a value between
|
|
24
|
+
* relative order of those with the same value. Answers can be given a value between {@code 0} and {@code 255}.
|
|
25
25
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
26
26
|
*/
|
|
27
27
|
"value": number;
|
|
@@ -18,14 +18,14 @@ export interface SteeringPolicyPriorityRuleCase {
|
|
|
18
18
|
* An expression that uses conditions at the time of a DNS query to indicate
|
|
19
19
|
* whether a case matches. Conditions may include the geographical location, IP
|
|
20
20
|
* subnet, or ASN the DNS query originated. **Example:** If you have an
|
|
21
|
-
* office that uses the subnet
|
|
22
|
-
* expression
|
|
21
|
+
* office that uses the subnet {@code 192.0.2.0/24} you could use a {@code caseCondition}
|
|
22
|
+
* expression {@code query.client.address in ('192.0.2.0/24')} to define a case that
|
|
23
23
|
* matches queries from that office.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
"caseCondition"?: string;
|
|
27
27
|
/**
|
|
28
|
-
* An array of
|
|
28
|
+
* An array of {@code SteeringPolicyPriorityAnswerData} objects.
|
|
29
29
|
*/
|
|
30
30
|
"answerData"?: Array<model.SteeringPolicyPriorityAnswerData>;
|
|
31
31
|
}
|
|
@@ -15,21 +15,21 @@ For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concep
|
|
|
15
15
|
import * as model from "../model";
|
|
16
16
|
export interface SteeringPolicyPriorityRule extends model.SteeringPolicyRule {
|
|
17
17
|
/**
|
|
18
|
-
* An array of
|
|
18
|
+
* An array of {@code caseConditions}. A rule may optionally include a sequence of cases defining alternate
|
|
19
19
|
* configurations for how it should behave during processing for any given DNS query. When a rule has
|
|
20
|
-
* no sequence of
|
|
21
|
-
* a rule has an empty sequence of
|
|
22
|
-
* non-empty sequence of
|
|
23
|
-
*
|
|
24
|
-
*
|
|
20
|
+
* no sequence of {@code cases}, it is always evaluated with the same configuration during processing. When
|
|
21
|
+
* a rule has an empty sequence of {@code cases}, it is always ignored during processing. When a rule has a
|
|
22
|
+
* non-empty sequence of {@code cases}, its behavior during processing is configured by the first matching
|
|
23
|
+
* {@code case} in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
|
|
24
|
+
* {@code caseCondition} always matches. A rule case with a {@code caseCondition} matches only when that expression
|
|
25
25
|
* evaluates to true for the given query.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
"cases"?: Array<model.SteeringPolicyPriorityRuleCase>;
|
|
29
29
|
/**
|
|
30
30
|
* Defines a default set of answer conditions and values that are applied to an answer when
|
|
31
|
-
*
|
|
32
|
-
*
|
|
31
|
+
* {@code cases} is not defined for the rule or a matching case does not have any matching
|
|
32
|
+
* {@code answerCondition}s in its {@code answerData}. {@code defaultAnswerData} is not applied if {@code cases} is
|
|
33
33
|
* defined and there are no matching cases. In this scenario, the next rule will be processed.
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
@@ -17,7 +17,7 @@ For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concep
|
|
|
17
17
|
* filter and sort answers based on weight, priority, endpoint health, and other data.
|
|
18
18
|
* <p>
|
|
19
19
|
|
|
20
|
-
* A rule may optionally include a sequence of cases, each with an optional
|
|
20
|
+
* A rule may optionally include a sequence of cases, each with an optional {@code caseCondition}
|
|
21
21
|
* expression. Cases allow a sequence of conditions to be defined that will apply different
|
|
22
22
|
* parameters to the rule when the conditions are met. For more information about cases,
|
|
23
23
|
* see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
|
|
@@ -37,8 +37,8 @@ export interface SteeringPolicySummary {
|
|
|
37
37
|
"ttl": number;
|
|
38
38
|
/**
|
|
39
39
|
* The OCID of the health check monitor providing health data about the answers of the
|
|
40
|
-
* steering policy. A steering policy answer with
|
|
41
|
-
* will use the health data of that endpoint. A steering policy answer with
|
|
40
|
+
* steering policy. A steering policy answer with {@code rdata} matching a monitored endpoint
|
|
41
|
+
* will use the health data of that endpoint. A steering policy answer with {@code rdata} not
|
|
42
42
|
* matching any monitored endpoint will be assumed healthy.
|
|
43
43
|
* <p>
|
|
44
44
|
|
|
@@ -54,42 +54,42 @@ export interface SteeringPolicySummary {
|
|
|
54
54
|
* results when answering DNS queries.
|
|
55
55
|
* <p>
|
|
56
56
|
|
|
57
|
-
* **Example:** The
|
|
58
|
-
* using the
|
|
59
|
-
* and
|
|
57
|
+
* **Example:** The {@code FAILOVER} template determines answers by filtering the policy's answers
|
|
58
|
+
* using the {@code FILTER} rule first, then the following rules in succession: {@code HEALTH}, {@code PRIORITY},
|
|
59
|
+
* and {@code LIMIT}. This gives the domain dynamic failover capability.
|
|
60
60
|
* <p>
|
|
61
61
|
|
|
62
|
-
* It is **strongly recommended** to use a template other than
|
|
62
|
+
* It is **strongly recommended** to use a template other than {@code CUSTOM} when creating
|
|
63
63
|
* a steering policy.
|
|
64
64
|
* <p>
|
|
65
65
|
|
|
66
|
-
* All templates require the rule order to begin with an unconditional
|
|
67
|
-
* answers contingent upon
|
|
68
|
-
*
|
|
69
|
-
* The last rule of a template must must be a
|
|
66
|
+
* All templates require the rule order to begin with an unconditional {@code FILTER} rule that keeps
|
|
67
|
+
* answers contingent upon {@code answer.isDisabled != true}, except for {@code CUSTOM}. A defined
|
|
68
|
+
* {@code HEALTH} rule must follow the {@code FILTER} rule if the policy references a {@code healthCheckMonitorId}.
|
|
69
|
+
* The last rule of a template must must be a {@code LIMIT} rule. For more information about templates
|
|
70
70
|
* and code examples, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
|
|
71
71
|
* <p>
|
|
72
72
|
**Template Types**
|
|
73
73
|
* <p>
|
|
74
|
-
*
|
|
74
|
+
* {@code FAILOVER} - Uses health check information on your endpoints to determine which DNS answers
|
|
75
75
|
* to serve. If an endpoint fails a health check, the answer for that endpoint will be removed
|
|
76
76
|
* from the list of available answers until the endpoint is detected as healthy.
|
|
77
77
|
* <p>
|
|
78
78
|
|
|
79
|
-
* *
|
|
79
|
+
* * {@code LOAD_BALANCE} - Distributes web traffic to specified endpoints based on defined weights.
|
|
80
80
|
* <p>
|
|
81
81
|
|
|
82
|
-
* *
|
|
82
|
+
* * {@code ROUTE_BY_GEO} - Answers DNS queries based on the query's geographic location. For a list of geographic
|
|
83
83
|
* locations to route by, see [Traffic Management Geographic Locations](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Reference/trafficmanagementgeo.htm).
|
|
84
84
|
* <p>
|
|
85
85
|
|
|
86
|
-
* *
|
|
86
|
+
* * {@code ROUTE_BY_ASN} - Answers DNS queries based on the query's originating ASN.
|
|
87
87
|
* <p>
|
|
88
88
|
|
|
89
|
-
* *
|
|
89
|
+
* * {@code ROUTE_BY_IP} - Answers DNS queries based on the query's IP address.
|
|
90
90
|
* <p>
|
|
91
91
|
|
|
92
|
-
* *
|
|
92
|
+
* * {@code CUSTOM} - Allows a customized configuration of rules.
|
|
93
93
|
*
|
|
94
94
|
*/
|
|
95
95
|
"template": SteeringPolicySummary.Template;
|
|
@@ -98,7 +98,7 @@ export interface SteeringPolicySummary {
|
|
|
98
98
|
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
99
99
|
* <p>
|
|
100
100
|
|
|
101
|
-
* **Example:**
|
|
101
|
+
* **Example:** {@code {\"Department\": \"Finance\"}}
|
|
102
102
|
*
|
|
103
103
|
*/
|
|
104
104
|
"freeformTags": {
|
|
@@ -109,7 +109,7 @@ export interface SteeringPolicySummary {
|
|
|
109
109
|
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
110
110
|
* <p>
|
|
111
111
|
|
|
112
|
-
* **Example:**
|
|
112
|
+
* **Example:** {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
113
113
|
*
|
|
114
114
|
*/
|
|
115
115
|
"definedTags": {
|
|
@@ -128,7 +128,7 @@ export interface SteeringPolicySummary {
|
|
|
128
128
|
/**
|
|
129
129
|
* The date and time the resource was created, expressed in RFC 3339 timestamp format.
|
|
130
130
|
* <p>
|
|
131
|
-
**Example:**
|
|
131
|
+
**Example:** {@code 2016-07-22T17:23:59:60Z}
|
|
132
132
|
*
|
|
133
133
|
*/
|
|
134
134
|
"timeCreated": Date;
|
|
@@ -20,7 +20,7 @@ export interface SteeringPolicyWeightedAnswerData {
|
|
|
20
20
|
"answerCondition"?: string;
|
|
21
21
|
/**
|
|
22
22
|
* The weight assigned to the set of selected answers. Answers with a higher weight will be served
|
|
23
|
-
* more frequently. Answers can be given a value between
|
|
23
|
+
* more frequently. Answers can be given a value between {@code 0} and {@code 255}.
|
|
24
24
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
25
25
|
*/
|
|
26
26
|
"value": number;
|
|
@@ -18,14 +18,14 @@ export interface SteeringPolicyWeightedRuleCase {
|
|
|
18
18
|
* An expression that uses conditions at the time of a DNS query to indicate
|
|
19
19
|
* whether a case matches. Conditions may include the geographical location, IP
|
|
20
20
|
* subnet, or ASN the DNS query originated. **Example:** If you have an
|
|
21
|
-
* office that uses the subnet
|
|
22
|
-
* expression
|
|
21
|
+
* office that uses the subnet {@code 192.0.2.0/24} you could use a {@code caseCondition}
|
|
22
|
+
* expression {@code query.client.address in ('192.0.2.0/24')} to define a case that
|
|
23
23
|
* matches queries from that office.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
"caseCondition"?: string;
|
|
27
27
|
/**
|
|
28
|
-
* An array of
|
|
28
|
+
* An array of {@code SteeringPolicyWeightedAnswerData} objects.
|
|
29
29
|
*/
|
|
30
30
|
"answerData"?: Array<model.SteeringPolicyWeightedAnswerData>;
|
|
31
31
|
}
|
|
@@ -15,21 +15,21 @@ For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concep
|
|
|
15
15
|
import * as model from "../model";
|
|
16
16
|
export interface SteeringPolicyWeightedRule extends model.SteeringPolicyRule {
|
|
17
17
|
/**
|
|
18
|
-
* An array of
|
|
18
|
+
* An array of {@code caseConditions}. A rule may optionally include a sequence of cases defining alternate
|
|
19
19
|
* configurations for how it should behave during processing for any given DNS query. When a rule has
|
|
20
|
-
* no sequence of
|
|
21
|
-
* a rule has an empty sequence of
|
|
22
|
-
* non-empty sequence of
|
|
23
|
-
*
|
|
24
|
-
*
|
|
20
|
+
* no sequence of {@code cases}, it is always evaluated with the same configuration during processing. When
|
|
21
|
+
* a rule has an empty sequence of {@code cases}, it is always ignored during processing. When a rule has a
|
|
22
|
+
* non-empty sequence of {@code cases}, its behavior during processing is configured by the first matching
|
|
23
|
+
* {@code case} in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
|
|
24
|
+
* {@code caseCondition} always matches. A rule case with a {@code caseCondition} matches only when that expression
|
|
25
25
|
* evaluates to true for the given query.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
"cases"?: Array<model.SteeringPolicyWeightedRuleCase>;
|
|
29
29
|
/**
|
|
30
30
|
* Defines a default set of answer conditions and values that are applied to an answer when
|
|
31
|
-
*
|
|
32
|
-
*
|
|
31
|
+
* {@code cases} is not defined for the rule or a matching case does not have any matching
|
|
32
|
+
* {@code answerCondition}s in its {@code answerData}. {@code defaultAnswerData} is not applied if {@code cases} is
|
|
33
33
|
* defined and there are no matching cases. In this scenario, the next rule will be processed.
|
|
34
34
|
*
|
|
35
35
|
*/
|