@@ -30,13 +30,16 @@ Database RDB API
30
30
- [ Get an instance] ( #get-an-instance )
31
31
- [ Get the TLS certificate of an instance] ( #get-the-tls-certificate-of-an-instance )
32
32
- [ List instances] ( #list-instances )
33
+ - [ Renew the TLS certificate of an instance] ( #renew-the-tls-certificate-of-an-instance )
33
34
- [ Update an instance] ( #update-an-instance )
34
35
- [ Upgrade an instance to an higher instance type] ( #upgrade-an-instance-to-an-higher-instance-type )
35
36
- [ Wait for an instance to reach a stable state] ( #wait-for-an-instance-to-reach-a-stable-state )
36
37
- [ Instance logs management commands] ( #instance-logs-management-commands )
37
38
- [ Get specific logs of a given instance] ( #get-specific-logs-of-a-given-instance )
38
39
- [ List available logs of a given instance] ( #list-available-logs-of-a-given-instance )
40
+ - [ List remote instances logs details] ( #list-remote-instances-logs-details )
39
41
- [ Prepare logs of a given instance] ( #prepare-logs-of-a-given-instance )
42
+ - [ Purge remote instances logs] ( #purge-remote-instances-logs )
40
43
- [ Node types management commands] ( #node-types-management-commands )
41
44
- [ List available node types] ( #list-available-node-types )
42
45
- [ User privileges management commands] ( #user-privileges-management-commands )
@@ -64,7 +67,7 @@ Network Access Control List allows to control network in and out traffic by sett
64
67
65
68
### Add an ACL instance to a given instance
66
69
67
- Add an ACL instance to a given instance.
70
+ Add an additional ACL rule to a database instance.
68
71
69
72
** Usage:**
70
73
@@ -610,6 +613,26 @@ scw rdb instance list [arg=value ...]
610
613
611
614
612
615
616
+ ### Renew the TLS certificate of an instance
617
+
618
+ Renew the TLS certificate of an instance.
619
+
620
+ ** Usage:**
621
+
622
+ ```
623
+ scw rdb instance renew-certificate <instance-id ...> [arg=value ...]
624
+ ```
625
+
626
+
627
+ ** Args:**
628
+
629
+ | Name | | Description |
630
+ | ------| ---| -------------|
631
+ | instance-id | Required | UUID of the instance you want logs of |
632
+ | region | Default: ` fr-par ` <br />One of: ` fr-par ` , ` nl-ams ` , ` pl-waw ` | Region to target. If none is passed will use default region from the config |
633
+
634
+
635
+
613
636
### Update an instance
614
637
615
638
Update an instance.
@@ -631,6 +654,8 @@ scw rdb instance update <instance-id ...> [arg=value ...]
631
654
| name | | Name of the instance |
632
655
| instance-id | Required | UUID of the instance to update |
633
656
| tags.{index} | | Tags of a given instance |
657
+ | logs-policy.max-age-retention | | Max age of remote logs to keep on the database instance |
658
+ | logs-policy.total-disk-retention | | Max disk size of remote logs to keep on the database instance |
634
659
| region | Default: ` fr-par ` <br />One of: ` fr-par ` , ` nl-ams ` , ` pl-waw ` | Region to target. If none is passed will use default region from the config |
635
660
636
661
@@ -735,6 +760,26 @@ scw rdb log list [arg=value ...]
735
760
736
761
737
762
763
+ ### List remote instances logs details
764
+
765
+ List remote instances logs details.
766
+
767
+ ** Usage:**
768
+
769
+ ```
770
+ scw rdb log list-details [arg=value ...]
771
+ ```
772
+
773
+
774
+ ** Args:**
775
+
776
+ | Name | | Description |
777
+ | ------| ---| -------------|
778
+ | instance-id | Required | UUID of the instance you want logs of |
779
+ | region | Default: ` fr-par ` <br />One of: ` fr-par ` , ` nl-ams ` , ` pl-waw ` | Region to target. If none is passed will use default region from the config |
780
+
781
+
782
+
738
783
### Prepare logs of a given instance
739
784
740
785
Prepare your instance logs. Logs will be grouped on a minimum interval of a day.
@@ -757,6 +802,27 @@ scw rdb log prepare [arg=value ...]
757
802
758
803
759
804
805
+ ### Purge remote instances logs
806
+
807
+ Purge remote instances logs.
808
+
809
+ ** Usage:**
810
+
811
+ ```
812
+ scw rdb log purge [arg=value ...]
813
+ ```
814
+
815
+
816
+ ** Args:**
817
+
818
+ | Name | | Description |
819
+ | ------| ---| -------------|
820
+ | instance-id | Required | UUID of the instance you want logs of |
821
+ | log-name | | Specific log name to purge |
822
+ | region | Default: ` fr-par ` <br />One of: ` fr-par ` , ` nl-ams ` , ` pl-waw ` | Region to target. If none is passed will use default region from the config |
823
+
824
+
825
+
760
826
## Node types management commands
761
827
762
828
Node types powering your instance
0 commit comments