You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/account/v2/api.py
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,11 +41,13 @@ async def create_project(
41
41
) ->Project:
42
42
"""
43
43
Create a new Project for an Organization.
44
+
Deprecated in favor of Account API v3.
44
45
Generate a new Project for an Organization, specifying its configuration including name and description.
45
46
:param name: Name of the Project.
46
47
:param organization_id: Organization ID of the Project.
47
48
:param description: Description of the Project.
48
49
:return: :class:`Project <Project>`
50
+
:deprecated
49
51
50
52
Usage:
51
53
::
@@ -81,6 +83,7 @@ async def list_projects(
81
83
) ->ListProjectsResponse:
82
84
"""
83
85
List all Projects of an Organization.
86
+
Deprecated in favor of Account API v3.
84
87
List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names and IDs. Other information include the creation and update date of the Project.
85
88
:param organization_id: Organization ID of the Project.
86
89
:param name: Name of the Project.
@@ -89,6 +92,7 @@ async def list_projects(
89
92
:param order_by: Sort order of the returned Projects.
90
93
:param project_ids: Project IDs to filter for. The results will be limited to any Projects with an ID in this array.
List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names and IDs. Other information include the creation and update date of the Project.
129
134
:param organization_id: Organization ID of the Project.
130
135
:param name: Name of the Project.
@@ -133,6 +138,7 @@ async def list_projects_all(
133
138
:param order_by: Sort order of the returned Projects.
134
139
:param project_ids: Project IDs to filter for. The results will be limited to any Projects with an ID in this array.
Retrieve information about an existing Project, specified by its Project ID. Its full details, including ID, name and description, are returned in the response object.
165
172
:param project_id: Project ID of the Project.
166
173
:return: :class:`Project <Project>`
174
+
:deprecated
167
175
168
176
Usage:
169
177
::
@@ -190,8 +198,10 @@ async def delete_project(
190
198
) ->Optional[None]:
191
199
"""
192
200
Delete an existing Project.
201
+
Deprecated in favor of Account API v3.
193
202
Delete an existing Project, specified by its Project ID. The Project needs to be empty (meaning there are no resources left in it) to be deleted effectively. Note that deleting a Project is permanent, and cannot be undone.
194
203
:param project_id: Project ID of the Project.
204
+
:deprecated
195
205
196
206
Usage:
197
207
::
@@ -220,11 +230,13 @@ async def update_project(
220
230
) ->Project:
221
231
"""
222
232
Update Project.
233
+
Deprecated in favor of Account API v3.
223
234
Update the parameters of an existing Project, specified by its Project ID. These parameters include the name and description.
Copy file name to clipboardExpand all lines: scaleway/scaleway/account/v2/api.py
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,11 +41,13 @@ def create_project(
41
41
) ->Project:
42
42
"""
43
43
Create a new Project for an Organization.
44
+
Deprecated in favor of Account API v3.
44
45
Generate a new Project for an Organization, specifying its configuration including name and description.
45
46
:param name: Name of the Project.
46
47
:param organization_id: Organization ID of the Project.
47
48
:param description: Description of the Project.
48
49
:return: :class:`Project <Project>`
50
+
:deprecated
49
51
50
52
Usage:
51
53
::
@@ -81,6 +83,7 @@ def list_projects(
81
83
) ->ListProjectsResponse:
82
84
"""
83
85
List all Projects of an Organization.
86
+
Deprecated in favor of Account API v3.
84
87
List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names and IDs. Other information include the creation and update date of the Project.
85
88
:param organization_id: Organization ID of the Project.
86
89
:param name: Name of the Project.
@@ -89,6 +92,7 @@ def list_projects(
89
92
:param order_by: Sort order of the returned Projects.
90
93
:param project_ids: Project IDs to filter for. The results will be limited to any Projects with an ID in this array.
List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names and IDs. Other information include the creation and update date of the Project.
129
134
:param organization_id: Organization ID of the Project.
130
135
:param name: Name of the Project.
@@ -133,6 +138,7 @@ def list_projects_all(
133
138
:param order_by: Sort order of the returned Projects.
134
139
:param project_ids: Project IDs to filter for. The results will be limited to any Projects with an ID in this array.
Retrieve information about an existing Project, specified by its Project ID. Its full details, including ID, name and description, are returned in the response object.
165
172
:param project_id: Project ID of the Project.
166
173
:return: :class:`Project <Project>`
174
+
:deprecated
167
175
168
176
Usage:
169
177
::
@@ -190,8 +198,10 @@ def delete_project(
190
198
) ->Optional[None]:
191
199
"""
192
200
Delete an existing Project.
201
+
Deprecated in favor of Account API v3.
193
202
Delete an existing Project, specified by its Project ID. The Project needs to be empty (meaning there are no resources left in it) to be deleted effectively. Note that deleting a Project is permanent, and cannot be undone.
194
203
:param project_id: Project ID of the Project.
204
+
:deprecated
195
205
196
206
Usage:
197
207
::
@@ -220,11 +230,13 @@ def update_project(
220
230
) ->Project:
221
231
"""
222
232
Update Project.
233
+
Deprecated in favor of Account API v3.
223
234
Update the parameters of an existing Project, specified by its Project ID. These parameters include the name and description.
0 commit comments