
    9ixz                         S r SSKrSSKrSSKrSSKrSSKJr  SSKJr  SSK	J
r
  SSK	Jr  SSK	Jr  SSKJr  \R                  " \5      r " S	 S
\R"                  5      rS r\rg)z.
This module provides a client class for VPN.
    N)bce_base_client)bce_v1_signer)bce_http_client)handler)http_methods)compatc                   (   \ rS rSrSrSrSrSS jrSS jr  S S jr	S S	 jr
    S!S
 jrS"S jrSS jrS#S jrS$S jrS#S jrS#S jr S$S jr S$S jrS#S jrS#S jr  S%S jr  S%S jrS#S jrS#S jrS#S jrS"S jrS S jrS#S jrS&S jrSrg)'	VpnClient   z
VPN base sdk client
s   /v1s   /vpnNc                 B    [         R                  R                  X5        g N)r   BceBaseClient__init__)selfconfigs     `/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/baidubce/services/vpn/vpn_client.pyr   VpnClient.__init__   s    %%..t<    c                     Uc  U R                   $ [        R                  " U R                   5      nUR                  U5        U$ )zG
:param config:
:type config: baidubce.BceClientConfiguration
:return:
)r   copymerge_non_none_values)r   r   
new_configs      r   _merge_configVpnClient._merge_config    s9     >;;4;;/J,,V4r   c           
          U R                  U5      nUc  [        R                  nUc  SSS.n[        R                  " U[
        R                  [        R                  U/U[        R                  U-   X4U5      $ )Ns   */*s   application/json;charset=utf-8)s   Accepts   Content-Type)
r   r   
parse_jsonr   send_requestr   signparse_errorr
   prefix)r   http_methodpathbodyheadersparamsr   body_parsers           r   _send_requestVpnClient._send_request-   sv     ##F+!,,K?"(;\]G++M&&)<)<k(J))D0$I 	Ir   c                     SU0nUb  X7S'   Ub  XGS'   Ub  X'S'   Ub  XgS'   U R                  [        R                  [        R                  XuS9$ )a  
return all vpn about vpc

:param vpc_id:
    vpc id
:type vpcId:string

:param eip:
    eip
:type eip:string

:param marker:
    The optional parameter marker specified in the original request to specify
    where in the results to begin listing.
    Together with the marker, specifies the list result which listing should begin.
    If the marker is not specified, the list result will listing from the first one.
:type marker: string

:param max_Keys:
    The optional parameter to specifies the max number of list result to return.
    The default value is 1000.
:type max_Keys: int

:param config:
:type config: baidubce.BceClientConfiguration

:param vpn_type:
    type of vpn
:type vpn_type: string

:return:
:rtype baidubce.bce_response.BceResponse
s   vpcId   marker   maxKeyss   eips   typer%   r   )r'   r   GETr
   r"   )r   vpc_ideipmarkermax_Keysr   vpn_typer%   s           r   	list_vpnsVpnClient.list_vpns9   sf    D F# &9!):? 6N&7O!!,"2"2INN6!aar   c                    0 nUc  [        5       US'   OXnS'   UUUR                  UR                  UR                  UR                  S.S.US.nUb  XS'   Ub  XS'   Ub  XOS'   Ub  X_S'   U
b  XS	'   Ub!  U Vs/ s H  nUR
                  PM     nnUUS
'   Ub  XS'   U R                  [        R                  [        R                  [        R                  " U5      UU	S9$ s  snf )a  
The method of vpn to be created.

:param vpc_id:
    vpc id
:type vpc_id: str

:param vpn_name:
    the name of name
:type vpn_name: str

:param billing:
   order_configuration
:type billing:Billing

:param description:
    The description of the vpn.
:type description: string

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will be used.
:type client_token: string

:param eip:
    bind eip
:type eip:str

:param config:
:type config: baidubce.BceClientConfiguration

:param subnetId:
    subnetId
:type subnetId:str

:param tags:
    The tags of the vpn.
:type tags: list

:param resourceGroupId:
    The resource group ID of the vpn.
:type resourceGroupId: str

:param delete_protect:
    Whether to enable deletion protection on the vpn.
:type delete_protect: bool

:return:
:rtype baidubce.bce_response.BceResponse
   clientTokenreservationLengthreservationTimeUnitpaymentTimingbillingMethodreservation)vpcIdvpnNamebillingdeleteProtectdescriptionr/   typemaxConnectionsubnetIdtagsresourceGroupIdr#   r%   r   )generate_client_tokenpayment_timingbilling_methodreservation_lengthreservation_time_unit__dict__r'   r   POSTr
   r"   jsondumps)r   r.   vpn_namer@   r2   max_connectionsclient_tokenrB   r/   r   rE   rF   rG   delete_protectr%   r#   tagtag_lists                     r   
create_vpnVpnClient.create_vpnh   s   r %:%<F>"%1>"#%,%;%;%,%;%;-4-G-G/6/L/L$ "0 ""-?K#L&$3!'045H5#DL&&5"#!!,"3"3Y^^$**UYJZci)/ " 1 	1 6s   8Cc                    [         R                  S-   [        R                  " U5      -   nSS0nUc  [	        5       US'   OXGS'   0 nUb  X8S'   Ub  X(S'   U R                  [        R                  U[        R                  " U5      UUS9$ )aD  
The method of vpn to be update.

:param vpn_id: vpn id
:type vpn_id: string

:param vpn_name: vpn name
:type vpn_name: str

:param description: the description of vpn
:type description: str

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
   /s   modifyAttributeNr6   rB   r?   rH   
r
   r"   r   convert_to_bytesrI   r'   r   PUTrP   rQ   )	r   vpn_idrR   rB   rT   r   r"   r%   r#   s	            r   
update_vpnVpnClient.update_vpn   s    4 ~~$v'>'>v'FF$d+%:%<F>"%1>"""-&O!!,"2"2Dtzz$?OX^)/ " 1 	1r   c                     [         R                  S-   [        R                  " U5      -   nU R	                  [
        R                  X2S9$ )z
Get the detail information of  vpn.

:param vpn_id:
    The id of vpn.
:type vpn_id: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r[   r   )r
   r"   r   r]   r'   r   r-   )r   r_   r   r"   s       r   get_vpnVpnClient.get_vpn   s>     ~~$v'>'>v'FF!!,"2"2D!HHr   c                     [         R                  S-   [        R                  " U5      -   n0 nUc  [	        5       US'   OX%S'   U R                  [        R                  XEUS9$ )a  
release VPN

:param vpn_id:
    The id of instance.
:type vpn_id: string

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will
    be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r[   r6   r,   r
   r"   r   r]   rI   r'   r   DELETEr   r_   rT   r   r"   r%   s         r   
delete_vpnVpnClient.delete_vpn  sa    * ~~$v'>'>v'FF%:%<F>"%1>"!!,"5"5tSY!ZZr   c                     [         R                  S-   [        R                  " U5      -   nSS0nUc  [	        5       US'   OX6S'   SU0nU R                  [        R                  XV[        R                  " U5      US9$ )a  
bind eip

:param vpn_id:
    The id of instance.
:type vpn_id: string

:param eip:
    The address of eip.
:type eip: string

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will
    be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r[   s   bindNr6   r/   r%   r#   r   r\   )r   r_   r/   rT   r   r"   r%   r#   s           r   bind_eipVpnClient.bind_eip#  sz    2 ~~$v'>'>v'FF4%:%<F>"%1>"s|!!,"2"2DdjjY]N^gm!nnr   c                     [         R                  S-   [        R                  " U5      -   nSS0nUc  [	        5       US'   OX%S'   U R                  [        R                  XEUS9$ )a  
unbind eip

:param vpn_id:
    The id of instance.
:type vpn_id: string

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will
    be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r[   s   unbindNr6   r,   )r
   r"   r   r]   rI   r'   r   r^   ri   s         r   
unbind_eipVpnClient.unbind_eipH  sf    * ~~$v'>'>v'FFT"%:%<F>"%1>"!!,"2"2DPV!WWr   c                 V   [         R                  S-   [        R                  " U5      -   nSS0nUc  [	        5       US'   OX6S'   SUR
                  UR                  UR                  UR                  S.S.0nU R                  [        R                  XV[        R                  " U5      US9$ )	a  
renew vpn

:param vpn_id:
    The id of instance.
:type vpn_id: string

:param billing:
   order_configuration
:type billing:Billing

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will
    be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r[   s   purchaseReservedNr6   r@   r7   r:   rm   )r
   r"   r   r]   rI   rJ   rK   rL   rM   r'   r   r^   rP   rQ   )r   r_   r@   rT   r   r"   r%   r#   s           r   	renew_vpnVpnClient.renew_vpng  s    2 ~~$v'>'>v'FF%t,%:%<F>"%1>"$33$33%,%?%?'.'D'D
  !!,"2"2DdjjY]N^gm!nnr   c                    [         R                  S-   [        R                  " U5      -   S-   n0 nU
c  [	        5       US'   OXS'   UUUUUUR
                  UR                  UR                  UR                  UR                  UR                  S.UR                  UR                  UR                  UR                  S.U	S.nU R                  [         R"                  X[$        R&                  " U5      US9$ )a  
:param vpn_id: vpn id
:type vpn_id: string

:param secret_key:shared  key,  8~17  characters,  english,  numbers  and  symbols  must  exist  at
                         the  same  time,and  the  symbols  are  limited  to  @#$%^*()_
:type secret_key: string

:param local_subnets:local network cidr list
:type local_subnets: list

:param remote_ip:peer vpn gateway public network ip
:type remote_ip: string

:param remote_subnets:peer network cidr list
:type remote_subnets: list

:param vpn_conn_name:vpn tunnel name, uppercase and lowercase letters, numbers and -_/. special
                    characters, must start with a letter, length 1-6
:type vpn_conn_name: string

:param ike_config:IKE config
:type ike_config: IkeConfig

:param ipsec_config:IPSec config
:type ipsec_config: IpsecConfig

:param description:description
:type description: description

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will
    be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r[   s   /vpnconnr6   )
ikeVersionikeMode	ikeEncAlg
ikeAuthAlgikePfsikeLifeTime)ipsecEncAlgipsecAuthAlgipsecPfsipsecLifetime)	secretKeylocalSubnetsremoteIpremoteSubnetsvpnConnName	ikeConfigipsecConfigrB   rm   )r
   r"   r   r]   rI   ike_versionike_modeike_enc_algike_auth_algike_pfsike_lifeTimeipsec_enc_algipsec_auth_alg	ipsec_pfsipsec_lifetimer'   r   rO   rP   rQ   )r   r_   
secret_keylocal_subnets	remote_ipremote_subnetsvpn_conn_name
ike_configipsec_configrB   rT   r   r"   r%   r#   s                  r   create_vpn_connVpnClient.create_vpn_conn  s    \ ~~$v'>'>v'FFT%:%<F>"%1>" $)!+((44%..'33(55$,,)66  ,99 , ; ;(22!-!<!<	 ')
. !!,"3"3TtzzZ^O_hn!oor   c                    [         R                  S-   [        R                  " U5      -   n0 nUc  [	        5       US'   OXS'   UUUUUUUR
                  UR                  UR                  UR                  UR                  UR                  S.U	R                  U	R                  U	R                  U	R                  S.U
S.	nU R                  [         R"                  X[$        R&                  " U5      US9$ )a  
:param vpn_conn_id:vpnconn id
:type vpn_conn_id: string

:param vpn_id: vpn id
:type vpn_id: string

:param secret_key:shared  key,  8~17  characters,  english,  numbers  and  symbols  must  exist  at
                         the  same  time,and  the  symbols  are  limited  to  @#$%^*()_
:type secret_key: string

:param local_subnets:local network cidr list
:type local_subnets: list

:param remote_ip:peer vpn gateway public network ip
:type remote_ip: string

:param remote_subnets:peer network cidr list
:type remote_subnets: list

:param vpn_conn_name:vpn tunnel name, uppercase and lowercase letters, numbers and -_/. special
                    characters, must start with a letter, length 1-6
:type vpn_conn_name: list

:param ike_config:IKE config
:type ike_config: IkeConfig

:param ipsec_config:IPSec config
:type ipsec_config: IpsecConfig

:param description:description
:type description: description

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will
    be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
	   /vpnconn/r6   )r   r   r   r   r   r   )r   r   r   r   )	vpnIdr   r   r   r   r   r   r   rB   rm   )r
   r"   r   r]   rI   r   r   r   r   r   r   r   r   r   r   r'   r   r^   rP   rQ   )r   vpn_conn_idr_   r   r   r   r   r   r   r   rB   rT   r   r"   r%   r#   s                   r   update_vpn_connVpnClient.update_vpn_conn  s    b ~~,v/F/F{/SS%:%<F>"%1>" #)!+()55&//)55 * 7 7%-- * 7 7 ".!;!;"."="=)33"."="=	 '+
0 !!,"2"2DdjjY]N^gm!nnr   c                     [         R                  S-   [        R                  " U5      -   n0 nUc  [	        5       US'   OX%S'   U R                  [        R                  XEUS9$ )a  
:param vpn_id: vpn id
:type vpn_id: string

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will
    be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r   r6   r,   r
   r"   r   r]   rI   r'   r   r-   ri   s         r   get_vpn_connVpnClient.get_vpn_conn5  sa    $ ~~,v/F/Fv/NN%:%<F>"%1>"!!,"2"2DPV!WWr   c                     [         R                  S-   [        R                  " U5      -   n0 nUc  [	        5       US'   OX%S'   U R                  [        R                  XEUS9$ )a  
:param vpn_conn_id:vpn conn id
:type vpn_conn_id: string

:param client_token:
    An ASCII string whose length is less than 64.
    The request will be idempotent if clientToken is provided.
    If the clientToken is not specified by the user, a random String generated by default algorithm will
    be used.
:type client_token: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r   r6   r,   rg   )r   r   rT   r   r"   r%   s         r   delete_vpn_connVpnClient.delete_vpn_connQ  sa    $ ~~,v/F/F{/SS%:%<F>"%1>"!!,"5"5tSY!ZZr   c	                 &   [         R                  S-   [        R                  " U5      -   S-   n	0 n
Uc  [	        5       U
S'   OXzS'   UUUS.nUb  X[S'   OSUS'   Ub  XkS'   U R                  [        R                  X[        R                  " U5      US9$ )	a  
:param vpn_id: vpn id
:type vpn_id: string

:param sslservice_name: ssl service name, uppercase and lowercase letters, numbers and -_/. special
                    characters, must start with a letter, length 1-6
:type sslservice_name: string

:param local_routes: these cidrs will be configured on the client, and the next hop points to the SSL tunnel. Usually vpc cidrs
:type local_routes: list

:param address_pool: Client IP address pool. The VPN gateway will assign an IP address to the client on this cidr.
:type address_pool: string

:param interface_type: l2 or l3, default is l3, l2 is tap, l3 is tun
:type interface_type: string

:param client_dns: DNS server address
:type client_dns: string

:return:
:rtype baidubce.bce_response.BceResponse
r[      /sslVpnServerr6   )sslVpnServerNamer   remoteSubnets   interfaceTypes   tun	   clientDnsrm   )
r
   r"   r   r]   rI   r'   r   rO   rP   rQ   )r   r_   sslservice_namelocal_routesaddress_poolinterface_type
client_dnsrT   r   r"   r%   r#   s               r   create_vpn_sslserviceVpnClient.create_vpn_sslservicem  s    2 ~~$v'>'>v'FFIYY%:%<F>"%1>" !0((

 %%3!"%+D!"!!+!!,"3"3TtzzZ^O_hn!oor   c	                 b   [         R                  S-   [        R                  " U5      -   S-   S-   [        R                  " U5      -   n	0 n
Uc  [	        5       U
S'   OXzS'   0 nUb  X;S'   Ub  XKS'   Ub  X[S'   Ub  XkS'   U R                  [        R                  X[        R                  " U5      US9$ )	a  
:param vpn_id: vpn id
:type vpn_id: string

:param sslservice_id: id
:type sslservice_id: string

:param sslservice_name: ssl service name, uppercase and lowercase letters, numbers and -_/. special
                    characters, must start with a letter, length 1-6
:type sslservice_name: string

:param local_routes: these cidrs will be configured on the client, and the next hop points to the SSL tunnel. Usually vpc cidrs
:type local_routes: list

:param address_pool: Client IP address pool. The VPN gateway will assign an IP address to the client on this cidr.
:type address_pool: string

:param client_dns: DNS server address
:type client_dns: string

:return:
:rtype baidubce.bce_response.BceResponse
r[   r   r6   s   sslVpnServerNames   localSubnetss   remoteSubnetr   rm   r\   )r   r_   sslservice_idr   r   r   r   rT   r   r"   r%   r#   s               r   update_vpn_sslserviceVpnClient.update_vpn_sslservice  s    2 ~~$v'>'>v'FF 01378:@:Q:QR_:`a %:%<F>"%1>"&(7$%#$0!#$0!!!+!!,"2"2DdjjY]N^gm!nnr   c                     [         R                  S-   [        R                  " U5      -   S-   n0 nUc  [	        5       US'   OX%S'   U R                  [        R                  XCS9$ )_
:param vpn_id: vpn id
:type vpn_id: string

:return:
:rtype baidubce.bce_response.BceResponse
r[   r   r6   rc   r   ri   s         r   get_vpn_sslserviceVpnClient.get_vpn_sslservice  sj     ~~$v'>'>v'FF 01 %:%<F>"%1>" !!,"2"2D!HHr   c                     [         R                  S-   [        R                  " U5      -   S-   S-   [        R                  " U5      -   n0 nUc  [	        5       US'   OX6S'   U R                  [        R                  XTS9$ )z
:param vpn_id: vpn id
:type vpn_id: string

:param sslservice_id: sslservice id
:type sslservice_id: string

:return:
:rtype baidubce.bce_response.BceResponse
r[   r   r6   rc   rg   )r   r_   r   rT   r   r"   r%   s          r   delete_vpn_sslserviceVpnClient.delete_vpn_sslservice  s     ~~$v'>'>v'FF 01378:@:Q:QR_:`a %:%<F>"%1>" !!,"5"5t!KKr   c                 x   [         R                  S-   [        R                  " U5      -   S-   n0 nUc  [	        5       US'   OX6S'   S/ 0nU H9  nUS   R                  UR                  UR                  UR                  S.5        M;     U R                  [        R                  XV[        R                  " U5      US9$ )z
:param vpn_id: vpn id
:type vpn_id: string

:param sslusers: User information list
:type sslusers: list

:return:
:rtype baidubce.bce_response.BceResponse
r[      /sslVpnUserr6   sslVpnUserss   sslVpnUsers)userNamepasswordrB   rm   )r
   r"   r   r]   rI   append	user_namer   rB   r'   r   rO   rP   rQ   )	r   r_   sslusersrT   r   r"   r%   r#   sslusers	            r   create_vpn_sslusersVpnClient.create_vpn_sslusers  s     ~~$v'>'>v'FFW%:%<F>"%1>" 2
  G ''#--#,,&22)    !!,"3"3TtzzZ^O_hn!oor   c                 F   [         R                  S-   [        R                  " U5      -   S-   S-   [        R                  " U5      -   n0 nUc  [	        5       US'   OXXS'   0 n	Ub  X9S'   Ub  XIS'   U R                  [        R                  Xx[        R                  " U	5      US9$ )a  
:param vpn_id: vpn id
:type vpn_id: string

:param ssluser_id: ssluser id
:type ssluser_id: string

:param password: password id
:type password: string

:param description: description
:type description: string

:return:
:rtype baidubce.bce_response.BceResponse
r[   r   r6   s   passwords   descriptionrm   r\   )
r   r_   
ssluser_idr   rB   rT   r   r"   r%   r#   s
             r   update_vpn_ssl_userVpnClient.update_vpn_ssl_user  s    " ~~$v'>'>v'FFW $%'-'>'>z'JK%:%<F>"%1>" ("#. !!,"2"2DdjjY]N^gm!nnr   c                     [         R                  S-   [        R                  " U5      -   S-   n0 nUc  [	        5       US'   OX(S'   Ub  XHS'   Ub  XXS'   Ub  XhS'   U R                  [        R                  XxUS9$ )a  
:param vpn_id: vpn id
:type vpn_id: string

:param marker:
        :param marker:
    The optional parameter marker specified in the original request to specify
    where in the results to begin listing.
    Together with the marker, specifies the list result which listing should begin.
    If the marker is not specified, the list result will listing from the first one.
:type marker: string

:param max_keys:
    The optional parameter to specifies the max number of list result to return.
    The default value is 1000.
:type max_keys: int

:param user_name: user name
:type user_name: string

:return:
:rtype baidubce.bce_response.BceResponse
r[   r   r6   r*   r+   s   userNamer,   r   )	r   r_   rT   r   r0   max_keysr   r"   r%   s	            r   get_vpn_ssl_userVpnClient.get_vpn_ssl_user8  s    0 ~~$v'>'>v'FFW%:%<F>"%1>" &9!): "+;!!,"2"2DPV!WWr   c                     [         R                  S-   [        R                  " U5      -   S-   S-   [        R                  " U5      -   n0 nUc  [	        5       US'   OX6S'   U R                  [        R                  XVUS9$ )r   r[   r   r6   r,   rg   )r   r_   r   rT   r   r"   r%   s          r   delete_vpn_ssl_userVpnClient.delete_vpn_ssl_user_  s     ~~$v'>'>v'FFW $%'-'>'>z'JK%:%<F>"%1>"!!,"5"5tSY!ZZr   c                     [         R                  S-   [        R                  " U5      -   S-   n0 nUc  [	        5       US'   OX6S'   SU0nU R                  [        R                  XV[        R                  " U5      US9$ )z
:param vpn_id: vpn id
:type vpn_id: string

:param delete_protect:
    Whether to enable deletion protection on the vpn.
:type delete_protect: bool

:return:
:rtype baidubce.bce_response.BceResponse
r[   s   /deleteProtectr6   rA   rm   r\   )r   r_   rU   rT   r   r"   r%   r#   s           r   update_vpn_delete_protect#VpnClient.update_vpn_delete_protectq  s     ~~$v'>'>v'FFIZZ%:%<F>"%1>"^
 !!,"2"2DdjjY]N^gm!nnr    r   )NNNNN)
NNNNNNNNNF)NNNN)NN)NNN)NNNNNNNN)FNN) __name__
__module____qualname____firstlineno____doc__r    r"   r   r   r'   r3   rX   r`   rd   rj   rn   rq   rt   r   r   r   r   r   r   r   r   r   r   r   r   r   __static_attributes__r   r   r   r
   r
      s     FD= 7;/3
I-b` 372637CH	]1~)1VI$[>#oJX>*oZ _cMp` _cQofX8[8 hl^b.p` im\`,o\I(L.p>!oF%XN[$or   r
   c                  >    [        [        R                  " 5       5      $ )z
The default method to generate the random string for client_token
if the optional parameter client_token is not specified by the user.

:return:
:rtype string
)struuiduuid4r   r   r   generate_client_token_by_uuidr     s     tzz|r   )r   r   rP   loggingr   baidubcer   baidubce.authr   baidubce.httpr   r   r   r   	getLoggerr   _loggerr   r
   r   rI   r   r   r   <module>r      s^        $ ' ) ! & 


H
%ro-- roj 6 r   