@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
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/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/dns.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Dns",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -55,25 +68,25 @@ export interface CloneZoneRequest {
|
|
|
55
68
|
/** zone id */
|
|
56
69
|
zoneId: string;
|
|
57
70
|
/** Adjust record set content and replace the dns name of the original zone with the new dns name of the cloned zone */
|
|
58
|
-
adjustRecords?: boolean;
|
|
71
|
+
adjustRecords?: boolean | undefined;
|
|
59
72
|
/** New Description for the cloned zone. Leave empty to use the same description as the original zone */
|
|
60
|
-
description?: string;
|
|
73
|
+
description?: string | undefined;
|
|
61
74
|
/** DnsName is the dns name of the zone to clone */
|
|
62
75
|
dnsName: string;
|
|
63
76
|
/** New Name for the cloned zone. Leave empty to use the same name as the original zone */
|
|
64
|
-
name?: string;
|
|
77
|
+
name?: string | undefined;
|
|
65
78
|
}
|
|
66
79
|
export type DomainObservabilityExtensionState = "CREATING" | "CREATE_SUCCEEDED" | "ERROR";
|
|
67
80
|
export interface DomainObservabilityExtension {
|
|
68
81
|
observabilityInstanceId: string;
|
|
69
|
-
state?: DomainObservabilityExtensionState;
|
|
82
|
+
state?: DomainObservabilityExtensionState | (string & {}) | undefined;
|
|
70
83
|
}
|
|
71
84
|
export interface DomainExtensions {
|
|
72
|
-
observabilityExtension?: DomainObservabilityExtension;
|
|
85
|
+
observabilityExtension?: DomainObservabilityExtension | undefined;
|
|
73
86
|
}
|
|
74
87
|
export interface Label {
|
|
75
88
|
key: string;
|
|
76
|
-
value?: string;
|
|
89
|
+
value?: string | undefined;
|
|
77
90
|
}
|
|
78
91
|
export type ZoneLabelsList = Array<Label>;
|
|
79
92
|
/** labels for the zone */
|
|
@@ -99,9 +112,9 @@ export type ZoneVisibility = "public";
|
|
|
99
112
|
export interface Zone {
|
|
100
113
|
/** access control list */
|
|
101
114
|
acl: string;
|
|
102
|
-
active?: boolean;
|
|
115
|
+
active?: boolean | undefined;
|
|
103
116
|
/** contact email from soa record */
|
|
104
|
-
contactEmail?: string;
|
|
117
|
+
contactEmail?: string | undefined;
|
|
105
118
|
/** when zone creation finished */
|
|
106
119
|
creationFinished: string;
|
|
107
120
|
/** when zone creation started */
|
|
@@ -109,31 +122,31 @@ export interface Zone {
|
|
|
109
122
|
/** default time to live */
|
|
110
123
|
defaultTTL: number;
|
|
111
124
|
/** description of the zone */
|
|
112
|
-
description?: string;
|
|
125
|
+
description?: string | undefined;
|
|
113
126
|
/** zone name */
|
|
114
127
|
dnsName: string;
|
|
115
128
|
/** Error shows error in case create/update/delete failed */
|
|
116
|
-
error?: string;
|
|
129
|
+
error?: string | undefined;
|
|
117
130
|
/** expire time */
|
|
118
131
|
expireTime: number;
|
|
119
|
-
extensions?: DomainExtensions;
|
|
132
|
+
extensions?: DomainExtensions | undefined;
|
|
120
133
|
/** zone id */
|
|
121
134
|
id: string;
|
|
122
135
|
/** if the zone is a reverse zone or not */
|
|
123
|
-
isReverseZone?: boolean;
|
|
124
|
-
labels?: ZoneLabelsList;
|
|
136
|
+
isReverseZone?: boolean | undefined;
|
|
137
|
+
labels?: ZoneLabelsList | undefined;
|
|
125
138
|
/** labels for the zone */
|
|
126
|
-
labelsMap?: ZoneLabelsMapMap;
|
|
139
|
+
labelsMap?: ZoneLabelsMapMap | undefined;
|
|
127
140
|
/** user given name */
|
|
128
141
|
name: string;
|
|
129
142
|
/** negative caching */
|
|
130
143
|
negativeCache: number;
|
|
131
144
|
/** primary name server for secondary zone */
|
|
132
|
-
primaries?: ZonePrimariesList;
|
|
145
|
+
primaries?: ZonePrimariesList | undefined;
|
|
133
146
|
/** primary name server. FQDN */
|
|
134
147
|
primaryNameServer: string;
|
|
135
148
|
/** record count how many records are in the zone */
|
|
136
|
-
recordCount?: number;
|
|
149
|
+
recordCount?: number | undefined;
|
|
137
150
|
/** refresh time */
|
|
138
151
|
refreshTime: number;
|
|
139
152
|
/** retry time */
|
|
@@ -153,7 +166,7 @@ export interface Zone {
|
|
|
153
166
|
}
|
|
154
167
|
/** ResponseZone for user info. */
|
|
155
168
|
export interface ZoneResponse {
|
|
156
|
-
message?: string;
|
|
169
|
+
message?: string | undefined;
|
|
157
170
|
zone: Zone;
|
|
158
171
|
}
|
|
159
172
|
export interface CreateMoveCodeRequest {
|
|
@@ -162,7 +175,7 @@ export interface CreateMoveCodeRequest {
|
|
|
162
175
|
/** zone id */
|
|
163
176
|
zoneId: string;
|
|
164
177
|
/** TTL is the duration for which the move code is valid, represented as seconds. Min: 1, Max: 2592000 (30 days). */
|
|
165
|
-
ttl?: number;
|
|
178
|
+
ttl?: number | undefined;
|
|
166
179
|
}
|
|
167
180
|
export interface MoveCodeResponse {
|
|
168
181
|
/** code to move the zone. It is one time shown so better keep it. */
|
|
@@ -170,7 +183,7 @@ export interface MoveCodeResponse {
|
|
|
170
183
|
/** when the code expires */
|
|
171
184
|
expiresAt: string;
|
|
172
185
|
/** human readable message */
|
|
173
|
-
message?: string;
|
|
186
|
+
message?: string | undefined;
|
|
174
187
|
}
|
|
175
188
|
/** RecordPost for rr set info. */
|
|
176
189
|
export interface RecordPayload {
|
|
@@ -212,13 +225,13 @@ export interface CreateRecordSetRequest {
|
|
|
212
225
|
/** zone id */
|
|
213
226
|
zoneId: string;
|
|
214
227
|
/** user comment */
|
|
215
|
-
comment?: string;
|
|
228
|
+
comment?: string | undefined;
|
|
216
229
|
/** name of the record which should be a valid domain according to rfc1035 Section 2.3.4. For APEX records (same as zone name), the zone name itself has to be put in here. */
|
|
217
230
|
name: string;
|
|
218
231
|
/** records */
|
|
219
232
|
records: CreateRecordSetRequestRecordsList;
|
|
220
233
|
/** time to live. If nothing provided we will set the zone ttl. */
|
|
221
|
-
ttl?: number;
|
|
234
|
+
ttl?: number | undefined;
|
|
222
235
|
/** record set type */
|
|
223
236
|
type: CreateRecordSetRequestType | (string & {});
|
|
224
237
|
}
|
|
@@ -272,15 +285,15 @@ export type RecordSetType =
|
|
|
272
285
|
/** RRSet. */
|
|
273
286
|
export interface RecordSet {
|
|
274
287
|
/** if the record set is active or not */
|
|
275
|
-
active?: boolean;
|
|
288
|
+
active?: boolean | undefined;
|
|
276
289
|
/** comment */
|
|
277
|
-
comment?: string;
|
|
290
|
+
comment?: string | undefined;
|
|
278
291
|
/** when record set creation finished */
|
|
279
292
|
creationFinished: string;
|
|
280
293
|
/** when record set creation started */
|
|
281
294
|
creationStarted: string;
|
|
282
295
|
/** Error shows error in case create/update/delete failed */
|
|
283
|
-
error?: string;
|
|
296
|
+
error?: string | undefined;
|
|
284
297
|
/** rr set id */
|
|
285
298
|
id: string;
|
|
286
299
|
/** name of the record which should be a valid domain according to rfc1035 Section 2.3.4. For APEX records (same as zone name), the zone name itself has to be put in here. */
|
|
@@ -300,14 +313,14 @@ export interface RecordSet {
|
|
|
300
313
|
}
|
|
301
314
|
/** ResponseRRSet for rr set info. */
|
|
302
315
|
export interface RecordSetResponse {
|
|
303
|
-
message?: string;
|
|
316
|
+
message?: string | undefined;
|
|
304
317
|
rrset: RecordSet;
|
|
305
318
|
}
|
|
306
319
|
export interface ZoneObservabilityExtension {
|
|
307
320
|
observabilityInstanceId: string;
|
|
308
321
|
}
|
|
309
322
|
export interface ZoneExtensions {
|
|
310
|
-
observabilityExtension?: ZoneObservabilityExtension;
|
|
323
|
+
observabilityExtension?: ZoneObservabilityExtension | undefined;
|
|
311
324
|
}
|
|
312
325
|
/** labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars. */
|
|
313
326
|
export type CreateZoneRequestLabelsMapMap = { [key: string]: string | undefined };
|
|
@@ -319,35 +332,35 @@ export interface CreateZoneRequest {
|
|
|
319
332
|
/** project id */
|
|
320
333
|
projectId: string;
|
|
321
334
|
/** the access control list (note: this field currently has no effect and does not enforce any access restrictions on the DNS zone) */
|
|
322
|
-
acl?: string;
|
|
335
|
+
acl?: string | undefined;
|
|
323
336
|
/** contact e-mail for the zone */
|
|
324
|
-
contactEmail?: string;
|
|
337
|
+
contactEmail?: string | undefined;
|
|
325
338
|
/** default time to live */
|
|
326
|
-
defaultTTL?: number;
|
|
339
|
+
defaultTTL?: number | undefined;
|
|
327
340
|
/** description of the zone */
|
|
328
|
-
description?: string;
|
|
341
|
+
description?: string | undefined;
|
|
329
342
|
/** zone name */
|
|
330
343
|
dnsName: string;
|
|
331
344
|
/** expire time */
|
|
332
|
-
expireTime?: number;
|
|
345
|
+
expireTime?: number | undefined;
|
|
333
346
|
/** optional extensions */
|
|
334
|
-
extensions?: ZoneExtensions;
|
|
347
|
+
extensions?: ZoneExtensions | undefined;
|
|
335
348
|
/** if the zone is a reverse zone or not */
|
|
336
|
-
isReverseZone?: boolean;
|
|
349
|
+
isReverseZone?: boolean | undefined;
|
|
337
350
|
/** labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars. */
|
|
338
|
-
labelsMap?: CreateZoneRequestLabelsMapMap;
|
|
351
|
+
labelsMap?: CreateZoneRequestLabelsMapMap | undefined;
|
|
339
352
|
/** user given name */
|
|
340
353
|
name: string;
|
|
341
354
|
/** negative caching */
|
|
342
|
-
negativeCache?: number;
|
|
355
|
+
negativeCache?: number | undefined;
|
|
343
356
|
/** primary name server for secondary zone */
|
|
344
|
-
primaries?: CreateZoneRequestPrimariesList;
|
|
357
|
+
primaries?: CreateZoneRequestPrimariesList | undefined;
|
|
345
358
|
/** refresh time */
|
|
346
|
-
refreshTime?: number;
|
|
359
|
+
refreshTime?: number | undefined;
|
|
347
360
|
/** retry time */
|
|
348
|
-
retryTime?: number;
|
|
361
|
+
retryTime?: number | undefined;
|
|
349
362
|
/** zone type */
|
|
350
|
-
type?: CreateZoneRequestType | (string & {});
|
|
363
|
+
type?: CreateZoneRequestType | (string & {}) | undefined;
|
|
351
364
|
}
|
|
352
365
|
export interface DeleteMoveCodeRequest {
|
|
353
366
|
/** project id */
|
|
@@ -356,7 +369,7 @@ export interface DeleteMoveCodeRequest {
|
|
|
356
369
|
zoneId: string;
|
|
357
370
|
}
|
|
358
371
|
export interface Message {
|
|
359
|
-
message?: string;
|
|
372
|
+
message?: string | undefined;
|
|
360
373
|
}
|
|
361
374
|
export interface DeleteRecordSetRequest {
|
|
362
375
|
/** project id */
|
|
@@ -378,20 +391,51 @@ export interface ExportRecordSetsRequest {
|
|
|
378
391
|
projectId: string;
|
|
379
392
|
/** zone id */
|
|
380
393
|
zoneId: string;
|
|
381
|
-
exportAsFQDN?: boolean;
|
|
382
|
-
format?: ExportRecordSetsRequestFormat | (string & {});
|
|
394
|
+
exportAsFQDN?: boolean | undefined;
|
|
395
|
+
format?: ExportRecordSetsRequestFormat | (string & {}) | undefined;
|
|
383
396
|
}
|
|
384
397
|
export type RecordDataExchangeContentList = Array<string>;
|
|
385
398
|
export interface RecordDataExchange {
|
|
386
|
-
comment?: string;
|
|
387
|
-
content?: RecordDataExchangeContentList;
|
|
388
|
-
name?: string;
|
|
389
|
-
ttl?: number;
|
|
390
|
-
type?: string;
|
|
399
|
+
comment?: string | undefined;
|
|
400
|
+
content?: RecordDataExchangeContentList | undefined;
|
|
401
|
+
name?: string | undefined;
|
|
402
|
+
ttl?: number | undefined;
|
|
403
|
+
type?: string | undefined;
|
|
391
404
|
}
|
|
392
405
|
export type ZoneDataExchangeRrSetsList = Array<RecordDataExchange>;
|
|
393
406
|
export interface ZoneDataExchange {
|
|
394
|
-
rrSets?: ZoneDataExchangeRrSetsList;
|
|
407
|
+
rrSets?: ZoneDataExchangeRrSetsList | undefined;
|
|
408
|
+
}
|
|
409
|
+
export type FlushDomainRequestType =
|
|
410
|
+
| "A"
|
|
411
|
+
| "AAAA"
|
|
412
|
+
| "SOA"
|
|
413
|
+
| "CNAME"
|
|
414
|
+
| "NS"
|
|
415
|
+
| "MX"
|
|
416
|
+
| "TXT"
|
|
417
|
+
| "SRV"
|
|
418
|
+
| "PTR"
|
|
419
|
+
| "DNAME"
|
|
420
|
+
| "CAA"
|
|
421
|
+
| "DNSKEY"
|
|
422
|
+
| "DS"
|
|
423
|
+
| "LOC"
|
|
424
|
+
| "NAPTR"
|
|
425
|
+
| "SSHFP"
|
|
426
|
+
| "TLSA"
|
|
427
|
+
| "URI"
|
|
428
|
+
| "CERT"
|
|
429
|
+
| "SVCB"
|
|
430
|
+
| "CSYNC"
|
|
431
|
+
| "HINFO"
|
|
432
|
+
| "HTTPS";
|
|
433
|
+
export interface FlushDomainRequest {
|
|
434
|
+
domain: string;
|
|
435
|
+
type?: FlushDomainRequestType | (string & {}) | undefined;
|
|
436
|
+
}
|
|
437
|
+
export interface FlushDomainResponse {
|
|
438
|
+
message?: string | undefined;
|
|
395
439
|
}
|
|
396
440
|
export interface GetRecordSetRequest {
|
|
397
441
|
/** project id */
|
|
@@ -417,11 +461,11 @@ export type ImportRecordSetsRequestFormat = "json" | "csv" | "bind";
|
|
|
417
461
|
export type ImportRecordSetsRequestImportType = "restore" | "delete" | "update" | "upsert";
|
|
418
462
|
export type ZoneModelsImportRecordModelContentList = Array<string>;
|
|
419
463
|
export interface ZoneModelsImportRecordModel {
|
|
420
|
-
comment?: string;
|
|
421
|
-
content?: ZoneModelsImportRecordModelContentList;
|
|
422
|
-
name?: string;
|
|
423
|
-
ttl?: number;
|
|
424
|
-
type?: string;
|
|
464
|
+
comment?: string | undefined;
|
|
465
|
+
content?: ZoneModelsImportRecordModelContentList | undefined;
|
|
466
|
+
name?: string | undefined;
|
|
467
|
+
ttl?: number | undefined;
|
|
468
|
+
type?: string | undefined;
|
|
425
469
|
}
|
|
426
470
|
export type ImportRecordSetsRequestRrSetsList = Array<ZoneModelsImportRecordModel>;
|
|
427
471
|
export interface ImportRecordSetsRequest {
|
|
@@ -430,23 +474,23 @@ export interface ImportRecordSetsRequest {
|
|
|
430
474
|
/** zone id */
|
|
431
475
|
zoneId: string;
|
|
432
476
|
/** format of the data to import */
|
|
433
|
-
format?: ImportRecordSetsRequestFormat | (string & {});
|
|
477
|
+
format?: ImportRecordSetsRequestFormat | (string & {}) | undefined;
|
|
434
478
|
/** type of the zone import */
|
|
435
|
-
importType?: ImportRecordSetsRequestImportType | (string & {});
|
|
436
|
-
rrSets?: ImportRecordSetsRequestRrSetsList;
|
|
479
|
+
importType?: ImportRecordSetsRequestImportType | (string & {}) | undefined;
|
|
480
|
+
rrSets?: ImportRecordSetsRequestRrSetsList | undefined;
|
|
437
481
|
}
|
|
438
482
|
/** ImportSummary is the summary of the import. */
|
|
439
483
|
export interface ImportSummary {
|
|
440
|
-
createdRRSets?: number;
|
|
441
|
-
createdRecords?: number;
|
|
442
|
-
deletedRRSets?: number;
|
|
443
|
-
deletedRecords?: number;
|
|
444
|
-
updatedRRSets?: number;
|
|
445
|
-
updatedRecords?: number;
|
|
484
|
+
createdRRSets?: number | undefined;
|
|
485
|
+
createdRecords?: number | undefined;
|
|
486
|
+
deletedRRSets?: number | undefined;
|
|
487
|
+
deletedRecords?: number | undefined;
|
|
488
|
+
updatedRRSets?: number | undefined;
|
|
489
|
+
updatedRecords?: number | undefined;
|
|
446
490
|
}
|
|
447
491
|
/** ImportSummaryResponse is the response of the import. */
|
|
448
492
|
export interface ImportRecordSetsResponse {
|
|
449
|
-
message?: string;
|
|
493
|
+
message?: string | undefined;
|
|
450
494
|
summary: ImportSummary;
|
|
451
495
|
}
|
|
452
496
|
export type ListRecordSetsRequestTypeEq =
|
|
@@ -509,75 +553,81 @@ export interface ListRecordSetsRequest {
|
|
|
509
553
|
/** zone id */
|
|
510
554
|
zoneId: string;
|
|
511
555
|
/** page */
|
|
512
|
-
page?: number;
|
|
556
|
+
page?: number | undefined;
|
|
513
557
|
/** page size */
|
|
514
|
-
pageSize?: number;
|
|
558
|
+
pageSize?: number | undefined;
|
|
515
559
|
/** filter name equal */
|
|
516
|
-
name_eq_?: string;
|
|
560
|
+
name_eq_?: string | undefined;
|
|
517
561
|
/** filter name like */
|
|
518
|
-
name_like_?: string;
|
|
562
|
+
name_like_?: string | undefined;
|
|
519
563
|
/** filter type */
|
|
520
|
-
type_eq_?: ListRecordSetsRequestTypeEq | (string & {});
|
|
521
|
-
/** filter state */
|
|
522
|
-
state_eq_?: ListRecordSetsRequestStateEq | (string & {});
|
|
564
|
+
type_eq_?: ListRecordSetsRequestTypeEq | (string & {}) | undefined;
|
|
565
|
+
/** filter state (DELETE_SUCCEEDED is excluded by default) */
|
|
566
|
+
state_eq_?: ListRecordSetsRequestStateEq | (string & {}) | undefined;
|
|
523
567
|
/** filter state */
|
|
524
|
-
state_neq_?: ListRecordSetsRequestStateNeq | (string & {});
|
|
568
|
+
state_neq_?: ListRecordSetsRequestStateNeq | (string & {}) | undefined;
|
|
525
569
|
/** filter active equal */
|
|
526
|
-
active_eq_?: boolean;
|
|
570
|
+
active_eq_?: boolean | undefined;
|
|
527
571
|
/** filter creation started greater with utc timestamp */
|
|
528
|
-
creationStarted_gt_?: string;
|
|
572
|
+
creationStarted_gt_?: string | undefined;
|
|
529
573
|
/** filter creation started lesser with utc timestamp */
|
|
530
|
-
creationStarted_lt_?: string;
|
|
574
|
+
creationStarted_lt_?: string | undefined;
|
|
531
575
|
/** filter creation started greater equal with utc timestamp */
|
|
532
|
-
creationStarted_gte_?: string;
|
|
576
|
+
creationStarted_gte_?: string | undefined;
|
|
533
577
|
/** filter creation started lesser equal with utc timestamp */
|
|
534
|
-
creationStarted_lte_?: string;
|
|
578
|
+
creationStarted_lte_?: string | undefined;
|
|
535
579
|
/** filter creation finished greater with utc timestamp */
|
|
536
|
-
creationFinished_gt_?: string;
|
|
580
|
+
creationFinished_gt_?: string | undefined;
|
|
537
581
|
/** filter creation finished lesser with utc timestamp */
|
|
538
|
-
creationFinished_lt_?: string;
|
|
582
|
+
creationFinished_lt_?: string | undefined;
|
|
539
583
|
/** filter creation finished greater equal with utc timestamp */
|
|
540
|
-
creationFinished_gte_?: string;
|
|
584
|
+
creationFinished_gte_?: string | undefined;
|
|
541
585
|
/** filter creation finished lesser equal with utc timestamp */
|
|
542
|
-
creationFinished_lte_?: string;
|
|
586
|
+
creationFinished_lte_?: string | undefined;
|
|
543
587
|
/** filter update started greater with utc timestamp */
|
|
544
|
-
updateStarted_gt_?: string;
|
|
588
|
+
updateStarted_gt_?: string | undefined;
|
|
545
589
|
/** filter update started lesser with utc timestamp */
|
|
546
|
-
updateStarted_lt_?: string;
|
|
590
|
+
updateStarted_lt_?: string | undefined;
|
|
547
591
|
/** filter update started greater equal with utc timestamp */
|
|
548
|
-
updateStarted_gte_?: string;
|
|
592
|
+
updateStarted_gte_?: string | undefined;
|
|
549
593
|
/** filter update started lesser equal with utc timestamp */
|
|
550
|
-
updateStarted_lte_?: string;
|
|
594
|
+
updateStarted_lte_?: string | undefined;
|
|
551
595
|
/** filter update finished greater with utc timestamp */
|
|
552
|
-
updateFinished_gt_?: string;
|
|
596
|
+
updateFinished_gt_?: string | undefined;
|
|
553
597
|
/** filter update finished lesser with utc timestamp */
|
|
554
|
-
updateFinished_lt_?: string;
|
|
598
|
+
updateFinished_lt_?: string | undefined;
|
|
555
599
|
/** filter update finished greater equal with utc timestamp */
|
|
556
|
-
updateFinished_gte_?: string;
|
|
600
|
+
updateFinished_gte_?: string | undefined;
|
|
557
601
|
/** filter update finished lesser equal with utc timestamp */
|
|
558
|
-
updateFinished_lte_?: string;
|
|
602
|
+
updateFinished_lte_?: string | undefined;
|
|
559
603
|
/** order by name */
|
|
560
|
-
orderBy_name_?: ListRecordSetsRequestOrderByName | (string & {});
|
|
604
|
+
orderBy_name_?: ListRecordSetsRequestOrderByName | (string & {}) | undefined;
|
|
561
605
|
/** order by creationStarted */
|
|
562
|
-
orderBy_creationStarted_?:
|
|
606
|
+
orderBy_creationStarted_?:
|
|
607
|
+
| ListRecordSetsRequestOrderByCreationStarted
|
|
608
|
+
| (string & {})
|
|
609
|
+
| undefined;
|
|
563
610
|
/** order by creationFinished */
|
|
564
|
-
orderBy_creationFinished_?:
|
|
611
|
+
orderBy_creationFinished_?:
|
|
612
|
+
| ListRecordSetsRequestOrderByCreationFinished
|
|
613
|
+
| (string & {})
|
|
614
|
+
| undefined;
|
|
565
615
|
/** order by updateStarted */
|
|
566
|
-
orderBy_updateStarted_?: ListRecordSetsRequestOrderByUpdateStarted | (string & {});
|
|
616
|
+
orderBy_updateStarted_?: ListRecordSetsRequestOrderByUpdateStarted | (string & {}) | undefined;
|
|
567
617
|
/** order by updateFinished */
|
|
568
|
-
orderBy_updateFinished_?: ListRecordSetsRequestOrderByUpdateFinished | (string & {});
|
|
618
|
+
orderBy_updateFinished_?: ListRecordSetsRequestOrderByUpdateFinished | (string & {}) | undefined;
|
|
569
619
|
/** order by type */
|
|
570
|
-
orderBy_type_?: ListRecordSetsRequestOrderByType | (string & {});
|
|
620
|
+
orderBy_type_?: ListRecordSetsRequestOrderByType | (string & {}) | undefined;
|
|
571
621
|
/** order by state */
|
|
572
|
-
orderBy_state_?: ListRecordSetsRequestOrderByState | (string & {});
|
|
622
|
+
orderBy_state_?: ListRecordSetsRequestOrderByState | (string & {}) | undefined;
|
|
573
623
|
/** order by record count */
|
|
574
|
-
orderBy_recordCount_?: ListRecordSetsRequestOrderByRecordCount | (string & {});
|
|
624
|
+
orderBy_recordCount_?: ListRecordSetsRequestOrderByRecordCount | (string & {}) | undefined;
|
|
575
625
|
}
|
|
576
626
|
export type ListRecordSetsResponseRrSetsList = Array<RecordSet>;
|
|
577
627
|
/** ResponseRRSetAll. */
|
|
578
628
|
export interface ListRecordSetsResponse {
|
|
579
629
|
itemsPerPage: number;
|
|
580
|
-
message?: string;
|
|
630
|
+
message?: string | undefined;
|
|
581
631
|
rrSets: ListRecordSetsResponseRrSetsList;
|
|
582
632
|
totalItems: number;
|
|
583
633
|
totalPages: number;
|
|
@@ -618,103 +668,197 @@ export interface ListZonesRequest {
|
|
|
618
668
|
/** project id */
|
|
619
669
|
projectId: string;
|
|
620
670
|
/** page */
|
|
621
|
-
page?: number;
|
|
671
|
+
page?: number | undefined;
|
|
622
672
|
/** page size */
|
|
623
|
-
pageSize?: number;
|
|
673
|
+
pageSize?: number | undefined;
|
|
624
674
|
/** filter dns name equal */
|
|
625
|
-
dnsName_eq_?: string;
|
|
675
|
+
dnsName_eq_?: string | undefined;
|
|
626
676
|
/** filter dns name like */
|
|
627
|
-
dnsName_like_?: string;
|
|
677
|
+
dnsName_like_?: string | undefined;
|
|
628
678
|
/** filter type */
|
|
629
|
-
type_eq_?: ListZonesRequestTypeEq | (string & {});
|
|
679
|
+
type_eq_?: ListZonesRequestTypeEq | (string & {}) | undefined;
|
|
630
680
|
/** filter name equal */
|
|
631
|
-
name_eq_?: string;
|
|
681
|
+
name_eq_?: string | undefined;
|
|
632
682
|
/** filter name not equal */
|
|
633
|
-
name_neq_?: string;
|
|
683
|
+
name_neq_?: string | undefined;
|
|
634
684
|
/** filter name like */
|
|
635
|
-
name_like_?: string;
|
|
685
|
+
name_like_?: string | undefined;
|
|
636
686
|
/** filter description equal */
|
|
637
|
-
description_eq_?: string;
|
|
687
|
+
description_eq_?: string | undefined;
|
|
638
688
|
/** filter description not equal */
|
|
639
|
-
description_neq_?: string;
|
|
689
|
+
description_neq_?: string | undefined;
|
|
640
690
|
/** filter description like */
|
|
641
|
-
description_like_?: string;
|
|
691
|
+
description_like_?: string | undefined;
|
|
692
|
+
/** filter state (DELETE_SUCCEEDED is excluded by default) */
|
|
693
|
+
state_eq_?: ListZonesRequestStateEq | (string & {}) | undefined;
|
|
642
694
|
/** filter state */
|
|
643
|
-
|
|
644
|
-
/** filter state */
|
|
645
|
-
state_neq_?: ListZonesRequestStateNeq | (string & {});
|
|
695
|
+
state_neq_?: ListZonesRequestStateNeq | (string & {}) | undefined;
|
|
646
696
|
/** filter primary name server equal */
|
|
647
|
-
primaryNameServer_eq_?: string;
|
|
697
|
+
primaryNameServer_eq_?: string | undefined;
|
|
648
698
|
/** filter primary name server like */
|
|
649
|
-
primaryNameServer_like_?: string;
|
|
699
|
+
primaryNameServer_like_?: string | undefined;
|
|
650
700
|
/** filter reverse zone equal */
|
|
651
|
-
isReverseZone_eq_?: boolean;
|
|
701
|
+
isReverseZone_eq_?: boolean | undefined;
|
|
652
702
|
/** filter active equal */
|
|
653
|
-
active_eq_?: boolean;
|
|
703
|
+
active_eq_?: boolean | undefined;
|
|
654
704
|
/** filter creation started greater with utc timestamp */
|
|
655
|
-
creationStarted_gt_?: string;
|
|
705
|
+
creationStarted_gt_?: string | undefined;
|
|
656
706
|
/** filter creation started lesser with utc timestamp */
|
|
657
|
-
creationStarted_lt_?: string;
|
|
707
|
+
creationStarted_lt_?: string | undefined;
|
|
658
708
|
/** filter creation started greater equal with utc timestamp */
|
|
659
|
-
creationStarted_gte_?: string;
|
|
709
|
+
creationStarted_gte_?: string | undefined;
|
|
660
710
|
/** filter creation started lesser equal with utc timestamp */
|
|
661
|
-
creationStarted_lte_?: string;
|
|
711
|
+
creationStarted_lte_?: string | undefined;
|
|
662
712
|
/** filter creation finished greater with utc timestamp */
|
|
663
|
-
creationFinished_gt_?: string;
|
|
713
|
+
creationFinished_gt_?: string | undefined;
|
|
664
714
|
/** filter creation finished lesser with utc timestamp */
|
|
665
|
-
creationFinished_lt_?: string;
|
|
715
|
+
creationFinished_lt_?: string | undefined;
|
|
666
716
|
/** filter creation finished greater equal with utc timestamp */
|
|
667
|
-
creationFinished_gte_?: string;
|
|
717
|
+
creationFinished_gte_?: string | undefined;
|
|
668
718
|
/** filter creation finished lesser equal with utc timestamp */
|
|
669
|
-
creationFinished_lte_?: string;
|
|
719
|
+
creationFinished_lte_?: string | undefined;
|
|
670
720
|
/** filter update started greater with utc timestamp */
|
|
671
|
-
updateStarted_gt_?: string;
|
|
721
|
+
updateStarted_gt_?: string | undefined;
|
|
672
722
|
/** filter update started lesser with utc timestamp */
|
|
673
|
-
updateStarted_lt_?: string;
|
|
723
|
+
updateStarted_lt_?: string | undefined;
|
|
674
724
|
/** filter update started greater equal with utc timestamp */
|
|
675
|
-
updateStarted_gte_?: string;
|
|
725
|
+
updateStarted_gte_?: string | undefined;
|
|
676
726
|
/** filter update started lesser equal with utc timestamp */
|
|
677
|
-
updateStarted_lte_?: string;
|
|
727
|
+
updateStarted_lte_?: string | undefined;
|
|
678
728
|
/** filter update finished greater with utc timestamp */
|
|
679
|
-
updateFinished_gt_?: string;
|
|
729
|
+
updateFinished_gt_?: string | undefined;
|
|
680
730
|
/** filter update finished lesser with utc timestamp */
|
|
681
|
-
updateFinished_lt_?: string;
|
|
731
|
+
updateFinished_lt_?: string | undefined;
|
|
682
732
|
/** filter update finished greater equal with utc timestamp */
|
|
683
|
-
updateFinished_gte_?: string;
|
|
733
|
+
updateFinished_gte_?: string | undefined;
|
|
684
734
|
/** filter update finished lesser equal with utc timestamp */
|
|
685
|
-
updateFinished_lte_?: string;
|
|
735
|
+
updateFinished_lte_?: string | undefined;
|
|
686
736
|
/** filter zones according to the zone label keys. */
|
|
687
|
-
labelKey_eq_?: ListZonesRequestLabelKeyEqList;
|
|
737
|
+
labelKey_eq_?: ListZonesRequestLabelKeyEqList | undefined;
|
|
688
738
|
/** filter zones according to the zone label values. */
|
|
689
|
-
labelValue_eq_?: ListZonesRequestLabelValueEqList;
|
|
739
|
+
labelValue_eq_?: ListZonesRequestLabelValueEqList | undefined;
|
|
690
740
|
/** order by dns name */
|
|
691
|
-
orderBy_dnsName_?: ListZonesRequestOrderByDnsName | (string & {});
|
|
741
|
+
orderBy_dnsName_?: ListZonesRequestOrderByDnsName | (string & {}) | undefined;
|
|
692
742
|
/** order by name */
|
|
693
|
-
orderBy_name_?: ListZonesRequestOrderByName | (string & {});
|
|
743
|
+
orderBy_name_?: ListZonesRequestOrderByName | (string & {}) | undefined;
|
|
694
744
|
/** order by record count */
|
|
695
|
-
orderBy_recordCount_?: ListZonesRequestOrderByRecordCount | (string & {});
|
|
745
|
+
orderBy_recordCount_?: ListZonesRequestOrderByRecordCount | (string & {}) | undefined;
|
|
696
746
|
/** order by type */
|
|
697
|
-
orderBy_type_?: ListZonesRequestOrderByType | (string & {});
|
|
747
|
+
orderBy_type_?: ListZonesRequestOrderByType | (string & {}) | undefined;
|
|
698
748
|
/** order by description */
|
|
699
|
-
orderBy_description_?: ListZonesRequestOrderByDescription | (string & {});
|
|
749
|
+
orderBy_description_?: ListZonesRequestOrderByDescription | (string & {}) | undefined;
|
|
700
750
|
/** order by creationStarted */
|
|
701
|
-
orderBy_creationStarted_?: ListZonesRequestOrderByCreationStarted | (string & {});
|
|
751
|
+
orderBy_creationStarted_?: ListZonesRequestOrderByCreationStarted | (string & {}) | undefined;
|
|
702
752
|
/** order by creationFinished */
|
|
703
|
-
orderBy_creationFinished_?: ListZonesRequestOrderByCreationFinished | (string & {});
|
|
753
|
+
orderBy_creationFinished_?: ListZonesRequestOrderByCreationFinished | (string & {}) | undefined;
|
|
704
754
|
/** order by updateStarted */
|
|
705
|
-
orderBy_updateStarted_?: ListZonesRequestOrderByUpdateStarted | (string & {});
|
|
755
|
+
orderBy_updateStarted_?: ListZonesRequestOrderByUpdateStarted | (string & {}) | undefined;
|
|
706
756
|
/** order by updateFinished */
|
|
707
|
-
orderBy_updateFinished_?: ListZonesRequestOrderByUpdateFinished | (string & {});
|
|
757
|
+
orderBy_updateFinished_?: ListZonesRequestOrderByUpdateFinished | (string & {}) | undefined;
|
|
708
758
|
}
|
|
709
759
|
export type ListZonesResponseZonesList = Array<Zone>;
|
|
710
760
|
/** ResponseZoneAll for filtered zones. */
|
|
711
761
|
export interface ListZonesResponse {
|
|
712
762
|
itemsPerPage: number;
|
|
713
|
-
message?: string;
|
|
763
|
+
message?: string | undefined;
|
|
714
764
|
totalItems: number;
|
|
715
765
|
totalPages: number;
|
|
716
766
|
zones: ListZonesResponseZonesList;
|
|
717
767
|
}
|
|
768
|
+
/** RecordType specifies the DNS record type to query (A, AAAA, MX, etc.) If omitted, defaults to ANY records */
|
|
769
|
+
export type LookupDomainRequestRecordType =
|
|
770
|
+
| "A"
|
|
771
|
+
| "AAAA"
|
|
772
|
+
| "SOA"
|
|
773
|
+
| "CNAME"
|
|
774
|
+
| "NS"
|
|
775
|
+
| "MX"
|
|
776
|
+
| "TXT"
|
|
777
|
+
| "SRV"
|
|
778
|
+
| "PTR"
|
|
779
|
+
| "ALIAS"
|
|
780
|
+
| "DNAME"
|
|
781
|
+
| "CAA"
|
|
782
|
+
| "DNSKEY"
|
|
783
|
+
| "DS"
|
|
784
|
+
| "LOC"
|
|
785
|
+
| "NAPTR"
|
|
786
|
+
| "SSHFP"
|
|
787
|
+
| "TLSA"
|
|
788
|
+
| "URI"
|
|
789
|
+
| "CERT"
|
|
790
|
+
| "SVCB"
|
|
791
|
+
| "TYPE"
|
|
792
|
+
| "CSYNC"
|
|
793
|
+
| "HINFO"
|
|
794
|
+
| "HTTPS"
|
|
795
|
+
| "ANY";
|
|
796
|
+
/** Type specifies whether to query all configured resolvers or just one "one" - query a single resolver chosen by round-robin (default) "all" - query all configured resolvers */
|
|
797
|
+
export type LookupDomainRequestType = "all" | "one";
|
|
798
|
+
export interface LookupDomainRequest {
|
|
799
|
+
/** Address is the domain name to look up */
|
|
800
|
+
address?: string | undefined;
|
|
801
|
+
/** IncludeRawResponse indicates whether to include the raw DNS response in the result */
|
|
802
|
+
includeRawResponse?: boolean | undefined;
|
|
803
|
+
/** RecordType specifies the DNS record type to query (A, AAAA, MX, etc.) If omitted, defaults to ANY records */
|
|
804
|
+
recordType?: LookupDomainRequestRecordType | (string & {}) | undefined;
|
|
805
|
+
/** Region optionally specifies a STACKIT region to scope the DNS lookup */
|
|
806
|
+
region?: string | undefined;
|
|
807
|
+
/** Type specifies whether to query all configured resolvers or just one "one" - query a single resolver chosen by round-robin (default) "all" - query all configured resolvers */
|
|
808
|
+
type?: LookupDomainRequestType | (string & {}) | undefined;
|
|
809
|
+
}
|
|
810
|
+
/** Type is the DNS record type (A, AAAA, MX, etc.) */
|
|
811
|
+
export type LookupRecordType =
|
|
812
|
+
| "A"
|
|
813
|
+
| "AAAA"
|
|
814
|
+
| "SOA"
|
|
815
|
+
| "CNAME"
|
|
816
|
+
| "NS"
|
|
817
|
+
| "MX"
|
|
818
|
+
| "TXT"
|
|
819
|
+
| "SRV"
|
|
820
|
+
| "PTR"
|
|
821
|
+
| "ALIAS"
|
|
822
|
+
| "DNAME"
|
|
823
|
+
| "CAA"
|
|
824
|
+
| "DNSKEY"
|
|
825
|
+
| "DS"
|
|
826
|
+
| "LOC"
|
|
827
|
+
| "NAPTR"
|
|
828
|
+
| "SSHFP"
|
|
829
|
+
| "TLSA"
|
|
830
|
+
| "URI"
|
|
831
|
+
| "CERT"
|
|
832
|
+
| "SVCB"
|
|
833
|
+
| "TYPE"
|
|
834
|
+
| "CSYNC"
|
|
835
|
+
| "HINFO"
|
|
836
|
+
| "HTTPS";
|
|
837
|
+
export interface LookupRecord {
|
|
838
|
+
/** Data contains the record-specific data (e.g., IP address for A records) */
|
|
839
|
+
data?: string | undefined;
|
|
840
|
+
/** Name is the domain name to which this record applies */
|
|
841
|
+
name?: string | undefined;
|
|
842
|
+
/** TTL (Time To Live) is the duration in seconds that the record may be cached */
|
|
843
|
+
ttl?: number | undefined;
|
|
844
|
+
/** Type is the DNS record type (A, AAAA, MX, etc.) */
|
|
845
|
+
type?: LookupRecordType | undefined;
|
|
846
|
+
}
|
|
847
|
+
/** Records contains the DNS records returned by the lookup */
|
|
848
|
+
export type LookupResultRecordsList = Array<LookupRecord>;
|
|
849
|
+
export interface LookupResult {
|
|
850
|
+
/** RawResponse contains the raw DNS response in a human-readable format (only included when requested) */
|
|
851
|
+
rawResponse?: string | undefined;
|
|
852
|
+
/** Records contains the DNS records returned by the lookup */
|
|
853
|
+
records?: LookupResultRecordsList | undefined;
|
|
854
|
+
/** ResolverIP is the IP address of the DNS resolver used for the query */
|
|
855
|
+
resolverIP?: string | undefined;
|
|
856
|
+
}
|
|
857
|
+
export type LookupDomainResponseStateList = Array<LookupResult>;
|
|
858
|
+
export interface LookupDomainResponse {
|
|
859
|
+
message?: string | undefined;
|
|
860
|
+
state?: LookupDomainResponseStateList | undefined;
|
|
861
|
+
}
|
|
718
862
|
export interface MoveZoneRequest {
|
|
719
863
|
/** project id */
|
|
720
864
|
projectId: string;
|
|
@@ -747,13 +891,13 @@ export interface PartialUpdateRecordSetRequest {
|
|
|
747
891
|
/** record set id */
|
|
748
892
|
rrSetId: string;
|
|
749
893
|
/** user comment */
|
|
750
|
-
comment?: string;
|
|
894
|
+
comment?: string | undefined;
|
|
751
895
|
/** rfc1035 Section 2.3.4 */
|
|
752
|
-
name?: string;
|
|
896
|
+
name?: string | undefined;
|
|
753
897
|
/** records */
|
|
754
|
-
records?: PartialUpdateRecordSetRequestRecordsList;
|
|
898
|
+
records?: PartialUpdateRecordSetRequestRecordsList | undefined;
|
|
755
899
|
/** time to live */
|
|
756
|
-
ttl?: number;
|
|
900
|
+
ttl?: number | undefined;
|
|
757
901
|
}
|
|
758
902
|
/** labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars. */
|
|
759
903
|
export type PartialUpdateZoneRequestLabelsMapMap = { [key: string]: string | undefined };
|
|
@@ -765,29 +909,29 @@ export interface PartialUpdateZoneRequest {
|
|
|
765
909
|
/** zone id */
|
|
766
910
|
zoneId: string;
|
|
767
911
|
/** the access control list (note: this field currently has no effect and does not enforce any access restrictions on the DNS zone) */
|
|
768
|
-
acl?: string;
|
|
912
|
+
acl?: string | undefined;
|
|
769
913
|
/** contact e-mail for the zone */
|
|
770
|
-
contactEmail?: string;
|
|
914
|
+
contactEmail?: string | undefined;
|
|
771
915
|
/** default time to live */
|
|
772
|
-
defaultTTL?: number;
|
|
916
|
+
defaultTTL?: number | undefined;
|
|
773
917
|
/** description of the zone */
|
|
774
|
-
description?: string;
|
|
918
|
+
description?: string | undefined;
|
|
775
919
|
/** expire time */
|
|
776
|
-
expireTime?: number;
|
|
920
|
+
expireTime?: number | undefined;
|
|
777
921
|
/** optional extensions */
|
|
778
|
-
extensions?:
|
|
922
|
+
extensions?: DomainExtensions | undefined;
|
|
779
923
|
/** labels for the zone - max 64 items. Keys: 1-314 chars (up to 250 prefix, 1 for slash, 1-63 the actual key). Values: 0-63 chars. */
|
|
780
|
-
labelsMap?: PartialUpdateZoneRequestLabelsMapMap;
|
|
924
|
+
labelsMap?: PartialUpdateZoneRequestLabelsMapMap | undefined;
|
|
781
925
|
/** user given name */
|
|
782
|
-
name?: string;
|
|
926
|
+
name?: string | undefined;
|
|
783
927
|
/** negative caching */
|
|
784
|
-
negativeCache?: number;
|
|
928
|
+
negativeCache?: number | undefined;
|
|
785
929
|
/** primary name server for secondary zone */
|
|
786
|
-
primaries?: PartialUpdateZoneRequestPrimariesList;
|
|
930
|
+
primaries?: PartialUpdateZoneRequestPrimariesList | undefined;
|
|
787
931
|
/** refresh time */
|
|
788
|
-
refreshTime?: number;
|
|
932
|
+
refreshTime?: number | undefined;
|
|
789
933
|
/** retry time */
|
|
790
|
-
retryTime?: number;
|
|
934
|
+
retryTime?: number | undefined;
|
|
791
935
|
}
|
|
792
936
|
export interface RestoreRecordSetRequest {
|
|
793
937
|
/** project id */
|
|
@@ -819,11 +963,13 @@ export const cloneZone: API.OperationMethod<
|
|
|
819
963
|
CloneZoneError,
|
|
820
964
|
StackitOpContext
|
|
821
965
|
> = /*@__PURE__*/ API.make(() => ({
|
|
822
|
-
input: __S(
|
|
823
|
-
output: __S(
|
|
966
|
+
input: __S(144, __c18, 0) as any as S.Schema<CloneZoneRequest>,
|
|
967
|
+
output: __S(168, __c21, 0) as any as S.Schema<ZoneResponse>,
|
|
824
968
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
825
969
|
protocol: StackitProtocol,
|
|
826
970
|
retry: Retry.Retry,
|
|
971
|
+
telemetry: TELEMETRY,
|
|
972
|
+
span: "CloneZone",
|
|
827
973
|
}));
|
|
828
974
|
|
|
829
975
|
export type CreateMoveCodeError = BadRequest | Conflict | StackitOpError;
|
|
@@ -834,11 +980,13 @@ export const createMoveCode: API.OperationMethod<
|
|
|
834
980
|
CreateMoveCodeError,
|
|
835
981
|
StackitOpContext
|
|
836
982
|
> = /*@__PURE__*/ API.make(() => ({
|
|
837
|
-
input: __S(
|
|
838
|
-
output: __S(
|
|
983
|
+
input: __S(176, __c22, 0) as any as S.Schema<CreateMoveCodeRequest>,
|
|
984
|
+
output: __S(177, __c22, 1) as any as S.Schema<MoveCodeResponse>,
|
|
839
985
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
840
986
|
protocol: StackitProtocol,
|
|
841
987
|
retry: Retry.Retry,
|
|
988
|
+
telemetry: TELEMETRY,
|
|
989
|
+
span: "CreateMoveCode",
|
|
842
990
|
}));
|
|
843
991
|
|
|
844
992
|
export type CreateRecordSetError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -849,11 +997,13 @@ export const createRecordSet: API.OperationMethod<
|
|
|
849
997
|
CreateRecordSetError,
|
|
850
998
|
StackitOpContext
|
|
851
999
|
> = /*@__PURE__*/ API.make(() => ({
|
|
852
|
-
input: __S(
|
|
853
|
-
output: __S(
|
|
1000
|
+
input: __S(184, __c23, 0) as any as S.Schema<CreateRecordSetRequest>,
|
|
1001
|
+
output: __S(192, __c24, 0) as any as S.Schema<RecordSetResponse>,
|
|
854
1002
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
855
1003
|
protocol: StackitProtocol,
|
|
856
1004
|
retry: Retry.Retry,
|
|
1005
|
+
telemetry: TELEMETRY,
|
|
1006
|
+
span: "CreateRecordSet",
|
|
857
1007
|
}));
|
|
858
1008
|
|
|
859
1009
|
export type CreateZoneError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
@@ -864,11 +1014,13 @@ export const createZone: API.OperationMethod<
|
|
|
864
1014
|
CreateZoneError,
|
|
865
1015
|
StackitOpContext
|
|
866
1016
|
> = /*@__PURE__*/ API.make(() => ({
|
|
867
|
-
input: __S(
|
|
868
|
-
output: __S(
|
|
1017
|
+
input: __S(218, __c27, 2) as any as S.Schema<CreateZoneRequest>,
|
|
1018
|
+
output: __S(168, __c21, 0) as any as S.Schema<ZoneResponse>,
|
|
869
1019
|
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
870
1020
|
protocol: StackitProtocol,
|
|
871
1021
|
retry: Retry.Retry,
|
|
1022
|
+
telemetry: TELEMETRY,
|
|
1023
|
+
span: "CreateZone",
|
|
872
1024
|
}));
|
|
873
1025
|
|
|
874
1026
|
export type DeleteMoveCodeError = BadRequest | NotFound | StackitOpError;
|
|
@@ -879,11 +1031,13 @@ export const deleteMoveCode: API.OperationMethod<
|
|
|
879
1031
|
DeleteMoveCodeError,
|
|
880
1032
|
StackitOpContext
|
|
881
1033
|
> = /*@__PURE__*/ API.make(() => ({
|
|
882
|
-
input: __S(
|
|
883
|
-
output: __S(
|
|
1034
|
+
input: __S(224, __c28, 0) as any as S.Schema<DeleteMoveCodeRequest>,
|
|
1035
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
884
1036
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
885
1037
|
protocol: StackitProtocol,
|
|
886
1038
|
retry: Retry.Retry,
|
|
1039
|
+
telemetry: TELEMETRY,
|
|
1040
|
+
span: "DeleteMoveCode",
|
|
887
1041
|
}));
|
|
888
1042
|
|
|
889
1043
|
export type DeleteRecordSetError = BadRequest | NotFound | StackitOpError;
|
|
@@ -894,11 +1048,13 @@ export const deleteRecordSet: API.OperationMethod<
|
|
|
894
1048
|
DeleteRecordSetError,
|
|
895
1049
|
StackitOpContext
|
|
896
1050
|
> = /*@__PURE__*/ API.make(() => ({
|
|
897
|
-
input: __S(
|
|
898
|
-
output: __S(
|
|
1051
|
+
input: __S(240, __c30, 0) as any as S.Schema<DeleteRecordSetRequest>,
|
|
1052
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
899
1053
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
900
1054
|
protocol: StackitProtocol,
|
|
901
1055
|
retry: Retry.Retry,
|
|
1056
|
+
telemetry: TELEMETRY,
|
|
1057
|
+
span: "DeleteRecordSet",
|
|
902
1058
|
}));
|
|
903
1059
|
|
|
904
1060
|
export type DeleteZoneError = BadRequest | NotFound | StackitOpError;
|
|
@@ -910,10 +1066,12 @@ export const deleteZone: API.OperationMethod<
|
|
|
910
1066
|
StackitOpContext
|
|
911
1067
|
> = /*@__PURE__*/ API.make(() => ({
|
|
912
1068
|
input: __S(0, __c0, 0) as any as S.Schema<DeleteZoneRequest>,
|
|
913
|
-
output: __S(
|
|
1069
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
914
1070
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
915
1071
|
protocol: StackitProtocol,
|
|
916
1072
|
retry: Retry.Retry,
|
|
1073
|
+
telemetry: TELEMETRY,
|
|
1074
|
+
span: "DeleteZone",
|
|
917
1075
|
}));
|
|
918
1076
|
|
|
919
1077
|
export type ExportRecordSetsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -929,6 +1087,25 @@ export const exportRecordSets: API.OperationMethod<
|
|
|
929
1087
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
930
1088
|
protocol: StackitProtocol,
|
|
931
1089
|
retry: Retry.Retry,
|
|
1090
|
+
telemetry: TELEMETRY,
|
|
1091
|
+
span: "ExportRecordSets",
|
|
1092
|
+
}));
|
|
1093
|
+
|
|
1094
|
+
export type FlushDomainError = BadRequest | StackitOpError;
|
|
1095
|
+
/** Flush Route allows the user to flush the cache for a domain on the STACKIT DNS Resolvers */
|
|
1096
|
+
export const flushDomain: API.OperationMethod<
|
|
1097
|
+
FlushDomainRequest,
|
|
1098
|
+
FlushDomainResponse,
|
|
1099
|
+
FlushDomainError,
|
|
1100
|
+
StackitOpContext
|
|
1101
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1102
|
+
input: __S(24, __c3, 0) as any as S.Schema<FlushDomainRequest>,
|
|
1103
|
+
output: __S(232, __c29, 0) as any as S.Schema<FlushDomainResponse>,
|
|
1104
|
+
errors: [BadRequest, UnknownStackitError],
|
|
1105
|
+
protocol: StackitProtocol,
|
|
1106
|
+
retry: Retry.Retry,
|
|
1107
|
+
telemetry: TELEMETRY,
|
|
1108
|
+
span: "FlushDomain",
|
|
932
1109
|
}));
|
|
933
1110
|
|
|
934
1111
|
export type GetRecordSetError = BadRequest | NotFound | StackitOpError;
|
|
@@ -939,11 +1116,13 @@ export const getRecordSet: API.OperationMethod<
|
|
|
939
1116
|
GetRecordSetError,
|
|
940
1117
|
StackitOpContext
|
|
941
1118
|
> = /*@__PURE__*/ API.make(() => ({
|
|
942
|
-
input: __S(
|
|
943
|
-
output: __S(
|
|
1119
|
+
input: __S(32, __c4, 0) as any as S.Schema<GetRecordSetRequest>,
|
|
1120
|
+
output: __S(192, __c24, 0) as any as S.Schema<RecordSetResponse>,
|
|
944
1121
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
945
1122
|
protocol: StackitProtocol,
|
|
946
1123
|
retry: Retry.Retry,
|
|
1124
|
+
telemetry: TELEMETRY,
|
|
1125
|
+
span: "GetRecordSet",
|
|
947
1126
|
}));
|
|
948
1127
|
|
|
949
1128
|
export type GetZoneError = BadRequest | NotFound | StackitOpError;
|
|
@@ -954,11 +1133,13 @@ export const getZone: API.OperationMethod<
|
|
|
954
1133
|
GetZoneError,
|
|
955
1134
|
StackitOpContext
|
|
956
1135
|
> = /*@__PURE__*/ API.make(() => ({
|
|
957
|
-
input: __S(
|
|
958
|
-
output: __S(
|
|
1136
|
+
input: __S(40, __c5, 0) as any as S.Schema<GetZoneRequest>,
|
|
1137
|
+
output: __S(168, __c21, 0) as any as S.Schema<ZoneResponse>,
|
|
959
1138
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
960
1139
|
protocol: StackitProtocol,
|
|
961
1140
|
retry: Retry.Retry,
|
|
1141
|
+
telemetry: TELEMETRY,
|
|
1142
|
+
span: "GetZone",
|
|
962
1143
|
}));
|
|
963
1144
|
|
|
964
1145
|
export type GetZone2Error = BadRequest | StackitOpError;
|
|
@@ -969,11 +1150,13 @@ export const getZone2: API.OperationMethod<
|
|
|
969
1150
|
GetZone2Error,
|
|
970
1151
|
StackitOpContext
|
|
971
1152
|
> = /*@__PURE__*/ API.make(() => ({
|
|
972
|
-
input: __S(
|
|
973
|
-
output: __S(
|
|
1153
|
+
input: __S(48, __c6, 0) as any as S.Schema<GetZoneRequest2>,
|
|
1154
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
974
1155
|
errors: [BadRequest, UnknownStackitError],
|
|
975
1156
|
protocol: StackitProtocol,
|
|
976
1157
|
retry: Retry.Retry,
|
|
1158
|
+
telemetry: TELEMETRY,
|
|
1159
|
+
span: "GetZone2",
|
|
977
1160
|
}));
|
|
978
1161
|
|
|
979
1162
|
export type ImportRecordSetsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -984,15 +1167,17 @@ export const importRecordSets: API.OperationMethod<
|
|
|
984
1167
|
ImportRecordSetsError,
|
|
985
1168
|
StackitOpContext
|
|
986
1169
|
> = /*@__PURE__*/ API.make(() => ({
|
|
987
|
-
input: __S(
|
|
988
|
-
output: __S(
|
|
1170
|
+
input: __S(56, __c7, 0) as any as S.Schema<ImportRecordSetsRequest>,
|
|
1171
|
+
output: __S(58, __c7, 2) as any as S.Schema<ImportRecordSetsResponse>,
|
|
989
1172
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
990
1173
|
protocol: StackitProtocol,
|
|
991
1174
|
retry: Retry.Retry,
|
|
1175
|
+
telemetry: TELEMETRY,
|
|
1176
|
+
span: "ImportRecordSets",
|
|
992
1177
|
}));
|
|
993
1178
|
|
|
994
1179
|
export type ListRecordSetsError = BadRequest | NotFound | StackitOpError;
|
|
995
|
-
/** All get selected RRSets
|
|
1180
|
+
/** All get selected RRSets Retrieve all RRSets. By default, records in the 'DELETE_SUCCEEDED' state are excluded. To retrieve them, explicitly specify 'state[eq]=DELETE_SUCCEEDED' in the query parameters. */
|
|
996
1181
|
export const listRecordSets: API.PaginatedOperationMethod<
|
|
997
1182
|
ListRecordSetsRequest,
|
|
998
1183
|
ListRecordSetsResponse,
|
|
@@ -1001,11 +1186,13 @@ export const listRecordSets: API.PaginatedOperationMethod<
|
|
|
1001
1186
|
RecordSet
|
|
1002
1187
|
> = /*@__PURE__*/ API.makePaginated(
|
|
1003
1188
|
() => ({
|
|
1004
|
-
input: __S(
|
|
1005
|
-
output: __S(
|
|
1189
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListRecordSetsRequest>,
|
|
1190
|
+
output: __S(66, __c8, 2) as any as S.Schema<ListRecordSetsResponse>,
|
|
1006
1191
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1007
1192
|
protocol: StackitProtocol,
|
|
1008
1193
|
retry: Retry.Retry,
|
|
1194
|
+
telemetry: TELEMETRY,
|
|
1195
|
+
span: "ListRecordSets",
|
|
1009
1196
|
pagination: {
|
|
1010
1197
|
mode: "page",
|
|
1011
1198
|
inputToken: "page",
|
|
@@ -1018,7 +1205,7 @@ export const listRecordSets: API.PaginatedOperationMethod<
|
|
|
1018
1205
|
) as any;
|
|
1019
1206
|
|
|
1020
1207
|
export type ListZonesError = BadRequest | NotFound | StackitOpError;
|
|
1021
|
-
/** All get selected zones
|
|
1208
|
+
/** All get selected zones Retrieve all zones. By default, zones in the 'DELETE_SUCCEEDED' state are excluded. To retrieve them, explicitly specify 'state[eq]=DELETE_SUCCEEDED' in the query parameters. */
|
|
1022
1209
|
export const listZones: API.PaginatedOperationMethod<
|
|
1023
1210
|
ListZonesRequest,
|
|
1024
1211
|
ListZonesResponse,
|
|
@@ -1027,11 +1214,13 @@ export const listZones: API.PaginatedOperationMethod<
|
|
|
1027
1214
|
Zone
|
|
1028
1215
|
> = /*@__PURE__*/ API.makePaginated(
|
|
1029
1216
|
() => ({
|
|
1030
|
-
input: __S(
|
|
1031
|
-
output: __S(
|
|
1217
|
+
input: __S(72, __c9, 0) as any as S.Schema<ListZonesRequest>,
|
|
1218
|
+
output: __S(74, __c9, 2) as any as S.Schema<ListZonesResponse>,
|
|
1032
1219
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1033
1220
|
protocol: StackitProtocol,
|
|
1034
1221
|
retry: Retry.Retry,
|
|
1222
|
+
telemetry: TELEMETRY,
|
|
1223
|
+
span: "ListZones",
|
|
1035
1224
|
pagination: {
|
|
1036
1225
|
mode: "page",
|
|
1037
1226
|
inputToken: "page",
|
|
@@ -1043,6 +1232,23 @@ export const listZones: API.PaginatedOperationMethod<
|
|
|
1043
1232
|
paginateByTotalPages,
|
|
1044
1233
|
) as any;
|
|
1045
1234
|
|
|
1235
|
+
export type LookupDomainError = BadRequest | StackitOpError;
|
|
1236
|
+
/** DNS Lookup Route allows the user to lookup a domain on the STACKIT DNS Resolvers */
|
|
1237
|
+
export const lookupDomain: API.OperationMethod<
|
|
1238
|
+
LookupDomainRequest,
|
|
1239
|
+
LookupDomainResponse,
|
|
1240
|
+
LookupDomainError,
|
|
1241
|
+
StackitOpContext
|
|
1242
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1243
|
+
input: __S(80, __c10, 0) as any as S.Schema<LookupDomainRequest>,
|
|
1244
|
+
output: __S(85, __c10, 5) as any as S.Schema<LookupDomainResponse>,
|
|
1245
|
+
errors: [BadRequest, UnknownStackitError],
|
|
1246
|
+
protocol: StackitProtocol,
|
|
1247
|
+
retry: Retry.Retry,
|
|
1248
|
+
telemetry: TELEMETRY,
|
|
1249
|
+
span: "LookupDomain",
|
|
1250
|
+
}));
|
|
1251
|
+
|
|
1046
1252
|
export type MoveZoneError = BadRequest | NotFound | StackitOpError;
|
|
1047
1253
|
/** move zone from one project to another move zone from one project to another */
|
|
1048
1254
|
export const moveZone: API.OperationMethod<
|
|
@@ -1051,11 +1257,13 @@ export const moveZone: API.OperationMethod<
|
|
|
1051
1257
|
MoveZoneError,
|
|
1052
1258
|
StackitOpContext
|
|
1053
1259
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1054
|
-
input: __S(
|
|
1055
|
-
output: __S(
|
|
1260
|
+
input: __S(88, __c11, 0) as any as S.Schema<MoveZoneRequest>,
|
|
1261
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
1056
1262
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1057
1263
|
protocol: StackitProtocol,
|
|
1058
1264
|
retry: Retry.Retry,
|
|
1265
|
+
telemetry: TELEMETRY,
|
|
1266
|
+
span: "MoveZone",
|
|
1059
1267
|
}));
|
|
1060
1268
|
|
|
1061
1269
|
export type PartialUpdateRecordError = BadRequest | NotFound | StackitOpError;
|
|
@@ -1066,11 +1274,13 @@ export const partialUpdateRecord: API.OperationMethod<
|
|
|
1066
1274
|
PartialUpdateRecordError,
|
|
1067
1275
|
StackitOpContext
|
|
1068
1276
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1069
|
-
input: __S(
|
|
1070
|
-
output: __S(
|
|
1277
|
+
input: __S(96, __c12, 0) as any as S.Schema<PartialUpdateRecordRequest>,
|
|
1278
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
1071
1279
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1072
1280
|
protocol: StackitProtocol,
|
|
1073
1281
|
retry: Retry.Retry,
|
|
1282
|
+
telemetry: TELEMETRY,
|
|
1283
|
+
span: "PartialUpdateRecord",
|
|
1074
1284
|
}));
|
|
1075
1285
|
|
|
1076
1286
|
export type PartialUpdateRecordSetError = BadRequest | NotFound | StackitOpError;
|
|
@@ -1081,11 +1291,13 @@ export const partialUpdateRecordSet: API.OperationMethod<
|
|
|
1081
1291
|
PartialUpdateRecordSetError,
|
|
1082
1292
|
StackitOpContext
|
|
1083
1293
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1084
|
-
input: __S(
|
|
1085
|
-
output: __S(
|
|
1294
|
+
input: __S(104, __c13, 0) as any as S.Schema<PartialUpdateRecordSetRequest>,
|
|
1295
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
1086
1296
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1087
1297
|
protocol: StackitProtocol,
|
|
1088
1298
|
retry: Retry.Retry,
|
|
1299
|
+
telemetry: TELEMETRY,
|
|
1300
|
+
span: "PartialUpdateRecordSet",
|
|
1089
1301
|
}));
|
|
1090
1302
|
|
|
1091
1303
|
export type PartialUpdateZoneError = BadRequest | NotFound | StackitOpError;
|
|
@@ -1096,11 +1308,13 @@ export const partialUpdateZone: API.OperationMethod<
|
|
|
1096
1308
|
PartialUpdateZoneError,
|
|
1097
1309
|
StackitOpContext
|
|
1098
1310
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1099
|
-
input: __S(
|
|
1100
|
-
output: __S(
|
|
1311
|
+
input: __S(112, __c14, 0) as any as S.Schema<PartialUpdateZoneRequest>,
|
|
1312
|
+
output: __S(168, __c21, 0) as any as S.Schema<ZoneResponse>,
|
|
1101
1313
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1102
1314
|
protocol: StackitProtocol,
|
|
1103
1315
|
retry: Retry.Retry,
|
|
1316
|
+
telemetry: TELEMETRY,
|
|
1317
|
+
span: "PartialUpdateZone",
|
|
1104
1318
|
}));
|
|
1105
1319
|
|
|
1106
1320
|
export type RestoreRecordSetError = BadRequest | NotFound | StackitOpError;
|
|
@@ -1111,11 +1325,13 @@ export const restoreRecordSet: API.OperationMethod<
|
|
|
1111
1325
|
RestoreRecordSetError,
|
|
1112
1326
|
StackitOpContext
|
|
1113
1327
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1114
|
-
input: __S(
|
|
1115
|
-
output: __S(
|
|
1328
|
+
input: __S(120, __c15, 0) as any as S.Schema<RestoreRecordSetRequest>,
|
|
1329
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
1116
1330
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
1117
1331
|
protocol: StackitProtocol,
|
|
1118
1332
|
retry: Retry.Retry,
|
|
1333
|
+
telemetry: TELEMETRY,
|
|
1334
|
+
span: "RestoreRecordSet",
|
|
1119
1335
|
}));
|
|
1120
1336
|
|
|
1121
1337
|
export type RestoreZoneError = BadRequest | StackitOpError;
|
|
@@ -1126,11 +1342,13 @@ export const restoreZone: API.OperationMethod<
|
|
|
1126
1342
|
RestoreZoneError,
|
|
1127
1343
|
StackitOpContext
|
|
1128
1344
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1129
|
-
input: __S(
|
|
1130
|
-
output: __S(
|
|
1345
|
+
input: __S(128, __c16, 0) as any as S.Schema<RestoreZoneRequest>,
|
|
1346
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
1131
1347
|
errors: [BadRequest, UnknownStackitError],
|
|
1132
1348
|
protocol: StackitProtocol,
|
|
1133
1349
|
retry: Retry.Retry,
|
|
1350
|
+
telemetry: TELEMETRY,
|
|
1351
|
+
span: "RestoreZone",
|
|
1134
1352
|
}));
|
|
1135
1353
|
|
|
1136
1354
|
export type ValidateMoveCodeError = BadRequest | StackitOpError;
|
|
@@ -1141,11 +1359,13 @@ export const validateMoveCode: API.OperationMethod<
|
|
|
1141
1359
|
ValidateMoveCodeError,
|
|
1142
1360
|
StackitOpContext
|
|
1143
1361
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1144
|
-
input: __S(
|
|
1145
|
-
output: __S(
|
|
1362
|
+
input: __S(136, __c17, 0) as any as S.Schema<ValidateMoveCodeRequest>,
|
|
1363
|
+
output: __S(232, __c29, 0) as any as S.Schema<Message>,
|
|
1146
1364
|
errors: [BadRequest, UnknownStackitError],
|
|
1147
1365
|
protocol: StackitProtocol,
|
|
1148
1366
|
retry: Retry.Retry,
|
|
1367
|
+
telemetry: TELEMETRY,
|
|
1368
|
+
span: "ValidateMoveCode",
|
|
1149
1369
|
}));
|
|
1150
1370
|
|
|
1151
1371
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -1199,7 +1419,7 @@ function __c2(j: number): any {
|
|
|
1199
1419
|
return S.suspend(() =>
|
|
1200
1420
|
S.Struct({
|
|
1201
1421
|
comment: S.optional(S.String),
|
|
1202
|
-
content: S.optional(__S(
|
|
1422
|
+
content: S.optional(__S(152, __c19, 0)),
|
|
1203
1423
|
name: S.optional(S.String),
|
|
1204
1424
|
ttl: S.optional(S.Number),
|
|
1205
1425
|
type: S.optional(S.String),
|
|
@@ -1210,6 +1430,24 @@ function __c2(j: number): any {
|
|
|
1210
1430
|
}
|
|
1211
1431
|
}
|
|
1212
1432
|
function __c3(j: number): any {
|
|
1433
|
+
switch (j) {
|
|
1434
|
+
case 0:
|
|
1435
|
+
return S.suspend(() =>
|
|
1436
|
+
S.Struct({
|
|
1437
|
+
domain: S.String,
|
|
1438
|
+
type: S.optional(S.String),
|
|
1439
|
+
}).pipe(
|
|
1440
|
+
T.Http({
|
|
1441
|
+
method: "POST",
|
|
1442
|
+
uri: "/v1/resolver/flush",
|
|
1443
|
+
code: 200,
|
|
1444
|
+
baseUrl: "https://dns.api.stackit.cloud",
|
|
1445
|
+
}),
|
|
1446
|
+
),
|
|
1447
|
+
).annotate({ identifier: "FlushDomainRequest" });
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
function __c4(j: number): any {
|
|
1213
1451
|
switch (j) {
|
|
1214
1452
|
case 0:
|
|
1215
1453
|
return S.suspend(() =>
|
|
@@ -1228,7 +1466,7 @@ function __c3(j: number): any {
|
|
|
1228
1466
|
).annotate({ identifier: "GetRecordSetRequest" });
|
|
1229
1467
|
}
|
|
1230
1468
|
}
|
|
1231
|
-
function
|
|
1469
|
+
function __c5(j: number): any {
|
|
1232
1470
|
switch (j) {
|
|
1233
1471
|
case 0:
|
|
1234
1472
|
return S.suspend(() =>
|
|
@@ -1246,7 +1484,7 @@ function __c4(j: number): any {
|
|
|
1246
1484
|
).annotate({ identifier: "GetZoneRequest" });
|
|
1247
1485
|
}
|
|
1248
1486
|
}
|
|
1249
|
-
function
|
|
1487
|
+
function __c6(j: number): any {
|
|
1250
1488
|
switch (j) {
|
|
1251
1489
|
case 0:
|
|
1252
1490
|
return S.suspend(() =>
|
|
@@ -1264,7 +1502,7 @@ function __c5(j: number): any {
|
|
|
1264
1502
|
).annotate({ identifier: "GetZoneRequest2" });
|
|
1265
1503
|
}
|
|
1266
1504
|
}
|
|
1267
|
-
function
|
|
1505
|
+
function __c7(j: number): any {
|
|
1268
1506
|
switch (j) {
|
|
1269
1507
|
case 0:
|
|
1270
1508
|
return S.suspend(() =>
|
|
@@ -1298,12 +1536,12 @@ function __c6(j: number): any {
|
|
|
1298
1536
|
return S.suspend(() =>
|
|
1299
1537
|
S.Struct({
|
|
1300
1538
|
message: S.optional(S.String),
|
|
1301
|
-
summary: __S(
|
|
1539
|
+
summary: __S(57, __c7, 1),
|
|
1302
1540
|
}),
|
|
1303
1541
|
).annotate({ identifier: "ImportRecordSetsResponse" });
|
|
1304
1542
|
}
|
|
1305
1543
|
}
|
|
1306
|
-
function
|
|
1544
|
+
function __c8(j: number): any {
|
|
1307
1545
|
switch (j) {
|
|
1308
1546
|
case 0:
|
|
1309
1547
|
return S.suspend(() =>
|
|
@@ -1354,20 +1592,20 @@ function __c7(j: number): any {
|
|
|
1354
1592
|
),
|
|
1355
1593
|
).annotate({ identifier: "ListRecordSetsRequest" });
|
|
1356
1594
|
case 1:
|
|
1357
|
-
return S.Array(__S(
|
|
1595
|
+
return S.Array(__S(202, __c25, 2));
|
|
1358
1596
|
case 2:
|
|
1359
1597
|
return S.suspend(() =>
|
|
1360
1598
|
S.Struct({
|
|
1361
1599
|
itemsPerPage: S.Number,
|
|
1362
1600
|
message: S.optional(S.String),
|
|
1363
|
-
rrSets: __S(
|
|
1601
|
+
rrSets: __S(65, __c8, 1),
|
|
1364
1602
|
totalItems: S.Number,
|
|
1365
1603
|
totalPages: S.Number,
|
|
1366
1604
|
}),
|
|
1367
1605
|
).annotate({ identifier: "ListRecordSetsResponse" });
|
|
1368
1606
|
}
|
|
1369
1607
|
}
|
|
1370
|
-
function
|
|
1608
|
+
function __c9(j: number): any {
|
|
1371
1609
|
switch (j) {
|
|
1372
1610
|
case 0:
|
|
1373
1611
|
return S.suspend(() =>
|
|
@@ -1406,8 +1644,8 @@ function __c8(j: number): any {
|
|
|
1406
1644
|
updateFinished_lt_: S.optional(S.String.pipe(T.Query("updateFinished[lt]"))),
|
|
1407
1645
|
updateFinished_gte_: S.optional(S.String.pipe(T.Query("updateFinished[gte]"))),
|
|
1408
1646
|
updateFinished_lte_: S.optional(S.String.pipe(T.Query("updateFinished[lte]"))),
|
|
1409
|
-
labelKey_eq_: S.optional(__S(
|
|
1410
|
-
labelValue_eq_: S.optional(__S(
|
|
1647
|
+
labelKey_eq_: S.optional(__S(152, __c19, 0).pipe(T.Query("labelKey[eq]"))),
|
|
1648
|
+
labelValue_eq_: S.optional(__S(152, __c19, 0).pipe(T.Query("labelValue[eq]"))),
|
|
1411
1649
|
orderBy_dnsName_: S.optional(S.String.pipe(T.Query("orderBy[dnsName]"))),
|
|
1412
1650
|
orderBy_name_: S.optional(S.String.pipe(T.Query("orderBy[name]"))),
|
|
1413
1651
|
orderBy_recordCount_: S.optional(S.String.pipe(T.Query("orderBy[recordCount]"))),
|
|
@@ -1429,7 +1667,7 @@ function __c8(j: number): any {
|
|
|
1429
1667
|
),
|
|
1430
1668
|
).annotate({ identifier: "ListZonesRequest" });
|
|
1431
1669
|
case 1:
|
|
1432
|
-
return S.Array(__S(
|
|
1670
|
+
return S.Array(__S(165, __c20, 5));
|
|
1433
1671
|
case 2:
|
|
1434
1672
|
return S.suspend(() =>
|
|
1435
1673
|
S.Struct({
|
|
@@ -1437,12 +1675,61 @@ function __c8(j: number): any {
|
|
|
1437
1675
|
message: S.optional(S.String),
|
|
1438
1676
|
totalItems: S.Number,
|
|
1439
1677
|
totalPages: S.Number,
|
|
1440
|
-
zones: __S(
|
|
1678
|
+
zones: __S(73, __c9, 1),
|
|
1441
1679
|
}),
|
|
1442
1680
|
).annotate({ identifier: "ListZonesResponse" });
|
|
1443
1681
|
}
|
|
1444
1682
|
}
|
|
1445
|
-
function
|
|
1683
|
+
function __c10(j: number): any {
|
|
1684
|
+
switch (j) {
|
|
1685
|
+
case 0:
|
|
1686
|
+
return S.suspend(() =>
|
|
1687
|
+
S.Struct({
|
|
1688
|
+
address: S.optional(S.String),
|
|
1689
|
+
includeRawResponse: S.optional(S.Boolean),
|
|
1690
|
+
recordType: S.optional(S.String),
|
|
1691
|
+
region: S.optional(S.String),
|
|
1692
|
+
type: S.optional(S.String),
|
|
1693
|
+
}).pipe(
|
|
1694
|
+
T.Http({
|
|
1695
|
+
method: "POST",
|
|
1696
|
+
uri: "/v1/dnslookup",
|
|
1697
|
+
code: 200,
|
|
1698
|
+
baseUrl: "https://dns.api.stackit.cloud",
|
|
1699
|
+
}),
|
|
1700
|
+
),
|
|
1701
|
+
).annotate({ identifier: "LookupDomainRequest" });
|
|
1702
|
+
case 1:
|
|
1703
|
+
return S.suspend(() =>
|
|
1704
|
+
S.Struct({
|
|
1705
|
+
data: S.optional(S.String),
|
|
1706
|
+
name: S.optional(S.String),
|
|
1707
|
+
ttl: S.optional(S.Number),
|
|
1708
|
+
type: S.optional(S.String),
|
|
1709
|
+
}),
|
|
1710
|
+
).annotate({ identifier: "LookupRecord" });
|
|
1711
|
+
case 2:
|
|
1712
|
+
return S.Array(__S(81, __c10, 1));
|
|
1713
|
+
case 3:
|
|
1714
|
+
return S.suspend(() =>
|
|
1715
|
+
S.Struct({
|
|
1716
|
+
rawResponse: S.optional(S.String),
|
|
1717
|
+
records: S.optional(__S(82, __c10, 2)),
|
|
1718
|
+
resolverIP: S.optional(S.String),
|
|
1719
|
+
}),
|
|
1720
|
+
).annotate({ identifier: "LookupResult" });
|
|
1721
|
+
case 4:
|
|
1722
|
+
return S.Array(__S(83, __c10, 3));
|
|
1723
|
+
case 5:
|
|
1724
|
+
return S.suspend(() =>
|
|
1725
|
+
S.Struct({
|
|
1726
|
+
message: S.optional(S.String),
|
|
1727
|
+
state: S.optional(__S(84, __c10, 4)),
|
|
1728
|
+
}),
|
|
1729
|
+
).annotate({ identifier: "LookupDomainResponse" });
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
function __c11(j: number): any {
|
|
1446
1733
|
switch (j) {
|
|
1447
1734
|
case 0:
|
|
1448
1735
|
return S.suspend(() =>
|
|
@@ -1461,7 +1748,7 @@ function __c9(j: number): any {
|
|
|
1461
1748
|
).annotate({ identifier: "MoveZoneRequest" });
|
|
1462
1749
|
}
|
|
1463
1750
|
}
|
|
1464
|
-
function
|
|
1751
|
+
function __c12(j: number): any {
|
|
1465
1752
|
switch (j) {
|
|
1466
1753
|
case 0:
|
|
1467
1754
|
return S.suspend(() =>
|
|
@@ -1470,7 +1757,7 @@ function __c10(j: number): any {
|
|
|
1470
1757
|
zoneId: S.String.pipe(T.Label()),
|
|
1471
1758
|
rrSetId: S.String.pipe(T.Label()),
|
|
1472
1759
|
action: S.String,
|
|
1473
|
-
records: __S(
|
|
1760
|
+
records: __S(209, __c26, 1),
|
|
1474
1761
|
}).pipe(
|
|
1475
1762
|
T.Http({
|
|
1476
1763
|
method: "PATCH",
|
|
@@ -1482,7 +1769,7 @@ function __c10(j: number): any {
|
|
|
1482
1769
|
).annotate({ identifier: "PartialUpdateRecordRequest" });
|
|
1483
1770
|
}
|
|
1484
1771
|
}
|
|
1485
|
-
function
|
|
1772
|
+
function __c13(j: number): any {
|
|
1486
1773
|
switch (j) {
|
|
1487
1774
|
case 0:
|
|
1488
1775
|
return S.suspend(() =>
|
|
@@ -1492,7 +1779,7 @@ function __c11(j: number): any {
|
|
|
1492
1779
|
rrSetId: S.String.pipe(T.Label()),
|
|
1493
1780
|
comment: S.optional(S.String),
|
|
1494
1781
|
name: S.optional(S.String),
|
|
1495
|
-
records: S.optional(__S(
|
|
1782
|
+
records: S.optional(__S(209, __c26, 1)),
|
|
1496
1783
|
ttl: S.optional(S.Number),
|
|
1497
1784
|
}).pipe(
|
|
1498
1785
|
T.Http({
|
|
@@ -1505,7 +1792,7 @@ function __c11(j: number): any {
|
|
|
1505
1792
|
).annotate({ identifier: "PartialUpdateRecordSetRequest" });
|
|
1506
1793
|
}
|
|
1507
1794
|
}
|
|
1508
|
-
function
|
|
1795
|
+
function __c14(j: number): any {
|
|
1509
1796
|
switch (j) {
|
|
1510
1797
|
case 0:
|
|
1511
1798
|
return S.suspend(() =>
|
|
@@ -1517,11 +1804,11 @@ function __c12(j: number): any {
|
|
|
1517
1804
|
defaultTTL: S.optional(S.Number),
|
|
1518
1805
|
description: S.optional(S.String),
|
|
1519
1806
|
expireTime: S.optional(S.Number),
|
|
1520
|
-
extensions: S.optional(__S(
|
|
1521
|
-
labelsMap: S.optional(__S(
|
|
1807
|
+
extensions: S.optional(__S(161, __c20, 1)),
|
|
1808
|
+
labelsMap: S.optional(__S(164, __c20, 4)),
|
|
1522
1809
|
name: S.optional(S.String),
|
|
1523
1810
|
negativeCache: S.optional(S.Number),
|
|
1524
|
-
primaries: S.optional(__S(
|
|
1811
|
+
primaries: S.optional(__S(152, __c19, 0)),
|
|
1525
1812
|
refreshTime: S.optional(S.Number),
|
|
1526
1813
|
retryTime: S.optional(S.Number),
|
|
1527
1814
|
}).pipe(
|
|
@@ -1535,7 +1822,7 @@ function __c12(j: number): any {
|
|
|
1535
1822
|
).annotate({ identifier: "PartialUpdateZoneRequest" });
|
|
1536
1823
|
}
|
|
1537
1824
|
}
|
|
1538
|
-
function
|
|
1825
|
+
function __c15(j: number): any {
|
|
1539
1826
|
switch (j) {
|
|
1540
1827
|
case 0:
|
|
1541
1828
|
return S.suspend(() =>
|
|
@@ -1554,7 +1841,7 @@ function __c13(j: number): any {
|
|
|
1554
1841
|
).annotate({ identifier: "RestoreRecordSetRequest" });
|
|
1555
1842
|
}
|
|
1556
1843
|
}
|
|
1557
|
-
function
|
|
1844
|
+
function __c16(j: number): any {
|
|
1558
1845
|
switch (j) {
|
|
1559
1846
|
case 0:
|
|
1560
1847
|
return S.suspend(() =>
|
|
@@ -1572,7 +1859,7 @@ function __c14(j: number): any {
|
|
|
1572
1859
|
).annotate({ identifier: "RestoreZoneRequest" });
|
|
1573
1860
|
}
|
|
1574
1861
|
}
|
|
1575
|
-
function
|
|
1862
|
+
function __c17(j: number): any {
|
|
1576
1863
|
switch (j) {
|
|
1577
1864
|
case 0:
|
|
1578
1865
|
return S.suspend(() =>
|
|
@@ -1591,7 +1878,7 @@ function __c15(j: number): any {
|
|
|
1591
1878
|
).annotate({ identifier: "ValidateMoveCodeRequest" });
|
|
1592
1879
|
}
|
|
1593
1880
|
}
|
|
1594
|
-
function
|
|
1881
|
+
function __c18(j: number): any {
|
|
1595
1882
|
switch (j) {
|
|
1596
1883
|
case 0:
|
|
1597
1884
|
return S.suspend(() =>
|
|
@@ -1613,13 +1900,13 @@ function __c16(j: number): any {
|
|
|
1613
1900
|
).annotate({ identifier: "CloneZoneRequest" });
|
|
1614
1901
|
}
|
|
1615
1902
|
}
|
|
1616
|
-
function
|
|
1903
|
+
function __c19(j: number): any {
|
|
1617
1904
|
switch (j) {
|
|
1618
1905
|
case 0:
|
|
1619
1906
|
return S.Array(S.String);
|
|
1620
1907
|
}
|
|
1621
1908
|
}
|
|
1622
|
-
function
|
|
1909
|
+
function __c20(j: number): any {
|
|
1623
1910
|
switch (j) {
|
|
1624
1911
|
case 0:
|
|
1625
1912
|
return S.suspend(() =>
|
|
@@ -1631,7 +1918,7 @@ function __c18(j: number): any {
|
|
|
1631
1918
|
case 1:
|
|
1632
1919
|
return S.suspend(() =>
|
|
1633
1920
|
S.Struct({
|
|
1634
|
-
observabilityExtension: S.optional(__S(
|
|
1921
|
+
observabilityExtension: S.optional(__S(160, __c20, 0)),
|
|
1635
1922
|
}),
|
|
1636
1923
|
).annotate({ identifier: "DomainExtensions" });
|
|
1637
1924
|
case 2:
|
|
@@ -1642,7 +1929,7 @@ function __c18(j: number): any {
|
|
|
1642
1929
|
}),
|
|
1643
1930
|
).annotate({ identifier: "Label" });
|
|
1644
1931
|
case 3:
|
|
1645
|
-
return S.Array(__S(
|
|
1932
|
+
return S.Array(__S(162, __c20, 2));
|
|
1646
1933
|
case 4:
|
|
1647
1934
|
return S.Record(S.String, S.String);
|
|
1648
1935
|
case 5:
|
|
@@ -1658,14 +1945,14 @@ function __c18(j: number): any {
|
|
|
1658
1945
|
dnsName: S.String,
|
|
1659
1946
|
error: S.optional(S.String),
|
|
1660
1947
|
expireTime: S.Number,
|
|
1661
|
-
extensions: S.optional(__S(
|
|
1948
|
+
extensions: S.optional(__S(161, __c20, 1)),
|
|
1662
1949
|
id: S.String,
|
|
1663
1950
|
isReverseZone: S.optional(S.Boolean),
|
|
1664
|
-
labels: S.optional(__S(
|
|
1665
|
-
labelsMap: S.optional(__S(
|
|
1951
|
+
labels: S.optional(__S(163, __c20, 3)),
|
|
1952
|
+
labelsMap: S.optional(__S(164, __c20, 4)),
|
|
1666
1953
|
name: S.String,
|
|
1667
1954
|
negativeCache: S.Number,
|
|
1668
|
-
primaries: S.optional(__S(
|
|
1955
|
+
primaries: S.optional(__S(152, __c19, 0)),
|
|
1669
1956
|
primaryNameServer: S.String,
|
|
1670
1957
|
recordCount: S.optional(S.Number),
|
|
1671
1958
|
refreshTime: S.Number,
|
|
@@ -1680,18 +1967,18 @@ function __c18(j: number): any {
|
|
|
1680
1967
|
).annotate({ identifier: "Zone" });
|
|
1681
1968
|
}
|
|
1682
1969
|
}
|
|
1683
|
-
function
|
|
1970
|
+
function __c21(j: number): any {
|
|
1684
1971
|
switch (j) {
|
|
1685
1972
|
case 0:
|
|
1686
1973
|
return S.suspend(() =>
|
|
1687
1974
|
S.Struct({
|
|
1688
1975
|
message: S.optional(S.String),
|
|
1689
|
-
zone: __S(
|
|
1976
|
+
zone: __S(165, __c20, 5),
|
|
1690
1977
|
}),
|
|
1691
1978
|
).annotate({ identifier: "ZoneResponse" });
|
|
1692
1979
|
}
|
|
1693
1980
|
}
|
|
1694
|
-
function
|
|
1981
|
+
function __c22(j: number): any {
|
|
1695
1982
|
switch (j) {
|
|
1696
1983
|
case 0:
|
|
1697
1984
|
return S.suspend(() =>
|
|
@@ -1718,7 +2005,7 @@ function __c20(j: number): any {
|
|
|
1718
2005
|
).annotate({ identifier: "MoveCodeResponse" });
|
|
1719
2006
|
}
|
|
1720
2007
|
}
|
|
1721
|
-
function
|
|
2008
|
+
function __c23(j: number): any {
|
|
1722
2009
|
switch (j) {
|
|
1723
2010
|
case 0:
|
|
1724
2011
|
return S.suspend(() =>
|
|
@@ -1727,7 +2014,7 @@ function __c21(j: number): any {
|
|
|
1727
2014
|
zoneId: S.String.pipe(T.Label()),
|
|
1728
2015
|
comment: S.optional(S.String),
|
|
1729
2016
|
name: S.String,
|
|
1730
|
-
records: __S(
|
|
2017
|
+
records: __S(209, __c26, 1),
|
|
1731
2018
|
ttl: S.optional(S.Number),
|
|
1732
2019
|
type: S.String,
|
|
1733
2020
|
}).pipe(
|
|
@@ -1741,18 +2028,18 @@ function __c21(j: number): any {
|
|
|
1741
2028
|
).annotate({ identifier: "CreateRecordSetRequest" });
|
|
1742
2029
|
}
|
|
1743
2030
|
}
|
|
1744
|
-
function
|
|
2031
|
+
function __c24(j: number): any {
|
|
1745
2032
|
switch (j) {
|
|
1746
2033
|
case 0:
|
|
1747
2034
|
return S.suspend(() =>
|
|
1748
2035
|
S.Struct({
|
|
1749
2036
|
message: S.optional(S.String),
|
|
1750
|
-
rrset: __S(
|
|
2037
|
+
rrset: __S(202, __c25, 2),
|
|
1751
2038
|
}),
|
|
1752
2039
|
).annotate({ identifier: "RecordSetResponse" });
|
|
1753
2040
|
}
|
|
1754
2041
|
}
|
|
1755
|
-
function
|
|
2042
|
+
function __c25(j: number): any {
|
|
1756
2043
|
switch (j) {
|
|
1757
2044
|
case 0:
|
|
1758
2045
|
return S.suspend(() =>
|
|
@@ -1762,7 +2049,7 @@ function __c23(j: number): any {
|
|
|
1762
2049
|
}),
|
|
1763
2050
|
).annotate({ identifier: "Record" });
|
|
1764
2051
|
case 1:
|
|
1765
|
-
return S.Array(__S(
|
|
2052
|
+
return S.Array(__S(200, __c25, 0));
|
|
1766
2053
|
case 2:
|
|
1767
2054
|
return S.suspend(() =>
|
|
1768
2055
|
S.Struct({
|
|
@@ -1773,7 +2060,7 @@ function __c23(j: number): any {
|
|
|
1773
2060
|
error: S.optional(S.String),
|
|
1774
2061
|
id: S.String,
|
|
1775
2062
|
name: S.String,
|
|
1776
|
-
records: __S(
|
|
2063
|
+
records: __S(201, __c25, 1),
|
|
1777
2064
|
state: S.String,
|
|
1778
2065
|
ttl: S.Number,
|
|
1779
2066
|
type: S.String,
|
|
@@ -1783,7 +2070,7 @@ function __c23(j: number): any {
|
|
|
1783
2070
|
).annotate({ identifier: "RecordSet" });
|
|
1784
2071
|
}
|
|
1785
2072
|
}
|
|
1786
|
-
function
|
|
2073
|
+
function __c26(j: number): any {
|
|
1787
2074
|
switch (j) {
|
|
1788
2075
|
case 0:
|
|
1789
2076
|
return S.suspend(() =>
|
|
@@ -1792,12 +2079,24 @@ function __c24(j: number): any {
|
|
|
1792
2079
|
}),
|
|
1793
2080
|
).annotate({ identifier: "RecordPayload" });
|
|
1794
2081
|
case 1:
|
|
1795
|
-
return S.Array(__S(
|
|
2082
|
+
return S.Array(__S(208, __c26, 0));
|
|
1796
2083
|
}
|
|
1797
2084
|
}
|
|
1798
|
-
function
|
|
2085
|
+
function __c27(j: number): any {
|
|
1799
2086
|
switch (j) {
|
|
1800
2087
|
case 0:
|
|
2088
|
+
return S.suspend(() =>
|
|
2089
|
+
S.Struct({
|
|
2090
|
+
observabilityInstanceId: S.String,
|
|
2091
|
+
}),
|
|
2092
|
+
).annotate({ identifier: "ZoneObservabilityExtension" });
|
|
2093
|
+
case 1:
|
|
2094
|
+
return S.suspend(() =>
|
|
2095
|
+
S.Struct({
|
|
2096
|
+
observabilityExtension: S.optional(__S(216, __c27, 0)),
|
|
2097
|
+
}),
|
|
2098
|
+
).annotate({ identifier: "ZoneExtensions" });
|
|
2099
|
+
case 2:
|
|
1801
2100
|
return S.suspend(() =>
|
|
1802
2101
|
S.Struct({
|
|
1803
2102
|
projectId: S.String.pipe(T.Label()),
|
|
@@ -1807,12 +2106,12 @@ function __c25(j: number): any {
|
|
|
1807
2106
|
description: S.optional(S.String),
|
|
1808
2107
|
dnsName: S.String,
|
|
1809
2108
|
expireTime: S.optional(S.Number),
|
|
1810
|
-
extensions: S.optional(__S(
|
|
2109
|
+
extensions: S.optional(__S(217, __c27, 1)),
|
|
1811
2110
|
isReverseZone: S.optional(S.Boolean),
|
|
1812
|
-
labelsMap: S.optional(__S(
|
|
2111
|
+
labelsMap: S.optional(__S(164, __c20, 4)),
|
|
1813
2112
|
name: S.String,
|
|
1814
2113
|
negativeCache: S.optional(S.Number),
|
|
1815
|
-
primaries: S.optional(__S(
|
|
2114
|
+
primaries: S.optional(__S(152, __c19, 0)),
|
|
1816
2115
|
refreshTime: S.optional(S.Number),
|
|
1817
2116
|
retryTime: S.optional(S.Number),
|
|
1818
2117
|
type: S.optional(S.String),
|
|
@@ -1827,23 +2126,7 @@ function __c25(j: number): any {
|
|
|
1827
2126
|
).annotate({ identifier: "CreateZoneRequest" });
|
|
1828
2127
|
}
|
|
1829
2128
|
}
|
|
1830
|
-
function
|
|
1831
|
-
switch (j) {
|
|
1832
|
-
case 0:
|
|
1833
|
-
return S.suspend(() =>
|
|
1834
|
-
S.Struct({
|
|
1835
|
-
observabilityInstanceId: S.String,
|
|
1836
|
-
}),
|
|
1837
|
-
).annotate({ identifier: "ZoneObservabilityExtension" });
|
|
1838
|
-
case 1:
|
|
1839
|
-
return S.suspend(() =>
|
|
1840
|
-
S.Struct({
|
|
1841
|
-
observabilityExtension: S.optional(__S(208, __c26, 0)),
|
|
1842
|
-
}),
|
|
1843
|
-
).annotate({ identifier: "ZoneExtensions" });
|
|
1844
|
-
}
|
|
1845
|
-
}
|
|
1846
|
-
function __c27(j: number): any {
|
|
2129
|
+
function __c28(j: number): any {
|
|
1847
2130
|
switch (j) {
|
|
1848
2131
|
case 0:
|
|
1849
2132
|
return S.suspend(() =>
|
|
@@ -1861,7 +2144,7 @@ function __c27(j: number): any {
|
|
|
1861
2144
|
).annotate({ identifier: "DeleteMoveCodeRequest" });
|
|
1862
2145
|
}
|
|
1863
2146
|
}
|
|
1864
|
-
function
|
|
2147
|
+
function __c29(j: number): any {
|
|
1865
2148
|
switch (j) {
|
|
1866
2149
|
case 0:
|
|
1867
2150
|
return S.suspend(() =>
|
|
@@ -1871,7 +2154,7 @@ function __c28(j: number): any {
|
|
|
1871
2154
|
).annotate({ identifier: "Message" });
|
|
1872
2155
|
}
|
|
1873
2156
|
}
|
|
1874
|
-
function
|
|
2157
|
+
function __c30(j: number): any {
|
|
1875
2158
|
switch (j) {
|
|
1876
2159
|
case 0:
|
|
1877
2160
|
return S.suspend(() =>
|