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
@@ -472,6 +513,18 @@ type SnapshotVolumeType struct {
472
513
TypeVolumeType`json:"type"`
473
514
}
474
515
516
+
// UserRole: user role.
517
+
typeUserRolestruct {
518
+
// Role: default value: unknown_role
519
+
RoleUserRoleRole`json:"role"`
520
+
521
+
// Precisely one of Database, AnyDatabase must be set.
522
+
Database*string`json:"database,omitempty"`
523
+
524
+
// Precisely one of Database, AnyDatabase must be set.
525
+
AnyDatabase*bool`json:"any_database,omitempty"`
526
+
}
527
+
475
528
// Setting: setting.
476
529
typeSettingstruct {
477
530
// Name: setting name from the database engine.
@@ -646,6 +699,9 @@ type Snapshot struct {
646
699
typeUserstruct {
647
700
// Name: name of the user (Length must be between 1 and 63 characters. First character must be an alphabet character (a-zA-Z). Only a-zA-Z0-9_$- characters are accepted).
648
701
Namestring`json:"name"`
702
+
703
+
// Roles: list of roles assigned to the user, along with the corresponding database where each role is granted.
704
+
Roles []*UserRole`json:"roles"`
649
705
}
650
706
651
707
// Version: version.
@@ -1069,6 +1125,21 @@ type RestoreSnapshotRequest struct {
// DeleteEndpoint: Delete the endpoint of a Database Instance. You must specify the `endpoint_id` parameter of the endpoint you want to delete. Note that you might need to update any environment configurations that point to the deleted endpoint.
0 commit comments