@@ -144,6 +144,33 @@ paths:
144144 ' 204 ' : # status code
145145 $ref : ' #/components/responses/SuccessDeletePrivateSpace'
146146
147+ /organizations/{orgId}/privatespaces/{privateSpaceId}/iamroles :
148+ parameters :
149+ - name : orgId
150+ in : path
151+ description : The ID of the organization in GUID format
152+ required : true
153+ schema :
154+ type : string
155+ - name : privateSpaceId
156+ in : path
157+ description : The ID of the private space in GUID format
158+ required : true
159+ schema :
160+ type : string
161+ get :
162+ operationId : getPrivateSpaceIamRoles
163+ description : gets the IAM roles for the given private space
164+ responses :
165+ ' 401 ' :
166+ $ref : ' #/components/responses/UnauthorizedError'
167+ ' 403 ' :
168+ $ref : ' #/components/responses/ForbiddenError'
169+ ' 404 ' :
170+ $ref : ' #/components/responses/NotFoundError'
171+ ' 200 ' : # status code
172+ $ref : ' #/components/responses/SuccessGetPrivateSpaceIamRoles'
173+
147174components :
148175 securitySchemes :
149176 bearerAuth : # arbitrary name for the security scheme
@@ -192,6 +219,12 @@ components:
192219 $ref : ' #/components/schemas/PrivateSpace'
193220 SuccessDeletePrivateSpace :
194221 description : Private space deleted
222+ SuccessGetPrivateSpaceIamRoles :
223+ description : IAM roles for the given private space
224+ content :
225+ application/json :
226+ schema :
227+ $ref : ' #/components/schemas/PrivateSpaceIamRoles'
195228
196229 schemas :
197230 PrivateSpaceSummary :
@@ -335,6 +368,21 @@ components:
335368 type : boolean
336369 description : If true, a VPC migration is in progress for the private space.
337370
371+ PrivateSpaceIamRoles :
372+ type : object
373+ properties :
374+ roles :
375+ type : array
376+ items :
377+ type : string
378+ description : The IAM role.
379+ organizationId :
380+ type : string
381+ description : The ID of the organization in GUID format.
382+ spaceId :
383+ type : string
384+ description : The ID of the private space in GUID format.
385+
338386 PrivateSpacePostBody :
339387 title : PrivateSpacePostBody
340388 type : object
@@ -345,7 +393,7 @@ components:
345393 environments :
346394 $ref : ' #/components/schemas/PrivateSpaceAssociatedEnvironments'
347395 network :
348- $ref : ' #/components/schemas/PrivateSpaceNetworkEditable '
396+ $ref : ' #/components/schemas/PrivateSpaceNetworkCreate '
349397 firewallRules :
350398 type : array
351399 description : The list of firewall rules for the Private Space network.
@@ -396,7 +444,7 @@ components:
396444 type : string
397445 description : The business group of the environment.
398446
399- PrivateSpaceNetworkEditable :
447+ PrivateSpaceNetworkCreate :
400448 type : object
401449 properties :
402450 region :
@@ -430,6 +478,34 @@ components:
430478 type : string
431479 description : The reserved CIDR of the Private Space network.
432480
481+ PrivateSpaceNetworkEditable :
482+ type : object
483+ properties :
484+ internalDns :
485+ type : object
486+ description : The internal DNS config of the VPC that the Private Space uses.
487+ properties :
488+ dnsServers :
489+ type : array
490+ items :
491+ type : string
492+ description : The DNS server of the VPC.
493+ specialDomains :
494+ type : array
495+ items :
496+ type : string
497+ description : The special domain of the VPC.
498+ reservedCidrs :
499+ type : array
500+ description : >
501+ The list of reserved CIDR blocks for your private space to prevent IP address overlap.
502+ Required when you want to connect your private space to your corporate network (either on-premises or in the cloud).
503+ Use CIDR notation and commas.
504+ example : ["192.168.0.0/16", "172.16.0.0/12"]
505+ items :
506+ type : string
507+ description : The reserved CIDR of the Private Space network.
508+
433509 PrivateSpaceNetwork :
434510 type : object
435511 description : Private space network configuration
0 commit comments