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: api/rdb/v1/rdb_sdk.go
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1815,7 +1815,7 @@ type CreateInstanceRequest struct {
1815
1815
// UserName: username created when the Database Instance is created.
1816
1816
UserNamestring`json:"user_name"`
1817
1817
1818
-
// Password: password of the user.
1818
+
// Password: password of the user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character.
1819
1819
Passwordstring`json:"password"`
1820
1820
1821
1821
// NodeType: type of node to use for the Database Instance.
@@ -1903,7 +1903,7 @@ type CreateUserRequest struct {
1903
1903
// Name: name of the user you want to create.
1904
1904
Namestring`json:"name"`
1905
1905
1906
-
// Password: password of the user you want to create.
1906
+
// Password: password of the user you want to create. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character.
1907
1907
Passwordstring`json:"password"`
1908
1908
1909
1909
// IsAdmin: defines whether the user will have administrative privileges.
@@ -2811,7 +2811,7 @@ type UpdateUserRequest struct {
2811
2811
// Name: name of the database user.
2812
2812
Namestring`json:"-"`
2813
2813
2814
-
// Password: password of the database user.
2814
+
// Password: password of the database user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character.
2815
2815
Password*string`json:"password,omitempty"`
2816
2816
2817
2817
// IsAdmin: defines whether or not this user got administrative privileges.
0 commit comments