@stack-spot/portal-network 0.191.0 → 0.192.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,38 @@ 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
+ tenantId: string;
264
+ name: string;
265
+ publicCidrs: string[];
266
+ clusterAdminRoles: string[];
267
+ };
106
268
  export type ListProjectResponse = {
107
269
  stackSpotAccountId: string;
108
270
  foundationId: string;
@@ -114,29 +276,7 @@ export type CreateProjectRequest = {
114
276
  parentFolderId: string;
115
277
  name: string;
116
278
  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;
279
+ tags?: Tag[];
140
280
  };
141
281
  export type ListNetworkResponse = {
142
282
  stackSpotAccountId: string;
@@ -150,6 +290,7 @@ export type CreateNetworkRequest = {
150
290
  prefixLength: number;
151
291
  networkName?: string;
152
292
  networkType: "WORKLOAD";
293
+ tags?: Tag[];
153
294
  };
154
295
  export type NetworkConnectionDetails = {
155
296
  accepted?: boolean;
@@ -165,6 +306,7 @@ export type NetworkConnectionResponse = {
165
306
  requesterProjectId: string;
166
307
  networkConnectionId: string;
167
308
  details: NetworkConnectionDetails;
309
+ tags: Tag[];
168
310
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
169
311
  createdAt: string;
170
312
  updatedAt: string;
@@ -183,20 +325,7 @@ export type ListNetworkConnectionResponse = {
183
325
  export type CreateNetworkConnectionRequest = {
184
326
  accepterNetworkId: string;
185
327
  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;
328
+ tags?: Tag[];
200
329
  };
201
330
  export type ListInboundResponse = {
202
331
  stackSpotAccountId: string;
@@ -209,46 +338,12 @@ export type CreateInboundRequest = {
209
338
  certificateId: string;
210
339
  domain: string;
211
340
  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;
341
+ tags?: Tag[];
234
342
  };
235
343
  export type CreateFolderRequest = {
236
344
  parentFolderId: string;
237
345
  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;
346
+ tags?: Tag[];
252
347
  };
253
348
  export type ListDnsZoneResponse = {
254
349
  stackSpotAccountId: string;
@@ -260,6 +355,7 @@ export type CreateDnsZoneRequest = {
260
355
  domain: string;
261
356
  "type": "PUBLIC" | "PRIVATE";
262
357
  projectId?: string;
358
+ tags?: Tag[];
263
359
  };
264
360
  export type DnsRecordDetails = {
265
361
  recordName: string;
@@ -274,6 +370,7 @@ export type DnsRecordResponse = {
274
370
  dnsZoneId: string;
275
371
  dnsRecordId: string;
276
372
  details: DnsRecordDetails;
373
+ tags: Tag[];
277
374
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
278
375
  createdAt: string;
279
376
  updatedAt: string;
@@ -295,25 +392,6 @@ export type CreateDnsRecordRequest = {
295
392
  ttl: number;
296
393
  "type": "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "PTR" | "SOA" | "SRV" | "TXT";
297
394
  };
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
395
  export type ListCidrResponse = {
318
396
  stackSpotAccountId: string;
319
397
  foundationId: string;
@@ -323,33 +401,7 @@ export type ListCidrResponse = {
323
401
  export type CreateCidrRequest = {
324
402
  address: string;
325
403
  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;
404
+ tags?: Tag[];
353
405
  };
354
406
  export type ListCertificateResponse = {
355
407
  stackSpotAccountId: string;
@@ -358,6 +410,7 @@ export type ListCertificateResponse = {
358
410
  content: CertificateResponse[];
359
411
  };
360
412
  export type CreateCertificateRequestBase = {
413
+ tags?: Tag[];
361
414
  certificateName: string;
362
415
  forInbound: "TRUE" | "FALSE";
363
416
  "type": string;
@@ -383,188 +436,305 @@ export type VpnConfigurationResponse = {
383
436
  foundationId: string;
384
437
  configuration: Configuration;
385
438
  };
386
- export declare function listFoundations({ authorization }: {
439
+ export declare function putVpnTags({ authorization, xAccountId, foundationId, vpnId, body }: {
440
+ authorization: string;
441
+ xAccountId?: string;
442
+ foundationId: string;
443
+ vpnId: string;
444
+ body: Tag[];
445
+ }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
446
+ export declare function putProjectTags({ authorization, xAccountId, foundationId, projectId, body }: {
447
+ authorization: string;
448
+ xAccountId?: string;
449
+ foundationId: string;
450
+ projectId: string;
451
+ body: Tag[];
452
+ }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
453
+ export declare function putNetworkTags({ authorization, xAccountId, foundationId, networkId, body }: {
454
+ authorization: string;
455
+ xAccountId?: string;
456
+ foundationId: string;
457
+ networkId: string;
458
+ body: Tag[];
459
+ }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
460
+ export declare function putInboundTags({ authorization, xAccountId, foundationId, inboundId, body }: {
387
461
  authorization: string;
462
+ xAccountId?: string;
463
+ foundationId: string;
464
+ inboundId: string;
465
+ body: Tag[];
466
+ }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
467
+ export declare function putFolderTags({ authorization, xAccountId, foundationId, folderId, body }: {
468
+ authorization: string;
469
+ xAccountId?: string;
470
+ foundationId: string;
471
+ folderId: string;
472
+ body: Tag[];
473
+ }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
474
+ export declare function putDnsZoneTags({ authorization, xAccountId, foundationId, dnsZoneId, body }: {
475
+ authorization: string;
476
+ xAccountId?: string;
477
+ foundationId: string;
478
+ dnsZoneId: string;
479
+ body: Tag[];
480
+ }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
481
+ export declare function putCidrTags({ authorization, xAccountId, foundationId, cidrId, body }: {
482
+ authorization: string;
483
+ xAccountId?: string;
484
+ foundationId: string;
485
+ cidrId: string;
486
+ body: Tag[];
487
+ }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
488
+ export declare function putCertificateTags({ authorization, xAccountId, foundationId, certificateId, body }: {
489
+ authorization: string;
490
+ xAccountId?: string;
491
+ foundationId: string;
492
+ certificateId: string;
493
+ body: Tag[];
494
+ }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
495
+ export declare function listFoundations({ authorization, xAccountId }: {
496
+ authorization: string;
497
+ xAccountId?: string;
388
498
  }, opts?: Oazapfts.RequestOpts): Promise<ListFoundationResponse>;
389
- export declare function createFoundation({ authorization, createFoundationRequest }: {
499
+ export declare function createFoundation({ authorization, xAccountId, createFoundationRequest }: {
390
500
  authorization: string;
501
+ xAccountId?: string;
391
502
  createFoundationRequest: CreateFoundationRequest;
392
503
  }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
393
- export declare function listVpns({ authorization, foundationId }: {
504
+ export declare function listVpns({ authorization, xAccountId, foundationId }: {
394
505
  authorization: string;
506
+ xAccountId?: string;
395
507
  foundationId: string;
396
508
  }, opts?: Oazapfts.RequestOpts): Promise<ListVpnResponse>;
397
- export declare function createVpn({ authorization, foundationId, createVpnRequest }: {
509
+ export declare function createVpn({ authorization, xAccountId, foundationId, createVpnRequest }: {
398
510
  authorization: string;
511
+ xAccountId?: string;
399
512
  foundationId: string;
400
513
  createVpnRequest: CreateVpnRequest;
401
514
  }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
402
- export declare function listTenant({ authorization, foundationId }: {
515
+ export declare function listTenant({ authorization, xAccountId, foundationId }: {
403
516
  authorization: string;
517
+ xAccountId?: string;
404
518
  foundationId: string;
405
519
  }, opts?: Oazapfts.RequestOpts): Promise<ListTenantResponse>;
406
- export declare function createTenant({ authorization, foundationId, createTenantRequest }: {
520
+ export declare function createTenant({ authorization, xAccountId, foundationId, createTenantRequest }: {
407
521
  authorization: string;
522
+ xAccountId?: string;
408
523
  foundationId: string;
409
524
  createTenantRequest: CreateTenantRequest;
410
525
  }, opts?: Oazapfts.RequestOpts): Promise<TenantResponse>;
411
- export declare function listProject({ authorization, foundationId, parentFolderId }: {
526
+ export declare function listRuntime({ authorization, xAccountId, foundationId, tenantId, projectId }: {
527
+ authorization: string;
528
+ xAccountId?: string;
529
+ foundationId: string;
530
+ tenantId?: string;
531
+ projectId?: string;
532
+ }, opts?: Oazapfts.RequestOpts): Promise<ListRuntimeResponse>;
533
+ export declare function createRuntime({ authorization, xAccountId, foundationId, createRuntimeRequest }: {
534
+ authorization: string;
535
+ xAccountId?: string;
536
+ foundationId: string;
537
+ createRuntimeRequest: CreateRuntimeRequest;
538
+ }, opts?: Oazapfts.RequestOpts): Promise<RuntimeResponse>;
539
+ export declare function listProject({ authorization, xAccountId, foundationId, parentFolderId }: {
412
540
  authorization: string;
541
+ xAccountId?: string;
413
542
  foundationId: string;
414
543
  parentFolderId?: string;
415
544
  }, opts?: Oazapfts.RequestOpts): Promise<ListProjectResponse>;
416
- export declare function createProject({ authorization, foundationId, createProjectRequest }: {
545
+ export declare function createProject({ authorization, xAccountId, foundationId, createProjectRequest }: {
417
546
  authorization: string;
547
+ xAccountId?: string;
418
548
  foundationId: string;
419
549
  createProjectRequest: CreateProjectRequest;
420
550
  }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
421
- export declare function listNetwork({ authorization, foundationId, projectId }: {
551
+ export declare function listNetwork({ authorization, xAccountId, foundationId, projectId }: {
422
552
  authorization: string;
553
+ xAccountId?: string;
423
554
  foundationId: string;
424
555
  projectId?: string;
425
556
  }, opts?: Oazapfts.RequestOpts): Promise<ListNetworkResponse>;
426
- export declare function createNetwork({ authorization, foundationId, createNetworkRequest }: {
557
+ export declare function createNetwork({ authorization, xAccountId, foundationId, createNetworkRequest }: {
427
558
  authorization: string;
559
+ xAccountId?: string;
428
560
  foundationId: string;
429
561
  createNetworkRequest: CreateNetworkRequest;
430
562
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
431
- export declare function listNetworkConnection({ authorization, foundationId, accepterNetworkId, accepterProjectId, requesterNetworkId, requesterProjectId }: {
563
+ export declare function listNetworkConnection({ authorization, xAccountId, foundationId, accepterNetworkId, accepterProjectId, requesterNetworkId, requesterProjectId }: {
432
564
  authorization: string;
565
+ xAccountId?: string;
433
566
  foundationId: string;
434
567
  accepterNetworkId?: string;
435
568
  accepterProjectId?: string;
436
569
  requesterNetworkId?: string;
437
570
  requesterProjectId?: string;
438
571
  }, opts?: Oazapfts.RequestOpts): Promise<ListNetworkConnectionResponse>;
439
- export declare function createNetworkConnection({ authorization, foundationId, createNetworkConnectionRequest }: {
572
+ export declare function createNetworkConnection({ authorization, xAccountId, foundationId, createNetworkConnectionRequest }: {
440
573
  authorization: string;
574
+ xAccountId?: string;
441
575
  foundationId: string;
442
576
  createNetworkConnectionRequest: CreateNetworkConnectionRequest;
443
577
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
444
- export declare function listInbound({ authorization, foundationId }: {
578
+ export declare function acceptNetworkConnection({ authorization, xAccountId, foundationId, networkConnectionId }: {
445
579
  authorization: string;
580
+ xAccountId?: string;
581
+ foundationId: string;
582
+ networkConnectionId: string;
583
+ }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
584
+ export declare function listInbound({ authorization, xAccountId, foundationId }: {
585
+ authorization: string;
586
+ xAccountId?: string;
446
587
  foundationId: string;
447
588
  }, opts?: Oazapfts.RequestOpts): Promise<ListInboundResponse>;
448
- export declare function createInbound({ authorization, foundationId, createInboundRequest }: {
589
+ export declare function createInbound({ authorization, xAccountId, foundationId, createInboundRequest }: {
449
590
  authorization: string;
591
+ xAccountId?: string;
450
592
  foundationId: string;
451
593
  createInboundRequest: CreateInboundRequest;
452
594
  }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
453
- export declare function getFolder({ authorization, foundationId, folderId }: {
595
+ export declare function getFolder({ authorization, xAccountId, foundationId, folderId }: {
454
596
  authorization: string;
597
+ xAccountId?: string;
455
598
  foundationId: string;
456
599
  folderId: string;
457
600
  }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
458
- export declare function createFolder({ authorization, foundationId, createFolderRequest }: {
601
+ export declare function createFolder({ authorization, xAccountId, foundationId, createFolderRequest }: {
459
602
  authorization: string;
603
+ xAccountId?: string;
460
604
  foundationId: string;
461
605
  createFolderRequest: CreateFolderRequest;
462
606
  }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
463
- export declare function listDnsZone({ authorization, foundationId, projectId, privacy }: {
607
+ export declare function listDnsZone({ authorization, xAccountId, foundationId, projectId, privacy }: {
464
608
  authorization: string;
609
+ xAccountId?: string;
465
610
  foundationId: string;
466
611
  projectId?: string;
467
- privacy?: string;
612
+ privacy?: "PUBLIC" | "PRIVATE";
468
613
  }, opts?: Oazapfts.RequestOpts): Promise<ListDnsZoneResponse>;
469
- export declare function createDnsZone({ authorization, foundationId, createDnsZoneRequest }: {
614
+ export declare function createDnsZone({ authorization, xAccountId, foundationId, createDnsZoneRequest }: {
470
615
  authorization: string;
616
+ xAccountId?: string;
471
617
  foundationId: string;
472
618
  createDnsZoneRequest: CreateDnsZoneRequest;
473
619
  }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
474
- export declare function listDnsRecord({ authorization, foundationId, projectId, dnsZoneId }: {
620
+ export declare function listDnsRecord({ authorization, xAccountId, foundationId, projectId, dnsZoneId }: {
475
621
  authorization: string;
622
+ xAccountId?: string;
476
623
  foundationId: string;
477
624
  projectId?: string;
478
625
  dnsZoneId?: string;
479
626
  }, opts?: Oazapfts.RequestOpts): Promise<ListDnsRecordResponse>;
480
- export declare function createDnsRecord({ authorization, foundationId, createDnsRecordRequest }: {
627
+ export declare function createDnsRecord({ authorization, xAccountId, foundationId, createDnsRecordRequest }: {
481
628
  authorization: string;
629
+ xAccountId?: string;
482
630
  foundationId: string;
483
631
  createDnsRecordRequest: CreateDnsRecordRequest;
484
632
  }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
485
- export declare function listCidr({ authorization, foundationId }: {
633
+ export declare function listCidr({ authorization, xAccountId, foundationId }: {
486
634
  authorization: string;
635
+ xAccountId?: string;
487
636
  foundationId: string;
488
637
  }, opts?: Oazapfts.RequestOpts): Promise<ListCidrResponse>;
489
- export declare function createCidr({ authorization, foundationId, createCidrRequest }: {
638
+ export declare function createCidr({ authorization, xAccountId, foundationId, createCidrRequest }: {
490
639
  authorization: string;
640
+ xAccountId?: string;
491
641
  foundationId: string;
492
642
  createCidrRequest: CreateCidrRequest;
493
643
  }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
494
- export declare function listCertificates({ authorization, foundationId, forInbound }: {
644
+ export declare function listCertificates({ authorization, xAccountId, foundationId, forInbound }: {
495
645
  authorization: string;
646
+ xAccountId?: string;
496
647
  foundationId: string;
497
648
  forInbound?: "TRUE" | "FALSE";
498
649
  }, opts?: Oazapfts.RequestOpts): Promise<ListCertificateResponse>;
499
- export declare function createCertificate({ authorization, foundationId, body }: {
650
+ export declare function createCertificate({ authorization, xAccountId, foundationId, body }: {
500
651
  authorization: string;
652
+ xAccountId?: string;
501
653
  foundationId: string;
502
654
  body: CreatePublicCertificateRequest | ImportCertificateRequest;
503
655
  }, 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 }: {
656
+ export declare function getFoundation({ authorization, xAccountId, foundationId }: {
510
657
  authorization: string;
658
+ xAccountId?: string;
511
659
  foundationId: string;
512
660
  }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
513
- export declare function getVpn({ authorization, foundationId, vpnId }: {
661
+ export declare function getVpn({ authorization, xAccountId, foundationId, vpnId }: {
514
662
  authorization: string;
663
+ xAccountId?: string;
515
664
  foundationId: string;
516
665
  vpnId: string;
517
666
  }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
518
- export declare function getVpnConfiguration({ authorization, foundationId, vpnId }: {
667
+ export declare function getVpnConfiguration({ authorization, xAccountId, foundationId, vpnId }: {
519
668
  authorization: string;
669
+ xAccountId?: string;
520
670
  foundationId: string;
521
671
  vpnId: string;
522
672
  }, opts?: Oazapfts.RequestOpts): Promise<VpnConfigurationResponse>;
523
- export declare function getProject({ authorization, foundationId, tenantId }: {
673
+ export declare function getTenant({ authorization, xAccountId, foundationId, tenantId }: {
524
674
  authorization: string;
675
+ xAccountId?: string;
525
676
  foundationId: string;
526
677
  tenantId: string;
527
678
  }, opts?: Oazapfts.RequestOpts): Promise<TenantResponse>;
528
- export declare function getProject1({ authorization, foundationId, projectId }: {
679
+ export declare function getRuntime({ authorization, xAccountId, foundationId, runtimeId }: {
529
680
  authorization: string;
681
+ xAccountId?: string;
682
+ foundationId: string;
683
+ runtimeId: string;
684
+ }, opts?: Oazapfts.RequestOpts): Promise<RuntimeResponse>;
685
+ export declare function getProject({ authorization, xAccountId, foundationId, projectId }: {
686
+ authorization: string;
687
+ xAccountId?: string;
530
688
  foundationId: string;
531
689
  projectId: string;
532
690
  }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
533
- export declare function getNetwork({ authorization, foundationId, networkId }: {
691
+ export declare function getNetwork({ authorization, xAccountId, foundationId, networkId }: {
534
692
  authorization: string;
693
+ xAccountId?: string;
535
694
  foundationId: string;
536
695
  networkId: string;
537
696
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
538
- export declare function getNetworkConnection({ authorization, foundationId, networkConnectionId }: {
697
+ export declare function getNetworkConnection({ authorization, xAccountId, foundationId, networkConnectionId }: {
539
698
  authorization: string;
699
+ xAccountId?: string;
540
700
  foundationId: string;
541
701
  networkConnectionId: string;
542
702
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
543
- export declare function getInbound({ authorization, foundationId, inboundId }: {
703
+ export declare function getInbound({ authorization, xAccountId, foundationId, inboundId }: {
544
704
  authorization: string;
705
+ xAccountId?: string;
545
706
  foundationId: string;
546
707
  inboundId: string;
547
708
  }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
548
- export declare function getDnsZone({ authorization, foundationId, dnsZoneId }: {
709
+ export declare function getDnsZone({ authorization, xAccountId, foundationId, dnsZoneId }: {
549
710
  authorization: string;
711
+ xAccountId?: string;
550
712
  foundationId: string;
551
713
  dnsZoneId: string;
552
714
  }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
553
- export declare function getDnsZone1({ authorization, foundationId, dnsRecordId }: {
715
+ export declare function getDnsRecord({ authorization, xAccountId, foundationId, dnsRecordId }: {
554
716
  authorization: string;
717
+ xAccountId?: string;
555
718
  foundationId: string;
556
719
  dnsRecordId: string;
557
720
  }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
558
- export declare function getCidr({ authorization, foundationId, cidrId }: {
721
+ export declare function getCidr({ authorization, xAccountId, foundationId, cidrId }: {
559
722
  authorization: string;
723
+ xAccountId?: string;
560
724
  foundationId: string;
561
725
  cidrId: string;
562
726
  }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
563
- export declare function getCertificate({ authorization, foundationId, certificateId }: {
727
+ export declare function getCertificate({ authorization, xAccountId, foundationId, certificateId }: {
564
728
  authorization: string;
729
+ xAccountId?: string;
565
730
  foundationId: string;
566
731
  certificateId: string;
567
732
  }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
733
+ export declare function getProvisionAvailability({ cloudProvider }: {
734
+ cloudProvider: string;
735
+ }, opts?: Oazapfts.RequestOpts): Promise<{
736
+ [key: string]: boolean;
737
+ }>;
568
738
  export declare function providers(opts?: Oazapfts.RequestOpts): Promise<{
569
739
  [key: string]: any;
570
740
  }[]>;