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: openapi.yaml
+36-43Lines changed: 36 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -2987,6 +2987,7 @@ paths:
2987
2987
"global": {
2988
2988
"add_linodes": true,
2989
2989
"add_nodebalancers": false,
2990
+
"add_databases": true;
2990
2991
"add_domains": true,
2991
2992
"add_longview": false,
2992
2993
"add_stackscripts": true,
@@ -3214,9 +3215,7 @@ paths:
3214
3215
- $ref: '#/components/parameters/pageOffset'
3215
3216
- $ref: '#/components/parameters/pageSize'
3216
3217
description: |
3217
-
Display all accessible Managed Databases on your Account, regardless of engine type.
3218
-
3219
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3218
+
Display all Managed Databases that are accessible by your User, regardless of engine type.
3220
3219
3221
3220
For more detailed information on a particular Database instance, make a request to its `instance_uri`.
3222
3221
security:
@@ -3258,11 +3257,9 @@ paths:
3258
3257
- url: https://api.linode.com/v4
3259
3258
- url: https://api.linode.com/v4beta
3260
3259
x-linode-cli-action: mysql-list
3261
-
x-linode-grant: unrestricted only
3260
+
x-linode-grant: read_only
3262
3261
description: |
3263
-
Display all accessible Managed MySQL Databases on your Account.
3264
-
3265
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3262
+
Display all accessible Managed MySQL Databases.
3266
3263
security:
3267
3264
- personalAccessToken: []
3268
3265
- oauth:
@@ -3300,11 +3297,11 @@ paths:
3300
3297
- url: https://api.linode.com/v4
3301
3298
- url: https://api.linode.com/v4beta
3302
3299
x-linode-cli-action: mysql-create
3303
-
x-linode-grant: unrestricted only
3300
+
x-linode-grant: add_databases
3304
3301
description: |
3305
3302
Provision a Managed MySQL Database.
3306
3303
3307
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3304
+
Restricted Users must have the `add_databases` grant to use this command.
3308
3305
3309
3306
New instances can take approximately 15 to 30 minutes to provision.
3310
3307
@@ -3399,11 +3396,9 @@ paths:
3399
3396
- url: https://api.linode.com/v4
3400
3397
- url: https://api.linode.com/v4beta
3401
3398
x-linode-cli-action: mysql-view
3402
-
x-linode-grant: unrestricted only
3399
+
x-linode-grant: read_only
3403
3400
description: |
3404
-
Display information for a single, accessible Managed MySQL Database on your Account.
3405
-
3406
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3401
+
Display information for a single, accessible Managed MySQL Database.
3407
3402
security:
3408
3403
- personalAccessToken: []
3409
3404
- oauth:
@@ -3434,10 +3429,12 @@ paths:
3434
3429
- url: https://api.linode.com/v4
3435
3430
- url: https://api.linode.com/v4beta
3436
3431
x-linode-cli-action: mysql-delete
3437
-
x-linode-grant: unrestricted only
3432
+
x-linode-grant: read_write
3438
3433
description: |
3439
3434
Remove a Managed MySQL Database from your Account.
3440
3435
3436
+
Requires `read_write` access to the Database.
3437
+
3441
3438
The Database must have an `active`, `failed`, or `degraded` status to perform this command.
3442
3439
3443
3440
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
@@ -3472,13 +3469,13 @@ paths:
3472
3469
- url: https://api.linode.com/v4
3473
3470
- url: https://api.linode.com/v4beta
3474
3471
x-linode-cli-action: mysql-update
3475
-
x-linode-grant: unrestricted only
3472
+
x-linode-grant: read_write
3476
3473
description: |
3477
3474
Update a Managed MySQL Database.
3478
3475
3479
-
The Database must have an `active` status to perform this command.
3476
+
Requires `read_write` access to the Database.
3480
3477
3481
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3478
+
The Database must have an `active` status to perform this command.
3482
3479
3483
3480
Updating addresses in the `allow_list` overwrites any existing addresses.
3484
3481
@@ -3570,14 +3567,12 @@ paths:
3570
3567
- url: https://api.linode.com/v4
3571
3568
- url: https://api.linode.com/v4beta
3572
3569
x-linode-cli-action: mysql-backups-list
3573
-
x-linode-grant: unrestricted only
3570
+
x-linode-grant: read_only
3574
3571
description: |
3575
-
Display all backups for an accessible Managed MySQL Database on your Account.
3572
+
Display all backups for an accessible Managed MySQL Database.
3576
3573
3577
3574
The Database must not be provisioning to perform this command.
3578
3575
3579
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3580
-
3581
3576
Database `auto` type backups are created every 24 hours at 0:00 UTC. Each `auto` backup is retained for 7 days.
3582
3577
3583
3578
Database `snapshot` type backups are created by accessing the **Managed MySQL Database Backup Snapshot Create** ([POST /databases/mysql/instances/{instanceId}/backups](/docs/api/databases/#managed-mysql-database-backup-snapshot-create)) command.
@@ -3618,15 +3613,15 @@ paths:
3618
3613
- url: https://api.linode.com/v4
3619
3614
- url: https://api.linode.com/v4beta
3620
3615
x-linode-cli-action: mysql-backup-snapshot
3621
-
x-linode-grant: unrestricted only
3616
+
x-linode-grant: read_write
3622
3617
description: |
3623
3618
Creates a snapshot backup of a Managed MySQL Database.
3624
3619
3620
+
Requires `read_write` access to the Database.
3621
+
3625
3622
Backups generated by this command have the type `snapshot`. Snapshot backups may take several minutes to complete, after which they will be accessible to view or restore.
3626
3623
3627
3624
The Database must have an `active` status to perform this command.
3628
-
3629
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3630
3625
security:
3631
3626
- personalAccessToken: []
3632
3627
- oauth:
@@ -3709,13 +3704,11 @@ paths:
3709
3704
- url: https://api.linode.com/v4
3710
3705
- url: https://api.linode.com/v4beta
3711
3706
x-linode-cli-action: mysql-backup-view
3712
-
x-linode-grant: unrestricted only
3707
+
x-linode-grant: read_only
3713
3708
description: |
3714
-
Display information for a single backup for an accessible Managed MySQL Database on your Account.
3709
+
Display information for a single backup for an accessible Managed MySQL Database.
3715
3710
3716
3711
The Database must not be provisioning to perform this command.
3717
-
3718
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3719
3712
security:
3720
3713
- personalAccessToken: []
3721
3714
- oauth:
@@ -3799,13 +3792,13 @@ paths:
3799
3792
- url: https://api.linode.com/v4
3800
3793
- url: https://api.linode.com/v4beta
3801
3794
x-linode-cli-action: mysql-backup-restore
3802
-
x-linode-grant: unrestricted only
3795
+
x-linode-grant: read_write
3803
3796
description: |
3804
3797
Restore a backup to a Managed MySQL Database on your Account.
3805
3798
3806
-
The Database must have an `active` status to perform this command.
3799
+
Requires `read_write` access to the Database.
3807
3800
3808
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3801
+
The Database must have an `active` status to perform this command.
3809
3802
3810
3803
**Note**: Restoring from a backup will erase all existing data on the database instance and replace it with backup data.
3811
3804
@@ -3849,13 +3842,11 @@ paths:
3849
3842
- url: https://api.linode.com/v4
3850
3843
- url: https://api.linode.com/v4beta
3851
3844
x-linode-cli-action: mysql-creds-view
3852
-
x-linode-grant: unrestricted only
3845
+
x-linode-grant: read_only
3853
3846
description: |
3854
-
Display the the root username and password for a Managed MySQL Database.
3847
+
Display the the root username and password for an accessible Managed MySQL Database.
3855
3848
3856
3849
The Database must have an `active` status to perform this command.
3857
-
3858
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3859
3850
security:
3860
3851
- personalAccessToken: []
3861
3852
- oauth:
@@ -3895,11 +3886,11 @@ paths:
3895
3886
- url: https://api.linode.com/v4
3896
3887
- url: https://api.linode.com/v4beta
3897
3888
x-linode-cli-action: mysql-creds-reset
3898
-
x-linode-grant: unrestricted only
3889
+
x-linode-grant: read_write
3899
3890
description: |
3900
3891
Reset the root password for a Managed MySQL Database.
3901
3892
3902
-
The Database must have an `active` status to perform this command.
3893
+
Requires `read_write` access to the Database.
3903
3894
3904
3895
A new root password is randomly generated and accessible with the **Managed MySQL Database Credentials View** ([GET /databases/mysql/instances/{instanceId}/credentials](/docs/api/databases/#managed-mysql-database-credentials-view)) command.
3905
3896
@@ -3945,13 +3936,11 @@ paths:
3945
3936
- url: https://api.linode.com/v4
3946
3937
- url: https://api.linode.com/v4beta
3947
3938
x-linode-cli-action: mysql-ssl-cert
3948
-
x-linode-grant: unrestricted only
3939
+
x-linode-grant: read_only
3949
3940
description: |
3950
3941
Display the SSL CA certificate for an accessible Managed MySQL Database.
3951
3942
3952
3943
The Database must have an `active` status to perform this command.
3953
-
3954
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3955
3944
security:
3956
3945
- personalAccessToken: []
3957
3946
- oauth:
@@ -3991,13 +3980,13 @@ paths:
3991
3980
- url: https://api.linode.com/v4
3992
3981
- url: https://api.linode.com/v4beta
3993
3982
x-linode-cli-action: mysql-patch
3994
-
x-linode-grant: unrestricted only
3983
+
x-linode-grant: read_write
3995
3984
description: |
3996
3985
Apply security patches and updates to the underlying operating system of the Managed MySQL Database. This function runs during regular maintenance windows, which are configurable with the **Managed MySQL Database Update** ([PUT /databases/mysql/instances/{instanceId}](/docs/api/databases/#managed-mysql-database-update)) command.
3997
3986
3998
-
The Database must have an `active` status to perform this command.
3987
+
Requires `read_write` access to the Database.
3999
3988
4000
-
Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.
3989
+
The Database must have an `active` status to perform this command.
4001
3990
4002
3991
**Note**
4003
3992
@@ -19698,6 +19687,10 @@ components:
19698
19687
type: boolean
19699
19688
description: If true, this User may add Firewalls.
19700
19689
example: true
19690
+
add_databases:
19691
+
type: boolean
19692
+
description: if true, this User may add Managed Databases.
0 commit comments