@stack-spot/portal-network 0.191.1 → 0.192.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,172 @@ export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
9
9
  export declare const servers: {
10
10
  generatedServerUrl: string;
11
11
  };
12
+ export type Tag = {
13
+ key: string;
14
+ value: string;
15
+ };
16
+ export type TunnelStatus = {
17
+ tunnel1?: string;
18
+ tunnel2?: string;
19
+ };
20
+ export type VpnDetails = {
21
+ peerCustomerGatewayIp: string;
22
+ destinationCidrBlock: string;
23
+ tunnelStatus: TunnelStatus;
24
+ };
25
+ export type VpnResponse = {
26
+ stackSpotAccountId: string;
27
+ foundationId: string;
28
+ vpnId: string;
29
+ details: VpnDetails;
30
+ tags: Tag[];
31
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
32
+ createdAt: string;
33
+ updatedAt: string;
34
+ deletedAt?: string;
35
+ };
36
+ export type ProjectDetails = {
37
+ name: string;
38
+ folderName: string;
39
+ providerAccountId?: string;
40
+ };
41
+ export type ProjectResponse = {
42
+ stackSpotAccountId: string;
43
+ foundationId: string;
44
+ parentFolderId: string;
45
+ projectId: string;
46
+ details: ProjectDetails;
47
+ tags: Tag[];
48
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
49
+ createdAt: string;
50
+ updatedAt: string;
51
+ deletedAt?: string;
52
+ };
53
+ export type NetworkSubnetDetails = {
54
+ az?: string;
55
+ cidr?: string;
56
+ id?: string;
57
+ "type": "NAT" | "PRIVATE" | "PUBLIC";
58
+ };
59
+ export type NetworkDetails = {
60
+ cidrs?: string[];
61
+ name: string;
62
+ "type": "WORKLOAD";
63
+ subnets: NetworkSubnetDetails[];
64
+ };
65
+ export type NetworkResponse = {
66
+ stackSpotAccountId: string;
67
+ foundationId: string;
68
+ projectId: string;
69
+ networkId: string;
70
+ details: NetworkDetails;
71
+ tags: Tag[];
72
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
73
+ createdAt: string;
74
+ updatedAt: string;
75
+ deletedAt?: string;
76
+ };
77
+ export type InboundDetails = {
78
+ recordName: string;
79
+ };
80
+ export type InboundResponse = {
81
+ stackSpotAccountId: string;
82
+ foundationId: string;
83
+ projectId: string;
84
+ inboundId: string;
85
+ details: InboundDetails;
86
+ tags: Tag[];
87
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
88
+ createdAt: string;
89
+ updatedAt: string;
90
+ deletedAt?: string;
91
+ };
92
+ export type FolderContent = {
93
+ "type": "FOLDER" | "PROJECT";
94
+ id: string;
95
+ name: string;
96
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
97
+ };
98
+ export type FolderDetails = {
99
+ name: string;
100
+ pendingResources: boolean;
101
+ content: FolderContent[];
102
+ };
103
+ export type FolderResponse = {
104
+ stackSpotAccountId: string;
105
+ foundationId: string;
106
+ parentFolderId: string;
107
+ folderId: string;
108
+ details: FolderDetails;
109
+ tags: Tag[];
110
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
111
+ createdAt: string;
112
+ updatedAt: string;
113
+ deletedAt?: string;
114
+ };
115
+ export type DnsZoneDetails = {
116
+ domain: string;
117
+ dnsZoneType: string;
118
+ };
119
+ export type DnsZoneResponse = {
120
+ stackSpotAccountId: string;
121
+ foundationId: string;
122
+ dnsZoneId: string;
123
+ details: DnsZoneDetails;
124
+ tags: Tag[];
125
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
126
+ createdAt: string;
127
+ updatedAt: string;
128
+ deletedAt?: string;
129
+ };
130
+ export type CidrDetails = {
131
+ cidrNotation: string;
132
+ networkAddress: string;
133
+ netmask: string;
134
+ broadcastAddress: string;
135
+ lowAddress: string;
136
+ highAddress: string;
137
+ addressCount: number;
138
+ };
139
+ export type CidrResponse = {
140
+ stackSpotAccountId: string;
141
+ foundationId: string;
142
+ cidrId: string;
143
+ details: CidrDetails;
144
+ tags: Tag[];
145
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
146
+ createdAt: string;
147
+ updatedAt: string;
148
+ deletedAt?: string;
149
+ };
150
+ export type CertificateDomainValidation = {
151
+ domainName?: string;
152
+ recordName?: string;
153
+ recordType?: string;
154
+ recordValue?: string;
155
+ };
156
+ export type CertificateDetails = {
157
+ name: string;
158
+ forInbound: "TRUE" | "FALSE";
159
+ certificateStatus?: string;
160
+ domainName?: string;
161
+ domainValidation?: CertificateDomainValidation[];
162
+ notAfter?: string;
163
+ notBefore?: string;
164
+ "type"?: string;
165
+ validationMethod?: string;
166
+ };
167
+ export type CertificateResponse = {
168
+ stackSpotAccountId: string;
169
+ foundationId: string;
170
+ certificateId: string;
171
+ details: CertificateDetails;
172
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
173
+ tags: Tag[];
174
+ createdAt: string;
175
+ updatedAt: string;
176
+ deletedAt?: string;
177
+ };
12
178
  export type FoundationDetails = {
13
179
  name: string;
14
180
  description: string;
@@ -19,6 +185,7 @@ export type FoundationResponse = {
19
185
  stackSpotAccountId: string;
20
186
  foundationId: string;
21
187
  details: FoundationDetails;
188
+ tags: Tag[];
22
189
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
23
190
  createdAt: string;
24
191
  updatedAt: string;
@@ -35,25 +202,6 @@ export type CreateFoundationRequest = {
35
202
  cloudProvider: string;
36
203
  region: string;
37
204
  };
38
- export type TunnelStatus = {
39
- tunnel1?: string;
40
- tunnel2?: string;
41
- };
42
- export type VpnDetails = {
43
- peerCustomerGatewayIp: string;
44
- destinationCidrBlock: string;
45
- tunnelStatus: TunnelStatus;
46
- };
47
- export type VpnResponse = {
48
- stackSpotAccountId: string;
49
- foundationId: string;
50
- vpnId: string;
51
- details: VpnDetails;
52
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
53
- createdAt: string;
54
- updatedAt: string;
55
- deletedAt?: string;
56
- };
57
205
  export type ListVpnResponse = {
58
206
  stackSpotAccountId: string;
59
207
  foundationId: string;
@@ -63,6 +211,7 @@ export type ListVpnResponse = {
63
211
  export type CreateVpnRequest = {
64
212
  peerCustomerGatewayIp: string;
65
213
  destinationCidrBlock: string;
214
+ tags?: Tag[];
66
215
  };
67
216
  export type TenantDetails = {
68
217
  name: string;
@@ -84,25 +233,37 @@ export type ListTenantResponse = {
84
233
  content: TenantResponse[];
85
234
  };
86
235
  export type CreateTenantRequest = {
87
- tenantName: string;
236
+ name: string;
88
237
  publicCidrs: string[];
89
238
  };
90
- export type ProjectDetails = {
239
+ export type RuntimeDetails = {
91
240
  name: string;
92
- folderName: string;
93
- providerAccountId?: string;
94
241
  };
95
- export type ProjectResponse = {
242
+ export type RuntimeResponse = {
96
243
  stackSpotAccountId: string;
97
244
  foundationId: string;
98
- parentFolderId: string;
99
- projectId: string;
100
- details: ProjectDetails;
245
+ tenantId: string;
246
+ runtimeId: string;
247
+ details: RuntimeDetails;
101
248
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
102
249
  createdAt: string;
103
250
  updatedAt: string;
104
251
  deletedAt?: string;
105
252
  };
253
+ export type ListRuntimeResponse = {
254
+ stackSpotAccountId: string;
255
+ foundationId: string;
256
+ projectId?: string;
257
+ tenantId?: string;
258
+ pendingResources: boolean;
259
+ content: RuntimeResponse[];
260
+ };
261
+ export type CreateRuntimeRequest = {
262
+ projectId: string;
263
+ name: string;
264
+ publicCidrs: string[];
265
+ clusterAdminRoles: string[];
266
+ };
106
267
  export type ListProjectResponse = {
107
268
  stackSpotAccountId: string;
108
269
  foundationId: string;
@@ -114,29 +275,7 @@ export type CreateProjectRequest = {
114
275
  parentFolderId: string;
115
276
  name: string;
116
277
  description: string;
117
- };
118
- export type NetworkSubnetDetails = {
119
- az?: string;
120
- cidr?: string;
121
- id?: string;
122
- "type": "NAT" | "PRIVATE" | "PUBLIC";
123
- };
124
- export type NetworkDetails = {
125
- cidrs?: string[];
126
- name: string;
127
- "type": "WORKLOAD";
128
- subnets: NetworkSubnetDetails[];
129
- };
130
- export type NetworkResponse = {
131
- stackSpotAccountId: string;
132
- foundationId: string;
133
- projectId: string;
134
- networkId: string;
135
- details: NetworkDetails;
136
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
137
- createdAt: string;
138
- updatedAt: string;
139
- deletedAt?: string;
278
+ tags?: Tag[];
140
279
  };
141
280
  export type ListNetworkResponse = {
142
281
  stackSpotAccountId: string;
@@ -150,6 +289,7 @@ export type CreateNetworkRequest = {
150
289
  prefixLength: number;
151
290
  networkName?: string;
152
291
  networkType: "WORKLOAD";
292
+ tags?: Tag[];
153
293
  };
154
294
  export type NetworkConnectionDetails = {
155
295
  accepted?: boolean;
@@ -165,6 +305,7 @@ export type NetworkConnectionResponse = {
165
305
  requesterProjectId: string;
166
306
  networkConnectionId: string;
167
307
  details: NetworkConnectionDetails;
308
+ tags: Tag[];
168
309
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
169
310
  createdAt: string;
170
311
  updatedAt: string;
@@ -183,20 +324,7 @@ export type ListNetworkConnectionResponse = {
183
324
  export type CreateNetworkConnectionRequest = {
184
325
  accepterNetworkId: string;
185
326
  requesterNetworkId: string;
186
- };
187
- export type InboundDetails = {
188
- recordName: string;
189
- };
190
- export type InboundResponse = {
191
- stackSpotAccountId: string;
192
- foundationId: string;
193
- projectId: string;
194
- inboundId: string;
195
- details: InboundDetails;
196
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
197
- createdAt: string;
198
- updatedAt: string;
199
- deletedAt?: string;
327
+ tags?: Tag[];
200
328
  };
201
329
  export type ListInboundResponse = {
202
330
  stackSpotAccountId: string;
@@ -209,46 +337,12 @@ export type CreateInboundRequest = {
209
337
  certificateId: string;
210
338
  domain: string;
211
339
  applicationLoadBalancer: string;
212
- };
213
- export type FolderContent = {
214
- "type": "FOLDER" | "PROJECT";
215
- id: string;
216
- name: string;
217
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
218
- };
219
- export type FolderDetails = {
220
- name: string;
221
- pendingResources: boolean;
222
- content: FolderContent[];
223
- };
224
- export type FolderResponse = {
225
- stackSpotAccountId: string;
226
- foundationId: string;
227
- parentFolderId: string;
228
- folderId: string;
229
- details: FolderDetails;
230
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
231
- createdAt: string;
232
- updatedAt: string;
233
- deletedAt?: string;
340
+ tags?: Tag[];
234
341
  };
235
342
  export type CreateFolderRequest = {
236
343
  parentFolderId: string;
237
344
  name: string;
238
- };
239
- export type DnsZoneDetails = {
240
- domain: string;
241
- dnsZoneType: string;
242
- };
243
- export type DnsZoneResponse = {
244
- stackSpotAccountId: string;
245
- foundationId: string;
246
- dnsZoneId: string;
247
- details: DnsZoneDetails;
248
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
249
- createdAt: string;
250
- updatedAt: string;
251
- deletedAt?: string;
345
+ tags?: Tag[];
252
346
  };
253
347
  export type ListDnsZoneResponse = {
254
348
  stackSpotAccountId: string;
@@ -260,6 +354,7 @@ export type CreateDnsZoneRequest = {
260
354
  domain: string;
261
355
  "type": "PUBLIC" | "PRIVATE";
262
356
  projectId?: string;
357
+ tags?: Tag[];
263
358
  };
264
359
  export type DnsRecordDetails = {
265
360
  recordName: string;
@@ -274,6 +369,7 @@ export type DnsRecordResponse = {
274
369
  dnsZoneId: string;
275
370
  dnsRecordId: string;
276
371
  details: DnsRecordDetails;
372
+ tags: Tag[];
277
373
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
278
374
  createdAt: string;
279
375
  updatedAt: string;
@@ -295,25 +391,6 @@ export type CreateDnsRecordRequest = {
295
391
  ttl: number;
296
392
  "type": "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "PTR" | "SOA" | "SRV" | "TXT";
297
393
  };
298
- export type CidrDetails = {
299
- cidrNotation: string;
300
- networkAddress: string;
301
- netmask: string;
302
- broadcastAddress: string;
303
- lowAddress: string;
304
- highAddress: string;
305
- addressCount: number;
306
- };
307
- export type CidrResponse = {
308
- stackSpotAccountId: string;
309
- foundationId: string;
310
- cidrId: string;
311
- details: CidrDetails;
312
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
313
- createdAt: string;
314
- updatedAt: string;
315
- deletedAt?: string;
316
- };
317
394
  export type ListCidrResponse = {
318
395
  stackSpotAccountId: string;
319
396
  foundationId: string;
@@ -323,33 +400,7 @@ export type ListCidrResponse = {
323
400
  export type CreateCidrRequest = {
324
401
  address: string;
325
402
  prefix: number;
326
- };
327
- export type CertificateDomainValidation = {
328
- domainName?: string;
329
- recordName?: string;
330
- recordType?: string;
331
- recordValue?: string;
332
- };
333
- export type CertificateDetails = {
334
- name: string;
335
- forInbound: "TRUE" | "FALSE";
336
- certificateStatus?: string;
337
- domainName?: string;
338
- domainValidation?: CertificateDomainValidation[];
339
- notAfter?: string;
340
- notBefore?: string;
341
- "type"?: string;
342
- validationMethod?: string;
343
- };
344
- export type CertificateResponse = {
345
- stackSpotAccountId: string;
346
- foundationId: string;
347
- certificateId: string;
348
- details: CertificateDetails;
349
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
350
- createdAt: string;
351
- updatedAt: string;
352
- deletedAt?: string;
403
+ tags?: Tag[];
353
404
  };
354
405
  export type ListCertificateResponse = {
355
406
  stackSpotAccountId: string;
@@ -358,6 +409,7 @@ export type ListCertificateResponse = {
358
409
  content: CertificateResponse[];
359
410
  };
360
411
  export type CreateCertificateRequestBase = {
412
+ tags?: Tag[];
361
413
  certificateName: string;
362
414
  forInbound: "TRUE" | "FALSE";
363
415
  "type": string;
@@ -383,188 +435,305 @@ export type VpnConfigurationResponse = {
383
435
  foundationId: string;
384
436
  configuration: Configuration;
385
437
  };
386
- export declare function listFoundations({ authorization }: {
438
+ export declare function putVpnTags({ authorization, xAccountId, foundationId, vpnId, body }: {
439
+ authorization: string;
440
+ xAccountId?: string;
441
+ foundationId: string;
442
+ vpnId: string;
443
+ body: Tag[];
444
+ }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
445
+ export declare function putProjectTags({ authorization, xAccountId, foundationId, projectId, body }: {
387
446
  authorization: string;
447
+ xAccountId?: string;
448
+ foundationId: string;
449
+ projectId: string;
450
+ body: Tag[];
451
+ }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
452
+ export declare function putNetworkTags({ authorization, xAccountId, foundationId, networkId, body }: {
453
+ authorization: string;
454
+ xAccountId?: string;
455
+ foundationId: string;
456
+ networkId: string;
457
+ body: Tag[];
458
+ }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
459
+ export declare function putInboundTags({ authorization, xAccountId, foundationId, inboundId, body }: {
460
+ authorization: string;
461
+ xAccountId?: string;
462
+ foundationId: string;
463
+ inboundId: string;
464
+ body: Tag[];
465
+ }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
466
+ export declare function putFolderTags({ authorization, xAccountId, foundationId, folderId, body }: {
467
+ authorization: string;
468
+ xAccountId?: string;
469
+ foundationId: string;
470
+ folderId: string;
471
+ body: Tag[];
472
+ }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
473
+ export declare function putDnsZoneTags({ authorization, xAccountId, foundationId, dnsZoneId, body }: {
474
+ authorization: string;
475
+ xAccountId?: string;
476
+ foundationId: string;
477
+ dnsZoneId: string;
478
+ body: Tag[];
479
+ }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
480
+ export declare function putCidrTags({ authorization, xAccountId, foundationId, cidrId, body }: {
481
+ authorization: string;
482
+ xAccountId?: string;
483
+ foundationId: string;
484
+ cidrId: string;
485
+ body: Tag[];
486
+ }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
487
+ export declare function putCertificateTags({ authorization, xAccountId, foundationId, certificateId, body }: {
488
+ authorization: string;
489
+ xAccountId?: string;
490
+ foundationId: string;
491
+ certificateId: string;
492
+ body: Tag[];
493
+ }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
494
+ export declare function listFoundations({ authorization, xAccountId }: {
495
+ authorization: string;
496
+ xAccountId?: string;
388
497
  }, opts?: Oazapfts.RequestOpts): Promise<ListFoundationResponse>;
389
- export declare function createFoundation({ authorization, createFoundationRequest }: {
498
+ export declare function createFoundation({ authorization, xAccountId, createFoundationRequest }: {
390
499
  authorization: string;
500
+ xAccountId?: string;
391
501
  createFoundationRequest: CreateFoundationRequest;
392
502
  }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
393
- export declare function listVpns({ authorization, foundationId }: {
503
+ export declare function listVpns({ authorization, xAccountId, foundationId }: {
394
504
  authorization: string;
505
+ xAccountId?: string;
395
506
  foundationId: string;
396
507
  }, opts?: Oazapfts.RequestOpts): Promise<ListVpnResponse>;
397
- export declare function createVpn({ authorization, foundationId, createVpnRequest }: {
508
+ export declare function createVpn({ authorization, xAccountId, foundationId, createVpnRequest }: {
398
509
  authorization: string;
510
+ xAccountId?: string;
399
511
  foundationId: string;
400
512
  createVpnRequest: CreateVpnRequest;
401
513
  }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
402
- export declare function listTenant({ authorization, foundationId }: {
514
+ export declare function listTenant({ authorization, xAccountId, foundationId }: {
403
515
  authorization: string;
516
+ xAccountId?: string;
404
517
  foundationId: string;
405
518
  }, opts?: Oazapfts.RequestOpts): Promise<ListTenantResponse>;
406
- export declare function createTenant({ authorization, foundationId, createTenantRequest }: {
519
+ export declare function createTenant({ authorization, xAccountId, foundationId, createTenantRequest }: {
407
520
  authorization: string;
521
+ xAccountId?: string;
408
522
  foundationId: string;
409
523
  createTenantRequest: CreateTenantRequest;
410
524
  }, opts?: Oazapfts.RequestOpts): Promise<TenantResponse>;
411
- export declare function listProject({ authorization, foundationId, parentFolderId }: {
525
+ export declare function listRuntime({ authorization, xAccountId, foundationId, tenantId, projectId }: {
526
+ authorization: string;
527
+ xAccountId?: string;
528
+ foundationId: string;
529
+ tenantId?: string;
530
+ projectId?: string;
531
+ }, opts?: Oazapfts.RequestOpts): Promise<ListRuntimeResponse>;
532
+ export declare function createRuntime({ authorization, xAccountId, foundationId, createRuntimeRequest }: {
533
+ authorization: string;
534
+ xAccountId?: string;
535
+ foundationId: string;
536
+ createRuntimeRequest: CreateRuntimeRequest;
537
+ }, opts?: Oazapfts.RequestOpts): Promise<RuntimeResponse>;
538
+ export declare function listProject({ authorization, xAccountId, foundationId, parentFolderId }: {
412
539
  authorization: string;
540
+ xAccountId?: string;
413
541
  foundationId: string;
414
542
  parentFolderId?: string;
415
543
  }, opts?: Oazapfts.RequestOpts): Promise<ListProjectResponse>;
416
- export declare function createProject({ authorization, foundationId, createProjectRequest }: {
544
+ export declare function createProject({ authorization, xAccountId, foundationId, createProjectRequest }: {
417
545
  authorization: string;
546
+ xAccountId?: string;
418
547
  foundationId: string;
419
548
  createProjectRequest: CreateProjectRequest;
420
549
  }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
421
- export declare function listNetwork({ authorization, foundationId, projectId }: {
550
+ export declare function listNetwork({ authorization, xAccountId, foundationId, projectId }: {
422
551
  authorization: string;
552
+ xAccountId?: string;
423
553
  foundationId: string;
424
554
  projectId?: string;
425
555
  }, opts?: Oazapfts.RequestOpts): Promise<ListNetworkResponse>;
426
- export declare function createNetwork({ authorization, foundationId, createNetworkRequest }: {
556
+ export declare function createNetwork({ authorization, xAccountId, foundationId, createNetworkRequest }: {
427
557
  authorization: string;
558
+ xAccountId?: string;
428
559
  foundationId: string;
429
560
  createNetworkRequest: CreateNetworkRequest;
430
561
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
431
- export declare function listNetworkConnection({ authorization, foundationId, accepterNetworkId, accepterProjectId, requesterNetworkId, requesterProjectId }: {
562
+ export declare function listNetworkConnection({ authorization, xAccountId, foundationId, accepterNetworkId, accepterProjectId, requesterNetworkId, requesterProjectId }: {
432
563
  authorization: string;
564
+ xAccountId?: string;
433
565
  foundationId: string;
434
566
  accepterNetworkId?: string;
435
567
  accepterProjectId?: string;
436
568
  requesterNetworkId?: string;
437
569
  requesterProjectId?: string;
438
570
  }, opts?: Oazapfts.RequestOpts): Promise<ListNetworkConnectionResponse>;
439
- export declare function createNetworkConnection({ authorization, foundationId, createNetworkConnectionRequest }: {
571
+ export declare function createNetworkConnection({ authorization, xAccountId, foundationId, createNetworkConnectionRequest }: {
440
572
  authorization: string;
573
+ xAccountId?: string;
441
574
  foundationId: string;
442
575
  createNetworkConnectionRequest: CreateNetworkConnectionRequest;
443
576
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
444
- export declare function listInbound({ authorization, foundationId }: {
577
+ export declare function acceptNetworkConnection({ authorization, xAccountId, foundationId, networkConnectionId }: {
445
578
  authorization: string;
579
+ xAccountId?: string;
580
+ foundationId: string;
581
+ networkConnectionId: string;
582
+ }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
583
+ export declare function listInbound({ authorization, xAccountId, foundationId }: {
584
+ authorization: string;
585
+ xAccountId?: string;
446
586
  foundationId: string;
447
587
  }, opts?: Oazapfts.RequestOpts): Promise<ListInboundResponse>;
448
- export declare function createInbound({ authorization, foundationId, createInboundRequest }: {
588
+ export declare function createInbound({ authorization, xAccountId, foundationId, createInboundRequest }: {
449
589
  authorization: string;
590
+ xAccountId?: string;
450
591
  foundationId: string;
451
592
  createInboundRequest: CreateInboundRequest;
452
593
  }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
453
- export declare function getFolder({ authorization, foundationId, folderId }: {
594
+ export declare function getFolder({ authorization, xAccountId, foundationId, folderId }: {
454
595
  authorization: string;
596
+ xAccountId?: string;
455
597
  foundationId: string;
456
598
  folderId: string;
457
599
  }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
458
- export declare function createFolder({ authorization, foundationId, createFolderRequest }: {
600
+ export declare function createFolder({ authorization, xAccountId, foundationId, createFolderRequest }: {
459
601
  authorization: string;
602
+ xAccountId?: string;
460
603
  foundationId: string;
461
604
  createFolderRequest: CreateFolderRequest;
462
605
  }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
463
- export declare function listDnsZone({ authorization, foundationId, projectId, privacy }: {
606
+ export declare function listDnsZone({ authorization, xAccountId, foundationId, projectId, privacy }: {
464
607
  authorization: string;
608
+ xAccountId?: string;
465
609
  foundationId: string;
466
610
  projectId?: string;
467
- privacy?: string;
611
+ privacy?: "PUBLIC" | "PRIVATE";
468
612
  }, opts?: Oazapfts.RequestOpts): Promise<ListDnsZoneResponse>;
469
- export declare function createDnsZone({ authorization, foundationId, createDnsZoneRequest }: {
613
+ export declare function createDnsZone({ authorization, xAccountId, foundationId, createDnsZoneRequest }: {
470
614
  authorization: string;
615
+ xAccountId?: string;
471
616
  foundationId: string;
472
617
  createDnsZoneRequest: CreateDnsZoneRequest;
473
618
  }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
474
- export declare function listDnsRecord({ authorization, foundationId, projectId, dnsZoneId }: {
619
+ export declare function listDnsRecord({ authorization, xAccountId, foundationId, projectId, dnsZoneId }: {
475
620
  authorization: string;
621
+ xAccountId?: string;
476
622
  foundationId: string;
477
623
  projectId?: string;
478
624
  dnsZoneId?: string;
479
625
  }, opts?: Oazapfts.RequestOpts): Promise<ListDnsRecordResponse>;
480
- export declare function createDnsRecord({ authorization, foundationId, createDnsRecordRequest }: {
626
+ export declare function createDnsRecord({ authorization, xAccountId, foundationId, createDnsRecordRequest }: {
481
627
  authorization: string;
628
+ xAccountId?: string;
482
629
  foundationId: string;
483
630
  createDnsRecordRequest: CreateDnsRecordRequest;
484
631
  }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
485
- export declare function listCidr({ authorization, foundationId }: {
632
+ export declare function listCidr({ authorization, xAccountId, foundationId }: {
486
633
  authorization: string;
634
+ xAccountId?: string;
487
635
  foundationId: string;
488
636
  }, opts?: Oazapfts.RequestOpts): Promise<ListCidrResponse>;
489
- export declare function createCidr({ authorization, foundationId, createCidrRequest }: {
637
+ export declare function createCidr({ authorization, xAccountId, foundationId, createCidrRequest }: {
490
638
  authorization: string;
639
+ xAccountId?: string;
491
640
  foundationId: string;
492
641
  createCidrRequest: CreateCidrRequest;
493
642
  }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
494
- export declare function listCertificates({ authorization, foundationId, forInbound }: {
643
+ export declare function listCertificates({ authorization, xAccountId, foundationId, forInbound }: {
495
644
  authorization: string;
645
+ xAccountId?: string;
496
646
  foundationId: string;
497
647
  forInbound?: "TRUE" | "FALSE";
498
648
  }, opts?: Oazapfts.RequestOpts): Promise<ListCertificateResponse>;
499
- export declare function createCertificate({ authorization, foundationId, body }: {
649
+ export declare function createCertificate({ authorization, xAccountId, foundationId, body }: {
500
650
  authorization: string;
651
+ xAccountId?: string;
501
652
  foundationId: string;
502
653
  body: CreatePublicCertificateRequest | ImportCertificateRequest;
503
654
  }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
504
- export declare function acceptNetworkConnection({ authorization, foundationId, networkConnectionId }: {
505
- authorization: string;
506
- foundationId: string;
507
- networkConnectionId: string;
508
- }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
509
- export declare function getFoundation({ authorization, foundationId }: {
655
+ export declare function getFoundation({ authorization, xAccountId, foundationId }: {
510
656
  authorization: string;
657
+ xAccountId?: string;
511
658
  foundationId: string;
512
659
  }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
513
- export declare function getVpn({ authorization, foundationId, vpnId }: {
660
+ export declare function getVpn({ authorization, xAccountId, foundationId, vpnId }: {
514
661
  authorization: string;
662
+ xAccountId?: string;
515
663
  foundationId: string;
516
664
  vpnId: string;
517
665
  }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
518
- export declare function getVpnConfiguration({ authorization, foundationId, vpnId }: {
666
+ export declare function getVpnConfiguration({ authorization, xAccountId, foundationId, vpnId }: {
519
667
  authorization: string;
668
+ xAccountId?: string;
520
669
  foundationId: string;
521
670
  vpnId: string;
522
671
  }, opts?: Oazapfts.RequestOpts): Promise<VpnConfigurationResponse>;
523
- export declare function getProject({ authorization, foundationId, tenantId }: {
672
+ export declare function getTenant({ authorization, xAccountId, foundationId, tenantId }: {
524
673
  authorization: string;
674
+ xAccountId?: string;
525
675
  foundationId: string;
526
676
  tenantId: string;
527
677
  }, opts?: Oazapfts.RequestOpts): Promise<TenantResponse>;
528
- export declare function getProject1({ authorization, foundationId, projectId }: {
678
+ export declare function getRuntime({ authorization, xAccountId, foundationId, runtimeId }: {
529
679
  authorization: string;
680
+ xAccountId?: string;
681
+ foundationId: string;
682
+ runtimeId: string;
683
+ }, opts?: Oazapfts.RequestOpts): Promise<RuntimeResponse>;
684
+ export declare function getProject({ authorization, xAccountId, foundationId, projectId }: {
685
+ authorization: string;
686
+ xAccountId?: string;
530
687
  foundationId: string;
531
688
  projectId: string;
532
689
  }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
533
- export declare function getNetwork({ authorization, foundationId, networkId }: {
690
+ export declare function getNetwork({ authorization, xAccountId, foundationId, networkId }: {
534
691
  authorization: string;
692
+ xAccountId?: string;
535
693
  foundationId: string;
536
694
  networkId: string;
537
695
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
538
- export declare function getNetworkConnection({ authorization, foundationId, networkConnectionId }: {
696
+ export declare function getNetworkConnection({ authorization, xAccountId, foundationId, networkConnectionId }: {
539
697
  authorization: string;
698
+ xAccountId?: string;
540
699
  foundationId: string;
541
700
  networkConnectionId: string;
542
701
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
543
- export declare function getInbound({ authorization, foundationId, inboundId }: {
702
+ export declare function getInbound({ authorization, xAccountId, foundationId, inboundId }: {
544
703
  authorization: string;
704
+ xAccountId?: string;
545
705
  foundationId: string;
546
706
  inboundId: string;
547
707
  }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
548
- export declare function getDnsZone({ authorization, foundationId, dnsZoneId }: {
708
+ export declare function getDnsZone({ authorization, xAccountId, foundationId, dnsZoneId }: {
549
709
  authorization: string;
710
+ xAccountId?: string;
550
711
  foundationId: string;
551
712
  dnsZoneId: string;
552
713
  }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
553
- export declare function getDnsZone1({ authorization, foundationId, dnsRecordId }: {
714
+ export declare function getDnsRecord({ authorization, xAccountId, foundationId, dnsRecordId }: {
554
715
  authorization: string;
716
+ xAccountId?: string;
555
717
  foundationId: string;
556
718
  dnsRecordId: string;
557
719
  }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
558
- export declare function getCidr({ authorization, foundationId, cidrId }: {
720
+ export declare function getCidr({ authorization, xAccountId, foundationId, cidrId }: {
559
721
  authorization: string;
722
+ xAccountId?: string;
560
723
  foundationId: string;
561
724
  cidrId: string;
562
725
  }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
563
- export declare function getCertificate({ authorization, foundationId, certificateId }: {
726
+ export declare function getCertificate({ authorization, xAccountId, foundationId, certificateId }: {
564
727
  authorization: string;
728
+ xAccountId?: string;
565
729
  foundationId: string;
566
730
  certificateId: string;
567
731
  }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
732
+ export declare function getProvisionAvailability({ cloudProvider }: {
733
+ cloudProvider: string;
734
+ }, opts?: Oazapfts.RequestOpts): Promise<{
735
+ [key: string]: boolean;
736
+ }>;
568
737
  export declare function providers(opts?: Oazapfts.RequestOpts): Promise<{
569
738
  [key: string]: any;
570
739
  }[]>;