Skip to content

Commit a932ec0

Browse files
OAS Update
1 parent 01adc13 commit a932ec0

3 files changed

Lines changed: 468 additions & 250 deletions

File tree

services/iaas/v2/iaas.json

Lines changed: 117 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,6 +1683,14 @@
16831683
"CreateSnapshotPayload": {
16841684
"description": "Object that represents a snapshot.",
16851685
"properties": {
1686+
"availabilityZone": {
1687+
"allOf": [
1688+
{
1689+
"$ref": "#/components/schemas/AvailabilityZone"
1690+
}
1691+
],
1692+
"readOnly": true
1693+
},
16861694
"createdAt": {
16871695
"allOf": [
16881696
{
@@ -2943,7 +2951,7 @@
29432951
"type": "object"
29442952
},
29452953
"NetworkRange": {
2946-
"description": "Object that represents a network range.",
2954+
"description": "Object that represents a network range of a network area.",
29472955
"properties": {
29482956
"createdAt": {
29492957
"allOf": [
@@ -2979,7 +2987,7 @@
29792987
"type": "object"
29802988
},
29812989
"NetworkRangeList": {
2982-
"description": "A list of network ranges.",
2990+
"description": "A list of network area network ranges.",
29832991
"items": {
29842992
"$ref": "#/components/schemas/NetworkRange"
29852993
},
@@ -2988,7 +2996,7 @@
29882996
"type": "array"
29892997
},
29902998
"NetworkRangeListResponse": {
2991-
"description": "Network Range list response.",
2999+
"description": "Network Range list response of a network area.",
29923000
"properties": {
29933001
"items": {
29943002
"$ref": "#/components/schemas/NetworkRangeList"
@@ -4488,6 +4496,14 @@
44884496
"Snapshot": {
44894497
"description": "Object that represents a snapshot.",
44904498
"properties": {
4499+
"availabilityZone": {
4500+
"allOf": [
4501+
{
4502+
"$ref": "#/components/schemas/AvailabilityZone"
4503+
}
4504+
],
4505+
"readOnly": true
4506+
},
44914507
"createdAt": {
44924508
"allOf": [
44934509
{
@@ -8005,6 +8021,99 @@
80058021
}
80068022
}
80078023
},
8024+
"/v2/projects/{projectId}/regions/{region}/images/{imageId}/publish": {
8025+
"delete": {
8026+
"description": "Update the scope property of an existing Image inside a project to local.",
8027+
"operationId": "UpdateImageScopeLocal",
8028+
"responses": {
8029+
"200": {
8030+
"content": {
8031+
"application/json": {
8032+
"schema": {
8033+
"$ref": "#/components/schemas/Image"
8034+
}
8035+
}
8036+
},
8037+
"description": "Response to update image-scope to local. Provide the updated image object."
8038+
},
8039+
"400": {
8040+
"$ref": "#/components/responses/BadRequest"
8041+
},
8042+
"401": {
8043+
"$ref": "#/components/responses/Unauthorized"
8044+
},
8045+
"403": {
8046+
"$ref": "#/components/responses/Forbidden"
8047+
},
8048+
"404": {
8049+
"$ref": "#/components/responses/NotFound"
8050+
},
8051+
"500": {
8052+
"$ref": "#/components/responses/InternalServerError"
8053+
}
8054+
},
8055+
"summary": "Update Image Scope to Local.",
8056+
"x-stackit-authorization": {
8057+
"actions": [
8058+
"iaas.image.publish.delete"
8059+
],
8060+
"resource-id": "projectId",
8061+
"resource-id-type": "dynamic",
8062+
"resource-type": "project"
8063+
}
8064+
},
8065+
"parameters": [
8066+
{
8067+
"$ref": "#/components/parameters/v1ProjectID"
8068+
},
8069+
{
8070+
"$ref": "#/components/parameters/v1Region"
8071+
},
8072+
{
8073+
"$ref": "#/components/parameters/v1ImageID"
8074+
}
8075+
],
8076+
"put": {
8077+
"description": "Update the scope property of an existing Image inside a project to public.",
8078+
"operationId": "UpdateImageScopePublic",
8079+
"responses": {
8080+
"200": {
8081+
"content": {
8082+
"application/json": {
8083+
"schema": {
8084+
"$ref": "#/components/schemas/Image"
8085+
}
8086+
}
8087+
},
8088+
"description": "Response to update image-scope to public. Provide the updated image object."
8089+
},
8090+
"400": {
8091+
"$ref": "#/components/responses/BadRequest"
8092+
},
8093+
"401": {
8094+
"$ref": "#/components/responses/Unauthorized"
8095+
},
8096+
"403": {
8097+
"$ref": "#/components/responses/Forbidden"
8098+
},
8099+
"404": {
8100+
"$ref": "#/components/responses/NotFound"
8101+
},
8102+
"500": {
8103+
"$ref": "#/components/responses/InternalServerError"
8104+
}
8105+
},
8106+
"summary": "Update Image Scope to Public.",
8107+
"x-stackit-authorization": {
8108+
"actions": [
8109+
"iaas.image.publish.create"
8110+
],
8111+
"resource-id": "projectId",
8112+
"resource-id-type": "dynamic",
8113+
"resource-type": "project"
8114+
}
8115+
}
8116+
},
80088117
"/v2/projects/{projectId}/regions/{region}/images/{imageId}/share": {
80098118
"delete": {
80108119
"description": "Remove the image share. New scope will be local.",
@@ -11013,7 +11122,7 @@
1101311122
},
1101411123
"/v2/projects/{projectId}/regions/{region}/servers/{serverId}/service-accounts": {
1101511124
"get": {
11016-
"description": "Get the list of the service accounts of the server.",
11125+
"description": "Get service account of the server in a list.",
1101711126
"operationId": "ListServerServiceAccounts",
1101811127
"responses": {
1101911128
"200": {
@@ -11024,7 +11133,7 @@
1102411133
}
1102511134
}
1102611135
},
11027-
"description": "List service accounts."
11136+
"description": "List service account."
1102811137
},
1102911138
"400": {
1103011139
"$ref": "#/components/responses/BadRequest"
@@ -11042,7 +11151,7 @@
1104211151
"$ref": "#/components/responses/InternalServerError"
1104311152
}
1104411153
},
11045-
"summary": "List all service accounts of the Server.",
11154+
"summary": "List the service account of the Server.",
1104611155
"x-stackit-authorization": {
1104711156
"actions": [
1104811157
"iaas.server.service-account.list"
@@ -11066,7 +11175,7 @@
1106611175
},
1106711176
"/v2/projects/{projectId}/regions/{region}/servers/{serverId}/service-accounts/{serviceAccountMail}": {
1106811177
"delete": {
11069-
"description": "Detach an additional service account from the server.",
11178+
"description": "Detach a service account from the server.",
1107011179
"operationId": "RemoveServiceAccountFromServer",
1107111180
"responses": {
1107211181
"200": {
@@ -11123,7 +11232,7 @@
1112311232
}
1112411233
],
1112511234
"put": {
11126-
"description": "Attach an additional service account to the server.",
11235+
"description": "Attach a service account to the server.",
1112711236
"operationId": "AddServiceAccountToServer",
1112811237
"responses": {
1112911238
"201": {

services/iaas/v2alpha1/iaas.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@
13921392
},
13931393
"/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/networks": {
13941394
"get": {
1395-
"description": "Get a list of all networks in a routing table.",
1395+
"description": "Get a list of all networks in a routing table of a network area.",
13961396
"operationId": "ListNetworksOfRoutingTable",
13971397
"responses": {
13981398
"200": {
@@ -1448,7 +1448,7 @@
14481448
},
14491449
"/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes": {
14501450
"get": {
1451-
"description": "Get a list of all routes in a routing table.",
1451+
"description": "Get a list of all routes in a routing table of a network area.",
14521452
"operationId": "ListRoutesOfRoutingTable",
14531453
"parameters": [
14541454
{
@@ -1507,7 +1507,7 @@
15071507
}
15081508
],
15091509
"post": {
1510-
"description": "Create new routes in an existing routing table.",
1510+
"description": "Create new routes in an existing routing table of a network area.",
15111511
"operationId": "AddRoutesToRoutingTable",
15121512
"requestBody": {
15131513
"content": {
@@ -1563,7 +1563,7 @@
15631563
},
15641564
"/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes/{routeId}": {
15651565
"delete": {
1566-
"description": "Delete a route in an existing routing table.",
1566+
"description": "Delete a route in an existing routing table of a network area.",
15671567
"operationId": "DeleteRouteFromRoutingTable",
15681568
"responses": {
15691569
"204": {
@@ -1596,7 +1596,7 @@
15961596
}
15971597
},
15981598
"get": {
1599-
"description": "Get details about a route defined in a routing table.",
1599+
"description": "Get details about a route defined in a routing table of a network area.",
16001600
"operationId": "GetRouteOfRoutingTable",
16011601
"responses": {
16021602
"200": {
@@ -1653,7 +1653,7 @@
16531653
}
16541654
],
16551655
"patch": {
1656-
"description": "Update a route defined in a routing table.",
1656+
"description": "Update a route defined in a routing table of a network area.",
16571657
"operationId": "UpdateRouteOfRoutingTable",
16581658
"requestBody": {
16591659
"content": {

0 commit comments

Comments
 (0)