
    9i                    <   S r SSK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  SS	KJr  SS
KJr  \R$                  S:  a  \" \5        \R(                  " S5        \R*                  " \5      r " S S\R0                  5      rS r\rg)z2
This module provides a client class for APP BLB.
    N)bce_base_client)bce_v1_signer)bce_http_client)handler)http_methods)utils)required)compat3zutf-8c                      \ rS rSrSrSrSKS jrSKS jr  SLS jr\	" \
\4\
\4S9  SMS	 j5       r\	" \
\4S
9  SMS j5       r   SNS jr\	" \
\4S
9SKS j5       r\	" \
\4S
9SOS j5       r \	" \
\4\\
\4S9  SOS j5       r\	" \
\4\\
\4S9  SOS j5       r\	" \
\4\\
\4S9         SPS j5       r\	" \
\4\\
\4\S9          SQS j5       r\	" \
\4\\
\4\S9     SNS j5       r\	" \
\4\S9   SRS j5       r\	" \
\4\S9  SRS j5       r\	" \
\4\S9         SSS j5       r\	" \
\4\S9                STS j5       r\	" \
\4\S9         SPS j5       r\	" \
\4S
9   SMS j5       r\	" \
\4S
9   SMS j5       r\	" \
\4S
9   SMS j5       r\	" \
\4S
9   SMS j5       r \	" \
\4S
9  SMS  j5       r!\	" \
\4S
9  SMS! j5       r"\	" \
\4\S"9  SOS# j5       r#\	" \
\4\\S$9  SOS% j5       r$\	" \
\4\S9  SRS& j5       r%\	" \
\4\\S'9 SOS( j5       r& \	" \
\4S
9     SLS) j5       r'\	" \
\4\
\4S*9    SMS+ j5       r(\	" \
\4S
9    SLS, j5       r)\	" \
\4\
\4S*9  SOS- j5       r*\	" \
\4\
\4\\
\4S.9           SUS/ j5       r+\	" \
\4\
\4\
\4S09           SUS1 j5       r,\	" \
\4\
\4\S29 SOS3 j5       r-\	" \
\4\
\4\S49  SOS5 j5       r.\	" \
\4\
\4\S49  SOS6 j5       r/\	" \
\4\
\4S*9  SRS7 j5       r0\	" \
\4\
\4\S49  SOS8 j5       r1\	" \
\4\
\4S*9SKS9 j5       r2\	" \
\4\
\4S*9SKS: j5       r3\	" \
\4S
9     SLS; j5       r4\	" \
\4\
\4S<9    SMS= j5       r5\	" \
\4S
9    SLS> j5       r6\	" \
\4\
\4S<9  SOS? j5       r7\	" \
\4\
\4\
\4S@9           SUSA j5       r8\	" \
\4\
\4\
\4SB9           SUSC j5       r9\	" \
\4\
\4\SD9 SOSE j5       r:\	" \
\4\
\4S<9    SMSF j5       r;\	" \
\4\
\4S<9    SMSG j5       r<\	" \
\4\
\4S<9  SOSH j5       r=\	" \
\4\
\4S<9    SLSI j5       r>SJr?g)VAppBlbClient)   z
APP BLB base sdk client
s   /v1Nc                 B    [         R                  R                  X5        g N)r   BceBaseClient__init__)selfconfigs     d/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/baidubce/services/blb/app_blb_client.pyr   AppBlbClient.__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AppBlbClient._merge_config2   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/XX4U5      $ )Ns   */*s   application/json;charset=utf-8)s   Accepts   Content-Type)r   r   
parse_jsonr   send_requestr   signparse_error)r   http_methodpathbodyheadersparamsr   body_parsers           r   _send_requestAppBlbClient._send_request?   sj     ##F+!,,K?"((IKG++M&&)<)<k(Jtf6 	6r   )vpc_id	subnet_idc                    [         R                  " U R                  S5      n0 nUc  [        5       US'   OXXS'   0 n	Ub  [        R
                  " U5      U	S'   Ub  [        R
                  " U5      U	S'   [        R
                  " U5      U	S'   [        R
                  " U5      U	S'   U R                  [        R                  U[        R                  " U	5      UUS9$ )a  
Create a app LoadBalancer with the specified options.

:param name:
        the name of LoadBalancer to create
:type name: string

:param desc:
        The description of LoadBalancer
:type desc: string

:param vpc_id:
        id of vpc which the LoadBalancer belong to
:type vpc_id: string

:param subnet_id:
        id of subnet which the LoadBalancer belong to
:type subnet_id: string

:param client_token:
    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
appblb   clientTokennamedescvpcIdsubnetIdr%   r'   r   r   
append_uriversiongenerate_client_tokenr
   convert_to_stringr)   r   POSTjsondumps)
r   r+   r,   r0   r1   client_tokenr   r$   r'   r%   s
             r   create_app_loadbalancer$AppBlbClient.create_app_loadbalancerL   s    D h7%:%<F>"%1>"!33D9DL!33D9DL008W!33I>Z!!,"3"3T'+zz$'7)/ " 1 	1r   )blb_idc                 P   [         R                  " U R                  SU5      n0 nUc  [        5       US'   OXGS'   0 nUb  [        R
                  " U5      US'   Ub  [        R
                  " U5      US'   U R                  [        R                  U[        R                  " U5      XuS9$ )aY  
Modify the special attribute to new value of the LoadBalancer
owned by the user.

:param name:
        name of LoadBalancer to describe
:type name: string

:param blb_id:
        id of LoadBalancer to describe
:type blb_id: string

:param desc:
        The description of LoadBalancer
:type desc: string

:param client_token:
        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.   r/   r0   r1   r'   r   r   r6   r7   r8   r
   r9   r)   r   PUTr;   r<   )	r   r@   r0   r1   r=   r   r$   r'   r%   s	            r   update_app_loadbalancer$AppBlbClient.update_app_loadbalancer   s    > h?%:%<F>"%1>"!33D9DL!33D9DL!!,"2"2D$**T:J)/ " @ 	@r   c                     [         R                  " U R                  S5      n0 n	Ub  XS'   Ub  X)S'   Ub  X9S'   Ub  XIS'   Ub  XYS'   Ub  XiS'   U R                  [        R
                  UXS9$ )	a  
Return a list of LoadBalancers

:param address:
    Intranet service address in dotted decimal notation
:type address: string

:param name:
    name of LoadBalancer to describe
:type name: string

:param blb_id:
    id of LoadBalancer to describe
:type blb_id: string

:param bcc_id:
    bcc which bind the LoadBalancers
:type bcc_id: 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

:return:
:rtype baidubce.bce_response.BceResponse
r.   s   address   names   blbIds   bccId   marker   maxKeysrB   r   r6   r7   r)   r   GET)
r   addressr0   r@   bcc_idmarkermax_keysr   r$   r'   s
             r   describe_app_loadbalancers'AppBlbClient.describe_app_loadbalancers   s    V h7!(:"7O%8%8 &9!):!!,"2"2D)/ " @ 	@r   c                     [         R                  " U R                  SU5      nU R                  [        R
                  UUS9$ )z
Return detail imformation of specific LoadBalancer

:param blb_id:
    id of LoadBalancer to describe
:type blb_id: string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r.   )r   rK   )r   r@   r   r$   s       r    describe_app_loadbalancer_detail-AppBlbClient.describe_app_loadbalancer_detail   sA     h?!!,"2"2D)/ " 1 	1r   c                     [         R                  " U R                  SU5      n0 nUc  [        5       US'   OX%S'   U R	                  [
        R                  UXSS9$ )a  
delete the LoadBalancer owned by the user.

:param blb_id:
        id of LoadBalancer to describe
:type blb_id: string

:param client_token:
        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.   r/   rB   )r   r6   r7   r8   r)   r   DELETE)r   r@   r=   r   r$   r'   s         r   delete_app_loadbalancer$AppBlbClient.delete_app_loadbalancer  sc    * h?%:%<F>"%1>"!!,"5"5t)/ " @ 	@r   )r@   listener_port	schedulerc                    [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXGS'   U[        R
                  " U5      S.nU R                  [        R                  U[        R                  " U5      UUS9$ )a  
Create a app tcp listener rule with the specified options.

:param blb_id:
    the id of blb which the listener work on
:type blb_id: string

:param listener_port:
    port to be linstened owned by listener
:value 1-65535
:type listener_port: int

:param scheduler
    balancing algorithm
:value 'RoundRobin' or 'LeastConnection' or 'Hash'
:type scheduler: string

:param client_token:
    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.   TCPlistenerr/   listenerPortr[   r4   r5   	r   r@   rZ   r[   r=   r   r$   r'   r%   s	            r   create_app_tcp_listener$AppBlbClient.create_app_tcp_listener'      D hN%:%<F>"%1>" *11)<

 !!,"3"3T'+zz$'7)/ " 1 	1r   c                    [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXGS'   U[        R
                  " U5      S.nU R                  [        R                  U[        R                  " U5      UUS9$ )a  
Create a app udp listener rule with the specified options.

:param blb_id:
    the id of blb which the listener work on
:type blb_id: string

:param listener_port:
    port to be linstened owned by listener
:value 1-65535
:type listener_port: int

:param scheduler
    balancing algorithm
:value 'RoundRobin' or 'LeastConnection' or 'Hash'
:type scheduler: string

:param client_token:
    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.   UDPlistenerr/   r^   r4   r5   r`   s	            r   create_app_udp_listener$AppBlbClient.create_app_udp_listenerZ  rc   r   c                    [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXS'   U[        R
                  " U5      S.nUb  XOS'   Ub  [        R
                  " U5      US'   Ub  XoS'   Ub  XS'   Ub  XS	'   U	b  XS
'   U
b  XS'   U R                  [        R                  U[        R                  " U5      UUS9$ )a  
Create a app http listener rule with the specified options.
:param blb_id:
    the id of blb which the listener work on
:type blb_id: string

:param listener_port:
    port to be linstened owned by listener
:value 1-65535
:type listener_port: int

:param scheduler:
    balancing algorithm
:value 'RoundRobin' or 'LeastConnection'
:type scheduler: string

:param keep_session:
    Whether to enable the session hold function,
    that is,the request sent by the same client will
    reach the same backend server
:value true or false  default:false
:type keep_session: bool

:param keep_session_type:
    The cookie handling method maintained by the session,
    valid only if the session is held open
    :value 'insert' or 'rewrite'  default:insert
:type keep_session_type: string

:param keep_session_timeout:
    The time the cookie is kept in session (in seconds),
    valid only if the session is held open
    :value 1-15552000  default:3600
:type keep_session_timeout: int

:param keep_session_cookie_name:
    The session keeps the name of the cookie that needs to be
    overridden if and only if session persistence is enabled
    and keep_session_type="rewrite"
:type keep_session_cookie_name: int

:param x_forwarded_for:
    Whether to enable the real IP address of the client,
    the backend server can obtain the real address of the client
    through the X-Forwarded-For HTTP header.
:value true or false, default: False
:type x_forwarded_for: bool

:param server_timeout:
    Backend server maximum timeout (unit: second)
:value 1-3600, default: 30
:type server_timeout:int

:param redirect_port:
    Forward the request received by this listener to the
    HTTPS listener, which is specified by the HTTPS listener.
:type redirect_port:int

:param client_token:
    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.   HTTPlistenerr/   r^   keepSessionkeepSessionTypekeepSessionTimeoutkeepSessionCookieNamexForwardedForserverTimeoutredirectPortr4   r5   r   r@   rZ   r[   keep_sessionkeep_session_typekeep_session_timeoutkeep_session_cookie_namex_forwarded_forserver_timeoutredirect_portr=   r   r$   r'   r%   s                   r   create_app_http_listener%AppBlbClient.create_app_http_listener  s   b hO%:%<F>"%1>")11)<> #".((():; "#+)=%&#/,D()&$3!%$2!$#0 !!,"3"3T'+zz$'7)/ " 1 	1r   )r@   rZ   r[   cert_idsc                 &   [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OUUS'   U[        R
                  " U5      US.nUb  UUS'   Ub  [        R
                  " U5      US'   Ub  UUS'   Ub  UUS'   U	b  U	US	'   U
b  U
US
'   Ub  UUS'   Ub  [        R
                  " U5      US'   Ub  UUS'   Ub  UUS'   Ub  UUS'   Ub  UUS'   U R                  [        R                  U[        R                  " U5      UUS9$ )a+  
Create a app https listener rule with the specified options.
:param blb_id:
    The id of blb which the listener work on
:type blb_id: string
:param listener_port:
    port to be linstened owned by listener
:value 1-65535
:type listener_port: int
:param scheduler:
    balancing algorithm
:value 'RoundRobin' or 'LeastConnection'
:type scheduler: string
:param cert_ids:
    The certificate to be loaded by the listener.
:type cert_ids: List<String>
:param keep_session:
    Whether to enable the session hold function,
    that is, the request sent by the same client will reach the
    same backend server
:value true or false, default: false
:type keep_session: bool
:param keep_session_type:
    The cookie handling method maintained by the session,
    valid only if the session is held open
:value 'insert' or 'rewrite', default:insert
:type keep_session_type: string
:param keep_session_timeout:
    The time the cookie is kept in session (in seconds),
    valid only if the session is held open
:value 1-15552000, default:3600
:type keep_session_timeout: int
:param keep_session_cookie_name:
    The session keeps the name of the cookie that needs
    to be overridden if and only if session persistence
    is enabled and keep_session_type="rewrite"
:type keep_session_cookie_name: int
:param x_forwarded_for:
    Whether to enable the real IP address of the client,
    the backend server can obtain the real address of the client
    through the X-Forwarded-For HTTP header.
:value true or false, default: false
:type x_forwarded_for: bool
:param server_timeout:
    Backend server maximum timeout (unit: second)
:value 1-3600, default: 30
:type server_timeout: int
:param ie6_compatible:
    compatible with IE6 HTTPS request
    (the protocol format is earlier SSL3.0, the security is poor)
:value true or false, default: true
:type ie6_compatible: bool
:param encryption_type:
    Encryption options, support three types:
    compatibleIE/incompatibleIE/userDefind,
    corresponding to:
    IE-compatible encryption/disabled unsecure encryption/custom encryption,
    when encryptionType is valid and legitimate,
    ie6Compatible field transfer value will not take effect
type: encryption_type:string
:param encryption_protocols:
    When the encryptionType value is userDefind,
    the list of protocol types is a string list composed of four protocols:
    "sslv3", "tlsv10", "tlsv11", "tlsv12".
type: encryption_protocols:list
:param dual_auth:
    Whether to Open Two-way Authentication,
    default:false
:type dual_auth: boolean
:param client_certIds:
    When dualAuth is true, the loaded client certificate chain
:type client_certIds: list
:param client_token:
    If the clientToken is not specified by the user,
    a random String generated by default algorithm will be used.
:type client_token: string
:param additional_cert_domains:
    Additional domain,each element is an object that contains two attributes, namely "cert_id" and "host"
:type additional_cert_domains: list
:param config:
:type config: baidubce.BceClientConfiguration
:return
:rtype baidubce.bce_response.BceResponse
r.   HTTPSlistenerr/   r_   r[   certIdsrj   rk   rl   rm   rn   ro   ie6CompatibleencryptionTypeencryptionProtocolsdualAuthclientCertIdsadditionalCertDomainsr4   r5   )r   r@   rZ   r[   r{   rr   rs   rt   ru   rv   rw   ie6_compatibleencryption_typeencryption_protocols	dual_authclient_certIdsadditional_cert_domainsr=   r   r$   r'   r%   s                         r   create_app_https_listener&AppBlbClient.create_app_https_listener  sv   D hP%:%<F>"%1F>")11)<! #".D((():; "#+)=D%&#/,DD()&$3D!%$2D!%$2D!&((9 !"+*>D&' (D%$2D!".,CD()!!,"3"3T'+zz$'7)/ " @ 	@r   c                    [         R                  " U R                  SUS5      n0 nU
c  [        5       US'   OXS'   U[        R
                  " U5      US.nUb  X^S'   Ub  [        R
                  " U5      US'   Ub  X~S'   Ub  XS'   U	b  XS	'   U R                  [        R                  U[        R                  " U5      XS
9$ )a  
Create a app ssl listener rule with the specified options.

:param blb_id:
    The id of blb which the listener work on
:type blb_id: string

:param listener_port:
    port to be linstened owned by listener
:value 1-65535
:type listener_port: int

:param scheduler:
    balancing algorithm
:value 'RoundRobin' or 'LeastConnection'
:type scheduler: string

:param cert_ids:
    The SSL certificate to be loaded by the listener.
    Currently HTTPS listeners can only bind one SSL certificate.
:type cert_ids: List<String>

:param ie6_compatible:
    compatible with IE6 HTTPS request
    (the protocol format is earlier SSL3.0, the security is poor)
:value true or false, default: true
:type ie6_compatible: bool

:param encryption_type:
    Encryption options, support three types:
    compatibleIE/incompatibleIE/userDefind,
    corresponding to:
    IE-compatible encryption/disabled unsecure encryption/custom encryption,
    when encryptionType is valid and legitimate,
    ie6Compatible field transfer value will not take effect
type: encryption_type:string

:param encryption_protocols:
    When the encryptionType value is userDefind,
    the list of protocol types is a string list composed of four protocols:
    "sslv3", "tlsv10", "tlsv11", "tlsv12".
type: encryption_protocols:list

:param dual_auth:
    Whether to Open Two-way Authentication,
    default:false
:type dual_auth: boolean

:param client_certIds:
    When dualAuth is true, the loaded client certificate chain
:type client_certIds: list

:param client_token:
    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.   SSLlistenerr/   r~   r   r   r   r   r   r4   r5   r   r@   rZ   r[   r{   r   r   r   r   r   r=   r   r$   r'   r%   s                  r   create_app_ssl_listener$AppBlbClient.create_app_ssl_listener  s    P hN%:%<F>"%1>")11)<! %$2!&((9 !"+*>&' (%$2!!!,"3"3T'+zz$'7)/ " @ 	@r   )r@   rZ   c                 $   [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXGS'   X'S'   0 nUb  [        R
                  " U5      US'   U R                  [        R                  U[        R                  " U5      UUS9$ )a  
update a app tcp listener rule with the specified options.

:param blb_id:
    the id of blb which the listener work on
:type blb_id:string

:param listener_port:
     port to be linstened owned by listener
:value 1-65535
:type listener_port:int

:param scheduler
    balancing algorithm
:value 'RoundRobin'or'LeastConnection'or'Hash'
:type scheduler:string

:param client_token:
        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.   r]   r/      listenerPortr[   r4   rC   r`   s	            r   update_app_tcp_listener$AppBlbClient.update_app_tcp_listener  s    D hN%:%<F>"%1>""/  & 8 8 CD!!,"2"2D'+zz$'7)/ " 1 	1r   c                    [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXGS'   X'S'   S[        R
                  " U5      0nU R                  [        R                  U[        R                  " U5      XuS9$ )a  
update a app udp listener rule with the specified options.

:param blb_id:
        the id of blb which the listener work on
:type blb_id:string

:param listener_port:
        port to be linstened owned by listener
:value 1-65535
:type listener_port:int

:param scheduler
      balancing algorithm
:value 'RoundRobin'or'LeastConnection'or'Hash'
:type scheduler:string

:param client_token:
        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.   re   r/   r   r[   r4   rC   r`   s	            r   update_app_udp_listener$AppBlbClient.update_app_udp_listener  s    B hN%:%<F>"%1>""/ 11)<
 !!,"2"2D'+zz$'7)/ " @ 	@r   c                    [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXS'   X.S'   0 nUb  [        R
                  " U5      US'   Ub  XOS'   Ub  [        R
                  " U5      US'   Ub  XoS'   Ub  XS	'   Ub  XS
'   U	b  XS'   U
b  XS'   U R                  [        R                  U[        R                  " U5      XS9$ )a  
update a app http listener rule with the specified options.
:param blb_id:
    The id of blb which the listener work on
:type blb_id: string
:param listener_port:
    Port to be linstened owned by listener
:value 1-65535
:type listener_port: int
:param scheduler:
    Balancing algorithm
:value 'RoundRobin' or 'LeastConnection' or 'Hash'
:type scheduler: string
:param keep_session:
    Whether to enable the session hold function, that is,
    the request sent by the same client will reach the
    same backend server
:value true or false, default:false
:type keep_session: bool
:param keep_session_type:
    The cookie handling method maintained by the session,
    valid only if the session is held open
:value 'insert' or 'rewrite', default:insert
:type keep_session_type: string
:param keep_session_timeout:
    The time the cookie is kept in session (in seconds),
    valid only if the session is held open
:value 1-15552000, default:3600
:type keep_session_timeout: int
:param keep_session_cookie_name:
    The session keeps the name of the cookie that needs
    to be overridden,if and only if session persistence is
    enabled and keep_session_type="rewrite"
:type keep_session_cookie_name: int
:param x_forwarded_for:
    Whether to enable the real IP address of the client,
    the backend server can obtain the real address of the
    client through the X-Forwarded-For HTTP header.
:value true or false, default: false
:type x_forwarded_for: bool
:param server_timeout:
    Backend server maximum timeout (unit: second)
:value 1-3600, default: 30
:type server_timeout: int
:param redirect_port:
    Forward the request received by this listener to the HTTPS
    listener, which is specified by the HTTPS listener.
:type redirect_port: int
:param client_token:
        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.   ri   r/   r   r[   rj   rk   rl   rm   rn   ro   rp   r4   rC   rq   s                   r   update_app_http_listener%AppBlbClient.update_app_http_listenerI  s   J hO%:%<F>"%1>""/  & 8 8 CD#".((():; "#+)=%&#/,D()&$3!%$2!$#0 !!,"2"2D'+zz$'7)/ " @ 	@r   c                 H   [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OUUS'   UUS'   0 nUb  [        R
                  " U5      US'   Ub  UUS'   Ub  [        R
                  " U5      US'   Ub  UUS'   Ub  UUS	'   Ub  UUS
'   U	b  U	US'   U
b  U
US'   Ub  UUS'   Ub  [        R
                  " U5      US'   Ub  UUS'   Ub  UUS'   Ub  UUS'   Ub  UUS'   U R                  [        R                  U[        R                  " U5      UUS9$ )a  
update a app https listener rule with the specified options.
:param blb_id:
    The id of blb which the listener work on
:type blb_id: string
:param listener_port:
    Port to be linstened owned by listener
:value 1-65535
:type listener_port: int
:param scheduler:
    Balancing algorithm
:value 'RoundRobin' or 'LeastConnection' or 'Hash'
:type scheduler: string
:param keep_session:
    Whether to enable the session hold function, that is, the request
    sent by the same client will reach the same backend server
:value true or false, default: false
:type keep_session: bool
:param keep_session_type:
    The cookie handling method maintained by the session,
    valid only if the session is held open
:value 'insert' or 'rewrite', default: insert
:type keep_session_type: string
:param keep_session_timeout:
    The time the cookie is kept in session (in seconds),
    valid only if the session is held open
:value 1-15552000, default:3600
:type keep_session_timeout: int
:param keep_session_cookie_name:
    The session keeps the name of the cookie that needs to be
    overridden,if and only if session persistence is enabled and
    keep_session_type="rewrite"
:type keep_session_cookie_name: int
:param x_forwarded_for:
    Whether to enable the real IP address of the client,
    the backend server can obtain the real address of the client
    through the X-Forwarded-For HTTP header.
:value true or false, default: False
:type x_forwarded_for: bool
:param server_timeout:
    Backend server maximum timeout (unit: second)
:value 1-3600, default: 30
:type server_timeout: int
:param cert_ids:
    The SSL certificate to be loaded by the listener.
    Currently HTTPS listeners can only bind one SSL certificate.
:type cert_ids:List<String>
:param ie6_compatible:
    Is it compatible with IE6 HTTPS request
    (the protocol format is earlier SSL3.0, the security is poor)
:value true or false, default: true
:type ie6_compatible: bool
:param encryption_type:
    Encryption options, support three types:
    compatibleIE/incompatibleIE/userDefind,
    corresponding to:
    IE-compatible encryption/disabled unsecure encryption/custom encryption,
    when encryptionType is valid and legitimate,
    ie6Compatible field transfer value will not take effect
type: encryption_type:string
:param encryption_protocols:
    When the encryptionType value is userDefind,
    the list of protocol types is a string list composed of four protocols:
    "sslv3", "tlsv10", "tlsv11", "tlsv12".
type: encryption_protocols:list
:param dual_auth:
    Whether to Open Two-way Authentication,
    default:false
:type dual_auth: boolean
:param client_certIds:
    When dualAuth is true, the loaded client certificate chain
:type client_certIds: list
:param additional_cert_domains:
    Additional domain name,each element is an object that contains two attributes, namely "cert_id" and "host"
:type additional_cert_domains: list
:param client_token:
    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.   r}   r/   r   r[   rj   rk   rl   rm   rn   ro   r   compatibleIEr   r   r   r   r   r4   rC   )r   r@   rZ   r[   rr   rs   rt   ru   rv   rw   r{   r   r   r   r   r   r   r=   r   r$   r'   r%   s                         r   update_app_https_listener&AppBlbClient.update_app_https_listener  s   L hP%:%<F>"%1F>""/  & 8 8 CD#".D((():; "#+)=D%&#/,DD()&$3D!%$2D!&DO%#1D &((9 !"+*>D&' (D%$2D!".,CD()!!,"2"2D'+zz$'7)/ " 1 	1r   c                    [         R                  " U R                  SUS5      n0 nU
c  [        5       US'   OXS'   X-S'   0 nUb  [        R
                  " U5      US'   Ub  XNS'   Ub  X^S'   Ub  [        R
                  " U5      US'   Ub  X~S	'   Ub  XS
'   U	b  XS'   U R                  [        R                  U[        R                  " U5      XS9$ )a  
update a app ssl listener rule with the specified options.

:param blb_id:
    The id of blb which the listener work on
:type blb_id: string

:param listener_port:
    port to be linstened owned by listener
:value 1-65535
:type listener_port: int

:param scheduler:
    balancing algorithm
:value 'RoundRobin' or 'LeastConnection'
:type scheduler: string

:param cert_ids:
    The SSL certificate to be loaded by the listener.
    Currently HTTPS listeners can only bind one SSL certificate.
:type cert_ids: List<String>

:param ie6_compatible:
    compatible with IE6 HTTPS request
    (the protocol format is earlier SSL3.0, the security is poor)
:value true or false, default: true
:type ie6_compatible: bool

:param encryption_type:
    Encryption options, support three types:
    compatibleIE/incompatibleIE/userDefind,
    corresponding to:
    IE-compatible encryption/disabled unsecure encryption/custom encryption,
    when encryptionType is valid and legitimate,
    ie6Compatible field transfer value will not take effect
type: encryption_type:string

:param encryption_protocols:
    When the encryptionType value is userDefind,
    the list of protocol types is a string list composed of four protocols:
    "sslv3", "tlsv10", "tlsv11", "tlsv12".
type: encryption_protocols:list

:param dual_auth:
    Whether to Open Two-way Authentication,
    default:false
:type dual_auth: boolean

:param client_certIds:
    When dualAuth is true, the loaded client certificate chain
:type client_certIds: list

:param client_token:
    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.   r   r/   r   r[   r   r   r   r   r   r   r4   rC   r   s                  r   update_app_ssl_listener$AppBlbClient.update_app_ssl_listener<  s    T hN%:%<F>"%1>""/  & 8 8 CD&O%#1 &((9 !"+*>&' (%$2!!!,"2"2D'+zz$'7)/ " @ 	@r   c                     [         R                  " U R                  SUS5      n0 nUb  X'S'   Ub  X7S'   Ub  XGS'   U R                  [        R
                  UXuS9$ )a'  
get app tcp listeners identified by bibID

:param blb_id
     the id of blb which the listener work on
:type blb_id:string

:param listener_port
     The listener port to query
:type listener_port:int

: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   r]   r   rI   rJ   rB   rK   r   r@   rZ   rO   rP   r   r$   r'   s           r   describe_app_tcp_listener&AppBlbClient.describe_app_tcp_listener  su    J hN$&3?# &9!):!!,"2"2D)/ " @ 	@r   c                     [         R                  " U R                  SUS5      n0 nUb  X'S'   Ub  X7S'   Ub  XGS'   U R                  [        R
                  UXuS9$ )a  
get app udp listeners identified by bibID

:param blb_id
     the id of blb which the listener work on
:type blb_id:string

:param listener_port
     The listener port to query
:type listener_port:int

: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   re   r   rI   rJ   rB   rK   r   s           r   describe_app_udp_listener&AppBlbClient.describe_app_udp_listener  su    H hN$&3?# &9!):!!,"2"2D)/ " @ 	@r   c                     [         R                  " U R                  SUS5      n0 nUb  X'S'   Ub  X7S'   Ub  XGS'   U R                  [        R
                  UXuS9$ )a$  
get app http listeners identified by bibID

:param blb_id
     the id of blb which the listener work on
:type blb_id:string

:param listener_port
     The listener port to query
:type listener_port:int

: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   ri   r   rI   rJ   rB   rK   r   s           r   describe_app_http_listener'AppBlbClient.describe_app_http_listener  su    H hO$&3?# &9!):!!,"2"2D)/ " @ 	@r   c                     [         R                  " U R                  SUS5      n0 nUb  X'S'   Ub  X7S'   Ub  XGS'   U R                  [        R
                  UXuS9$ )a%  
get app https listeners identified by bibID

:param blb_id
     the id of blb which the listener work on
:type blb_id:string

:param listener_port
     The listener port to query
:type listener_port:int

: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   r}   r   rI   rJ   rB   rK   r   s           r   describe_app_https_listener(AppBlbClient.describe_app_https_listener6  su    H hP$&3?# &9!):!!,"2"2D)/ " @ 	@r   c                     [         R                  " U R                  SUS5      n0 nUb  X'S'   Ub  X7S'   Ub  XGS'   U R                  [        R
                  UXuS9$ )a#  
get app ssl listeners identified by bibID

:param blb_id
     the id of blb which the listener work on
:type blb_id:string

:param listener_port
     The listener port to query
:type listener_port:int

: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   r   r   rI   rJ   rB   rK   r   s           r   describe_app_ssl_listener&AppBlbClient.describe_app_ssl_listenerg  su    F hN$&3?# &9!):!!,"2"2D)/ " @ 	@r   c                     [         R                  " U R                  SUS5      n0 nUb  X'S'   Ub  X7S'   Ub  XGS'   U R                  [        R
                  UXuS9$ )a#  
get app all listeners identified by bibID

:param blb_id
     the id of blb which the listener work on
:type blb_id:string

:param listener_port
     The listener port to query
:type listener_port:int

: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   listenerr   rI   rJ   rB   rK   r   s           r   describe_app_all_listener&AppBlbClient.describe_app_all_listener  su    F h
K$&3?# &9!):!!,"2"2D)/ " @ 	@r   )r@   portListc                     [         R                  " U R                  SUS5      n0 nSUS'   Uc  [        5       US'   OX6S'   0 nX'S'   U R	                  [
        R                  U[        R                  " U5      UUS9$ )a  
Release app listener under the specified LoadBalancer,
the listener is specified by listening to the port.

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param portList:
    The ports of listeners to be released
:type portList:list<int>

:param client_token:
    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.   r   N   batchdeleter/   r   r4   	r   r6   r7   r8   r)   r   rD   r;   r<   )r   r@   r   r=   r   r$   r'   r%   s           r   delete_app_listeners!AppBlbClient.delete_app_listeners  s    8 h
K!%~%:%<F>"%1>"#Z!!,"2"2D'+zz$'7)/ " 1 	1r   )r@   rZ   app_policy_vosc                     [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXGS'   UUS.nU R	                  [
        R                  U[        R                  " U5      UUS9$ )a  
Create policys.

:param blb_id:
    the id of blb which the listener work on
:type blb_id: string

:param listener_port:
    port to be linstened owned by listener
:value 1-65535
:type listener_port: int

:param app_policy_vos
    policy list the listener binds.
    If the listener type is TCP,
    there is only one policy
    and only the full match is supported.
https://cloud.baidu.com/doc/BLB/API.html#AppPolicy
:type app_policy_vos: list<AppPolicy>

:param client_token:
    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.   policysr/   )r_   appPolicyVosr4   )	r   r6   r7   r8   r)   r   r:   r;   r<   )	r   r@   rZ   r   r=   r   r$   r'   r%   s	            r   create_policysAppBlbClient.create_policys  s    J h	J%:%<F>"%1>" **

 !!,"3"3T'+zz$'7)/ " 1 	1r   c                     [         R                  " U R                  SUS5      n0 nX'S'   Ub  X7S'   Ub  XGS'   U R                  [        R
                  UXuS9$ )a  
get policys

:param blb_id
     the id of blb which the listener work on
:type blb_id:string

:param listener_port
     The listener port used by listener
:type listener_port:int

: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   r   s   portrI   rJ   rB   rK   r   s           r   describe_policysAppBlbClient.describe_policys*  sn    J h	J'w &9!):!!,"2"2D)/ " @ 	@r   )r@   rZ   policys_listc                     [         R                  " U R                  SUS5      n0 nSUS'   Uc  [        5       US'   OXGS'   UUS.nU R	                  [
        R                  U[        R                  " U5      UUS9$ )as  
Release the listener under the specified LoadBalancer,
the listener is specified by listening to the port.

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param listener_port
     The listener port used by listener
:type listener_port:int

 :param policys_list
     All policy identifiers to be released
:type policys_list:list<str>

:param client_token:
    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.   r   Nr   r/   )portpolicyIdListr4   r   )	r   r@   rZ   r   r=   r   r$   r'   r%   s	            r   delete_policysAppBlbClient.delete_policysZ  s    B h	J!%~%:%<F>"%1>" "(

 !!,"2"2D'+zz$'7)/ " 1 	1r   c                 b   [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXXS'   0 n	Ub  [        R
                  " U5      U	S'   Ub  [        R
                  " U5      U	S'   Ub  XIS'   U R                  [        R                  U[        R                  " U	5      UUS9$ )a  
create server group for the specified LoadBalancer,
support batch add

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param name:
    name of server group
:type name:string

:param desc:
    description of server group
:type desc:string

:param backend_server_list
    List of backend servers to be added
https://cloud.baidu.com/doc/BLB/API.html#AppBackendServer
:type backend_server_list:List<AppBackendServer>

:param client_token:
    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.   appservergroupr/   r0   r1   backendServerListr4   r5   )
r   r@   r0   r1   backend_server_listr=   r   r$   r'   r%   s
             r   create_app_server_group$AppBlbClient.create_app_server_group  s    N h@PQ%:%<F>"%1>"!33D9DL!33D9DL*(;$%!!,"3"3T'+zz$'7)/ " 1 	1r   )r@   sg_idc                    [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXXS'   0 n	[        R
                  " U5      U	S'   Ub  [        R
                  " U5      U	S'   Ub  [        R
                  " U5      U	S'   U R                  [        R                  U[        R                  " U	5      UUS9$ )ae  
update the information of the app server group
of the specified LoadBalancer

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param sg_id:
    id of the server group to be updated
:type sg_id:string

:param name:
    name of server group
:type name:string

:param desc:
    description of server group
:type desc:string

:param client_token:
    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.   r   r/   sgIdr0   r1   r4   rC   )
r   r@   r   r0   r1   r=   r   r$   r'   r%   s
             r   update_app_server_group$AppBlbClient.update_app_server_group  s    L h@PQ%:%<F>"%1>"//6V!33D9DL!33D9DL!!,"2"2D'+zz$'7)/ " 1 	1r   c                     [         R                  " U R                  SUS5      n0 nUb  X(S'   Ub  X8S'   Ub  XHS'   Ub  XXS'   U R                  [        R
                  XxUS9$ )aq  
Query the imformation of app server group
of the specified LoadBalancer

:param blb_id:
    Id of LoadBalancer
:type blb_id:string

:param name:
    name of server group
:type name:string

:param exactly_match:
    Set whether the name matches globally
:type exactly_match:boolean

: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   r   rH      exactlyMatchrI   rJ   rB   rK   	r   r@   r0   exactly_matchrO   rP   r   r$   r'   s	            r   describe_app_server_group&AppBlbClient.describe_app_server_group  s    T h@PQ"7O$&3?# &9!):!!,"2"2D)/ " 1 	1r   c                     [         R                  " U R                  SUS5      n0 nSUS'   Uc  [        5       US'   OX6S'   0 n[        R
                  " U5      US'   U R                  [        R                  U[        R                  " U5      UUS9$ )a  
delete the app server group of the specified LoadBalancer,

:param blb_id:
        id of LoadBalancer
:type blb_id:string

:param sg_id:
    id of the server group to be updated
:type sg_id:string

:param client_token:
        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.   r   N   deleter/   r   r4   rC   )r   r@   r   r=   r   r$   r'   r%   s           r   delete_app_server_group$AppBlbClient.delete_app_server_group?  s    6 h@PQ y%:%<F>"%1>"//6V!!,"2"2D'+zz$'7)/ " 1 	1r   )r@   r   r   protocol_typec                 n   [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OUUS'   [        R
                  " U5      U[        R
                  " U5      S.nUb  [        R
                  " U5      US'   Ub  UUS'   Ub  [        R
                  " U5      US'   Ub  UUS'   U	b  U	US	'   U
b  U
US
'   Ub  UUS'   Ub  [        R
                  " U5      US'   Ub  [        R
                  " U5      US'   U R                  [        R                  U[        R                  " U5      UUS9$ )a  
create server group for the specified LoadBalancer,
support batch add
:param blb_id:
    id of LoadBalancer
:type blb_id:string
:param sg_id:
    id of the server group
:type sg_id:string
:param port:
    Port number, integer between 1 and 65535
:type port:string
:param protocol_type:
    Protocol type of listening port, "TCP"/"UDP"/"HTTP"
:type protocol_type:string
:param health_check:
    Health check protocol
:value 'HTTP' or 'TCP',default:'HTTP'
:type health_check: string
:param health_check_port:
    Health check port, the default is the same as port
:type health_check_port: int
:param health_check_urlpath:
    Health check URI, default '/'.
    Effective when the health check protocol is "HTTP"
:type health_check_urlpath: string
 :param health_check_timeout_insecond:
    Health check timeout (unit: second)
:value 1-60, default: 3
:type health_check_timeout_insecond: int
:param health_check_interval_insecond:
    Health check interval (unit: second)
:value 1-10, default: 3
:type health_check_interval_insecond: int
:param health_check_down_retry:
    The unhealthy down retry, that is, how many consecutive health
    check failures, shields the backend server.
:value 2-5, default: 3
:type health_check_down_retry: int
:param health_check_up_retry:
    Health up retry, that is, how many consecutive health checks
    are successful, then re-use the back-end server
:value:2-5, default: 3
:type health_check_up_retry: int
:param health_check_normal_status:
    The HTTP status code when the health check is normal supports
    a combination of five types of status codes,
    such as "http_1xx|http_2xx", Effective when the health check
    protocol is "HTTP"
:value default: http_2xx|http_3xx
:type health_check_normal_status: string
:param udp_health_check_string:
    The health check string for the udp listener,
    it must be passed when the health check type is "UDP"
:type udp_health_check_string: string
:param client_token:
    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.   appservergroupportr/   )r   r   typehealthCheckhealthCheckPorthealthCheckUrlPathhealthCheckTimeoutInSecondhealthCheckIntervalInSecondhealthCheckDownRetryhealthCheckUpRetryhealthCheckNormalStatusudpHealthCheckStringr4   r5   )r   r@   r   r   r   health_checkhealth_check_porthealth_check_urlpathhealth_check_timeout_insecondhealth_check_interval_insecondhealth_check_down_retryhealth_check_up_retryhealth_check_normal_statusudp_health_check_stringr=   r   r$   r'   r%   s                      r   create_app_server_group_port)AppBlbClient.create_app_server_group_portj  so   ` h@TU%:%<F>"%1F>" ,,U3,,];

 #"(":":<"HD(&7D"#+(()=> %&(41ND-.)52PD./".+BD'( ,)>D%&%1(()CD *+".(()@A '(!!,"3"3T'+zz$'7)/ " 1 	1r   )r@   r   port_idc                 l   [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OUUS'   [        R
                  " U5      [        R
                  " U5      S.nUb  [        R
                  " U5      US'   Ub  UUS'   Ub  [        R
                  " U5      US'   Ub  UUS'   Ub  UUS	'   U	b  U	US
'   U
b  U
US'   Ub  [        R
                  " U5      US'   Ub  [        R
                  " U5      US'   U R                  [        R                  U[        R                  " U5      UUS9$ )a  
update server group for the specified LoadBalancer,
support batch add

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param sg_id:
    id of the server group
:type sg_id:string

:param port_id:
    The id of the server group port to be updated
:type port_id:string

:param health_check:
    Health check protocol
:value 'HTTP' or 'TCP',default:'HTTP'
:type health_check: string

:param health_check_port:
    Health check port, the default is the same as port
:type health_check_port: int

:param health_check_urlpath:
    Health check URI, default '/'.
    Effective when the health check protocol is "HTTP"
:type health_check_urlpath: string

 :param health_check_timeout_insecond:
    Health check timeout (unit: second)
:value 1-60, default: 3
:type health_check_timeout_insecond: int

:param health_check_interval_insecond:
    Health check interval (unit: second)
:value 1-10, default: 3
:type health_check_interval_insecond: int

:param health_check_down_retry:
    The unhealthy down retry, that is, how many consecutive health
    check failures, shields the backend server.
:value 2-5, default: 3
:type health_check_down_retry: int

:param health_check_up_retry:
    Health up retry, that is, how many consecutive health checks
    are successful, then re-use the back-end server
:value:2-5, default: 3
:type health_check_up_retry: int

:param health_check_normal_status:
    The HTTP status code when the health check is normal supports
    a combination of five types of status codes,
    such as "http_1xx|http_2xx", Effective when the health check
    protocol is "HTTP"
:value default: http_2xx|http_3xx
:type health_check_normal_status: string

:param udp_health_check_string:
    The health check string for the udp listener
:type udp_health_check_string: string

:param client_token:
    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.   r   r/   )r   portIdr   r   r   r   r   r   r   r   r   r4   rC   )r   r@   r   r   r   r   r   r   r   r   r   r   r   r=   r   r$   r'   r%   s                     r   update_app_server_group_port)AppBlbClient.update_app_server_group_port  sl   t h@TU%:%<F>"%1F>" ,,U3..w7
 #"(":":<"HD(&7D"#+(()=> %&(41ND-.)52PD./".+BD'( ,)>D%&%1(()CD *+".(()@A '(!!,"2"2D'+zz$'7)/ " 1 	1r   )r@   r   	port_listc                    [         R                  " U R                  SUS5      n0 nSUS'   Uc  [        5       US'   OXGS'   [        R
                  " U5      US.nU R                  [        R                  U[        R                  " U5      UUS9$ )a  
delete server group of the specified LoadBalancer,

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param sg_id:
    id of the server group
:type sg_id:string

:param port_list:
    The ports of listeners to be released
:type port_list:list<string>

:param client_token:
    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.   r   Nr   r/   )r   
portIdListr4   rC   )	r   r@   r   r   r=   r   r$   r'   r%   s	            r   delete_app_server_group_port)AppBlbClient.delete_app_server_group_port_  s    @ h@TU!%~%:%<F>"%1>" ,,U3#

 !!,"2"2D'+zz$'7)/ " 1 	1r   )r@   r   r   c                    [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXGS'   [        R
                  " U5      US.nU R                  [        R                  U[        R                  " U5      UUS9$ )a  
Add backend server for the specified LoadBalancer and server group,
support batch add

:param blb_id:
        id of LoadBalancer
:type blb_id:string

:param sg_id:
    id of the server group
:type sg_id:string

:param backend_server_list
        List of backend servers to be added
https://cloud.baidu.com/doc/BLB/API.html#AppBackendServer
:type backend_server_list:List<AppBackendServer>

:param client_token:
    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.   blbrsr/   r   r   r4   r5   	r   r@   r   r   r=   r   r$   r'   r%   s	            r   create_app_blb_rsAppBlbClient.create_app_blb_rs  s    F hH%:%<F>"%1>" ,,U3!4

 !!,"3"3T'+zz$'7)/ " 1 	1r   c                    [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXGS'   [        R
                  " U5      US.nU R                  [        R                  U[        R                  " U5      UUS9$ )a  
update backend server for the specified LoadBalancer and server group,
support batch update

:param blb_id:
        id of LoadBalancer
:type blb_id:string

:param sg_id:
    id of the server group
:type sg_id:string

:param backend_server_list
        List of backend servers to be added
https://cloud.baidu.com/doc/BLB/API.html#AppBackendServer
:type backend_server_list:List<AppBackendServer>

:param client_token:
    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.   r  r/   r  r4   rC   r  s	            r   update_app_blb_rsAppBlbClient.update_app_blb_rs  s    F hH%:%<F>"%1>" ,,U3!4

 !!,"2"2D'+zz$'7)/ " 1 	1r   c                     [         R                  " U R                  SUS5      n0 n[        R                  " U5      US'   Ub  X7S'   Ub  XGS'   U R                  [        R                  XgUS9$ )a$  
Query the list of backend servers under the specified LoadBalancer
and server group

:param blb_id:
    Id of LoadBalancer
:type blb_id:string

:param sg_id:
    id of the server group
:type sg_id: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   r  s   sgIdrI   rJ   rB   r   r6   r7   r
   r9   r)   r   rL   )r   r@   r   rO   rP   r   r$   r'   s           r   describe_app_blb_rs AppBlbClient.describe_app_blb_rs  sy    J hH 2259w &9!):!!,"2"2D)/ " 1 	1r   c                    [         R                  " U R                  SUS5      n0 nSUS'   Uc  [        5       US'   OXGS'   [        R
                  " U5      US.nU R                  [        R                  U[        R                  " U5      UUS9$ )ab  
delete backend server for the specified LoadBalancer and server group,
support batch delete

:param blb_id:
        id of LoadBalancer
:type blb_id:string

:param sg_id:
    id of the server group
:type sg_id:string

:param backend_server_list
        List of backend servers to be deleted
:type backend_server_list:List<string>

:param client_token:
    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.   r  Nr   r/   )r   backendServerIdListr4   rC   r  s	            r   delete_app_blb_rsAppBlbClient.delete_app_blb_rs+	  s    D hH!%~%:%<F>"%1>" ,,U3#6

 !!,"2"2D'+zz$'7)/ " 1 	1r   c                     [         R                  " U R                  SUS5      nS[        R                  " U5      0nU R                  [        R                  XEUS9$ )  
describe servers of specific server group

:param blb_id:
        id of LoadBalancer
:type blb_id:string

:param sg_id:
    id of the server group
:type sg_id:string

:param config:
:type config: baidubce.BceClientConfiguration

:return:
:rtype baidubce.bce_response.BceResponse
r.   
blbrsmountr   rB   r  r   r@   r   r   r$   r'   s         r   describe_rs_mountAppBlbClient.describe_rs_mount_	  s^    ( hM F,,U3
 !!,"2"2D)/ " 1 	1r   c                     [         R                  " U R                  SUS5      nS[        R                  " U5      0nU R                  [        R                  XEUS9$ )r  r.   blbrsunmountr   rB   r  r  s         r   describe_rs_unmount AppBlbClient.describe_rs_unmount|	  s^    ( hO F,,U3
 !!,"2"2D)/ " 1 	1r   c                 b   [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXXS'   0 n	Ub  [        R
                  " U5      U	S'   Ub  [        R
                  " U5      U	S'   Ub  XIS'   U R                  [        R                  U[        R                  " U	5      UUS9$ )a  
create ip group for the specified LoadBalancer,
support batch add

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param name:
    name of ip group
:type name:string

:param desc:
    description of ip group
:type desc:string

:param member_list
    List of backend servers to be added
https://cloud.baidu.com/doc/BLB/API.html#AppBackendServer
:type member_list:List<AppIpGroupMemberVO>

:param client_token:
    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.   ipgroupr/   r0   r1   
memberListr4   r5   )
r   r@   r0   r1   member_listr=   r   r$   r'   r%   s
             r   create_app_ip_group AppBlbClient.create_app_ip_group	  s    N h	J%:%<F>"%1>"!33D9DL!33D9DL"!,!!,"3"3T'+zz$'7)/ " 1 	1r   )r@   ip_group_idc                    [         R                  " U R                  SUS5      n0 nUc  [        5       US'   OXXS'   0 n	[        R
                  " U5      U	S'   Ub  [        R
                  " U5      U	S'   Ub  [        R
                  " U5      U	S'   U R                  [        R                  U[        R                  " U	5      UUS9$ )ai  
update the information of the app ip group
of the specified LoadBalancer

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param ip_group_id:
    id of the ip group to be updated
:type ip_group_id:string

:param name:
    name of server group
:type name:string

:param desc:
    description of server group
:type desc:string

:param client_token:
    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.   r   r/   	ipGroupIdr0   r1   r4   rC   )
r   r@   r%  r0   r1   r=   r   r$   r'   r%   s
             r   update_app_ip_group AppBlbClient.update_app_ip_group	  s    L h	J%:%<F>"%1>""44[A[!33D9DL!33D9DL!!,"2"2D'+zz$'7)/ " 1 	1r   c                     [         R                  " U R                  SUS5      n0 nUb  X(S'   Ub  X8S'   Ub  XHS'   Ub  XXS'   U R                  [        R
                  XxUS9$ )ai  
Query the imformation of app ip group
of the specified LoadBalancer

:param blb_id:
    Id of LoadBalancer
:type blb_id:string

:param name:
    name of ip group
:type name:string

:param exactly_match:
    Set whether the name matches globally
:type exactly_match:boolean

: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   r   rH   r   rI   rJ   rB   rK   r   s	            r   describe_app_ip_group"AppBlbClient.describe_app_ip_group
  s    T h	J"7O$&3?# &9!):!!,"2"2D)/ " 1 	1r   c                     [         R                  " U R                  SUS5      n0 nSUS'   Uc  [        5       US'   OX6S'   0 n[        R
                  " U5      US'   U R                  [        R                  U[        R                  " U5      UUS9$ )a  
delete the app ip group of the specified LoadBalancer,

:param blb_id:
        id of LoadBalancer
:type blb_id:string

:param ip_group_id:
    id of the ip group to be updated
:type ip_group_id:string

:param client_token:
        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.   r   Nr   r/   r'  r4   rC   )r   r@   r%  r=   r   r$   r'   r%   s           r   delete_app_ip_group AppBlbClient.delete_app_ip_groupF
  s    6 h	J y%:%<F>"%1>""44[A[!!,"2"2D'+zz$'7)/ " 1 	1r   )r@   r%  r   c                 n   [         R                  " U R                  SUSS5      n0 nUc  [        5       US'   OUUS'   [        R
                  " U5      [        R
                  " U5      S.nUb  [        R
                  " U5      US'   Ub  UUS'   Ub  [        R
                  " U5      US'   Ub  UUS	'   Ub  UUS
'   U	b  U	US'   U
b  U
US'   Ub  [        R
                  " U5      US'   Ub  [        R
                  " U5      US'   U R                  [        R                  U[        R                  " U5      UUS9$ )a`  
create server group for the specified LoadBalancer,
support batch add
:param blb_id:
    id of LoadBalancer
:type blb_id:string
:param ip_group_id:
    id of the ip group
:type ip_group_id:string
:param protocol_type:
    Protocol type of listening port, "TCP"/"UDP"/"HTTP"
:type protocol_type:string
:param health_check:
    Health check protocol
:value 'HTTP' or 'TCP',default:'HTTP'
:type health_check: string
:param health_check_port:
    Health check port, the default is the same as port
:type health_check_port: int
:param health_check_urlpath:
    Health check URI, default '/'.
    Effective when the health check protocol is "HTTP"
:type health_check_urlpath: string
 :param health_check_timeout_insecond:
    Health check timeout (unit: second)
:value 1-60, default: 3
:type health_check_timeout_insecond: int
:param health_check_interval_insecond:
    Health check interval (unit: second)
:value 1-10, default: 3
:type health_check_interval_insecond: int
:param health_check_down_retry:
    The unhealthy down retry, that is, how many consecutive health
    check failures, shields the backend server.
:value 2-5, default: 3
:type health_check_down_retry: int
:param health_check_up_retry:
    Health up retry, that is, how many consecutive health checks
    are successful, then re-use the back-end server
:value:2-5, default: 3
:type health_check_up_retry: int
:param health_check_normal_status:
    The HTTP status code when the health check is normal supports
    a combination of five types of status codes,
    such as "http_1xx|http_2xx", Effective when the health check
    protocol is "HTTP"
:value default: http_2xx|http_3xx
:type health_check_normal_status: string
:param udp_health_check_string:
    The health check string for the udp listener,
    it must be passed when the health check type is "UDP"
:type udp_health_check_string: string
:param client_token:
    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.   r   backendpolicyr/   )r'  r   r   r   r   r   r   r   r   r   r   r4   r5   )r   r@   r%  r   r   r   r   r   r   r   r   r   r   r=   r   r$   r'   r%   s                     r   create_app_ip_group_port%AppBlbClient.create_app_ip_group_portq
  sm   Z h	?[%:%<F>"%1F>"  11+>,,];
 #"(":":<"HD(&7D"#+(()=> %&(41ND-.)52PD./".+BD'( ,)>D%&%1(()CD *+".(()@A '(!!,"3"3T'+zz$'7)/ " 1 	1r   )r@   r%  r   c                 n   [         R                  " U R                  SUSS5      n0 nUc  [        5       US'   OUUS'   [        R
                  " U5      [        R
                  " U5      S.nUb  [        R
                  " U5      US'   Ub  UUS'   Ub  [        R
                  " U5      US'   Ub  UUS	'   Ub  UUS
'   U	b  U	US'   U
b  U
US'   Ub  [        R
                  " U5      US'   Ub  [        R
                  " U5      US'   U R                  [        R                  U[        R                  " U5      UUS9$ )a"  
update server group for the specified LoadBalancer,
support batch add

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param ip_group_id:
    id of the ip group
:type ip_group_id:string

:param port_id:
    The id of the server group port to be updated
:type port_id:string

:param health_check:
    Health check protocol
:value 'HTTP' or 'TCP',default:'HTTP'
:type health_check: string

:param health_check_port:
    Health check port, the default is the same as port
:type health_check_port: int

:param health_check_urlpath:
    Health check URI, default '/'.
    Effective when the health check protocol is "HTTP"
:type health_check_urlpath: string

 :param health_check_timeout_insecond:
    Health check timeout (unit: second)
:value 1-60, default: 3
:type health_check_timeout_insecond: int

:param health_check_interval_insecond:
    Health check interval (unit: second)
:value 1-10, default: 3
:type health_check_interval_insecond: int

:param health_check_down_retry:
    The unhealthy down retry, that is, how many consecutive health
    check failures, shields the backend server.
:value 2-5, default: 3
:type health_check_down_retry: int

:param health_check_up_retry:
    Health up retry, that is, how many consecutive health checks
    are successful, then re-use the back-end server
:value:2-5, default: 3
:type health_check_up_retry: int

:param health_check_normal_status:
    The HTTP status code when the health check is normal supports
    a combination of five types of status codes,
    such as "http_1xx|http_2xx", Effective when the health check
    protocol is "HTTP"
:value default: http_2xx|http_3xx
:type health_check_normal_status: string

:param udp_health_check_string:
    The health check string for the udp listener
:type udp_health_check_string: string

:param client_token:
    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.   r   r1  r/   )r'  idr   r   r   r   r   r   r   r   r   r4   rC   )r   r@   r%  r   r   r   r   r   r   r   r   r   r   r=   r   r$   r'   r%   s                     r   update_app_ip_group_port%AppBlbClient.update_app_ip_group_port
  sm   t h	?[%:%<F>"%1F>"  11+>**73
 #"(":":<"HD(&7D"#+(()=> %&(41ND-.)52PD./".+BD'( ,)>D%&%1(()CD *+".(()@A '(!!,"2"2D'+zz$'7)/ " 1 	1r   )r@   r%  r   c                    [         R                  " U R                  SUSS5      n0 nUc  [        5       US'   OXGS'   [        R
                  " U5      US.nU R                  [        R                  U[        R                  " U5      UUS9$ )a&  
delete server group of the specified LoadBalancer,

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param ip_group_id:
    id of the ip group
:type ip_group_id:string

:param port_list:
    The ports of listeners to be released
:type port_list:list<string>

:param client_token:
    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.   r   r1  r/   )r'  backendPolicyIdListr4   )r   r6   r7   r8   r
   r9   r)   r   rW   r;   r<   )	r   r@   r%  r   r=   r   r$   r'   r%   s	            r   delete_app_ip_group_port%AppBlbClient.delete_app_ip_group_portb  s    @ h	?[%:%<F>"%1>"  11+>#,

 !!,"5"5t'+zz$'7)/ " 1 	1r   c                    [         R                  " U R                  SUSS5      n0 n	Uc  [        5       U	S'   OXiS'   0 n
[        R
                  " U5      U
S'   X:S'   Ub  [        R
                  " U5      U
S'   Ub  [        R
                  " U5      U
S'   U R                  [        R                  U[        R                  " U
5      U	US	9$ )
a  
create ip group for the specified LoadBalancer,
support batch add

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param ip_group_id:
    id of the ip group to be updated
:type ip_group_id:string

:param member_list
    List of member to be added
https://cloud.baidu.com/doc/BLB/API.html#AppBackendServer
:type member_list:List<AppIpGroupMemberVO>

:param name:
    name of ip group
:type name:string

:param desc:
    description of ip group
:type desc:string

:param client_token:
    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.   r   memberr/   r'  r!  r0   r1   r4   r5   r   r@   r%  r"  r0   r1   r=   r   r$   r'   r%   s              r   create_app_ip_group_member'AppBlbClient.create_app_ip_group_member  s    V h	8T%:%<F>"%1>""44[A[(\!33D9DL!33D9DL!!,"3"3T'+zz$'7)/ " 1 	1r   c                    [         R                  " U R                  SUSS5      n0 n	Uc  [        5       U	S'   OXiS'   0 n
[        R
                  " U5      U
S'   X:S'   Ub  [        R
                  " U5      U
S'   Ub  [        R
                  " U5      U
S'   U R                  [        R                  U[        R                  " U
5      U	US	9$ )
a  
update the information of the app ip group
of the specified LoadBalancer

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param ip_group_id:
    id of the ip group to be updated
:type ip_group_id:string

:param member_list
    List of member to be updated
https://cloud.baidu.com/doc/BLB/API.html#AppBackendServer
:type member_list:List<AppIpGroupMemberVO>

:param name:
    name of server group
:type name:string

:param desc:
    description of server group
:type desc:string

:param client_token:
    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.   r   r=  r/   r'  r!  r0   r1   r4   rC   r>  s              r   update_app_ip_group_member'AppBlbClient.update_app_ip_group_member  s    V h	8T%:%<F>"%1>""44[A[(\!33D9DL!33D9DL!!,"2"2D'+zz$'7)/ " 1 	1r   c                 *   [         R                  " U R                  SUSS5      n0 nSUS'   Uc  [        5       US'   OXGS'   0 n[        R
                  " U5      US'   X8S'   U R                  [        R                  U[        R                  " U5      UUS	9$ )
az  
delete the app ip group of the specified LoadBalancer,

:param blb_id:
    id of LoadBalancer
:type blb_id:string

:param ip_group_id:
    id of the ip group to be updated
:type ip_group_id:string

:param memberid_list
    List of memberid to be deleted
https://cloud.baidu.com/doc/BLB/API.html#AppBackendServer
:type memberid_list:List<string>

:param client_token:
        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.   r   r=  Nr   r/   r'  memberIdListr4   rC   )	r   r@   r%  memberid_listr=   r   r$   r'   r%   s	            r   delete_app_ip_group_member'AppBlbClient.delete_app_ip_group_member  s    @ h	8T y%:%<F>"%1>""44[A[,^!!,"2"2D'+zz$'7)/ " 1 	1r   c                     [         R                  " U R                  SUSS5      n0 n	X)S'   Ub  XYS'   Ub  XiS'   U R                  [        R
                  XUS9$ )a*  
Query the imformation of app ip group
of the specified LoadBalancer

:param blb_id:
    Id of LoadBalancer
:type blb_id:string

:param ip_group_id:
    id of the ip group to be updated
:type ip_group_id: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

:return:
:rtype baidubce.bce_response.BceResponse
r.   r   r=  s	   ipGroupIdrI   rJ   rB   rK   )
r   r@   r%  r0   r   rO   rP   r   r$   r'   s
             r   describe_app_ip_group_member)AppBlbClient.describe_app_ip_group_memberB  so    N h	8T*| &9!):!!,"2"2D)/ " 1 	1r    r   )NNNNN)NNNN)NNNNNNN)NN)	NNNNNNNNN)NNNNNNNNNNNNNN)NNN)
NNNNNNNNNN)NNNNNNNNNNNNNNNN)NNNNNNNNNNN)@__name__
__module____qualname____firstlineno____doc__r7   r   r   r)   r	   bytesstrr>   rE   rQ   rT   rX   intra   rf   ry   listr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r  r#  r(  r+  r.  r2  r6  r:  r?  rB  rG  rJ  __static_attributes__rL  r   r   r   r   )   s	    G= 7;/36 eS\&>BEI21&21h eS\">B:>-@ #-@^ JNFJ*.<@| eS\"1 #1& eS\"@ #@< eS\& 9='+.1&.1` eS\& 9='+.1&.1` eS\& :>376::>1504/3.2(,i1&i1V eS\t5 04487;;?GKGK7;AE:><@F@5F@P eS\t5 040459?C:>^@5^@@ eS\! +/-1'+.1!.1` eS\! >B'+-@!-@^ eS\! ?C376::>1504/3.2(,_@!_@B eS\5,0/3487;;?2615+/15267;,015:>/3)-!M1 6M1^ eS\5*.)-/30459*./3-1'+c@ 6c@J eS\">B8<)-/@ #/@b eS\">B8<)-.@ #.@` eS\"?C9=*..@ #.@` eS\"@D:>+/.@ #.@` eS\">BEI-@ #-@^ eS\">BEI-@ #-@^ eS\ +/$()1)1V eS\!# 59"11#11f eS\! 04 $,@!,@\ eS\!
 26/1!/1b eS\"%)%)48-1'+81 #81t eS\CL" &*%)-1'+	51"51n eS\"'+04)-8<	61 #61p eS\CL" .2'+'1"'1R eS\CLs"CL*
 377;:>CGDH=A;?@D=A26,0q1*q1f eS\CLcl$ 377;:>CGDH=A;?@D=A26,0z1$z1x eS\CL
 @D.1.1` eS\CL"&(
 (,!%/1(/1b eS\CL"&(
 (,!%/1(/1b eS\CL" 37#'-1"-1^ eS\CL"&(
 (,!%/1(/1b eS\CL"1"16 eS\CL"1"16 eS\"!%!%(,)-#'81 #81t eS\ #,( "&!%)-#'	51(51n eS\"#',0%)48	61 #61p eS\ #,( *.#''1('1R eS\ #,"CL*
 /3376:?C@D9=7;<@9=.2(,m1*m1^ eS\ #,cl$ /3376:?C@D9=7;<@9=.2(,z1$z1x eS\ #,
 <@,1,1\ eS\ #,( )-(,04*.	;1(;1z eS\ #,( )-(,04*.	;1(;1z eS\ #,( 15*.-1(-1^ eS\ #,( +/37,0;?	/1(/1r   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
)rS  uuiduuid4r	   rR  rU  rT  )bind_app_security_groupsunbind_app_security_groupsdescribe_app_security_groups#bind_app_enterprise_security_groups%unbind_app_enterprise_security_groups'describe_app_enterprise_security_groupscreate_app_ipgroup_policysdescribe_app_ipgroup_policyss           r   generate_client_token_by_uuidrb  u  s     tzz|r   )rQ  r   r;   loggingrX  sysbaidubcer   baidubce.authr   baidubce.httpr   r   r   r   baidubce.utilsr	   r
   r7   reloadsetdefaultencoding	getLoggerrM  _loggerr   r   rb  r8   rL  r   r   <module>rm     s        
 $ ' ) ! &  # ;;
3K7#


H
%J11?00 J11Xb^1@ 6 r   