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/secret/v1beta1/api.py
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -242,6 +242,7 @@ async def delete_secret(
242
242
asyncdeflist_secrets(
243
243
self,
244
244
*,
245
+
scheduled_for_deletion: bool,
245
246
region: Optional[ScwRegion] =None,
246
247
organization_id: Optional[str] =None,
247
248
project_id: Optional[str] =None,
@@ -253,11 +254,11 @@ async def list_secrets(
253
254
path: Optional[str] =None,
254
255
ephemeral: Optional[bool] =None,
255
256
type_: Optional[SecretType] =None,
256
-
scheduled_for_deletion: Optional[bool] =None,
257
257
) ->ListSecretsResponse:
258
258
"""
259
259
List secrets.
260
260
Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
261
+
:param scheduled_for_deletion: Filter by whether the secret was scheduled for deletion / not scheduled for deletion. By default, it will display only not scheduled for deletion secrets.
261
262
:param region: Region to target. If none is passed will use default region from the config.
262
263
:param organization_id: Filter by Organization ID (optional).
263
264
:param project_id: Filter by Project ID (optional).
@@ -269,13 +270,14 @@ async def list_secrets(
269
270
:param path: Filter by exact path (optional).
270
271
:param ephemeral: Filter by ephemeral / not ephemeral (optional).
271
272
:param type_: Filter by secret type (optional).
272
-
:param scheduled_for_deletion: Filter by whether the secret was scheduled for deletion / not scheduled for deletion (optional).
Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
328
+
:param scheduled_for_deletion: Filter by whether the secret was scheduled for deletion / not scheduled for deletion. By default, it will display only not scheduled for deletion secrets.
326
329
:param region: Region to target. If none is passed will use default region from the config.
327
330
:param organization_id: Filter by Organization ID (optional).
328
331
:param project_id: Filter by Project ID (optional).
@@ -334,20 +337,22 @@ async def list_secrets_all(
334
337
:param path: Filter by exact path (optional).
335
338
:param ephemeral: Filter by ephemeral / not ephemeral (optional).
336
339
:param type_: Filter by secret type (optional).
337
-
:param scheduled_for_deletion: Filter by whether the secret was scheduled for deletion / not scheduled for deletion (optional).
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/secret/v1beta1/types.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -758,6 +758,11 @@ class ListSecretVersionsResponse:
758
758
759
759
@dataclass
760
760
classListSecretsRequest:
761
+
scheduled_for_deletion: bool
762
+
"""
763
+
Filter by whether the secret was scheduled for deletion / not scheduled for deletion. By default, it will display only not scheduled for deletion secrets.
764
+
"""
765
+
761
766
region: Optional[ScwRegion]
762
767
"""
763
768
Region to target. If none is passed will use default region from the config.
@@ -804,11 +809,6 @@ class ListSecretsRequest:
804
809
Filter by secret type (optional).
805
810
"""
806
811
807
-
scheduled_for_deletion: Optional[bool]
808
-
"""
809
-
Filter by whether the secret was scheduled for deletion / not scheduled for deletion (optional).
Copy file name to clipboardExpand all lines: scaleway/scaleway/secret/v1beta1/api.py
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -242,6 +242,7 @@ def delete_secret(
242
242
deflist_secrets(
243
243
self,
244
244
*,
245
+
scheduled_for_deletion: bool,
245
246
region: Optional[ScwRegion] =None,
246
247
organization_id: Optional[str] =None,
247
248
project_id: Optional[str] =None,
@@ -253,11 +254,11 @@ def list_secrets(
253
254
path: Optional[str] =None,
254
255
ephemeral: Optional[bool] =None,
255
256
type_: Optional[SecretType] =None,
256
-
scheduled_for_deletion: Optional[bool] =None,
257
257
) ->ListSecretsResponse:
258
258
"""
259
259
List secrets.
260
260
Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
261
+
:param scheduled_for_deletion: Filter by whether the secret was scheduled for deletion / not scheduled for deletion. By default, it will display only not scheduled for deletion secrets.
261
262
:param region: Region to target. If none is passed will use default region from the config.
262
263
:param organization_id: Filter by Organization ID (optional).
263
264
:param project_id: Filter by Project ID (optional).
@@ -269,13 +270,14 @@ def list_secrets(
269
270
:param path: Filter by exact path (optional).
270
271
:param ephemeral: Filter by ephemeral / not ephemeral (optional).
271
272
:param type_: Filter by secret type (optional).
272
-
:param scheduled_for_deletion: Filter by whether the secret was scheduled for deletion / not scheduled for deletion (optional).
Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
328
+
:param scheduled_for_deletion: Filter by whether the secret was scheduled for deletion / not scheduled for deletion. By default, it will display only not scheduled for deletion secrets.
326
329
:param region: Region to target. If none is passed will use default region from the config.
327
330
:param organization_id: Filter by Organization ID (optional).
328
331
:param project_id: Filter by Project ID (optional).
@@ -334,20 +337,22 @@ def list_secrets_all(
334
337
:param path: Filter by exact path (optional).
335
338
:param ephemeral: Filter by ephemeral / not ephemeral (optional).
336
339
:param type_: Filter by secret type (optional).
337
-
:param scheduled_for_deletion: Filter by whether the secret was scheduled for deletion / not scheduled for deletion (optional).
Copy file name to clipboardExpand all lines: scaleway/scaleway/secret/v1beta1/types.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -758,6 +758,11 @@ class ListSecretVersionsResponse:
758
758
759
759
@dataclass
760
760
classListSecretsRequest:
761
+
scheduled_for_deletion: bool
762
+
"""
763
+
Filter by whether the secret was scheduled for deletion / not scheduled for deletion. By default, it will display only not scheduled for deletion secrets.
764
+
"""
765
+
761
766
region: Optional[ScwRegion]
762
767
"""
763
768
Region to target. If none is passed will use default region from the config.
@@ -804,11 +809,6 @@ class ListSecretsRequest:
804
809
Filter by secret type (optional).
805
810
"""
806
811
807
-
scheduled_for_deletion: Optional[bool]
808
-
"""
809
-
Filter by whether the secret was scheduled for deletion / not scheduled for deletion (optional).
0 commit comments