File: //usr/lib/google-cloud-sdk/lib/surface/sql/users/__pycache__/create.cpython-312.pyc
�
��� � �> � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddl
mZ dd l
mZ dd
l
mZ ddl
mZ d� Zd
� Zd� Zd� Z e j( e j* j, � e j. G d� de j0 � � � Z e j( e j* j4 � e j. G d� de� � � Z e j( e j* j8 � e j. G d� de� � � Zy)zuCreates a user in a given instance.
Creates a user in a given instance with specified username, host, and password.
� )�absolute_import)�division)�unicode_literals)�api_util)�
operations)�base)�flags)�users)�log)�
propertiesc � � t j | � t j | � t j | � t j | � t j
| � t j | � t j | � t j | � t j | � t j | � y)z�AddBaseArgs is called to gather arguments for this command.
Args:
parser: An argparse parser that you can use it to add arguments that go on
the command line after this command. Positional arguments are allowed.
N)r �AddInstance�AddUsername�AddHost�AddPassword�AddType�&AddPasswordPolicyAllowedFailedAttempts�+AddPasswordPolicyPasswordExpirationDuration�*AddPasswordPolicyEnableFailedAttemptsCheck�+AddPasswordPolicyEnablePasswordVerification�AddDatabaseRoles��parsers �lib/surface/sql/users/create.py�AddBaseArgsr ! s� � � ���F�����F���-�-������F���-�-����.�.�v�6��3�3�F�;��2�2�6�:��3�3�F�;����� � c � � ~ y �N� r s r �AddBetaArgsr 5 s � ��r c � � t | � y r )r r s r �AddAlphaArgsr"