yandex_mdb_mysql_user_v2 (DataSource)
Статья создана
Обновлена 23 сентября 2026 г.
Get information about a Yandex Managed MySQL user.
Arguments & Attributes Reference
authentication_plugin(Read-Only) (String). Authentication plugincluster_id(Required)(String). The ID of the MySQL clusterconnection_manager(Read-Only) (Map Of String). Connection Manager connection configurationdeletion_protection_mode(Read-Only) (String). Deletion Protection inhibits deletion of the usergenerate_password(Read-Only) (Bool). Generate password using Connection Managerglobal_permissions(Read-Only) (Set Of String). List of the user's global permissionsid(Read-Only) (String). The resource identifier in format<cluster_id>:<user_name>name(Required)(String). The name of the userpassword(Read-Only) (String). The password of the usertimeouts[Block].read(String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
connection_limits[Block]. User's connection limitsmax_connections_per_hour(Read-Only) (Number). Max connections per hourmax_questions_per_hour(Read-Only) (Number). Max questions per hourmax_updates_per_hour(Read-Only) (Number). Max updates per hourmax_user_connections(Read-Only) (Number). Max user connections
permission[Block]. Set of permissions granted to the userdatabase_name(Read-Only) (String). The name of the database that the permission grants access toroles(Read-Only) (List Of String). List of user's roles in the database