|
1683 | 1683 | "CreateSnapshotPayload": { |
1684 | 1684 | "description": "Object that represents a snapshot.", |
1685 | 1685 | "properties": { |
| 1686 | + "availabilityZone": { |
| 1687 | + "allOf": [ |
| 1688 | + { |
| 1689 | + "$ref": "#/components/schemas/AvailabilityZone" |
| 1690 | + } |
| 1691 | + ], |
| 1692 | + "readOnly": true |
| 1693 | + }, |
1686 | 1694 | "createdAt": { |
1687 | 1695 | "allOf": [ |
1688 | 1696 | { |
|
2943 | 2951 | "type": "object" |
2944 | 2952 | }, |
2945 | 2953 | "NetworkRange": { |
2946 | | - "description": "Object that represents a network range.", |
| 2954 | + "description": "Object that represents a network range of a network area.", |
2947 | 2955 | "properties": { |
2948 | 2956 | "createdAt": { |
2949 | 2957 | "allOf": [ |
|
2979 | 2987 | "type": "object" |
2980 | 2988 | }, |
2981 | 2989 | "NetworkRangeList": { |
2982 | | - "description": "A list of network ranges.", |
| 2990 | + "description": "A list of network area network ranges.", |
2983 | 2991 | "items": { |
2984 | 2992 | "$ref": "#/components/schemas/NetworkRange" |
2985 | 2993 | }, |
|
2988 | 2996 | "type": "array" |
2989 | 2997 | }, |
2990 | 2998 | "NetworkRangeListResponse": { |
2991 | | - "description": "Network Range list response.", |
| 2999 | + "description": "Network Range list response of a network area.", |
2992 | 3000 | "properties": { |
2993 | 3001 | "items": { |
2994 | 3002 | "$ref": "#/components/schemas/NetworkRangeList" |
|
4488 | 4496 | "Snapshot": { |
4489 | 4497 | "description": "Object that represents a snapshot.", |
4490 | 4498 | "properties": { |
| 4499 | + "availabilityZone": { |
| 4500 | + "allOf": [ |
| 4501 | + { |
| 4502 | + "$ref": "#/components/schemas/AvailabilityZone" |
| 4503 | + } |
| 4504 | + ], |
| 4505 | + "readOnly": true |
| 4506 | + }, |
4491 | 4507 | "createdAt": { |
4492 | 4508 | "allOf": [ |
4493 | 4509 | { |
|
8005 | 8021 | } |
8006 | 8022 | } |
8007 | 8023 | }, |
| 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 | + }, |
8008 | 8117 | "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share": { |
8009 | 8118 | "delete": { |
8010 | 8119 | "description": "Remove the image share. New scope will be local.", |
|
11013 | 11122 | }, |
11014 | 11123 | "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/service-accounts": { |
11015 | 11124 | "get": { |
11016 | | - "description": "Get the list of the service accounts of the server.", |
| 11125 | + "description": "Get service account of the server in a list.", |
11017 | 11126 | "operationId": "ListServerServiceAccounts", |
11018 | 11127 | "responses": { |
11019 | 11128 | "200": { |
|
11024 | 11133 | } |
11025 | 11134 | } |
11026 | 11135 | }, |
11027 | | - "description": "List service accounts." |
| 11136 | + "description": "List service account." |
11028 | 11137 | }, |
11029 | 11138 | "400": { |
11030 | 11139 | "$ref": "#/components/responses/BadRequest" |
|
11042 | 11151 | "$ref": "#/components/responses/InternalServerError" |
11043 | 11152 | } |
11044 | 11153 | }, |
11045 | | - "summary": "List all service accounts of the Server.", |
| 11154 | + "summary": "List the service account of the Server.", |
11046 | 11155 | "x-stackit-authorization": { |
11047 | 11156 | "actions": [ |
11048 | 11157 | "iaas.server.service-account.list" |
|
11066 | 11175 | }, |
11067 | 11176 | "/v2/projects/{projectId}/regions/{region}/servers/{serverId}/service-accounts/{serviceAccountMail}": { |
11068 | 11177 | "delete": { |
11069 | | - "description": "Detach an additional service account from the server.", |
| 11178 | + "description": "Detach a service account from the server.", |
11070 | 11179 | "operationId": "RemoveServiceAccountFromServer", |
11071 | 11180 | "responses": { |
11072 | 11181 | "200": { |
|
11123 | 11232 | } |
11124 | 11233 | ], |
11125 | 11234 | "put": { |
11126 | | - "description": "Attach an additional service account to the server.", |
| 11235 | + "description": "Attach a service account to the server.", |
11127 | 11236 | "operationId": "AddServiceAccountToServer", |
11128 | 11237 | "responses": { |
11129 | 11238 | "201": { |
|
0 commit comments