@stack-spot/portal-network 0.189.0-beta.1 → 0.190.0-beta.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,311 @@ 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 }: {
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 }: {
387
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 getFolderTags({ authorization, xAccountId, foundationId, folderId }: {
467
+ authorization: string;
468
+ xAccountId?: string;
469
+ foundationId: string;
470
+ folderId: string;
471
+ }, opts?: Oazapfts.RequestOpts): Promise<Tag[]>;
472
+ export declare function putFolderTags({ authorization, xAccountId, foundationId, folderId, body }: {
473
+ authorization: string;
474
+ xAccountId?: string;
475
+ foundationId: string;
476
+ folderId: string;
477
+ body: Tag[];
478
+ }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
479
+ export declare function putDnsZoneTags({ authorization, xAccountId, foundationId, dnsZoneId, body }: {
480
+ authorization: string;
481
+ xAccountId?: string;
482
+ foundationId: string;
483
+ dnsZoneId: string;
484
+ body: Tag[];
485
+ }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
486
+ export declare function putCidrTags({ authorization, xAccountId, foundationId, cidrId, body }: {
487
+ authorization: string;
488
+ xAccountId?: string;
489
+ foundationId: string;
490
+ cidrId: string;
491
+ body: Tag[];
492
+ }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
493
+ export declare function putCertificateTags({ authorization, xAccountId, foundationId, certificateId, body }: {
494
+ authorization: string;
495
+ xAccountId?: string;
496
+ foundationId: string;
497
+ certificateId: string;
498
+ body: Tag[];
499
+ }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
500
+ export declare function listFoundations({ authorization, xAccountId }: {
501
+ authorization: string;
502
+ xAccountId?: string;
388
503
  }, opts?: Oazapfts.RequestOpts): Promise<ListFoundationResponse>;
389
- export declare function createFoundation({ authorization, createFoundationRequest }: {
504
+ export declare function createFoundation({ authorization, xAccountId, createFoundationRequest }: {
390
505
  authorization: string;
506
+ xAccountId?: string;
391
507
  createFoundationRequest: CreateFoundationRequest;
392
508
  }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
393
- export declare function listVpns({ authorization, foundationId }: {
509
+ export declare function listVpns({ authorization, xAccountId, foundationId }: {
394
510
  authorization: string;
511
+ xAccountId?: string;
395
512
  foundationId: string;
396
513
  }, opts?: Oazapfts.RequestOpts): Promise<ListVpnResponse>;
397
- export declare function createVpn({ authorization, foundationId, createVpnRequest }: {
514
+ export declare function createVpn({ authorization, xAccountId, foundationId, createVpnRequest }: {
398
515
  authorization: string;
516
+ xAccountId?: string;
399
517
  foundationId: string;
400
518
  createVpnRequest: CreateVpnRequest;
401
519
  }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
402
- export declare function listTenant({ authorization, foundationId }: {
520
+ export declare function listTenant({ authorization, xAccountId, foundationId }: {
403
521
  authorization: string;
522
+ xAccountId?: string;
404
523
  foundationId: string;
405
524
  }, opts?: Oazapfts.RequestOpts): Promise<ListTenantResponse>;
406
- export declare function createTenant({ authorization, foundationId, createTenantRequest }: {
525
+ export declare function createTenant({ authorization, xAccountId, foundationId, createTenantRequest }: {
407
526
  authorization: string;
527
+ xAccountId?: string;
408
528
  foundationId: string;
409
529
  createTenantRequest: CreateTenantRequest;
410
530
  }, opts?: Oazapfts.RequestOpts): Promise<TenantResponse>;
411
- export declare function listProject({ authorization, foundationId, parentFolderId }: {
531
+ export declare function listRuntime({ authorization, xAccountId, foundationId, tenantId, projectId }: {
532
+ authorization: string;
533
+ xAccountId?: string;
534
+ foundationId: string;
535
+ tenantId?: string;
536
+ projectId?: string;
537
+ }, opts?: Oazapfts.RequestOpts): Promise<ListRuntimeResponse>;
538
+ export declare function createRuntime({ authorization, xAccountId, foundationId, createRuntimeRequest }: {
539
+ authorization: string;
540
+ xAccountId?: string;
541
+ foundationId: string;
542
+ createRuntimeRequest: CreateRuntimeRequest;
543
+ }, opts?: Oazapfts.RequestOpts): Promise<RuntimeResponse>;
544
+ export declare function listProject({ authorization, xAccountId, foundationId, parentFolderId }: {
412
545
  authorization: string;
546
+ xAccountId?: string;
413
547
  foundationId: string;
414
548
  parentFolderId?: string;
415
549
  }, opts?: Oazapfts.RequestOpts): Promise<ListProjectResponse>;
416
- export declare function createProject({ authorization, foundationId, createProjectRequest }: {
550
+ export declare function createProject({ authorization, xAccountId, foundationId, createProjectRequest }: {
417
551
  authorization: string;
552
+ xAccountId?: string;
418
553
  foundationId: string;
419
554
  createProjectRequest: CreateProjectRequest;
420
555
  }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
421
- export declare function listNetwork({ authorization, foundationId, projectId }: {
556
+ export declare function listNetwork({ authorization, xAccountId, foundationId, projectId }: {
422
557
  authorization: string;
558
+ xAccountId?: string;
423
559
  foundationId: string;
424
560
  projectId?: string;
425
561
  }, opts?: Oazapfts.RequestOpts): Promise<ListNetworkResponse>;
426
- export declare function createNetwork({ authorization, foundationId, createNetworkRequest }: {
562
+ export declare function createNetwork({ authorization, xAccountId, foundationId, createNetworkRequest }: {
427
563
  authorization: string;
564
+ xAccountId?: string;
428
565
  foundationId: string;
429
566
  createNetworkRequest: CreateNetworkRequest;
430
567
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
431
- export declare function listNetworkConnection({ authorization, foundationId, accepterNetworkId, accepterProjectId, requesterNetworkId, requesterProjectId }: {
568
+ export declare function listNetworkConnection({ authorization, xAccountId, foundationId, accepterNetworkId, accepterProjectId, requesterNetworkId, requesterProjectId }: {
432
569
  authorization: string;
570
+ xAccountId?: string;
433
571
  foundationId: string;
434
572
  accepterNetworkId?: string;
435
573
  accepterProjectId?: string;
436
574
  requesterNetworkId?: string;
437
575
  requesterProjectId?: string;
438
576
  }, opts?: Oazapfts.RequestOpts): Promise<ListNetworkConnectionResponse>;
439
- export declare function createNetworkConnection({ authorization, foundationId, createNetworkConnectionRequest }: {
577
+ export declare function createNetworkConnection({ authorization, xAccountId, foundationId, createNetworkConnectionRequest }: {
440
578
  authorization: string;
579
+ xAccountId?: string;
441
580
  foundationId: string;
442
581
  createNetworkConnectionRequest: CreateNetworkConnectionRequest;
443
582
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
444
- export declare function listInbound({ authorization, foundationId }: {
583
+ export declare function acceptNetworkConnection({ authorization, xAccountId, foundationId, networkConnectionId }: {
445
584
  authorization: string;
585
+ xAccountId?: string;
586
+ foundationId: string;
587
+ networkConnectionId: string;
588
+ }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
589
+ export declare function listInbound({ authorization, xAccountId, foundationId }: {
590
+ authorization: string;
591
+ xAccountId?: string;
446
592
  foundationId: string;
447
593
  }, opts?: Oazapfts.RequestOpts): Promise<ListInboundResponse>;
448
- export declare function createInbound({ authorization, foundationId, createInboundRequest }: {
594
+ export declare function createInbound({ authorization, xAccountId, foundationId, createInboundRequest }: {
449
595
  authorization: string;
596
+ xAccountId?: string;
450
597
  foundationId: string;
451
598
  createInboundRequest: CreateInboundRequest;
452
599
  }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
453
- export declare function getFolder({ authorization, foundationId, folderId }: {
600
+ export declare function getFolder({ authorization, xAccountId, foundationId, folderId }: {
454
601
  authorization: string;
602
+ xAccountId?: string;
455
603
  foundationId: string;
456
604
  folderId: string;
457
605
  }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
458
- export declare function createFolder({ authorization, foundationId, createFolderRequest }: {
606
+ export declare function createFolder({ authorization, xAccountId, foundationId, createFolderRequest }: {
459
607
  authorization: string;
608
+ xAccountId?: string;
460
609
  foundationId: string;
461
610
  createFolderRequest: CreateFolderRequest;
462
611
  }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
463
- export declare function listDnsZone({ authorization, foundationId, projectId, privacy }: {
612
+ export declare function listDnsZone({ authorization, xAccountId, foundationId, projectId, privacy }: {
464
613
  authorization: string;
614
+ xAccountId?: string;
465
615
  foundationId: string;
466
616
  projectId?: string;
467
- privacy?: string;
617
+ privacy?: "PUBLIC" | "PRIVATE";
468
618
  }, opts?: Oazapfts.RequestOpts): Promise<ListDnsZoneResponse>;
469
- export declare function createDnsZone({ authorization, foundationId, createDnsZoneRequest }: {
619
+ export declare function createDnsZone({ authorization, xAccountId, foundationId, createDnsZoneRequest }: {
470
620
  authorization: string;
621
+ xAccountId?: string;
471
622
  foundationId: string;
472
623
  createDnsZoneRequest: CreateDnsZoneRequest;
473
624
  }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
474
- export declare function listDnsRecord({ authorization, foundationId, projectId, dnsZoneId }: {
625
+ export declare function listDnsRecord({ authorization, xAccountId, foundationId, projectId, dnsZoneId }: {
475
626
  authorization: string;
627
+ xAccountId?: string;
476
628
  foundationId: string;
477
629
  projectId?: string;
478
630
  dnsZoneId?: string;
479
631
  }, opts?: Oazapfts.RequestOpts): Promise<ListDnsRecordResponse>;
480
- export declare function createDnsRecord({ authorization, foundationId, createDnsRecordRequest }: {
632
+ export declare function createDnsRecord({ authorization, xAccountId, foundationId, createDnsRecordRequest }: {
481
633
  authorization: string;
634
+ xAccountId?: string;
482
635
  foundationId: string;
483
636
  createDnsRecordRequest: CreateDnsRecordRequest;
484
637
  }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
485
- export declare function listCidr({ authorization, foundationId }: {
638
+ export declare function listCidr({ authorization, xAccountId, foundationId }: {
486
639
  authorization: string;
640
+ xAccountId?: string;
487
641
  foundationId: string;
488
642
  }, opts?: Oazapfts.RequestOpts): Promise<ListCidrResponse>;
489
- export declare function createCidr({ authorization, foundationId, createCidrRequest }: {
643
+ export declare function createCidr({ authorization, xAccountId, foundationId, createCidrRequest }: {
490
644
  authorization: string;
645
+ xAccountId?: string;
491
646
  foundationId: string;
492
647
  createCidrRequest: CreateCidrRequest;
493
648
  }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
494
- export declare function listCertificates({ authorization, foundationId, forInbound }: {
649
+ export declare function listCertificates({ authorization, xAccountId, foundationId, forInbound }: {
495
650
  authorization: string;
651
+ xAccountId?: string;
496
652
  foundationId: string;
497
653
  forInbound?: "TRUE" | "FALSE";
498
654
  }, opts?: Oazapfts.RequestOpts): Promise<ListCertificateResponse>;
499
- export declare function createCertificate({ authorization, foundationId, body }: {
655
+ export declare function createCertificate({ authorization, xAccountId, foundationId, body }: {
500
656
  authorization: string;
657
+ xAccountId?: string;
501
658
  foundationId: string;
502
659
  body: CreatePublicCertificateRequest | ImportCertificateRequest;
503
660
  }, 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 }: {
661
+ export declare function getFoundation({ authorization, xAccountId, foundationId }: {
510
662
  authorization: string;
663
+ xAccountId?: string;
511
664
  foundationId: string;
512
665
  }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
513
- export declare function getVpn({ authorization, foundationId, vpnId }: {
666
+ export declare function getVpn({ authorization, xAccountId, foundationId, vpnId }: {
514
667
  authorization: string;
668
+ xAccountId?: string;
515
669
  foundationId: string;
516
670
  vpnId: string;
517
671
  }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
518
- export declare function getVpnConfiguration({ authorization, foundationId, vpnId }: {
672
+ export declare function getVpnConfiguration({ authorization, xAccountId, foundationId, vpnId }: {
519
673
  authorization: string;
674
+ xAccountId?: string;
520
675
  foundationId: string;
521
676
  vpnId: string;
522
677
  }, opts?: Oazapfts.RequestOpts): Promise<VpnConfigurationResponse>;
523
- export declare function getProject({ authorization, foundationId, tenantId }: {
678
+ export declare function getTenant({ authorization, xAccountId, foundationId, tenantId }: {
524
679
  authorization: string;
680
+ xAccountId?: string;
525
681
  foundationId: string;
526
682
  tenantId: string;
527
683
  }, opts?: Oazapfts.RequestOpts): Promise<TenantResponse>;
528
- export declare function getProject1({ authorization, foundationId, projectId }: {
684
+ export declare function getRuntime({ authorization, xAccountId, foundationId, runtimeId }: {
529
685
  authorization: string;
686
+ xAccountId?: string;
687
+ foundationId: string;
688
+ runtimeId: string;
689
+ }, opts?: Oazapfts.RequestOpts): Promise<RuntimeResponse>;
690
+ export declare function getProject({ authorization, xAccountId, foundationId, projectId }: {
691
+ authorization: string;
692
+ xAccountId?: string;
530
693
  foundationId: string;
531
694
  projectId: string;
532
695
  }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
533
- export declare function getNetwork({ authorization, foundationId, networkId }: {
696
+ export declare function getNetwork({ authorization, xAccountId, foundationId, networkId }: {
534
697
  authorization: string;
698
+ xAccountId?: string;
535
699
  foundationId: string;
536
700
  networkId: string;
537
701
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
538
- export declare function getNetworkConnection({ authorization, foundationId, networkConnectionId }: {
702
+ export declare function getNetworkConnection({ authorization, xAccountId, foundationId, networkConnectionId }: {
539
703
  authorization: string;
704
+ xAccountId?: string;
540
705
  foundationId: string;
541
706
  networkConnectionId: string;
542
707
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
543
- export declare function getInbound({ authorization, foundationId, inboundId }: {
708
+ export declare function getInbound({ authorization, xAccountId, foundationId, inboundId }: {
544
709
  authorization: string;
710
+ xAccountId?: string;
545
711
  foundationId: string;
546
712
  inboundId: string;
547
713
  }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
548
- export declare function getDnsZone({ authorization, foundationId, dnsZoneId }: {
714
+ export declare function getDnsZone({ authorization, xAccountId, foundationId, dnsZoneId }: {
549
715
  authorization: string;
716
+ xAccountId?: string;
550
717
  foundationId: string;
551
718
  dnsZoneId: string;
552
719
  }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
553
- export declare function getDnsZone1({ authorization, foundationId, dnsRecordId }: {
720
+ export declare function getDnsRecord({ authorization, xAccountId, foundationId, dnsRecordId }: {
554
721
  authorization: string;
722
+ xAccountId?: string;
555
723
  foundationId: string;
556
724
  dnsRecordId: string;
557
725
  }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
558
- export declare function getCidr({ authorization, foundationId, cidrId }: {
726
+ export declare function getCidr({ authorization, xAccountId, foundationId, cidrId }: {
559
727
  authorization: string;
728
+ xAccountId?: string;
560
729
  foundationId: string;
561
730
  cidrId: string;
562
731
  }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
563
- export declare function getCertificate({ authorization, foundationId, certificateId }: {
732
+ export declare function getCertificate({ authorization, xAccountId, foundationId, certificateId }: {
564
733
  authorization: string;
734
+ xAccountId?: string;
565
735
  foundationId: string;
566
736
  certificateId: string;
567
737
  }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
738
+ export declare function getProvisionAvailability({ cloudProvider }: {
739
+ cloudProvider: string;
740
+ }, opts?: Oazapfts.RequestOpts): Promise<{
741
+ [key: string]: boolean;
742
+ }>;
568
743
  export declare function providers(opts?: Oazapfts.RequestOpts): Promise<{
569
744
  [key: string]: any;
570
745
  }[]>;