Skip to content

Commit d53c898

Browse files
committed
docs: links and docs
1 parent 323698e commit d53c898

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

hcloud/storage_boxes/client.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def get_actions_list(
6767
"""
6868
Returns all Actions for the Storage Box for a specific page.
6969
70-
See https://docs.hetzner.cloud/reference/hetzner#TODO
70+
See https://docs.hetzner.cloud/reference/hetzner#storage-box-actions-list-actions
7171
7272
:param status: Filter the actions by status. The response will only contain actions matching the specified statuses.
7373
:param sort: Sort resources by field and direction.
@@ -91,7 +91,7 @@ def get_actions(
9191
"""
9292
Returns all Actions for the Storage Box.
9393
94-
See https://docs.hetzner.cloud/reference/hetzner#TODO
94+
See https://docs.hetzner.cloud/reference/hetzner#storage-box-actions-list-actions
9595
9696
:param status: Filter the actions by status. The response will only contain actions matching the specified statuses.
9797
:param sort: Sort resources by field and direction.
@@ -295,7 +295,7 @@ def delete(
295295
"""
296296
Deletes a Storage Box.
297297
298-
See https://docs.hetzner.cloud/reference/hetzner#storage-boxes-delete-storage-box
298+
See https://docs.hetzner.cloud/reference/hetzner#storage-boxes-delete-a-storage-box
299299
300300
:param storage_box: Storage Box to delete.
301301
"""
@@ -318,7 +318,7 @@ def get_folders(
318318
319319
Files are not part of the response.
320320
321-
See https://docs.hetzner.cloud/reference/hetzner#storage-boxes-list-content-of-storage-box
321+
See https://docs.hetzner.cloud/reference/hetzner#storage-boxes-list-folders-of-a-storage-box
322322
323323
:param storage_box: Storage Box to list the folders from.
324324
:param path: Relative path to list the folders from.
@@ -407,7 +407,7 @@ def change_protection(
407407
"""
408408
Changes the protection of a Storage Box.
409409
410-
See https://docs.hetzner.cloud/reference/cloud#TODO
410+
See https://docs.hetzner.cloud/reference/hetzner#storage-box-actions-change-protection
411411
412412
:param storage_box: Storage Box to update.
413413
:param delete: Prevents the Storage Box from being deleted.
@@ -431,10 +431,10 @@ def change_type(
431431
"""
432432
Changes the type of a Storage Box.
433433
434-
See https://docs.hetzner.cloud/reference/cloud#TODO
434+
See https://docs.hetzner.cloud/reference/hetzner#storage-box-actions-change-type
435435
436436
:param storage_box: Storage Box to update.
437-
:param storage_box_type: Type of Storage Box to change to.
437+
:param storage_box_type: Storage Box Type to change to.
438438
"""
439439
data: dict[str, Any] = {
440440
"storage_box_type": storage_box_type.id_or_name,
@@ -456,10 +456,10 @@ def reset_password(
456456
"""
457457
Reset the password of a Storage Box.
458458
459-
See https://docs.hetzner.cloud/reference/cloud#TODO
459+
See https://docs.hetzner.cloud/reference/hetzner#storage-box-actions-reset-password
460460
461461
:param storage_box: Storage Box to update.
462-
:param password: Password for the Storage Box.
462+
:param password: New password.
463463
"""
464464
data: dict[str, Any] = {
465465
"password": password,
@@ -480,10 +480,10 @@ def update_access_settings(
480480
"""
481481
Reset the password of a Storage Box.
482482
483-
See https://docs.hetzner.cloud/reference/cloud#TODO
483+
See https://docs.hetzner.cloud/reference/hetzner#storage-box-actions-update-access-settings
484484
485485
:param storage_box: Storage Box to update.
486-
:param access_settings: Access settings for the Storage Box.
486+
:param access_settings: New access settings for the Storage Box.
487487
"""
488488
data: dict[str, Any] = access_settings.to_payload()
489489

@@ -504,7 +504,7 @@ def rollback_snapshot(
504504
"""
505505
Rollback the Storage Box to the given snapshot.
506506
507-
See https://docs.hetzner.cloud/reference/cloud#TODO
507+
See https://docs.hetzner.cloud/reference/hetzner#storage-box-actions-rollback-snapshot
508508
509509
:param storage_box: Storage Box to update.
510510
:param snapshot: Snapshot to rollback to.
@@ -527,7 +527,7 @@ def disable_snapshot_plan(
527527
"""
528528
Disable the snapshot plan a Storage Box.
529529
530-
See https://docs.hetzner.cloud/reference/cloud#TODO
530+
See https://docs.hetzner.cloud/reference/hetzner#storage-box-actions-disable-snapshot-plan
531531
532532
:param storage_box: Storage Box to update.
533533
"""
@@ -545,7 +545,7 @@ def enable_snapshot_plan(
545545
"""
546546
Enable the snapshot plan a Storage Box.
547547
548-
See https://docs.hetzner.cloud/reference/cloud#TODO
548+
See https://docs.hetzner.cloud/reference/hetzner#storage-box-actions-enable-snapshot-plan
549549
550550
:param storage_box: Storage Box to update.
551551
:param snapshot_plan: Snapshot Plan to enable.

0 commit comments

Comments
 (0)