@stack-spot/portal-network 0.235.3 → 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.
@@ -1,33 +1,54 @@
1
1
  import { HttpError } from '@oazapfts/runtime'
2
+ import { getApiAddresses } from '../api-addresses'
3
+ import { roleControllerUpdateAccountRole } from '../api/account'
2
4
  import {
3
5
  accountAssignmentControllerCreate,
4
6
  accountAssignmentControllerDelete,
7
+ accountAssignmentControllerGet,
5
8
  accountAssignmentControllerList,
6
- createBoundary,
7
- createBoundarySso,
8
- createCertificate,
9
- createCidr,
10
- createDnsRecord,
11
- createDnsZone,
12
- createFolder,
13
- createFoundation,
14
- createNetwork,
15
- createProject,
16
- createRole,
17
- createServiceControlPolicy,
18
- createVpn,
9
+ boundaryControllerCreate,
10
+ boundaryControllerDelete,
11
+ boundaryControllerGet,
12
+ boundaryControllerList,
13
+ boundaryControllerPutPolicyDocument,
14
+ boundaryControllerPutTags,
15
+ boundarySsoControllerCreate,
16
+ boundarySsoControllerDelete,
17
+ boundarySsoControllerGet,
18
+ boundarySsoControllerList,
19
+ boundarySsoControllerPutPolicyDocument,
20
+ boundarySsoControllerPutTags,
21
+ certificateControllerCreate,
22
+ certificateControllerDelete,
23
+ certificateControllerGet,
24
+ certificateControllerList,
25
+ certificateControllerPutTags,
26
+ cidrControllerCreate,
27
+ cidrControllerDelete,
28
+ cidrControllerGet,
29
+ cidrControllerList,
30
+ cidrControllerPutTags,
31
+ customerPolicyAttachmentControllerCreate,
32
+ customerPolicyAttachmentControllerDelete,
33
+ customerPolicyAttachmentControllerGet,
34
+ customerPolicyAttachmentControllerList,
19
35
  defaults,
20
- deleteBoundary,
21
- deleteBoundarySso,
22
- deleteCertificate,
23
- deleteCidr,
24
- deleteDnsRecord,
25
- deleteDnsZone,
26
- deleteFolder,
27
- deleteNetwork,
28
- deleteProject,
29
- deleteRole,
30
- deleteVpn,
36
+ dnsRecordControllerCreate,
37
+ dnsRecordControllerDelete,
38
+ dnsRecordControllerGet,
39
+ dnsRecordControllerListBy,
40
+ dnsRecordControllerPutRecords,
41
+ dnsRecordControllerPutTtl,
42
+ dnsZoneControllerCreate,
43
+ dnsZoneControllerDelete,
44
+ dnsZoneControllerGet,
45
+ dnsZoneControllerListBy,
46
+ dnsZoneControllerPutTags,
47
+ finOpsControllerGet,
48
+ firewallControllerCreate,
49
+ firewallControllerDelete,
50
+ firewallControllerGet,
51
+ firewallControllerList,
31
52
  fmsAssociateAdminAccountControllerCreate,
32
53
  fmsAssociateAdminAccountControllerDelete,
33
54
  fmsAssociateAdminAccountControllerGet,
@@ -36,58 +57,77 @@ import {
36
57
  fmsPolicyControllerDelete,
37
58
  fmsPolicyControllerGet,
38
59
  fmsPolicyControllerList,
39
- getBoundary,
40
- getBoundarySso,
41
- getCertificate,
42
- getFolder,
43
- getFolderTags,
44
- getFoundation,
45
- getNetwork,
46
- getProject,
47
- getRole,
48
- getServiceControlPolicy,
49
- getVpnConfiguration,
60
+ folderControllerCreate,
61
+ folderControllerDelete,
62
+ folderControllerGet,
63
+ folderControllerListByFolderRef,
64
+ folderControllerPutName,
65
+ folderControllerPutTags,
66
+ foundationControllerCreate,
67
+ foundationControllerGet,
68
+ foundationControllerList,
69
+ foundationControllerPutSecProjectTags,
70
+ identityCenterControllerCreate,
71
+ identityCenterControllerDelete,
72
+ identityCenterControllerGet,
73
+ identityCenterControllerList,
50
74
  identityStoreGroupControllerCreate,
51
75
  identityStoreGroupControllerDelete,
76
+ identityStoreGroupControllerGet,
52
77
  identityStoreGroupControllerList,
53
- listBoundary,
54
- listBoundarySso,
55
- listCertificates,
56
- listCidr,
57
- listDnsRecord,
58
- listDnsZone,
59
- listFoundations,
60
- listNetwork,
61
- listProject,
62
- listRole,
63
- listServiceControlPolicy,
64
- listVpns,
78
+ identityStoreMembershipControllerCreate,
79
+ identityStoreMembershipControllerDelete,
80
+ identityStoreMembershipControllerGet,
81
+ identityStoreMembershipControllerList,
82
+ identityStoreUserControllerCreate,
83
+ identityStoreUserControllerDelete,
84
+ identityStoreUserControllerGet,
85
+ identityStoreUserControllerList,
86
+ managedPolicyAttachmentControllerCreate,
87
+ managedPolicyAttachmentControllerDelete,
88
+ managedPolicyAttachmentControllerGet,
89
+ managedPolicyAttachmentControllerList,
90
+ networkControllerCreate,
91
+ networkControllerDelete,
92
+ networkControllerGet,
93
+ networkControllerListBy,
94
+ networkControllerPutNetworkName,
95
+ networkControllerPutTags,
96
+ oidcControllerGet,
65
97
  permissionSetControllerCreate,
66
98
  permissionSetControllerDelete,
99
+ permissionSetControllerGet,
67
100
  permissionSetControllerList,
68
- putBoundaryDescription,
69
- putBoundaryPolicyDocument,
70
- putBoundarySsoDescription,
71
- putBoundarySsoPolicyDocument,
72
- putBoundarySsoTags,
73
- putBoundaryTags,
74
- putCertificateTags,
75
- putCidrTags,
76
- putDnsZoneTags,
77
- putFolderTags,
78
- putFoundationSecProjectTags,
79
- putNetworkTags,
80
- putProjectTags,
81
- putRole,
82
- putServiceControlPolicy,
83
- putVpnTags,
101
+ projectControllerCreate,
102
+ projectControllerDelete,
103
+ projectControllerGet,
104
+ projectControllerListByFolderRef,
105
+ projectControllerPutName,
106
+ projectControllerPutTags,
107
+ roleControllerCreate,
108
+ roleControllerDelete,
109
+ roleControllerGet,
110
+ roleControllerList,
111
+ serviceControlPolicyControllerCreate,
112
+ serviceControlPolicyControllerDelete,
113
+ serviceControlPolicyControllerGet,
114
+ serviceControlPolicyControllerList,
115
+ serviceControlPolicyControllerPutContent,
116
+ serviceControlPolicyControllerPutDescription,
117
+ serviceControlPolicyControllerPutName,
118
+ serviceControlPolicyControllerPutTags,
119
+ serviceControlPolicyControllerPutTarget,
120
+ vpnControllerCreate,
121
+ vpnControllerDelete,
122
+ vpnControllerGet,
123
+ vpnControllerList,
124
+ vpnControllerPutTags,
84
125
  } from '../api/cloudPlatform'
85
126
  import { DefaultAPIError } from '../error/DefaultAPIError'
127
+ import { scfDictionary } from '../error/dictionary/cloud-platform'
86
128
  import { StackspotAPIError } from '../error/StackspotAPIError'
87
129
  import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient'
88
130
  import { removeAuthorizationParam } from '../utils/remove-authorization-param'
89
- import { scfDictionary } from '../error/dictionary/cloud-platform'
90
- import { getApiAddresses } from '../api-addresses'
91
131
 
92
132
  class CloudPlatformClient extends ReactQueryNetworkClient {
93
133
  constructor() {
@@ -97,343 +137,608 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
97
137
  protected buildStackSpotError(error: HttpError): StackspotAPIError {
98
138
  return new DefaultAPIError(error.data, error.status, scfDictionary, error.headers)
99
139
  }
140
+
100
141
  /**
101
- * List foundations
142
+ * Update network tags V2
102
143
  */
103
- listFoundations = this.query(removeAuthorizationParam(listFoundations))
144
+ updateNetworkTagsV2 =
145
+ this.mutation(removeAuthorizationParam(networkControllerPutTags))
104
146
  /**
105
- * Get a foundation by id
147
+ * Update network name V2
106
148
  */
107
- foundation = this.query(removeAuthorizationParam(getFoundation))
149
+ updateNetworkNameV2 =
150
+ this.mutation(removeAuthorizationParam(networkControllerPutNetworkName))
108
151
  /**
109
- * Get list of foundations folders or folder by id
152
+ * List networks V2
110
153
  */
111
- getFolder = this.query(removeAuthorizationParam(getFolder))
154
+ listNetworksV2 =
155
+ this.query(removeAuthorizationParam(networkControllerListBy))
112
156
  /**
113
- * Create a foundation
157
+ * Create network V2
114
158
  */
115
- createFoundation = this.mutation(removeAuthorizationParam(createFoundation))
159
+ createNetworkV2 =
160
+ this.mutation(removeAuthorizationParam(networkControllerCreate))
116
161
  /**
117
- * Create a foundation folder
162
+ * Get network V2
118
163
  */
119
- createFolder = this.mutation(removeAuthorizationParam(createFolder))
164
+ getNetworkV2 =
165
+ this.query(removeAuthorizationParam(networkControllerGet))
120
166
  /**
121
- * Get a list of dns zones
167
+ * Delete network V2
122
168
  */
123
- listDnsZones = this.query(removeAuthorizationParam(listDnsZone))
169
+ deleteNetworkV2 =
170
+ this.mutation(removeAuthorizationParam(networkControllerDelete))
124
171
  /**
125
- * Create a dns zone
172
+ * Update project tags V2
126
173
  */
127
- createDnsZone = this.mutation(removeAuthorizationParam(createDnsZone))
174
+ updateProjectTagsV2 =
175
+ this.mutation(removeAuthorizationParam(projectControllerPutTags))
128
176
  /**
129
- * Get a list of cidrs
177
+ * Update project name V2
130
178
  */
131
- listCidrs = this.query(removeAuthorizationParam(listCidr))
179
+ updateProjectNameV2 =
180
+ this.mutation(removeAuthorizationParam(projectControllerPutName))
132
181
  /**
133
- * Create a cidr
182
+ * Update folder tags V2
134
183
  */
135
- createCidr = this.mutation(removeAuthorizationParam(createCidr))
184
+ updateFolderTagsV2 =
185
+ this.mutation(removeAuthorizationParam(folderControllerPutTags))
136
186
  /**
137
- * Get a list of certificates
187
+ * Update folder name V2
138
188
  */
139
- listCertificates = this.query(removeAuthorizationParam(listCertificates))
189
+ updateFolderNameV2 =
190
+ this.mutation(removeAuthorizationParam(folderControllerPutName))
140
191
  /**
141
- * Get a certificate by id
192
+ * Update DNS records TTL V2
142
193
  */
143
- getCertificate = this.query(removeAuthorizationParam(getCertificate))
194
+ updateDnsRecordsTtlV2 =
195
+ this.mutation(removeAuthorizationParam(dnsRecordControllerPutTtl))
144
196
  /**
145
- * Create a certificate
197
+ * Update DNS records V2
146
198
  */
147
- createCertificate = this.mutation(removeAuthorizationParam(createCertificate))
199
+ updateDnsRecordsV2 =
200
+ this.mutation(removeAuthorizationParam(dnsRecordControllerPutRecords))
148
201
  /**
149
- * Create a project
202
+ * Update certificate tags V2
150
203
  */
151
- createProject = this.mutation(removeAuthorizationParam(createProject))
204
+ updateCertificatesTagsV2 =
205
+ this.mutation(removeAuthorizationParam(certificateControllerPutTags))
152
206
  /**
153
- * Get a project by id
207
+ * List Vpn's V2
154
208
  */
155
- getProjectById = this.query(removeAuthorizationParam(getProject))
209
+ listVpnV2 =
210
+ this.query(removeAuthorizationParam(vpnControllerList))
156
211
  /**
157
- * Get a list of dns records
212
+ * Create Vpn V2
158
213
  */
159
- listDnsRecords = this.query(removeAuthorizationParam(listDnsRecord))
214
+ createVpnV2 =
215
+ this.mutation(removeAuthorizationParam(vpnControllerCreate))
160
216
  /**
161
- * Create a dns record
217
+ * Update Vpn tags V2
162
218
  */
163
- createDnsRecord = this.mutation(removeAuthorizationParam(createDnsRecord))
219
+ updateVpnTagsV2 =
220
+ this.mutation(removeAuthorizationParam(vpnControllerPutTags))
164
221
  /**
165
- * Get a list of networks
222
+ * Get Vpn by name V2
166
223
  */
167
- listNetworks = this.query(removeAuthorizationParam(listNetwork))
224
+ getVpnSByNameV2 =
225
+ this.query(removeAuthorizationParam(vpnControllerGet))
168
226
  /**
169
- * Create a network
227
+ * Delete Vpn V2
170
228
  */
171
- createNetwork = this.mutation(removeAuthorizationParam(createNetwork))
229
+ deleteVpnSV2 =
230
+ this.mutation(removeAuthorizationParam(vpnControllerDelete))
172
231
  /**
173
- * Get a list of vpn's
232
+ * List projects V2
174
233
  */
175
- listVpns = this.query(removeAuthorizationParam(listVpns))
234
+ listProjectsV2 =
235
+ this.query(removeAuthorizationParam(projectControllerListByFolderRef))
176
236
  /**
177
- * Get vpn configuration
237
+ * Create project V2
178
238
  */
179
- getVpnConfiguration = this.query(removeAuthorizationParam(getVpnConfiguration))
239
+ createProjectV2 =
240
+ this.mutation(removeAuthorizationParam(projectControllerCreate))
180
241
  /**
181
- * Create a vpn
242
+ * Get project by name V2
182
243
  */
183
- createVpn = this.mutation(removeAuthorizationParam(createVpn))
244
+ getProjectByNameV2 =
245
+ this.query(removeAuthorizationParam(projectControllerGet))
184
246
  /**
185
- * Get a network details
247
+ * Delete project V2
186
248
  */
187
- getNetworkById = this.query(removeAuthorizationParam(getNetwork))
249
+ deleteProjectV2 =
250
+ this.mutation(removeAuthorizationParam(projectControllerDelete))
188
251
  /**
189
- * Get a list of tags in folder
190
- */
191
- getFolderTags = this.query(removeAuthorizationParam(getFolderTags))
252
+ * List managed policy attachments V2
253
+ */
254
+ listManagedPolicyAttachmentsV2 =
255
+ this.query(removeAuthorizationParam(managedPolicyAttachmentControllerList))
192
256
  /**
193
- * Update folder tags
194
- */
195
- updateFolderTags = this.mutation(removeAuthorizationParam(putFolderTags))
257
+ * Create managed policy attachment V2
258
+ */
259
+ createManagedPolicyAttachmentV2 =
260
+ this.mutation(removeAuthorizationParam(managedPolicyAttachmentControllerCreate))
196
261
  /**
197
- * Update project tags
198
- */
199
- updateProjectTags = this.mutation(removeAuthorizationParam(putProjectTags))
262
+ * Get managed policy attachment by name V2
263
+ */
264
+ getManagedPolicyAttachmentByNameV2 =
265
+ this.query(removeAuthorizationParam(managedPolicyAttachmentControllerGet))
200
266
  /**
201
- * Update network tags
202
- */
203
- updateNetworkTags = this.mutation(removeAuthorizationParam(putNetworkTags))
267
+ * Delete managed policy attachment V2
268
+ */
269
+ deleteManagedPolicyAttachmentV2 =
270
+ this.mutation(removeAuthorizationParam(managedPolicyAttachmentControllerDelete))
204
271
  /**
205
- * Update cidr tags
206
- */
207
- updateCidrTags = this.mutation(removeAuthorizationParam(putCidrTags))
272
+ * List identity store users V2
273
+ */
274
+ listIdentityStoreUsersV2 =
275
+ this.query(removeAuthorizationParam(identityStoreUserControllerList))
208
276
  /**
209
- * Update dns zone tags
210
- */
211
- updateDnsZoneTags = this.mutation(removeAuthorizationParam(putDnsZoneTags))
277
+ * Create identity store user V2
278
+ */
279
+ createIdentityStoreUsersV2 =
280
+ this.mutation(removeAuthorizationParam(identityStoreUserControllerCreate))
212
281
  /**
213
- * Update certificate tags
214
- */
215
- updateCertificateTags = this.mutation(removeAuthorizationParam(putCertificateTags))
282
+ * Get identity store user by name V2
283
+ */
284
+ getIdentityStoreUserByNameV2 =
285
+ this.query(removeAuthorizationParam(identityStoreUserControllerGet))
216
286
  /**
217
- * Update vpn tags
218
- */
219
- updateVpnTags = this.mutation(removeAuthorizationParam(putVpnTags))
287
+ * Delete identity store user V2
288
+ */
289
+ deleteIdentityStoreUserV2 =
290
+ this.mutation(removeAuthorizationParam(identityStoreUserControllerDelete))
220
291
  /**
221
- * Delete a folder
222
- */
223
- deleteFolder = this.mutation(removeAuthorizationParam(deleteFolder))
292
+ * List identity store memberships V2
293
+ */
294
+ listIdentityStoreMembershipsV2 =
295
+ this.query(removeAuthorizationParam(identityStoreMembershipControllerList))
224
296
  /**
225
- * Delete a project
226
- */
227
- deleteProject = this.mutation(removeAuthorizationParam(deleteProject))
297
+ * Create identity store membership V2
298
+ */
299
+ createIdentityStoreMembershipsV2 =
300
+ this.mutation(removeAuthorizationParam(identityStoreMembershipControllerCreate))
228
301
  /**
229
- * Delete a network
230
- */
231
- deleteNetwork = this.mutation(removeAuthorizationParam(deleteNetwork))
302
+ * Get identity store membership by name V2
303
+ */
304
+ getIdentityStoreMembershipByNameV2 =
305
+ this.query(removeAuthorizationParam(identityStoreMembershipControllerGet))
232
306
  /**
233
- * Delete a certificate
234
- */
235
- deleteCertificate = this.mutation(removeAuthorizationParam(deleteCertificate))
307
+ * Delete identity store membership V2
308
+ */
309
+ deleteIdentityStoreMembershipV2 =
310
+ this.mutation(removeAuthorizationParam(identityStoreMembershipControllerDelete))
236
311
  /**
237
- * Delete a dns zone
238
- */
239
- deleteDnsZone = this.mutation(removeAuthorizationParam(deleteDnsZone))
312
+ * List identity store groups V2
313
+ */
314
+ listIdentityStoreGroupsV2 =
315
+ this.query(removeAuthorizationParam(identityStoreGroupControllerList))
240
316
  /**
241
- * Delete a dns record
242
- */
243
- deleteDnsRecord = this.mutation(removeAuthorizationParam(deleteDnsRecord))
317
+ * Create identity store group V2
318
+ */
319
+ createIdentityStoreGroupV2 =
320
+ this.mutation(removeAuthorizationParam(identityStoreGroupControllerCreate))
244
321
  /**
245
- * Delete a VPN
246
- */
247
- deleteVPN = this.mutation(removeAuthorizationParam(deleteVpn))
322
+ * Get identity store group by name V2
323
+ */
324
+ getIdentityStoreGroupsByNameV2 =
325
+ this.query(removeAuthorizationParam(identityStoreGroupControllerGet))
248
326
  /**
249
- * Delete a CIDR
250
- */
251
- deleteCidr = this.mutation(removeAuthorizationParam(deleteCidr))
327
+ * Delete identity store group V2
328
+ */
329
+ deleteIdentityStoreGroupV2 =
330
+ this.mutation(removeAuthorizationParam(identityStoreGroupControllerDelete))
252
331
  /**
253
- * Get a list of foundation boundaries
254
- */
255
- listBoundaries = this.query(removeAuthorizationParam(listBoundary))
332
+ * List identity centers V2
333
+ */
334
+ listIdentityCentersV2 =
335
+ this.query(removeAuthorizationParam(identityCenterControllerList))
256
336
  /**
257
- * Get a list of foundation sso boundaries
258
- */
259
- listSSOBoundaries = this.query(removeAuthorizationParam(listBoundarySso))
337
+ * Create identity center V2
338
+ */
339
+ createIdentityCenterV2 =
340
+ this.mutation(removeAuthorizationParam(identityCenterControllerCreate))
260
341
  /**
261
- * Create a boundary
262
- */
263
- createBoundary = this.mutation(removeAuthorizationParam(createBoundary))
342
+ * Get identity center by name V2
343
+ */
344
+ getIdentityCentersByNameV2 =
345
+ this.query(removeAuthorizationParam(identityCenterControllerGet))
264
346
  /**
265
- * Create a sso boundary
266
- */
267
- createSSOBoundary = this.mutation(removeAuthorizationParam(createBoundarySso))
347
+ * Delete identity center V2
348
+ */
349
+ deleteIdentityCentersV2 =
350
+ this.mutation(removeAuthorizationParam(identityCenterControllerDelete))
268
351
  /**
269
- * Get details of a boundary
270
- */
271
- getBoundary = this.query(removeAuthorizationParam(getBoundary))
352
+ * List permission sets V2
353
+ */
354
+ listPermissionSetsV2 =
355
+ this.query(removeAuthorizationParam(permissionSetControllerList))
272
356
  /**
273
- * Get details of a sso boundary
274
- */
275
- getSSOBoundary = this.query(removeAuthorizationParam(getBoundarySso))
357
+ * Create permission set V2
358
+ */
359
+ createPermissionSetV2 =
360
+ this.mutation(removeAuthorizationParam(permissionSetControllerCreate))
276
361
  /**
277
- * Delete a boundary
278
- */
279
- deleteBoundary = this.mutation(removeAuthorizationParam(deleteBoundary))
362
+ * Get permission set by name V2
363
+ */
364
+ getPermissionSetByNameV2 =
365
+ this.query(removeAuthorizationParam(permissionSetControllerGet))
280
366
  /**
281
- * Delete a sso boundary
282
- */
283
- deleteSSOBoundary = this.mutation(removeAuthorizationParam(deleteBoundarySso))
367
+ * Delete permission set V2
368
+ */
369
+ deletePermissionSetV2 =
370
+ this.mutation(removeAuthorizationParam(permissionSetControllerDelete))
284
371
  /**
285
- * Edit boundary tags
286
- */
287
- editBoundaryTags = this.mutation(removeAuthorizationParam(putBoundaryTags))
372
+ * List account assignments V2
373
+ */
374
+ listAccountAssignmentsV2 =
375
+ this.query(removeAuthorizationParam(accountAssignmentControllerList))
288
376
  /**
289
- * Edit sso boundary tags
290
- */
291
- editSSOBoundaryTags = this.mutation(removeAuthorizationParam(putBoundarySsoTags))
377
+ * Create account assignment V2
378
+ */
379
+ createAccountAssignmentV2 =
380
+ this.mutation(removeAuthorizationParam(accountAssignmentControllerCreate))
292
381
  /**
293
- * Edit boundary policy document
294
- */
295
- editBoundaryPolicyDocument = this.mutation(removeAuthorizationParam(putBoundaryPolicyDocument))
382
+ * Get account assignment by name V2
383
+ */
384
+ getAccountAssignmentsByNameV2 =
385
+ this.query(removeAuthorizationParam(accountAssignmentControllerGet))
296
386
  /**
297
- * Edit sso boundary policy document
298
- */
299
- editSSOBoundaryPolicyDocument = this.mutation(removeAuthorizationParam(putBoundarySsoPolicyDocument))
387
+ * Delete account assignment V2
388
+ */
389
+ deleteAccountAssignmentV2 =
390
+ this.mutation(removeAuthorizationParam(accountAssignmentControllerDelete))
300
391
  /**
301
- * Edit boundary description
302
- */
303
- editBoundaryDescription = this.mutation(removeAuthorizationParam(putBoundaryDescription))
392
+ * List folders V2
393
+ */
394
+ listFoldersV2 =
395
+ this.query(removeAuthorizationParam(folderControllerListByFolderRef))
304
396
  /**
305
- * Edit sso boundary description
306
- */
307
- editSSOBoundaryDescription = this.mutation(removeAuthorizationParam(putBoundarySsoDescription))
397
+ * Create folder V2
398
+ */
399
+ createFoldersV2 =
400
+ this.mutation(removeAuthorizationParam(folderControllerCreate))
308
401
  /**
309
- * Edit foundation security tags
310
- */
311
- editFoundationSecurityTags = this.mutation(removeAuthorizationParam(putFoundationSecProjectTags))
402
+ * Get folder by name V2
403
+ */
404
+ getFolderByNameV2 =
405
+ this.query(removeAuthorizationParam(folderControllerGet))
312
406
  /**
313
- * List service control policy
314
- */
315
- listServiceControlPolicy = this.query(removeAuthorizationParam(listServiceControlPolicy))
407
+ * Delete folder V2
408
+ */
409
+ deleteFolderV2 =
410
+ this.mutation(removeAuthorizationParam(folderControllerDelete))
316
411
  /**
317
- * Get a service control policy details
318
- */
319
- getServiceControlPolicy = this.query(removeAuthorizationParam(getServiceControlPolicy))
412
+ * List firewalls V2
413
+ */
414
+ listFirewallsV2 =
415
+ this.query(removeAuthorizationParam(firewallControllerList))
320
416
  /**
321
- * Edit service control policy
322
- */
323
- editServiceControlPolicy = this.mutation(removeAuthorizationParam(putServiceControlPolicy))
417
+ * Create firewall V2
418
+ */
419
+ createFirewallV2 =
420
+ this.mutation(removeAuthorizationParam(firewallControllerCreate))
324
421
  /**
325
- * Create a service control policy
326
- */
327
- createServiceControlPolicy = this.mutation(removeAuthorizationParam(createServiceControlPolicy))
422
+ * Get firewall by name V2
423
+ */
424
+ getFirewallByNameV2 =
425
+ this.query(removeAuthorizationParam(firewallControllerGet))
328
426
  /**
329
- * List projects from a foundation
330
- */
331
- listFoundationProjects = this.query(removeAuthorizationParam(listProject))
427
+ * Delete firewall V2
428
+ */
429
+ deleteFirewallV2 =
430
+ this.mutation(removeAuthorizationParam(firewallControllerDelete))
332
431
  /**
333
- * Get a list of dns records
334
- */
335
- listRoles = this.query(removeAuthorizationParam(listRole))
432
+ * List DNS zones V2
433
+ */
434
+ listDNSZonesV2 =
435
+ this.query(removeAuthorizationParam(dnsZoneControllerListBy))
336
436
  /**
337
- * Create a role
338
- */
339
- createRole = this.mutation(removeAuthorizationParam(createRole))
437
+ * Create DNS zone V2
438
+ */
439
+ createDNSZonesV2 =
440
+ this.mutation(removeAuthorizationParam(dnsZoneControllerCreate))
340
441
  /**
341
- * Get a role by name
342
- */
343
- getRole = this.query(removeAuthorizationParam(getRole))
442
+ * Get DNS zone by name V2
443
+ */
444
+ getDNSZoneByNameV2 =
445
+ this.query(removeAuthorizationParam(dnsZoneControllerGet))
344
446
  /**
345
- * Edit a role
346
- */
347
- editRole = this.mutation(removeAuthorizationParam(putRole))
447
+ * Delete DNS zone V2
448
+ */
449
+ deleteDNSZoneV2 =
450
+ this.mutation(removeAuthorizationParam(dnsZoneControllerDelete))
348
451
  /**
349
- * Delete a role
350
- */
351
- deleteRole = this.mutation(removeAuthorizationParam(deleteRole))
452
+ * Update DNS zone tags V2
453
+ */
454
+ upsertDNSTagsV2 =
455
+ this.mutation(removeAuthorizationParam(dnsZoneControllerPutTags))
352
456
  /**
353
- * Get Firewall Manager Policies by Foundation
354
- */
355
- getFirewallManagerPolicyByName =
457
+ * List DNS records V2
458
+ */
459
+ listDNSRecordsV2 =
460
+ this.query(removeAuthorizationParam(dnsRecordControllerListBy))
461
+ /**
462
+ * Create DNS record V2
463
+ */
464
+ createDNSRecordsV2 =
465
+ this.mutation(removeAuthorizationParam(dnsRecordControllerCreate))
466
+ /**
467
+ * Get DNS record by name V2
468
+ */
469
+ getDNSRecordByNameV2 =
470
+ this.query(removeAuthorizationParam(dnsRecordControllerGet))
471
+ /**
472
+ * Delete DNS record V2
473
+ */
474
+ deleteDNSRecordV2 =
475
+ this.mutation(removeAuthorizationParam(dnsRecordControllerDelete))
476
+ /**
477
+ * List customer policy attachments V2
478
+ */
479
+ listCustomerPolicyAttachmentsV2 =
480
+ this.query(removeAuthorizationParam(customerPolicyAttachmentControllerList))
481
+ /**
482
+ * Create customer policy attachment V2
483
+ */
484
+ createCustomerPolicyAttachmentsV2 =
485
+ this.mutation(removeAuthorizationParam(customerPolicyAttachmentControllerCreate))
486
+ /**
487
+ * Get customer policy attachment by name V2
488
+ */
489
+ getCustomerPolicyAttachmentV2 =
490
+ this.query(removeAuthorizationParam(customerPolicyAttachmentControllerGet))
491
+ /**
492
+ * Delete customer policy attachment V2
493
+ */
494
+ deleteCustomerPolicyAttachmentV2 =
495
+ this.mutation(removeAuthorizationParam(customerPolicyAttachmentControllerDelete))
496
+ /**
497
+ * List CIDRs V2
498
+ */
499
+ listCIDRSV2 =
500
+ this.query(removeAuthorizationParam(cidrControllerList))
501
+ /**
502
+ * Create CIDR V2
503
+ */
504
+ createCIDRSV2 =
505
+ this.mutation(removeAuthorizationParam(cidrControllerCreate))
506
+ /**
507
+ * Get CIDR by name V2
508
+ */
509
+ getCIDRByNameV2 =
510
+ this.query(removeAuthorizationParam(cidrControllerGet))
511
+ /**
512
+ * Delete CIDR V2
513
+ */
514
+ deleteCIDRV2 =
515
+ this.mutation(removeAuthorizationParam(cidrControllerDelete))
516
+ /**
517
+ * Update CIDR tags V2
518
+ */
519
+ upsertCIDRTagsV2 =
520
+ this.mutation(removeAuthorizationParam(cidrControllerPutTags))
521
+ /**
522
+ * List certificates V2
523
+ */
524
+ listCertificatesV2 =
525
+ this.query(removeAuthorizationParam(certificateControllerList))
526
+ /**
527
+ * Create certificate V2
528
+ */
529
+ createCertificatesV2 =
530
+ this.mutation(removeAuthorizationParam(certificateControllerCreate))
531
+ /**
532
+ * Get certificate by name V2
533
+ */
534
+ getCertificateByNameV2 =
535
+ this.query(removeAuthorizationParam(certificateControllerGet))
536
+ /**
537
+ * Delete certificate V2
538
+ */
539
+ deleteCertificateV2 =
540
+ this.mutation(removeAuthorizationParam(certificateControllerDelete))
541
+ /**
542
+ * Get OIDC V2
543
+ */
544
+ getOIDCV2 =
545
+ this.query(removeAuthorizationParam(oidcControllerGet))
546
+ /**
547
+ * List OIDC V2
548
+ */
549
+ listOIDCV2 =
550
+ this.query(removeAuthorizationParam(oidcControllerGet))
551
+ /**
552
+ * Get Finops V2
553
+ */
554
+ getFinopsV2 =
555
+ this.query(removeAuthorizationParam(finOpsControllerGet))
556
+ /**
557
+ * Create foundation V2
558
+ */
559
+ createFoundationV2 =
560
+ this.mutation(removeAuthorizationParam(foundationControllerCreate))
561
+ /**
562
+ * List foundations V2
563
+ */
564
+ listFoundationsV2 =
565
+ this.query(removeAuthorizationParam(foundationControllerList))
566
+ /**
567
+ * Get foundation V2
568
+ */
569
+ getFoundationV2 =
570
+ this.query(removeAuthorizationParam(foundationControllerGet))
571
+
572
+ /**
573
+ * Update foundation security project tags V2
574
+ */
575
+ updateFoundationSecurityTagsV2 = this.mutation(removeAuthorizationParam(foundationControllerPutSecProjectTags))
576
+ /**
577
+ * List boundaries V2
578
+ */
579
+ listBoundariesV2 =
580
+ this.query(removeAuthorizationParam(boundaryControllerList))
581
+ /**
582
+ * Create boundary V2
583
+ */
584
+ createBoundaryV2 =
585
+ this.mutation(removeAuthorizationParam(boundaryControllerCreate))
586
+ /**
587
+ * Get boundary by name V2
588
+ */
589
+ getBoundaryByNameV2 =
590
+ this.query(removeAuthorizationParam(boundaryControllerGet))
591
+ /**
592
+ * Delete boundary V2
593
+ */
594
+ deleteBoundaryV2 =
595
+ this.mutation(removeAuthorizationParam(boundaryControllerDelete))
596
+ /**
597
+ * Update boundary tags V2
598
+ */
599
+ updateBoundaryTagsV2 =
600
+ this.mutation(removeAuthorizationParam(boundaryControllerPutTags))
601
+ /**
602
+ * Update boundary policy document V2
603
+ */
604
+ updateBoundaryPolicyDocumentV2 =
605
+ this.mutation(removeAuthorizationParam(boundaryControllerPutPolicyDocument))
606
+ /**
607
+ * List boundary SSOs V2
608
+ */
609
+ listBoundarySsosV2 =
610
+ this.query(removeAuthorizationParam(boundarySsoControllerList))
611
+ /**
612
+ * Create boundary SSO V2
613
+ */
614
+ createBoundarySsoV2 =
615
+ this.mutation(removeAuthorizationParam(boundarySsoControllerCreate))
616
+ /**
617
+ * Get boundary SSO by name V2
618
+ */
619
+ getBoundarySsoByNameV2 =
620
+ this.query(removeAuthorizationParam(boundarySsoControllerGet))
621
+ /**
622
+ * Delete boundary SSO V2
623
+ */
624
+ deleteBoundarySsoV2 =
625
+ this.mutation(removeAuthorizationParam(boundarySsoControllerDelete))
626
+ /**
627
+ * Update boundary SSO tags V2
628
+ */
629
+ updateBoundarySsoTagsV2 =
630
+ this.mutation(removeAuthorizationParam(boundarySsoControllerPutTags))
631
+ /**
632
+ * Update boundary SSO policy document V2
633
+ */
634
+ updateBoundarySsoPolicyDocumentV2 =
635
+ this.mutation(removeAuthorizationParam(boundarySsoControllerPutPolicyDocument))
636
+ /**
637
+ * List service control policies V2
638
+ */
639
+ listServiceControlPoliciesV2 =
640
+ this.query(removeAuthorizationParam(serviceControlPolicyControllerList))
641
+ /**
642
+ * Create service control policy V2
643
+ */
644
+ createServiceControlPolicyV2 =
645
+ this.mutation(removeAuthorizationParam(serviceControlPolicyControllerCreate))
646
+ /**
647
+ * Get service control policy by name V2
648
+ */
649
+ getServiceControlPolicyByNameV2 =
650
+ this.query(removeAuthorizationParam(serviceControlPolicyControllerGet))
651
+ /**
652
+ * Delete service control policy V2
653
+ */
654
+ deleteServiceControlPolicyV2 =
655
+ this.mutation(removeAuthorizationParam(serviceControlPolicyControllerDelete))
656
+ /**
657
+ * Update service control policy target V2
658
+ */
659
+ updateServiceControlPolicyTargetV2 =
660
+ this.mutation(removeAuthorizationParam(serviceControlPolicyControllerPutTarget))
661
+ /**
662
+ * Update service control policy tags V2
663
+ */
664
+ updateServiceControlPolicyTagsV2 =
665
+ this.mutation(removeAuthorizationParam(serviceControlPolicyControllerPutTags))
666
+ /**
667
+ * Update service control policy name V2
668
+ */
669
+ updateServiceControlPolicyNameV2 =
670
+ this.mutation(removeAuthorizationParam(serviceControlPolicyControllerPutName))
671
+ /**
672
+ * Update service control policy description V2
673
+ */
674
+ updateServiceControlPolicyDescriptionV2 =
675
+ this.mutation(removeAuthorizationParam(serviceControlPolicyControllerPutDescription))
676
+ /**
677
+ * Update service control policy content V2
678
+ */
679
+ updateServiceControlPolicyContentV2 =
680
+ this.mutation(removeAuthorizationParam(serviceControlPolicyControllerPutContent))
681
+ /**
682
+ * Get Firewall Manager Policy by name V2
683
+ */
684
+ getFirewallManagerPolicyByNameV2 =
356
685
  this.query(removeAuthorizationParam(fmsPolicyControllerGet))
357
686
  /**
358
- * Delete Firewall Manager Policy
359
- */
360
- deleteFirewallManagerPolicy =
687
+ * Delete Firewall Manager Policy V2
688
+ */
689
+ deleteFirewallManagerPolicyV2 =
361
690
  this.mutation(removeAuthorizationParam(fmsPolicyControllerDelete))
362
691
  /**
363
- * Get Firewall Manager Policies by Foundation
364
- */
365
- listFirewallManagerPolicies =
692
+ * List Firewall Manager Policies V2
693
+ */
694
+ listFirewallManagerPoliciesV2 =
366
695
  this.query(removeAuthorizationParam(fmsPolicyControllerList))
367
696
  /**
368
- * Create Firewall Manager Policy
369
- */
370
- createFirewallManagerPolicy =
697
+ * Create Firewall Manager Policy V2
698
+ */
699
+ createFirewallManagerPolicyV2 =
371
700
  this.mutation(removeAuthorizationParam(fmsPolicyControllerCreate))
372
701
  /**
373
- * Get Firewall Manager Associate Admin Account by name
374
- */
375
- getFirewallManagerAssociateAdminAccountByName =
702
+ * Get Firewall Manager Associate Admin Account by name V2
703
+ */
704
+ getFirewallManagerAssociateAdminAccountByNameV2 =
376
705
  this.query(removeAuthorizationParam(fmsAssociateAdminAccountControllerGet))
377
706
  /**
378
- * Delete Firewall Manager Associate Admin Account
379
- */
380
- deleteFirewallManagerAssociateAdminAccount =
707
+ * Delete Firewall Manager Associate Admin Account V2
708
+ */
709
+ deleteFirewallManagerAssociateAdminAccountV2 =
381
710
  this.mutation(removeAuthorizationParam(fmsAssociateAdminAccountControllerDelete))
382
711
  /**
383
- * Create Firewall Manager Associate Admin Account
384
- */
385
- createFirewallManagerAssociateAdminAccount =
712
+ * Create Firewall Manager Associate Admin Account V2
713
+ */
714
+ createFirewallManagerAssociateAdminAccountV2 =
386
715
  this.mutation(removeAuthorizationParam(fmsAssociateAdminAccountControllerCreate))
387
716
  /**
388
- * Get Firewall Manager Associate Admin Account by name
389
- */
390
- listFirewallManagerAssociateAdminAccount =
717
+ * List Firewall Manager Associate Admin Accounts V2
718
+ */
719
+ listFirewallManagerAssociateAdminAccountsV2 =
391
720
  this.query(removeAuthorizationParam(fmsAssociateAdminAccountControllerList))
721
+
392
722
  /**
393
- * Create a Identity Store Group
394
- */
395
- createIdentityStoreGroup =
396
- this.mutation(removeAuthorizationParam(identityStoreGroupControllerCreate))
397
- /**
398
- * List Identity Store Groups by Foundation Namespace
399
- */
400
- listIdentityStoreGroup =
401
- this.query(removeAuthorizationParam(identityStoreGroupControllerList))
402
- /**
403
- * Delete a Identity Store Group
404
- */
405
- deleteIdentityStoreGroup =
406
- this.mutation(removeAuthorizationParam(identityStoreGroupControllerDelete))
407
- /**
408
- * List Permission sets by Foundation Namespace
409
- */
410
- listPermissionSets =
411
- this.query(removeAuthorizationParam(permissionSetControllerList))
412
- /**
413
- * Create a Identity Store Group
414
- */
415
- createPermissionSet =
416
- this.mutation(removeAuthorizationParam(permissionSetControllerCreate))
723
+ * Get a list of dns records
724
+ */
725
+ listRoles = this.query(removeAuthorizationParam(roleControllerList))
417
726
  /**
418
- * Delete a Identity Store Group
727
+ * Create a role
419
728
  */
420
- deletePermissionSet =
421
- this.mutation(removeAuthorizationParam(permissionSetControllerDelete))
729
+ createRole = this.mutation(removeAuthorizationParam(roleControllerCreate))
422
730
  /**
423
- * List Account assignment by Foundation Namespace
731
+ * Get a role by name
424
732
  */
425
- listAccountAssignments =
426
- this.query(removeAuthorizationParam(accountAssignmentControllerList))
733
+ getRole = this.query(removeAuthorizationParam(roleControllerGet))
427
734
  /**
428
- * Create a Account Assignment
735
+ * Edit a role
429
736
  */
430
- createAccountAssignment =
431
- this.mutation(removeAuthorizationParam(accountAssignmentControllerCreate))
737
+ editRole = this.mutation(removeAuthorizationParam(roleControllerUpdateAccountRole))
432
738
  /**
433
- * Delete a Account Assignment
739
+ * Delete a role
434
740
  */
435
- deleteAccountAssignment =
436
- this.mutation(removeAuthorizationParam(accountAssignmentControllerDelete))
741
+ deleteRole = this.mutation(removeAuthorizationParam(roleControllerDelete))
437
742
  }
438
743
 
439
744
  export const cloudPlatformClient = new CloudPlatformClient()