@stack-spot/portal-network 0.236.0 → 0.237.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.
@@ -18,299 +18,52 @@ export type Target = {
18
18
  projectIds: string[];
19
19
  };
20
20
  export type JsonNode = any;
21
- export type RoleMetadata = {
22
- creationTimestamp?: string;
23
- deletionTimestamp?: string;
21
+ export type ResourceMetadata = {
22
+ id: string;
24
23
  name: string;
24
+ labels: {
25
+ [key: string]: string;
26
+ };
27
+ creationTimestamp: string;
28
+ deletionTimestamp?: string;
29
+ uid?: string;
25
30
  };
26
- export type RoleSpecPermission = {
31
+ export type Permission = {
27
32
  create: boolean;
28
33
  read: boolean;
29
34
  update: boolean;
30
35
  "delete": boolean;
31
36
  };
32
37
  export type RoleSpec = {
33
- boundary: RoleSpecPermission;
34
- boundarySSO: RoleSpecPermission;
35
- certificate: RoleSpecPermission;
36
- cidr: RoleSpecPermission;
37
- dnsRecord: RoleSpecPermission;
38
- dnsZone: RoleSpecPermission;
39
- fmsPolicy: RoleSpecPermission;
40
- folder: RoleSpecPermission;
41
- foundation: RoleSpecPermission;
42
- iamIdentityCenter: RoleSpecPermission;
43
- network: RoleSpecPermission;
44
- project: RoleSpecPermission;
45
- role: RoleSpecPermission;
46
- serviceControlPolicy: RoleSpecPermission;
47
- vpn: RoleSpecPermission;
48
- };
49
- export type Role = {
50
- metadata: RoleMetadata;
51
- spec: RoleSpec;
52
- };
53
- export type TunnelStatus = {
54
- tunnel1?: string;
55
- tunnel2?: string;
56
- };
57
- export type VpnDetails = {
58
- peerCustomerGatewayIp: string;
59
- destinationCidrBlock: string;
60
- tunnelStatus: TunnelStatus;
61
- };
62
- export type VpnResponse = {
63
- stackSpotAccountId: string;
64
- foundationId: string;
65
- vpnId: string;
66
- details: VpnDetails;
67
- tags: Tag[];
68
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
69
- createdAt: string;
70
- updatedAt: string;
71
- deletedAt?: string;
72
- };
73
- export type ServiceControlPolicyMetadata = {
74
- creationTimestamp?: string;
75
- deletionTimestamp?: string;
76
- /** Universally Unique Lexicographically Sortable Identifier */
77
- id?: string;
78
- };
79
- export type ServiceControlPolicySpecTarget = {
80
- folderIds: string[];
81
- projectIds: string[];
82
- };
83
- export type ServiceControlPolicySpec = {
84
- /** Universally Unique Lexicographically Sortable Identifier */
85
- foundationId: string;
86
38
  name: string;
87
- description: string;
88
- content: string;
89
- target: ServiceControlPolicySpecTarget;
90
- tags: Tag[];
39
+ boundary: Permission;
40
+ boundarySSO: Permission;
41
+ certificate: Permission;
42
+ cidr: Permission;
43
+ dnsRecord: Permission;
44
+ dnsZone: Permission;
45
+ fmsPolicy: Permission;
46
+ folder: Permission;
47
+ foundation: Permission;
48
+ iamIdentityCenter: Permission;
49
+ network: Permission;
50
+ project: Permission;
51
+ role: Permission;
52
+ serviceControlPolicy: Permission;
53
+ vpn: Permission;
91
54
  };
92
- export type ServiceControlPolicyStatus = {
93
- state: "READY" | "PENDING" | "DELETING" | "ERROR";
55
+ export type ResourceCondition = {
56
+ state: "READY" | "PENDING" | "ERROR" | "UNKNOWN" | "DELETING";
57
+ lastUpdateTimestamp: string;
94
58
  message?: string;
95
- lastUpdateTimestamp?: string;
96
- };
97
- export type ServiceControlPolicy = {
98
- metadata?: ServiceControlPolicyMetadata;
99
- spec: ServiceControlPolicySpec;
100
- status?: ServiceControlPolicyStatus;
101
- };
102
- export type SecTool = {
103
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
104
- };
105
- export type SecTools = {
106
- guardDuty: SecTool;
107
- inspector: SecTool;
108
- securityHub: SecTool;
109
- };
110
- export type FoundationDetails = {
111
- name: string;
112
- description: string;
113
- cloudProvider: string;
114
- region: string;
115
- secTools: SecTools;
116
- secProjectTags: Tag[];
117
- };
118
- export type FoundationResponse = {
119
- stackSpotAccountId: string;
120
- foundationId: string;
121
- foundationName: string;
122
- details: FoundationDetails;
123
- tags: Tag[];
124
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
125
- createdAt: string;
126
- updatedAt: string;
127
- deletedAt?: string;
128
- };
129
- export type ProjectDetails = {
130
- name: string;
131
- folderName: string;
132
- providerAccountId?: string;
133
- };
134
- export type ProjectResponse = {
135
- stackSpotAccountId: string;
136
- foundationId: string;
137
- parentFolderId: string;
138
- projectId: string;
139
- details: ProjectDetails;
140
- tags: Tag[];
141
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
142
- createdAt: string;
143
- updatedAt: string;
144
- deletedAt?: string;
145
- };
146
- export type NetworkSubnetDetails = {
147
- az?: string;
148
- cidr?: string;
149
- id?: string;
150
- "type": "NAT" | "PRIVATE" | "PUBLIC";
151
- };
152
- export type NetworkDetails = {
153
- cidrs?: string[];
154
- name: string;
155
- "type": "WORKLOAD" | "OUTBOUND" | "CORE";
156
- subnets: NetworkSubnetDetails[];
157
- };
158
- export type NetworkResponse = {
159
- stackSpotAccountId: string;
160
- foundationId: string;
161
- projectId: string;
162
- networkId: string;
163
- details: NetworkDetails;
164
- tags: Tag[];
165
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
166
- createdAt: string;
167
- updatedAt: string;
168
- deletedAt?: string;
169
59
  };
170
- export type FolderContent = {
171
- "type": "FOLDER" | "PROJECT";
172
- id: string;
173
- name: string;
174
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
175
- };
176
- export type FolderDetails = {
177
- name: string;
178
- pendingResources: boolean;
179
- content: FolderContent[];
180
- };
181
- export type FolderResponse = {
182
- stackSpotAccountId: string;
183
- foundationId: string;
184
- parentFolderId: string;
185
- folderId: string;
186
- details: FolderDetails;
187
- tags: Tag[];
188
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
189
- createdAt: string;
190
- updatedAt: string;
191
- deletedAt?: string;
192
- };
193
- export type DnsZoneDetails = {
194
- domain: string;
195
- dnsZoneType: string;
196
- };
197
- export type DnsZoneResponse = {
198
- stackSpotAccountId: string;
199
- foundationId: string;
200
- dnsZoneId: string;
201
- details: DnsZoneDetails;
202
- tags: Tag[];
203
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
204
- createdAt: string;
205
- updatedAt: string;
206
- deletedAt?: string;
207
- };
208
- export type DnsRecordDetails = {
209
- recordName: string;
210
- records: string[];
211
- ttl: number;
212
- "type": "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "PTR" | "SOA" | "SRV" | "TXT";
213
- dnsZoneName: string;
214
- };
215
- export type DnsRecordResponse = {
216
- stackSpotAccountId: string;
217
- foundationId: string;
218
- dnsZoneId: string;
219
- dnsRecordId: string;
220
- details: DnsRecordDetails;
221
- tags: Tag[];
222
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
223
- createdAt: string;
224
- updatedAt: string;
225
- deletedAt?: string;
226
- };
227
- export type CidrDetails = {
228
- cidrNotation: string;
229
- networkAddress: string;
230
- netmask: string;
231
- broadcastAddress: string;
232
- lowAddress: string;
233
- highAddress: string;
234
- addressCount: number;
235
- };
236
- export type CidrResponse = {
237
- stackSpotAccountId: string;
238
- foundationId: string;
239
- cidrId: string;
240
- details: CidrDetails;
241
- tags: Tag[];
242
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
243
- createdAt: string;
244
- updatedAt: string;
245
- deletedAt?: string;
246
- };
247
- export type CertificateDomainValidation = {
248
- domainName?: string;
249
- recordName?: string;
250
- recordType?: string;
251
- recordValue?: string;
252
- };
253
- export type CertificateDetails = {
254
- name: string;
255
- forInbound: "TRUE" | "FALSE";
256
- certificateStatus?: string;
257
- domainName?: string;
258
- domainValidation?: CertificateDomainValidation[];
259
- notAfter?: string;
260
- notBefore?: string;
261
- "type"?: string;
262
- validationMethod?: string;
263
- };
264
- export type CertificateResponse = {
265
- stackSpotAccountId: string;
266
- foundationId: string;
267
- certificateId: string;
268
- details: CertificateDetails;
269
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
270
- tags: Tag[];
271
- createdAt: string;
272
- updatedAt: string;
273
- deletedAt?: string;
274
- };
275
- export type BoundaryDetails = {
276
- name: string;
277
- description: string;
278
- policyDocument: string;
279
- };
280
- export type BoundaryResponse = {
281
- foundationId: string;
282
- boundaryId: string;
283
- details: BoundaryDetails;
284
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
285
- tags: Tag[];
286
- createdAt: string;
287
- updatedAt: string;
288
- deletedAt?: string;
289
- };
290
- export type BoundarySsoDetails = {
291
- name: string;
292
- description: string;
293
- policyDocument: string;
294
- };
295
- export type BoundarySsoResponse = {
296
- foundationId: string;
297
- boundarySSOId: string;
298
- details: BoundarySsoDetails;
299
- status: "READY" | "PENDING" | "DELETING" | "ERROR";
300
- tags: Tag[];
301
- createdAt: string;
302
- updatedAt: string;
303
- deletedAt?: string;
60
+ export type ResourceStatus = {
61
+ condition: ResourceCondition;
304
62
  };
305
- export type ResourceMetadata = {
306
- id: string;
307
- name: string;
308
- labels: {
309
- [key: string]: string;
310
- };
311
- creationTimestamp: string;
312
- deletionTimestamp?: string;
313
- uid?: string;
63
+ export type Role = {
64
+ metadata: ResourceMetadata;
65
+ spec: RoleSpec;
66
+ status?: ResourceStatus;
314
67
  };
315
68
  export type FoundationSpec = {
316
69
  region: string;
@@ -323,11 +76,6 @@ export type FoundationSpec = {
323
76
  tags: Tag[];
324
77
  secAccountTags: Tag[];
325
78
  };
326
- export type ResourceCondition = {
327
- state: "READY" | "PENDING" | "ERROR" | "UNKNOWN" | "DELETING";
328
- lastUpdateTimestamp: string;
329
- message?: string;
330
- };
331
79
  export type Pool = {
332
80
  arn?: string;
333
81
  id?: string;
@@ -375,10 +123,19 @@ export type CoreAccounts = {
375
123
  secSharedServices?: CoreAccount;
376
124
  secTransit?: CoreAccount;
377
125
  };
126
+ export type SecTool = {
127
+ status?: "READY" | "PENDING" | "ERROR" | "UNKNOWN" | "DELETING";
128
+ };
129
+ export type SecTools = {
130
+ guardDuty?: SecTool;
131
+ inspector?: SecTool;
132
+ securityHub?: SecTool;
133
+ };
378
134
  export type FoundationStatus = {
379
135
  condition: ResourceCondition;
380
136
  coreAccounts?: CoreAccounts;
381
137
  orgRootId?: string;
138
+ preMortenOUId?: string;
382
139
  secTools?: SecTools;
383
140
  };
384
141
  export type Foundation = {
@@ -395,14 +152,38 @@ export type VpnSpec = {
395
152
  peerCustomerGatewayIp: string;
396
153
  tags: Tag[];
397
154
  };
155
+ export type VpnConfiguration = {
156
+ ikev1?: string;
157
+ ikev2?: string;
158
+ };
398
159
  export type VpnStatus = {
399
160
  condition: ResourceCondition;
161
+ customerGatewayId?: string;
162
+ vpnGatewayId?: string;
163
+ tunnelStatus?: string[];
164
+ configuration?: VpnConfiguration;
400
165
  };
401
166
  export type Vpn = {
402
167
  metadata: ResourceMetadata;
403
168
  spec: VpnSpec;
404
169
  status?: VpnStatus;
405
170
  };
171
+ export type ServiceControlPolicySpec = {
172
+ foundationRef: FoundationRef;
173
+ name: string;
174
+ description: string;
175
+ content: JsonNode;
176
+ target: Target;
177
+ tags: Tag[];
178
+ };
179
+ export type ServiceControlPolicyStatus = {
180
+ condition: ResourceCondition;
181
+ };
182
+ export type ServiceControlPolicy = {
183
+ metadata: ResourceMetadata;
184
+ spec: ServiceControlPolicySpec;
185
+ status?: ServiceControlPolicyStatus;
186
+ };
406
187
  export type FolderRef = {
407
188
  name: string;
408
189
  };
@@ -824,169 +605,6 @@ export type AccountAssignment = {
824
605
  spec: AccountAssignmentSpec;
825
606
  status?: AccountAssignmentStatus;
826
607
  };
827
- export type ListRole = {
828
- content: Role[];
829
- };
830
- export type ListFoundationResponse = {
831
- stackSpotAccountId: string;
832
- pendingResources: boolean;
833
- content: FoundationResponse[];
834
- };
835
- export type CreateFoundationRequest = {
836
- name: string;
837
- description: string;
838
- cloudProvider: string;
839
- region: string;
840
- masterAccountId: string;
841
- auditAccountId: string;
842
- prefix: string;
843
- orgId: string;
844
- portfolioId: string;
845
- logArchiveAccountId: string;
846
- };
847
- export type ListVpnResponse = {
848
- stackSpotAccountId: string;
849
- foundationId: string;
850
- pendingResources: boolean;
851
- content: VpnResponse[];
852
- };
853
- export type CreateVpnRequest = {
854
- peerCustomerGatewayIp: string;
855
- destinationCidrBlock: string;
856
- tags?: Tag[];
857
- };
858
- export type ListServiceControlPolicy = {
859
- /** Universally Unique Lexicographically Sortable Identifier */
860
- foundationId?: string;
861
- pendingResources: boolean;
862
- content: ServiceControlPolicy[];
863
- };
864
- export type ListProjectResponse = {
865
- stackSpotAccountId: string;
866
- foundationId: string;
867
- parentFolderId?: string;
868
- pendingResources: boolean;
869
- content: ProjectResponse[];
870
- };
871
- export type CreateProjectRequest = {
872
- parentFolderId: string;
873
- name: string;
874
- description: string;
875
- tags?: Tag[];
876
- };
877
- export type ListNetworkResponse = {
878
- stackSpotAccountId: string;
879
- foundationId: string;
880
- projectId?: string;
881
- pendingResources: boolean;
882
- content: NetworkResponse[];
883
- };
884
- export type CreateNetworkRequest = {
885
- projectId: string;
886
- prefixLength: number;
887
- name: string;
888
- "type": "WORKLOAD" | "OUTBOUND" | "CORE";
889
- tags?: Tag[];
890
- };
891
- export type CreateFolderRequest = {
892
- parentFolderId: string;
893
- name: string;
894
- tags?: Tag[];
895
- };
896
- export type ListDnsZoneResponse = {
897
- stackSpotAccountId: string;
898
- foundationId: string;
899
- pendingResources: boolean;
900
- content: DnsZoneResponse[];
901
- };
902
- export type CreateDnsZoneRequest = {
903
- domain: string;
904
- "type": "PUBLIC" | "PRIVATE";
905
- projectId?: string;
906
- tags?: Tag[];
907
- };
908
- export type ListDnsRecordResponse = {
909
- stackSpotAccountId: string;
910
- foundationId: string;
911
- projectId?: string;
912
- dnsZoneId?: string;
913
- pendingResources: boolean;
914
- content: DnsRecordResponse[];
915
- };
916
- export type CreateDnsRecordRequest = {
917
- dnsZoneId: string;
918
- projectId?: string;
919
- recordName: string;
920
- records: string[];
921
- ttl: number;
922
- "type": "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "PTR" | "SOA" | "SRV" | "TXT";
923
- };
924
- export type ListCidrResponse = {
925
- stackSpotAccountId: string;
926
- foundationId: string;
927
- pendingResources: boolean;
928
- content: CidrResponse[];
929
- };
930
- export type CreateCidrRequest = {
931
- address: string;
932
- prefix: number;
933
- tags?: Tag[];
934
- };
935
- export type ListCertificateResponse = {
936
- stackSpotAccountId: string;
937
- foundationId: string;
938
- pendingResources: boolean;
939
- content: CertificateResponse[];
940
- };
941
- export type CreateCertificateRequestBase = {
942
- tags?: Tag[];
943
- certificateName: string;
944
- forInbound: "TRUE" | "FALSE";
945
- "type": string;
946
- };
947
- export type CreatePublicCertificateRequest = {
948
- "type": "CreatePublicCertificateRequest";
949
- } & CreateCertificateRequestBase & {
950
- domainName: string;
951
- };
952
- export type ImportCertificateRequest = {
953
- "type": "ImportCertificateRequest";
954
- } & CreateCertificateRequestBase & {
955
- certificateBody: string;
956
- certificatePrivateKey: string;
957
- certificateChain?: string;
958
- };
959
- export type ListBoundaryResponse = {
960
- foundationId: string;
961
- pendingResources: boolean;
962
- content: BoundaryResponse[];
963
- };
964
- export type CreateBoundaryRequest = {
965
- name: string;
966
- description: string;
967
- policyDocument: JsonNode;
968
- tags: Tag[];
969
- };
970
- export type ListBoundarySsoResponse = {
971
- foundationId: string;
972
- pendingResources: boolean;
973
- content: BoundarySsoResponse[];
974
- };
975
- export type CreateBoundarySsoRequest = {
976
- name: string;
977
- description: string;
978
- policyDocument: JsonNode;
979
- tags: Tag[];
980
- };
981
- export type Configuration = {
982
- ikev1: string;
983
- ikev2: string;
984
- };
985
- export type VpnConfigurationResponse = {
986
- vpnId: string;
987
- foundationId: string;
988
- configuration: Configuration;
989
- };
990
608
  export declare function vpnControllerPutTags({ $namespace, name, body }: {
991
609
  $namespace: string;
992
610
  name: string;
@@ -1017,6 +635,10 @@ export declare function serviceControlPolicyControllerPutContent({ $namespace, n
1017
635
  name: string;
1018
636
  jsonNode: JsonNode;
1019
637
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
638
+ export declare function foundationControllerPutSecProjectTags({ $namespace, body }: {
639
+ $namespace: string;
640
+ body: Tag[];
641
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1020
642
  export declare function projectControllerPutTags({ $namespace, name, body }: {
1021
643
  $namespace: string;
1022
644
  name: string;
@@ -1077,130 +699,25 @@ export declare function boundarySsoControllerPutTags({ $namespace, name, body }:
1077
699
  name: string;
1078
700
  body: Tag[];
1079
701
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
702
+ export declare function boundarySsoControllerPutPolicyDocument({ $namespace, name, jsonNode }: {
703
+ $namespace: string;
704
+ name: string;
705
+ jsonNode: JsonNode;
706
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1080
707
  export declare function boundaryControllerPutTags({ $namespace, name, body }: {
1081
708
  $namespace: string;
1082
709
  name: string;
1083
710
  body: Tag[];
1084
711
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
1085
- export declare function getRole({ roleName }: {
1086
- roleName: string;
1087
- }, opts?: Oazapfts.RequestOpts): Promise<Role>;
1088
- export declare function putRole({ roleName, role }: {
1089
- roleName: string;
1090
- role: Role;
1091
- }, opts?: Oazapfts.RequestOpts): Promise<Role>;
1092
- export declare function deleteRole({ roleName }: {
1093
- roleName: string;
1094
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1095
- export declare function putVpnTags({ authorization, xAccountId, foundationId, vpnId, body }: {
1096
- authorization: string;
1097
- xAccountId?: string;
1098
- foundationId: string;
1099
- vpnId: string;
1100
- body: Tag[];
1101
- }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
1102
- export declare function getServiceControlPolicy({ foundationId, serviceControlPolicyId }: {
1103
- foundationId: string;
1104
- serviceControlPolicyId: string;
1105
- }, opts?: Oazapfts.RequestOpts): Promise<ServiceControlPolicy>;
1106
- export declare function putServiceControlPolicy({ foundationId, serviceControlPolicyId, serviceControlPolicy }: {
1107
- foundationId: string;
1108
- serviceControlPolicyId: string;
1109
- serviceControlPolicy: ServiceControlPolicy;
1110
- }, opts?: Oazapfts.RequestOpts): Promise<ServiceControlPolicy>;
1111
- export declare function deleteServiceControlPolicy({ foundationId, serviceControlPolicyId }: {
1112
- foundationId: string;
1113
- serviceControlPolicyId: string;
1114
- }, opts?: Oazapfts.RequestOpts): Promise<ServiceControlPolicy>;
1115
- export declare function putFoundationSecProjectTags({ foundationId, body }: {
1116
- foundationId: string;
1117
- body: Tag[];
1118
- }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
1119
- export declare function putProjectTags({ authorization, xAccountId, foundationId, projectId, body }: {
1120
- authorization: string;
1121
- xAccountId?: string;
1122
- foundationId: string;
1123
- projectId: string;
1124
- body: Tag[];
1125
- }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
1126
- export declare function putNetworkTags({ authorization, xAccountId, foundationId, networkId, body }: {
1127
- authorization: string;
1128
- xAccountId?: string;
1129
- foundationId: string;
1130
- networkId: string;
1131
- body: Tag[];
1132
- }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
1133
- export declare function getFolderTags({ authorization, xAccountId, foundationId, folderId }: {
1134
- authorization: string;
1135
- xAccountId?: string;
1136
- foundationId: string;
1137
- folderId: string;
1138
- }, opts?: Oazapfts.RequestOpts): Promise<Tag[]>;
1139
- export declare function putFolderTags({ authorization, xAccountId, foundationId, folderId, body }: {
1140
- authorization: string;
1141
- xAccountId?: string;
1142
- foundationId: string;
1143
- folderId: string;
1144
- body: Tag[];
1145
- }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
1146
- export declare function putDnsZoneTags({ authorization, xAccountId, foundationId, dnsZoneId, body }: {
1147
- authorization: string;
1148
- xAccountId?: string;
1149
- foundationId: string;
1150
- dnsZoneId: string;
1151
- body: Tag[];
1152
- }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
1153
- export declare function putDnsRecordRecords({ authorization, xAccountId, foundationId, dnsRecordId, body }: {
1154
- authorization: string;
1155
- xAccountId?: string;
1156
- foundationId: string;
1157
- dnsRecordId: string;
1158
- body: string[];
1159
- }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
1160
- export declare function putCidrTags({ authorization, xAccountId, foundationId, cidrId, body }: {
1161
- authorization: string;
1162
- xAccountId?: string;
1163
- foundationId: string;
1164
- cidrId: string;
1165
- body: Tag[];
1166
- }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
1167
- export declare function putCertificateTags({ authorization, xAccountId, foundationId, certificateId, body }: {
1168
- authorization: string;
1169
- xAccountId?: string;
1170
- foundationId: string;
1171
- certificateId: string;
1172
- body: Tag[];
1173
- }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
1174
- export declare function putBoundaryTags({ foundationId, boundaryId, body }: {
1175
- foundationId: string;
1176
- boundaryId: string;
1177
- body: Tag[];
1178
- }, opts?: Oazapfts.RequestOpts): Promise<BoundaryResponse>;
1179
- export declare function putBoundaryPolicyDocument({ foundationId, boundaryId, body }: {
1180
- foundationId: string;
1181
- boundaryId: string;
1182
- body: string;
1183
- }, opts?: Oazapfts.RequestOpts): Promise<BoundaryResponse>;
1184
- export declare function putBoundaryDescription({ foundationId, boundaryId, body }: {
1185
- foundationId: string;
1186
- boundaryId: string;
1187
- body: string;
1188
- }, opts?: Oazapfts.RequestOpts): Promise<BoundaryResponse>;
1189
- export declare function putBoundarySsoTags({ foundationId, boundarySsoId, body }: {
1190
- foundationId: string;
1191
- boundarySsoId: string;
1192
- body: Tag[];
1193
- }, opts?: Oazapfts.RequestOpts): Promise<BoundarySsoResponse>;
1194
- export declare function putBoundarySsoPolicyDocument({ foundationId, boundarySsoId, body }: {
1195
- foundationId: string;
1196
- boundarySsoId: string;
1197
- body: string;
1198
- }, opts?: Oazapfts.RequestOpts): Promise<BoundarySsoResponse>;
1199
- export declare function putBoundarySsoDescription({ foundationId, boundarySsoId, body }: {
1200
- foundationId: string;
1201
- boundarySsoId: string;
1202
- body: string;
1203
- }, opts?: Oazapfts.RequestOpts): Promise<BoundarySsoResponse>;
712
+ export declare function boundaryControllerPutPolicyDocument({ $namespace, name, jsonNode }: {
713
+ $namespace: string;
714
+ name: string;
715
+ jsonNode: JsonNode;
716
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
717
+ export declare function roleControllerList(opts?: Oazapfts.RequestOpts): Promise<Role[]>;
718
+ export declare function roleControllerCreate({ roleSpec }: {
719
+ roleSpec: RoleSpec;
720
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1204
721
  export declare function foundationControllerList(opts?: Oazapfts.RequestOpts): Promise<Foundation[]>;
1205
722
  export declare function foundationControllerCreate({ foundationSpec }: {
1206
723
  foundationSpec: FoundationSpec;
@@ -1234,8 +751,9 @@ export declare function permissionSetControllerCreate({ $namespace, permissionSe
1234
751
  $namespace: string;
1235
752
  permissionSetSpec: PermissionSetSpec;
1236
753
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
1237
- export declare function networkControllerList({ $namespace }: {
754
+ export declare function networkControllerListBy({ $namespace, projectName }: {
1238
755
  $namespace: string;
756
+ projectName?: string;
1239
757
  }, opts?: Oazapfts.RequestOpts): Promise<Network[]>;
1240
758
  export declare function networkControllerCreate({ $namespace, networkSpec }: {
1241
759
  $namespace: string;
@@ -1364,136 +882,12 @@ export declare function accountAssignmentControllerCreate({ $namespace, accountA
1364
882
  $namespace: string;
1365
883
  accountAssignmentSpec: AccountAssignmentSpec;
1366
884
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
1367
- export declare function listRole(opts?: Oazapfts.RequestOpts): Promise<ListRole>;
1368
- export declare function createRole({ role }: {
1369
- role: Role;
885
+ export declare function roleControllerGet({ name }: {
886
+ name: string;
1370
887
  }, opts?: Oazapfts.RequestOpts): Promise<Role>;
1371
- export declare function listFoundations({ authorization, xAccountId }: {
1372
- authorization: string;
1373
- xAccountId?: string;
1374
- }, opts?: Oazapfts.RequestOpts): Promise<ListFoundationResponse>;
1375
- export declare function createFoundation({ authorization, xAccountId, createFoundationRequest }: {
1376
- authorization: string;
1377
- xAccountId?: string;
1378
- createFoundationRequest: CreateFoundationRequest;
1379
- }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
1380
- export declare function listVpns({ authorization, xAccountId, foundationId }: {
1381
- authorization: string;
1382
- xAccountId?: string;
1383
- foundationId: string;
1384
- }, opts?: Oazapfts.RequestOpts): Promise<ListVpnResponse>;
1385
- export declare function createVpn({ authorization, xAccountId, foundationId, createVpnRequest }: {
1386
- authorization: string;
1387
- xAccountId?: string;
1388
- foundationId: string;
1389
- createVpnRequest: CreateVpnRequest;
1390
- }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
1391
- export declare function listServiceControlPolicy({ foundationId }: {
1392
- foundationId: string;
1393
- }, opts?: Oazapfts.RequestOpts): Promise<ListServiceControlPolicy>;
1394
- export declare function createServiceControlPolicy({ foundationId, serviceControlPolicy }: {
1395
- foundationId: string;
1396
- serviceControlPolicy: ServiceControlPolicy;
1397
- }, opts?: Oazapfts.RequestOpts): Promise<ServiceControlPolicy>;
1398
- export declare function listProject({ authorization, xAccountId, foundationId, parentFolderId }: {
1399
- authorization: string;
1400
- xAccountId?: string;
1401
- foundationId: string;
1402
- parentFolderId?: string;
1403
- }, opts?: Oazapfts.RequestOpts): Promise<ListProjectResponse>;
1404
- export declare function createProject({ authorization, xAccountId, foundationId, createProjectRequest }: {
1405
- authorization: string;
1406
- xAccountId?: string;
1407
- foundationId: string;
1408
- createProjectRequest: CreateProjectRequest;
1409
- }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
1410
- export declare function listNetwork({ authorization, xAccountId, foundationId, projectId }: {
1411
- authorization: string;
1412
- xAccountId?: string;
1413
- foundationId: string;
1414
- projectId?: string;
1415
- }, opts?: Oazapfts.RequestOpts): Promise<ListNetworkResponse>;
1416
- export declare function createNetwork({ authorization, xAccountId, foundationId, createNetworkRequest }: {
1417
- authorization: string;
1418
- xAccountId?: string;
1419
- foundationId: string;
1420
- createNetworkRequest: CreateNetworkRequest;
1421
- }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
1422
- export declare function getFolder({ authorization, xAccountId, foundationId, folderId }: {
1423
- authorization: string;
1424
- xAccountId?: string;
1425
- foundationId: string;
1426
- folderId: string;
1427
- }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
1428
- export declare function createFolder({ authorization, xAccountId, foundationId, createFolderRequest }: {
1429
- authorization: string;
1430
- xAccountId?: string;
1431
- foundationId: string;
1432
- createFolderRequest: CreateFolderRequest;
1433
- }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
1434
- export declare function listDnsZone({ authorization, xAccountId, foundationId, projectId, privacy }: {
1435
- authorization: string;
1436
- xAccountId?: string;
1437
- foundationId: string;
1438
- projectId?: string;
1439
- privacy?: "PUBLIC" | "PRIVATE";
1440
- }, opts?: Oazapfts.RequestOpts): Promise<ListDnsZoneResponse>;
1441
- export declare function createDnsZone({ authorization, xAccountId, foundationId, createDnsZoneRequest }: {
1442
- authorization: string;
1443
- xAccountId?: string;
1444
- foundationId: string;
1445
- createDnsZoneRequest: CreateDnsZoneRequest;
1446
- }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
1447
- export declare function listDnsRecord({ authorization, xAccountId, foundationId, projectId, dnsZoneId }: {
1448
- authorization: string;
1449
- xAccountId?: string;
1450
- foundationId: string;
1451
- projectId?: string;
1452
- dnsZoneId?: string;
1453
- }, opts?: Oazapfts.RequestOpts): Promise<ListDnsRecordResponse>;
1454
- export declare function createDnsRecord({ authorization, xAccountId, foundationId, createDnsRecordRequest }: {
1455
- authorization: string;
1456
- xAccountId?: string;
1457
- foundationId: string;
1458
- createDnsRecordRequest: CreateDnsRecordRequest;
1459
- }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
1460
- export declare function listCidr({ authorization, xAccountId, foundationId }: {
1461
- authorization: string;
1462
- xAccountId?: string;
1463
- foundationId: string;
1464
- }, opts?: Oazapfts.RequestOpts): Promise<ListCidrResponse>;
1465
- export declare function createCidr({ authorization, xAccountId, foundationId, createCidrRequest }: {
1466
- authorization: string;
1467
- xAccountId?: string;
1468
- foundationId: string;
1469
- createCidrRequest: CreateCidrRequest;
1470
- }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
1471
- export declare function listCertificates({ authorization, xAccountId, foundationId, forInbound }: {
1472
- authorization: string;
1473
- xAccountId?: string;
1474
- foundationId: string;
1475
- forInbound?: "TRUE" | "FALSE";
1476
- }, opts?: Oazapfts.RequestOpts): Promise<ListCertificateResponse>;
1477
- export declare function createCertificate({ authorization, xAccountId, foundationId, body }: {
1478
- authorization: string;
1479
- xAccountId?: string;
1480
- foundationId: string;
1481
- body: CreatePublicCertificateRequest | ImportCertificateRequest;
1482
- }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
1483
- export declare function listBoundary({ foundationId }: {
1484
- foundationId: string;
1485
- }, opts?: Oazapfts.RequestOpts): Promise<ListBoundaryResponse>;
1486
- export declare function createBoundary({ foundationId, createBoundaryRequest }: {
1487
- foundationId: string;
1488
- createBoundaryRequest: CreateBoundaryRequest;
1489
- }, opts?: Oazapfts.RequestOpts): Promise<BoundaryResponse>;
1490
- export declare function listBoundarySso({ foundationId }: {
1491
- foundationId: string;
1492
- }, opts?: Oazapfts.RequestOpts): Promise<ListBoundarySsoResponse>;
1493
- export declare function createBoundarySso({ foundationId, createBoundarySsoRequest }: {
1494
- foundationId: string;
1495
- createBoundarySsoRequest: CreateBoundarySsoRequest;
1496
- }, opts?: Oazapfts.RequestOpts): Promise<BoundarySsoResponse>;
888
+ export declare function roleControllerDelete({ name }: {
889
+ name: string;
890
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1497
891
  export declare function oidcControllerGet(opts?: Oazapfts.RequestOpts): Promise<string>;
1498
892
  export declare function foundationControllerGet({ $namespace }: {
1499
893
  $namespace: string;
@@ -1674,123 +1068,7 @@ export declare function accountAssignmentControllerDelete({ $namespace, name }:
1674
1068
  $namespace: string;
1675
1069
  name: string;
1676
1070
  }, opts?: Oazapfts.RequestOpts): Promise<never>;
1677
- export declare function finOpsControllerGet(opts?: Oazapfts.RequestOpts): Promise<string>;
1678
- export declare function getOidc(opts?: Oazapfts.RequestOpts): Promise<string>;
1679
- export declare function getFoundation({ authorization, xAccountId, foundationId }: {
1680
- authorization: string;
1681
- xAccountId?: string;
1682
- foundationId: string;
1683
- }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
1684
- export declare function getVpn({ authorization, xAccountId, foundationId, vpnId }: {
1685
- authorization: string;
1686
- xAccountId?: string;
1687
- foundationId: string;
1688
- vpnId: string;
1689
- }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
1690
- export declare function deleteVpn({ authorization, xAccountId, foundationId, vpnId }: {
1691
- authorization: string;
1692
- xAccountId?: string;
1693
- foundationId: string;
1694
- vpnId: string;
1695
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1696
- export declare function getVpnConfiguration({ authorization, xAccountId, foundationId, vpnId }: {
1697
- authorization: string;
1698
- xAccountId?: string;
1699
- foundationId: string;
1700
- vpnId: string;
1701
- }, opts?: Oazapfts.RequestOpts): Promise<VpnConfigurationResponse>;
1702
- export declare function getProject({ authorization, xAccountId, foundationId, projectId }: {
1703
- authorization: string;
1704
- xAccountId?: string;
1705
- foundationId: string;
1706
- projectId: string;
1707
- }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
1708
- export declare function deleteProject({ authorization, xAccountId, foundationId, projectId }: {
1709
- authorization: string;
1710
- xAccountId?: string;
1711
- foundationId: string;
1712
- projectId: string;
1713
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1714
- export declare function getNetwork({ authorization, xAccountId, foundationId, networkId }: {
1715
- authorization: string;
1716
- xAccountId?: string;
1717
- foundationId: string;
1718
- networkId: string;
1719
- }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
1720
- export declare function deleteNetwork({ authorization, xAccountId, foundationId, networkId }: {
1721
- authorization: string;
1722
- xAccountId?: string;
1723
- foundationId: string;
1724
- networkId: string;
1725
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1726
- export declare function getDnsZone({ authorization, xAccountId, foundationId, dnsZoneId }: {
1727
- authorization: string;
1728
- xAccountId?: string;
1729
- foundationId: string;
1730
- dnsZoneId: string;
1731
- }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
1732
- export declare function deleteDnsZone({ authorization, xAccountId, foundationId, dnsZoneId }: {
1733
- authorization: string;
1734
- xAccountId?: string;
1735
- foundationId: string;
1736
- dnsZoneId: string;
1737
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1738
- export declare function getDnsRecord({ authorization, xAccountId, foundationId, dnsRecordId }: {
1739
- authorization: string;
1740
- xAccountId?: string;
1741
- foundationId: string;
1742
- dnsRecordId: string;
1743
- }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
1744
- export declare function deleteDnsRecord({ authorization, xAccountId, foundationId, dnsRecordId }: {
1745
- authorization: string;
1746
- xAccountId?: string;
1747
- foundationId: string;
1748
- dnsRecordId: string;
1749
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1750
- export declare function getCidr({ authorization, xAccountId, foundationId, cidrId }: {
1751
- authorization: string;
1752
- xAccountId?: string;
1753
- foundationId: string;
1754
- cidrId: string;
1755
- }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
1756
- export declare function deleteCidr({ authorization, xAccountId, foundationId, cidrId }: {
1757
- authorization: string;
1758
- xAccountId?: string;
1759
- foundationId: string;
1760
- cidrId: string;
1761
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1762
- export declare function getCertificate({ authorization, xAccountId, foundationId, certificateId }: {
1763
- authorization: string;
1764
- xAccountId?: string;
1765
- foundationId: string;
1766
- certificateId: string;
1767
- }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
1768
- export declare function deleteCertificate({ authorization, xAccountId, foundationId, certificateId }: {
1769
- authorization: string;
1770
- xAccountId?: string;
1771
- foundationId: string;
1772
- certificateId: string;
1773
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1774
- export declare function getBoundary({ foundationId, boundaryId }: {
1775
- foundationId: string;
1776
- boundaryId: string;
1777
- }, opts?: Oazapfts.RequestOpts): Promise<BoundaryResponse>;
1778
- export declare function deleteBoundary({ foundationId, boundaryId }: {
1779
- foundationId: string;
1780
- boundaryId: string;
1781
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1782
- export declare function getBoundarySso({ foundationId, boundarySsoId }: {
1783
- foundationId: string;
1784
- boundarySsoId: string;
1785
- }, opts?: Oazapfts.RequestOpts): Promise<BoundarySsoResponse>;
1786
- export declare function deleteBoundarySso({ foundationId, boundarySsoId }: {
1787
- foundationId: string;
1788
- boundarySsoId: string;
1789
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1790
- export declare function deleteFolder({ authorization, xAccountId, foundationId, folderId }: {
1791
- authorization: string;
1792
- xAccountId?: string;
1793
- foundationId: string;
1794
- folderId: string;
1795
- }, opts?: Oazapfts.RequestOpts): Promise<never>;
1071
+ export declare function finOpsControllerGet(opts?: Oazapfts.RequestOpts): Promise<{
1072
+ [key: string]: string;
1073
+ }>;
1796
1074
  //# sourceMappingURL=cloudPlatform.d.ts.map