
    9i>                     4    S r  " S S\5      r " S S\5      rg)z*
This module provides models for ESG-SDK.
c                   "    \ rS rSrSrSS jrSrg)TagModel   z

TAGModel
Nc                     Xl         X l        g NtagKeytagValue)selfr   r	   s      _/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/baidubce/services/esg/esg_model.py__init__TagModel.__init__   s         r   )NN__name__
__module____qualname____firstlineno____doc__r   __static_attributes__ r   r   r   r      s    !r   r   c                   (    \ rS rSrSr   SS jrSrg) EnterpriseSecurityGroupRuleModel    a/  
This class define the rule of the securitygroup.
param: remark:
    The remark for the rule.
param: direction:
    The parameter to define the rule direction,available value are "ingress/egress".
param: ethertype:
    The ethernet protocol.
param: portRange:
    The port range to specify the port which the rule will work on.
    Available range is rang [0, 65535], the fault value is "" for all port.
param: sourceportRange:
    The source port range to specify the port which the rule will work on.
    Available range is rang [0, 65535], the fault value is "" for all port.
param: protocol:
    The parameter specify which protocol will the rule work on, the fault value is "" for all protocol.
    Available protocol are tcp, udp and icmp.
param: sourceIp:
    The source ip range with CIDR formats. The default value 0.0.0.0/0 (allow all ip address),
    other supported formats such as {ip_addr}/12 or {ip_addr}. Only supports IPV4.
    Only works for  direction = "ingress".
param: destIp:
    The destination ip range with CIDR formats. The default value 0.0.0.0/0 (allow all ip address),
    other supported formats such as {ip_addr}/12 or {ip_addr}. Only supports IPV4.
    Only works for  direction = "egress".
param: EnterprisesecurityGroupId:
    The id of the Enterprisesecuritygroup for the rule.
param: localIp:
    The parameter specify the localIP (allow all ip address: all).
param: priority:
    The parameter specify the priority of the rule(range 1-1000).
param: action:
        The parameter specify the action of the rule, available value are "allow/deny".
Nc                     Xl         X l        X0l        X@l        XPl        X`l        Xpl        Xl        Xl        Xl	        Xl
        Xl        g r   )remark	direction	ethertype	portRangesourcePortRangeprotocolsourceIpdestIpenterpriseSecurityGroupIdactionlocalIppriority)r
   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   s                r   r   )EnterpriseSecurityGroupRuleModel.__init__D   sB     """.  )B& r   )r$   r"   r   r#   r   r%   r   r&   r    r   r!   r   )NNNNNNNNNNNNr   r   r   r   r   r       s    !F ei6:UY!r   r   N)r   objectr   r   r   r   r   <module>r)      s"   $!v !2!v 2!r   