tencentcloud-sdk-vpc 3.0.995 → 3.0.997
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +291 -1
- data/lib/v20170312/models.rb +759 -11
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: ed71b715cd04656e017495275507eed787a6e246
         | 
| 4 | 
            +
              data.tar.gz: 9bba3d7095efcb726ef160cafe13d0b60b07dc88
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 37c100d012c2bf2d247a7d54968e1c93cd95399e9607bed5c0191e528df9a1086de4b4b45c56d44bfc413ad077be21201a4f09f526243b7570ef0b529f10012f
         | 
| 7 | 
            +
              data.tar.gz: d3dab696f23b434bf1a344c538e33d59cbfeb18760ffa266421d68c311bcc6c395c3a95656c51cae0119886f3859c9c2b8722b38f502fd3c9bc5758dfbf5ab08
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.997
         | 
    
        data/lib/v20170312/client.rb
    CHANGED
    
    | @@ -780,6 +780,30 @@ module TencentCloud | |
| 780 780 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 781 781 | 
             
                    end
         | 
| 782 782 |  | 
| 783 | 
            +
                    # 检查流量镜像的采集端接收端(公网IP类型)
         | 
| 784 | 
            +
             | 
| 785 | 
            +
                    # @param request: Request instance for CheckTrafficMirror.
         | 
| 786 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::CheckTrafficMirrorRequest`
         | 
| 787 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::CheckTrafficMirrorResponse`
         | 
| 788 | 
            +
                    def CheckTrafficMirror(request)
         | 
| 789 | 
            +
                      body = send_request('CheckTrafficMirror', request.serialize)
         | 
| 790 | 
            +
                      response = JSON.parse(body)
         | 
| 791 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 792 | 
            +
                        model = CheckTrafficMirrorResponse.new
         | 
| 793 | 
            +
                        model.deserialize(response['Response'])
         | 
| 794 | 
            +
                        model
         | 
| 795 | 
            +
                      else
         | 
| 796 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 797 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 798 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 799 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 800 | 
            +
                      end
         | 
| 801 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 802 | 
            +
                      raise e
         | 
| 803 | 
            +
                    rescue StandardError => e
         | 
| 804 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 805 | 
            +
                    end
         | 
| 806 | 
            +
             | 
| 783 807 | 
             
                    # 本接口(ClearRouteTableSelectionPolicies)用于清空指定云联网的路由表选择策略。
         | 
| 784 808 |  | 
| 785 809 | 
             
                    # @param request: Request instance for ClearRouteTableSelectionPolicies.
         | 
| @@ -1804,7 +1828,7 @@ module TencentCloud | |
| 1804 1828 | 
             
                    # * Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port是排他关系,不允许同时输入,否则会接口报错。
         | 
| 1805 1829 | 
             
                    # * Action字段只允许输入ACCEPT或DROP。
         | 
| 1806 1830 | 
             
                    # * CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。
         | 
| 1807 | 
            -
                    # *  | 
| 1831 | 
            +
                    # * 请求中可以同时指定入站和出站两个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
         | 
| 1808 1832 |  | 
| 1809 1833 | 
             
                    # @param request: Request instance for CreateSecurityGroupWithPolicies.
         | 
| 1810 1834 | 
             
                    # @type request: :class:`Tencentcloud::vpc::V20170312::CreateSecurityGroupWithPoliciesRequest`
         | 
| @@ -1960,6 +1984,30 @@ module TencentCloud | |
| 1960 1984 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 1961 1985 | 
             
                    end
         | 
| 1962 1986 |  | 
| 1987 | 
            +
                    # 本接口(CreateTrafficMirror)用于创建流量镜像实例。
         | 
| 1988 | 
            +
             | 
| 1989 | 
            +
                    # @param request: Request instance for CreateTrafficMirror.
         | 
| 1990 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::CreateTrafficMirrorRequest`
         | 
| 1991 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::CreateTrafficMirrorResponse`
         | 
| 1992 | 
            +
                    def CreateTrafficMirror(request)
         | 
| 1993 | 
            +
                      body = send_request('CreateTrafficMirror', request.serialize)
         | 
| 1994 | 
            +
                      response = JSON.parse(body)
         | 
| 1995 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 1996 | 
            +
                        model = CreateTrafficMirrorResponse.new
         | 
| 1997 | 
            +
                        model.deserialize(response['Response'])
         | 
| 1998 | 
            +
                        model
         | 
| 1999 | 
            +
                      else
         | 
| 2000 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 2001 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 2002 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 2003 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 2004 | 
            +
                      end
         | 
| 2005 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 2006 | 
            +
                      raise e
         | 
| 2007 | 
            +
                    rescue StandardError => e
         | 
| 2008 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 2009 | 
            +
                    end
         | 
| 2010 | 
            +
             | 
| 1963 2011 | 
             
                    # 本接口 (CreateTrafficPackages) 用于创建共享流量包。
         | 
| 1964 2012 |  | 
| 1965 2013 | 
             
                    # @param request: Request instance for CreateTrafficPackages.
         | 
| @@ -3218,6 +3266,30 @@ module TencentCloud | |
| 3218 3266 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 3219 3267 | 
             
                    end
         | 
| 3220 3268 |  | 
| 3269 | 
            +
                    # 本接口(DeleteTrafficMirror)用于删除流量镜像实例。
         | 
| 3270 | 
            +
             | 
| 3271 | 
            +
                    # @param request: Request instance for DeleteTrafficMirror.
         | 
| 3272 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::DeleteTrafficMirrorRequest`
         | 
| 3273 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteTrafficMirrorResponse`
         | 
| 3274 | 
            +
                    def DeleteTrafficMirror(request)
         | 
| 3275 | 
            +
                      body = send_request('DeleteTrafficMirror', request.serialize)
         | 
| 3276 | 
            +
                      response = JSON.parse(body)
         | 
| 3277 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 3278 | 
            +
                        model = DeleteTrafficMirrorResponse.new
         | 
| 3279 | 
            +
                        model.deserialize(response['Response'])
         | 
| 3280 | 
            +
                        model
         | 
| 3281 | 
            +
                      else
         | 
| 3282 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 3283 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 3284 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 3285 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 3286 | 
            +
                      end
         | 
| 3287 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 3288 | 
            +
                      raise e
         | 
| 3289 | 
            +
                    rescue StandardError => e
         | 
| 3290 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 3291 | 
            +
                    end
         | 
| 3292 | 
            +
             | 
| 3221 3293 | 
             
                    # 删除共享带宽包(仅非活动状态的流量包可删除)。
         | 
| 3222 3294 |  | 
| 3223 3295 | 
             
                    # @param request: Request instance for DeleteTrafficPackages.
         | 
| @@ -5540,6 +5612,30 @@ module TencentCloud | |
| 5540 5612 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 5541 5613 | 
             
                    end
         | 
| 5542 5614 |  | 
| 5615 | 
            +
                    # 本接口(DescribeTrafficMirrors)用于查询流量镜像实例信息。
         | 
| 5616 | 
            +
             | 
| 5617 | 
            +
                    # @param request: Request instance for DescribeTrafficMirrors.
         | 
| 5618 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeTrafficMirrorsRequest`
         | 
| 5619 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeTrafficMirrorsResponse`
         | 
| 5620 | 
            +
                    def DescribeTrafficMirrors(request)
         | 
| 5621 | 
            +
                      body = send_request('DescribeTrafficMirrors', request.serialize)
         | 
| 5622 | 
            +
                      response = JSON.parse(body)
         | 
| 5623 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 5624 | 
            +
                        model = DescribeTrafficMirrorsResponse.new
         | 
| 5625 | 
            +
                        model.deserialize(response['Response'])
         | 
| 5626 | 
            +
                        model
         | 
| 5627 | 
            +
                      else
         | 
| 5628 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 5629 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 5630 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 5631 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 5632 | 
            +
                      end
         | 
| 5633 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 5634 | 
            +
                      raise e
         | 
| 5635 | 
            +
                    rescue StandardError => e
         | 
| 5636 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 5637 | 
            +
                    end
         | 
| 5638 | 
            +
             | 
| 5543 5639 | 
             
                    # 本接口 (DescribeTrafficPackages)  用于查询共享流量包详细信息,包括共享流量包唯一标识ID,名称,流量使用信息等
         | 
| 5544 5640 |  | 
| 5545 5641 | 
             
                    # @param request: Request instance for DescribeTrafficPackages.
         | 
| @@ -8447,6 +8543,31 @@ module TencentCloud | |
| 8447 8543 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 8448 8544 | 
             
                    end
         | 
| 8449 8545 |  | 
| 8546 | 
            +
                    # 本接口(ModifyTrafficMirrorAttribute)用于修改流量镜像实例属性。
         | 
| 8547 | 
            +
                    # 注意:只支持修改名字和描述信息
         | 
| 8548 | 
            +
             | 
| 8549 | 
            +
                    # @param request: Request instance for ModifyTrafficMirrorAttribute.
         | 
| 8550 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::ModifyTrafficMirrorAttributeRequest`
         | 
| 8551 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyTrafficMirrorAttributeResponse`
         | 
| 8552 | 
            +
                    def ModifyTrafficMirrorAttribute(request)
         | 
| 8553 | 
            +
                      body = send_request('ModifyTrafficMirrorAttribute', request.serialize)
         | 
| 8554 | 
            +
                      response = JSON.parse(body)
         | 
| 8555 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 8556 | 
            +
                        model = ModifyTrafficMirrorAttributeResponse.new
         | 
| 8557 | 
            +
                        model.deserialize(response['Response'])
         | 
| 8558 | 
            +
                        model
         | 
| 8559 | 
            +
                      else
         | 
| 8560 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 8561 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 8562 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 8563 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 8564 | 
            +
                      end
         | 
| 8565 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 8566 | 
            +
                      raise e
         | 
| 8567 | 
            +
                    rescue StandardError => e
         | 
| 8568 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 8569 | 
            +
                    end
         | 
| 8570 | 
            +
             | 
| 8450 8571 | 
             
                    # 本接口(ModifyVpcAttribute)用于修改私有网络(VPC)的相关属性。
         | 
| 8451 8572 |  | 
| 8452 8573 | 
             
                    # @param request: Request instance for ModifyVpcAttribute.
         | 
| @@ -9334,6 +9455,79 @@ module TencentCloud | |
| 9334 9455 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9335 9456 | 
             
                    end
         | 
| 9336 9457 |  | 
| 9458 | 
            +
                    # 本接口(ResetTrafficMirrorFilter)用于更新流量镜像实例过滤规则。
         | 
| 9459 | 
            +
                    # 注意:每一个流量镜像实例,不能同时支持按nat网关和五元组两种规则过滤
         | 
| 9460 | 
            +
             | 
| 9461 | 
            +
                    # @param request: Request instance for ResetTrafficMirrorFilter.
         | 
| 9462 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorFilterRequest`
         | 
| 9463 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorFilterResponse`
         | 
| 9464 | 
            +
                    def ResetTrafficMirrorFilter(request)
         | 
| 9465 | 
            +
                      body = send_request('ResetTrafficMirrorFilter', request.serialize)
         | 
| 9466 | 
            +
                      response = JSON.parse(body)
         | 
| 9467 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 9468 | 
            +
                        model = ResetTrafficMirrorFilterResponse.new
         | 
| 9469 | 
            +
                        model.deserialize(response['Response'])
         | 
| 9470 | 
            +
                        model
         | 
| 9471 | 
            +
                      else
         | 
| 9472 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 9473 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 9474 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 9475 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 9476 | 
            +
                      end
         | 
| 9477 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 9478 | 
            +
                      raise e
         | 
| 9479 | 
            +
                    rescue StandardError => e
         | 
| 9480 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9481 | 
            +
                    end
         | 
| 9482 | 
            +
             | 
| 9483 | 
            +
                    # 本接口(ResetTrafficMirrorSrcs)用于重置流量镜像实例采集对象。
         | 
| 9484 | 
            +
             | 
| 9485 | 
            +
                    # @param request: Request instance for ResetTrafficMirrorSrcs.
         | 
| 9486 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorSrcsRequest`
         | 
| 9487 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorSrcsResponse`
         | 
| 9488 | 
            +
                    def ResetTrafficMirrorSrcs(request)
         | 
| 9489 | 
            +
                      body = send_request('ResetTrafficMirrorSrcs', request.serialize)
         | 
| 9490 | 
            +
                      response = JSON.parse(body)
         | 
| 9491 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 9492 | 
            +
                        model = ResetTrafficMirrorSrcsResponse.new
         | 
| 9493 | 
            +
                        model.deserialize(response['Response'])
         | 
| 9494 | 
            +
                        model
         | 
| 9495 | 
            +
                      else
         | 
| 9496 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 9497 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 9498 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 9499 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 9500 | 
            +
                      end
         | 
| 9501 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 9502 | 
            +
                      raise e
         | 
| 9503 | 
            +
                    rescue StandardError => e
         | 
| 9504 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9505 | 
            +
                    end
         | 
| 9506 | 
            +
             | 
| 9507 | 
            +
                    # 本接口(ResetTrafficMirrorTarget)用于更新流量镜像实例的接收目的信息。
         | 
| 9508 | 
            +
             | 
| 9509 | 
            +
                    # @param request: Request instance for ResetTrafficMirrorTarget.
         | 
| 9510 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorTargetRequest`
         | 
| 9511 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::ResetTrafficMirrorTargetResponse`
         | 
| 9512 | 
            +
                    def ResetTrafficMirrorTarget(request)
         | 
| 9513 | 
            +
                      body = send_request('ResetTrafficMirrorTarget', request.serialize)
         | 
| 9514 | 
            +
                      response = JSON.parse(body)
         | 
| 9515 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 9516 | 
            +
                        model = ResetTrafficMirrorTargetResponse.new
         | 
| 9517 | 
            +
                        model.deserialize(response['Response'])
         | 
| 9518 | 
            +
                        model
         | 
| 9519 | 
            +
                      else
         | 
| 9520 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 9521 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 9522 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 9523 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 9524 | 
            +
                      end
         | 
| 9525 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 9526 | 
            +
                      raise e
         | 
| 9527 | 
            +
                    rescue StandardError => e
         | 
| 9528 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9529 | 
            +
                    end
         | 
| 9530 | 
            +
             | 
| 9337 9531 | 
             
                    # 本接口(ResetVpnConnection)用于重置VPN通道。
         | 
| 9338 9532 |  | 
| 9339 9533 | 
             
                    # @param request: Request instance for ResetVpnConnection.
         | 
| @@ -9479,6 +9673,54 @@ module TencentCloud | |
| 9479 9673 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9480 9674 | 
             
                    end
         | 
| 9481 9675 |  | 
| 9676 | 
            +
                    # 本接口(StartTrafficMirror)用于开启流量镜像实例。
         | 
| 9677 | 
            +
             | 
| 9678 | 
            +
                    # @param request: Request instance for StartTrafficMirror.
         | 
| 9679 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::StartTrafficMirrorRequest`
         | 
| 9680 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::StartTrafficMirrorResponse`
         | 
| 9681 | 
            +
                    def StartTrafficMirror(request)
         | 
| 9682 | 
            +
                      body = send_request('StartTrafficMirror', request.serialize)
         | 
| 9683 | 
            +
                      response = JSON.parse(body)
         | 
| 9684 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 9685 | 
            +
                        model = StartTrafficMirrorResponse.new
         | 
| 9686 | 
            +
                        model.deserialize(response['Response'])
         | 
| 9687 | 
            +
                        model
         | 
| 9688 | 
            +
                      else
         | 
| 9689 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 9690 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 9691 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 9692 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 9693 | 
            +
                      end
         | 
| 9694 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 9695 | 
            +
                      raise e
         | 
| 9696 | 
            +
                    rescue StandardError => e
         | 
| 9697 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9698 | 
            +
                    end
         | 
| 9699 | 
            +
             | 
| 9700 | 
            +
                    # 本接口(StopTrafficMirror)用于关闭流量镜像实例。
         | 
| 9701 | 
            +
             | 
| 9702 | 
            +
                    # @param request: Request instance for StopTrafficMirror.
         | 
| 9703 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::StopTrafficMirrorRequest`
         | 
| 9704 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::StopTrafficMirrorResponse`
         | 
| 9705 | 
            +
                    def StopTrafficMirror(request)
         | 
| 9706 | 
            +
                      body = send_request('StopTrafficMirror', request.serialize)
         | 
| 9707 | 
            +
                      response = JSON.parse(body)
         | 
| 9708 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 9709 | 
            +
                        model = StopTrafficMirrorResponse.new
         | 
| 9710 | 
            +
                        model.deserialize(response['Response'])
         | 
| 9711 | 
            +
                        model
         | 
| 9712 | 
            +
                      else
         | 
| 9713 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 9714 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 9715 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 9716 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 9717 | 
            +
                      end
         | 
| 9718 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 9719 | 
            +
                      raise e
         | 
| 9720 | 
            +
                    rescue StandardError => e
         | 
| 9721 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9722 | 
            +
                    end
         | 
| 9723 | 
            +
             | 
| 9482 9724 | 
             
                    # 本接口 (TransformAddress) 用于将实例的普通公网 IP 转换为[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。
         | 
| 9483 9725 | 
             
                    # * 平台对用户每地域每日解绑 EIP 重新分配普通公网 IP 次数有所限制(可参见 [EIP 产品简介](/document/product/213/1941))。上述配额可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。
         | 
| 9484 9726 |  | 
| @@ -9660,6 +9902,54 @@ module TencentCloud | |
| 9660 9902 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9661 9903 | 
             
                    end
         | 
| 9662 9904 |  | 
| 9905 | 
            +
                    # 本接口(UpdateTrafficMirrorAllFilter)用于更新流量镜像实例的过滤规则或者采集对象。
         | 
| 9906 | 
            +
             | 
| 9907 | 
            +
                    # @param request: Request instance for UpdateTrafficMirrorAllFilter.
         | 
| 9908 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::UpdateTrafficMirrorAllFilterRequest`
         | 
| 9909 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::UpdateTrafficMirrorAllFilterResponse`
         | 
| 9910 | 
            +
                    def UpdateTrafficMirrorAllFilter(request)
         | 
| 9911 | 
            +
                      body = send_request('UpdateTrafficMirrorAllFilter', request.serialize)
         | 
| 9912 | 
            +
                      response = JSON.parse(body)
         | 
| 9913 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 9914 | 
            +
                        model = UpdateTrafficMirrorAllFilterResponse.new
         | 
| 9915 | 
            +
                        model.deserialize(response['Response'])
         | 
| 9916 | 
            +
                        model
         | 
| 9917 | 
            +
                      else
         | 
| 9918 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 9919 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 9920 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 9921 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 9922 | 
            +
                      end
         | 
| 9923 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 9924 | 
            +
                      raise e
         | 
| 9925 | 
            +
                    rescue StandardError => e
         | 
| 9926 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9927 | 
            +
                    end
         | 
| 9928 | 
            +
             | 
| 9929 | 
            +
                    # 本接口(UpdateTrafficMirrorDirection)用于更新流量镜像实例的采集方向。
         | 
| 9930 | 
            +
             | 
| 9931 | 
            +
                    # @param request: Request instance for UpdateTrafficMirrorDirection.
         | 
| 9932 | 
            +
                    # @type request: :class:`Tencentcloud::vpc::V20170312::UpdateTrafficMirrorDirectionRequest`
         | 
| 9933 | 
            +
                    # @rtype: :class:`Tencentcloud::vpc::V20170312::UpdateTrafficMirrorDirectionResponse`
         | 
| 9934 | 
            +
                    def UpdateTrafficMirrorDirection(request)
         | 
| 9935 | 
            +
                      body = send_request('UpdateTrafficMirrorDirection', request.serialize)
         | 
| 9936 | 
            +
                      response = JSON.parse(body)
         | 
| 9937 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 9938 | 
            +
                        model = UpdateTrafficMirrorDirectionResponse.new
         | 
| 9939 | 
            +
                        model.deserialize(response['Response'])
         | 
| 9940 | 
            +
                        model
         | 
| 9941 | 
            +
                      else
         | 
| 9942 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 9943 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 9944 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 9945 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 9946 | 
            +
                      end
         | 
| 9947 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 9948 | 
            +
                      raise e
         | 
| 9949 | 
            +
                    rescue StandardError => e
         | 
| 9950 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 9951 | 
            +
                    end
         | 
| 9952 | 
            +
             | 
| 9663 9953 | 
             
                    # 本接口(WithdrawNotifyRoutes)用于撤销已发布到云联网的路由。路由表列表页操作增加“从云联网撤销”。
         | 
| 9664 9954 |  | 
| 9665 9955 | 
             
                    # @param request: Request instance for WithdrawNotifyRoutes.
         | 
    
        data/lib/v20170312/models.rb
    CHANGED
    
    | @@ -3024,6 +3024,61 @@ module TencentCloud | |
| 3024 3024 | 
             
                    end
         | 
| 3025 3025 | 
             
                  end
         | 
| 3026 3026 |  | 
| 3027 | 
            +
                  # CheckTrafficMirror请求参数结构体
         | 
| 3028 | 
            +
                  class CheckTrafficMirrorRequest < TencentCloud::Common::AbstractModel
         | 
| 3029 | 
            +
                    # @param VpcId: 流量镜像所属的vpc
         | 
| 3030 | 
            +
                    # @type VpcId: String
         | 
| 3031 | 
            +
                    # @param TrafficMirrorId: 流量镜像的实例id
         | 
| 3032 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 3033 | 
            +
                    # @param CollectorSources: 流量镜像的采集端IP列表
         | 
| 3034 | 
            +
                    # @type CollectorSources: Array
         | 
| 3035 | 
            +
                    # @param SubnetId: 流量镜像的接收端的子网
         | 
| 3036 | 
            +
                    # @type SubnetId: String
         | 
| 3037 | 
            +
                    # @param CollectorTarget: 流量镜像采集端的
         | 
| 3038 | 
            +
                    # @type CollectorTarget: Array
         | 
| 3039 | 
            +
             | 
| 3040 | 
            +
                    attr_accessor :VpcId, :TrafficMirrorId, :CollectorSources, :SubnetId, :CollectorTarget
         | 
| 3041 | 
            +
             | 
| 3042 | 
            +
                    def initialize(vpcid=nil, trafficmirrorid=nil, collectorsources=nil, subnetid=nil, collectortarget=nil)
         | 
| 3043 | 
            +
                      @VpcId = vpcid
         | 
| 3044 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 3045 | 
            +
                      @CollectorSources = collectorsources
         | 
| 3046 | 
            +
                      @SubnetId = subnetid
         | 
| 3047 | 
            +
                      @CollectorTarget = collectortarget
         | 
| 3048 | 
            +
                    end
         | 
| 3049 | 
            +
             | 
| 3050 | 
            +
                    def deserialize(params)
         | 
| 3051 | 
            +
                      @VpcId = params['VpcId']
         | 
| 3052 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 3053 | 
            +
                      @CollectorSources = params['CollectorSources']
         | 
| 3054 | 
            +
                      @SubnetId = params['SubnetId']
         | 
| 3055 | 
            +
                      unless params['CollectorTarget'].nil?
         | 
| 3056 | 
            +
                        @CollectorTarget = []
         | 
| 3057 | 
            +
                        params['CollectorTarget'].each do |i|
         | 
| 3058 | 
            +
                          trafficmirrortarget_tmp = TrafficMirrorTarget.new
         | 
| 3059 | 
            +
                          trafficmirrortarget_tmp.deserialize(i)
         | 
| 3060 | 
            +
                          @CollectorTarget << trafficmirrortarget_tmp
         | 
| 3061 | 
            +
                        end
         | 
| 3062 | 
            +
                      end
         | 
| 3063 | 
            +
                    end
         | 
| 3064 | 
            +
                  end
         | 
| 3065 | 
            +
             | 
| 3066 | 
            +
                  # CheckTrafficMirror返回参数结构体
         | 
| 3067 | 
            +
                  class CheckTrafficMirrorResponse < TencentCloud::Common::AbstractModel
         | 
| 3068 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 3069 | 
            +
                    # @type RequestId: String
         | 
| 3070 | 
            +
             | 
| 3071 | 
            +
                    attr_accessor :RequestId
         | 
| 3072 | 
            +
             | 
| 3073 | 
            +
                    def initialize(requestid=nil)
         | 
| 3074 | 
            +
                      @RequestId = requestid
         | 
| 3075 | 
            +
                    end
         | 
| 3076 | 
            +
             | 
| 3077 | 
            +
                    def deserialize(params)
         | 
| 3078 | 
            +
                      @RequestId = params['RequestId']
         | 
| 3079 | 
            +
                    end
         | 
| 3080 | 
            +
                  end
         | 
| 3081 | 
            +
             | 
| 3027 3082 | 
             
                  # 用于发布云联网的cidr信息
         | 
| 3028 3083 | 
             
                  class CidrForCcn < TencentCloud::Common::AbstractModel
         | 
| 3029 3084 | 
             
                    # @param Cidr: local cidr值。
         | 
| @@ -3112,7 +3167,7 @@ module TencentCloud | |
| 3112 3167 | 
             
                    # @type RemoteRegion: String
         | 
| 3113 3168 | 
             
                    # @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
         | 
| 3114 3169 | 
             
                    # 若指定Tags入参且指定IsCloneTags为true,会合并源安全组的标签和新增的标签。
         | 
| 3115 | 
            -
                    # @type Tags:  | 
| 3170 | 
            +
                    # @type Tags: Array
         | 
| 3116 3171 |  | 
| 3117 3172 | 
             
                    attr_accessor :SecurityGroupId, :GroupName, :GroupDescription, :ProjectId, :RemoteRegion, :Tags
         | 
| 3118 3173 |  | 
| @@ -3132,8 +3187,12 @@ module TencentCloud | |
| 3132 3187 | 
             
                      @ProjectId = params['ProjectId']
         | 
| 3133 3188 | 
             
                      @RemoteRegion = params['RemoteRegion']
         | 
| 3134 3189 | 
             
                      unless params['Tags'].nil?
         | 
| 3135 | 
            -
                        @Tags =  | 
| 3136 | 
            -
                         | 
| 3190 | 
            +
                        @Tags = []
         | 
| 3191 | 
            +
                        params['Tags'].each do |i|
         | 
| 3192 | 
            +
                          tag_tmp = Tag.new
         | 
| 3193 | 
            +
                          tag_tmp.deserialize(i)
         | 
| 3194 | 
            +
                          @Tags << tag_tmp
         | 
| 3195 | 
            +
                        end
         | 
| 3137 3196 | 
             
                      end
         | 
| 3138 3197 | 
             
                    end
         | 
| 3139 3198 | 
             
                  end
         | 
| @@ -3359,12 +3418,14 @@ module TencentCloud | |
| 3359 3418 | 
             
                    # @type Tags: Array
         | 
| 3360 3419 | 
             
                    # @param AttachType: 绑定类型:0 标准型 1 扩展型。
         | 
| 3361 3420 | 
             
                    # @type AttachType: Integer
         | 
| 3421 | 
            +
                    # @param IsRdma: 是否创建RDMA弹性网卡,true:创建rdma弹性网卡,false:普通弹性网卡。不填默认为false。
         | 
| 3422 | 
            +
                    # @type IsRdma: Boolean
         | 
| 3362 3423 | 
             
                    # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
         | 
| 3363 3424 | 
             
                    # @type ClientToken: String
         | 
| 3364 3425 |  | 
| 3365 | 
            -
                    attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :InstanceId, :PrivateIpAddresses, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :NetworkInterfaceDescription, :Tags, :AttachType, :ClientToken
         | 
| 3426 | 
            +
                    attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :InstanceId, :PrivateIpAddresses, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :NetworkInterfaceDescription, :Tags, :AttachType, :IsRdma, :ClientToken
         | 
| 3366 3427 |  | 
| 3367 | 
            -
                    def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, instanceid=nil, privateipaddresses=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, networkinterfacedescription=nil, tags=nil, attachtype=nil, clienttoken=nil)
         | 
| 3428 | 
            +
                    def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, instanceid=nil, privateipaddresses=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, networkinterfacedescription=nil, tags=nil, attachtype=nil, isrdma=nil, clienttoken=nil)
         | 
| 3368 3429 | 
             
                      @VpcId = vpcid
         | 
| 3369 3430 | 
             
                      @NetworkInterfaceName = networkinterfacename
         | 
| 3370 3431 | 
             
                      @SubnetId = subnetid
         | 
| @@ -3376,6 +3437,7 @@ module TencentCloud | |
| 3376 3437 | 
             
                      @NetworkInterfaceDescription = networkinterfacedescription
         | 
| 3377 3438 | 
             
                      @Tags = tags
         | 
| 3378 3439 | 
             
                      @AttachType = attachtype
         | 
| 3440 | 
            +
                      @IsRdma = isrdma
         | 
| 3379 3441 | 
             
                      @ClientToken = clienttoken
         | 
| 3380 3442 | 
             
                    end
         | 
| 3381 3443 |  | 
| @@ -3405,6 +3467,7 @@ module TencentCloud | |
| 3405 3467 | 
             
                        end
         | 
| 3406 3468 | 
             
                      end
         | 
| 3407 3469 | 
             
                      @AttachType = params['AttachType']
         | 
| 3470 | 
            +
                      @IsRdma = params['IsRdma']
         | 
| 3408 3471 | 
             
                      @ClientToken = params['ClientToken']
         | 
| 3409 3472 | 
             
                    end
         | 
| 3410 3473 | 
             
                  end
         | 
| @@ -4533,8 +4596,8 @@ module TencentCloud | |
| 4533 4596 |  | 
| 4534 4597 | 
             
                    attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion
         | 
| 4535 4598 | 
             
                    extend Gem::Deprecate
         | 
| 4536 | 
            -
                    deprecate :SubnetId, :none, 2025,  | 
| 4537 | 
            -
                    deprecate :SubnetId=, :none, 2025,  | 
| 4599 | 
            +
                    deprecate :SubnetId, :none, 2025, 2
         | 
| 4600 | 
            +
                    deprecate :SubnetId=, :none, 2025, 2
         | 
| 4538 4601 |  | 
| 4539 4602 | 
             
                    def initialize(natgatewayname=nil, vpcid=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, addresscount=nil, publicipaddresses=nil, zone=nil, tags=nil, subnetid=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil, natproductversion=nil)
         | 
| 4540 4603 | 
             
                      @NatGatewayName = natgatewayname
         | 
| @@ -4897,12 +4960,14 @@ module TencentCloud | |
| 4897 4960 | 
             
                    # @type Tags: Array
         | 
| 4898 4961 | 
             
                    # @param TrunkingFlag: 网卡trunking模式设置,Enable-开启,Disable--关闭,默认关闭。
         | 
| 4899 4962 | 
             
                    # @type TrunkingFlag: String
         | 
| 4963 | 
            +
                    # @param IsRdma: 是否创建RDMA弹性网卡,true:创建rdma弹性网卡,false:普通弹性网卡。不填默认为false
         | 
| 4964 | 
            +
                    # @type IsRdma: Boolean
         | 
| 4900 4965 | 
             
                    # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
         | 
| 4901 4966 | 
             
                    # @type ClientToken: String
         | 
| 4902 4967 |  | 
| 4903 | 
            -
                    attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :NetworkInterfaceDescription, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :PrivateIpAddresses, :Tags, :TrunkingFlag, :ClientToken
         | 
| 4968 | 
            +
                    attr_accessor :VpcId, :NetworkInterfaceName, :SubnetId, :NetworkInterfaceDescription, :SecondaryPrivateIpAddressCount, :QosLevel, :SecurityGroupIds, :PrivateIpAddresses, :Tags, :TrunkingFlag, :IsRdma, :ClientToken
         | 
| 4904 4969 |  | 
| 4905 | 
            -
                    def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, networkinterfacedescription=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, privateipaddresses=nil, tags=nil, trunkingflag=nil, clienttoken=nil)
         | 
| 4970 | 
            +
                    def initialize(vpcid=nil, networkinterfacename=nil, subnetid=nil, networkinterfacedescription=nil, secondaryprivateipaddresscount=nil, qoslevel=nil, securitygroupids=nil, privateipaddresses=nil, tags=nil, trunkingflag=nil, isrdma=nil, clienttoken=nil)
         | 
| 4906 4971 | 
             
                      @VpcId = vpcid
         | 
| 4907 4972 | 
             
                      @NetworkInterfaceName = networkinterfacename
         | 
| 4908 4973 | 
             
                      @SubnetId = subnetid
         | 
| @@ -4913,6 +4978,7 @@ module TencentCloud | |
| 4913 4978 | 
             
                      @PrivateIpAddresses = privateipaddresses
         | 
| 4914 4979 | 
             
                      @Tags = tags
         | 
| 4915 4980 | 
             
                      @TrunkingFlag = trunkingflag
         | 
| 4981 | 
            +
                      @IsRdma = isrdma
         | 
| 4916 4982 | 
             
                      @ClientToken = clienttoken
         | 
| 4917 4983 | 
             
                    end
         | 
| 4918 4984 |  | 
| @@ -4941,6 +5007,7 @@ module TencentCloud | |
| 4941 5007 | 
             
                        end
         | 
| 4942 5008 | 
             
                      end
         | 
| 4943 5009 | 
             
                      @TrunkingFlag = params['TrunkingFlag']
         | 
| 5010 | 
            +
                      @IsRdma = params['IsRdma']
         | 
| 4944 5011 | 
             
                      @ClientToken = params['ClientToken']
         | 
| 4945 5012 | 
             
                    end
         | 
| 4946 5013 | 
             
                  end
         | 
| @@ -5862,6 +5929,106 @@ module TencentCloud | |
| 5862 5929 | 
             
                    end
         | 
| 5863 5930 | 
             
                  end
         | 
| 5864 5931 |  | 
| 5932 | 
            +
                  # CreateTrafficMirror请求参数结构体
         | 
| 5933 | 
            +
                  class CreateTrafficMirrorRequest < TencentCloud::Common::AbstractModel
         | 
| 5934 | 
            +
                    # @param VpcId: VPC实例ID。
         | 
| 5935 | 
            +
                    # @type VpcId: String
         | 
| 5936 | 
            +
                    # @param TrafficMirrorName: 流量镜像名字。
         | 
| 5937 | 
            +
                    # @type TrafficMirrorName: String
         | 
| 5938 | 
            +
                    # @param TrafficMirrorDescribe: 流量镜像描述。
         | 
| 5939 | 
            +
                    # @type TrafficMirrorDescribe: String
         | 
| 5940 | 
            +
                    # @param State: 流量镜像状态, 支持RUNNING/STOPED(vpc),RUNNING(公网IP),当采集vpc流量镜像时,此参数为必填。
         | 
| 5941 | 
            +
                    # @type State: String
         | 
| 5942 | 
            +
                    # @param Direction: 流量镜像采集方向,支持EGRESS/INGRESS/ALL(vpc),ALL(公网IP)。
         | 
| 5943 | 
            +
                    # @type Direction: String
         | 
| 5944 | 
            +
                    # @param CollectorSrcs: 流量镜像的采集对象,支持eni_xxxx。
         | 
| 5945 | 
            +
                    # @type CollectorSrcs: Array
         | 
| 5946 | 
            +
                    # @param NatId: 流量镜像过滤的natgw实例。
         | 
| 5947 | 
            +
                    # @type NatId: String
         | 
| 5948 | 
            +
                    # @param CollectorNormalFilters: 需要过滤的五元组规则。
         | 
| 5949 | 
            +
                    # @type CollectorNormalFilters: Array
         | 
| 5950 | 
            +
                    # @param CollectorTarget: 流量镜像的目的地址。
         | 
| 5951 | 
            +
                    # @type CollectorTarget: :class:`Tencentcloud::Vpc.v20170312.models.TrafficMirrorTarget`
         | 
| 5952 | 
            +
                    # @param SubnetId: 流量镜像采集流量的发送端所属子网ID。
         | 
| 5953 | 
            +
                    # @type SubnetId: String
         | 
| 5954 | 
            +
                    # @param Type: 创建的流量镜像的类型,支持VPC/PUBLICIP,默认为VPC类型。
         | 
| 5955 | 
            +
                    # @type Type: String
         | 
| 5956 | 
            +
                    # @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
         | 
| 5957 | 
            +
                    # @type Tags: Array
         | 
| 5958 | 
            +
             | 
| 5959 | 
            +
                    attr_accessor :VpcId, :TrafficMirrorName, :TrafficMirrorDescribe, :State, :Direction, :CollectorSrcs, :NatId, :CollectorNormalFilters, :CollectorTarget, :SubnetId, :Type, :Tags
         | 
| 5960 | 
            +
             | 
| 5961 | 
            +
                    def initialize(vpcid=nil, trafficmirrorname=nil, trafficmirrordescribe=nil, state=nil, direction=nil, collectorsrcs=nil, natid=nil, collectornormalfilters=nil, collectortarget=nil, subnetid=nil, type=nil, tags=nil)
         | 
| 5962 | 
            +
                      @VpcId = vpcid
         | 
| 5963 | 
            +
                      @TrafficMirrorName = trafficmirrorname
         | 
| 5964 | 
            +
                      @TrafficMirrorDescribe = trafficmirrordescribe
         | 
| 5965 | 
            +
                      @State = state
         | 
| 5966 | 
            +
                      @Direction = direction
         | 
| 5967 | 
            +
                      @CollectorSrcs = collectorsrcs
         | 
| 5968 | 
            +
                      @NatId = natid
         | 
| 5969 | 
            +
                      @CollectorNormalFilters = collectornormalfilters
         | 
| 5970 | 
            +
                      @CollectorTarget = collectortarget
         | 
| 5971 | 
            +
                      @SubnetId = subnetid
         | 
| 5972 | 
            +
                      @Type = type
         | 
| 5973 | 
            +
                      @Tags = tags
         | 
| 5974 | 
            +
                    end
         | 
| 5975 | 
            +
             | 
| 5976 | 
            +
                    def deserialize(params)
         | 
| 5977 | 
            +
                      @VpcId = params['VpcId']
         | 
| 5978 | 
            +
                      @TrafficMirrorName = params['TrafficMirrorName']
         | 
| 5979 | 
            +
                      @TrafficMirrorDescribe = params['TrafficMirrorDescribe']
         | 
| 5980 | 
            +
                      @State = params['State']
         | 
| 5981 | 
            +
                      @Direction = params['Direction']
         | 
| 5982 | 
            +
                      @CollectorSrcs = params['CollectorSrcs']
         | 
| 5983 | 
            +
                      @NatId = params['NatId']
         | 
| 5984 | 
            +
                      unless params['CollectorNormalFilters'].nil?
         | 
| 5985 | 
            +
                        @CollectorNormalFilters = []
         | 
| 5986 | 
            +
                        params['CollectorNormalFilters'].each do |i|
         | 
| 5987 | 
            +
                          trafficmirrorfilter_tmp = TrafficMirrorFilter.new
         | 
| 5988 | 
            +
                          trafficmirrorfilter_tmp.deserialize(i)
         | 
| 5989 | 
            +
                          @CollectorNormalFilters << trafficmirrorfilter_tmp
         | 
| 5990 | 
            +
                        end
         | 
| 5991 | 
            +
                      end
         | 
| 5992 | 
            +
                      unless params['CollectorTarget'].nil?
         | 
| 5993 | 
            +
                        @CollectorTarget = TrafficMirrorTarget.new
         | 
| 5994 | 
            +
                        @CollectorTarget.deserialize(params['CollectorTarget'])
         | 
| 5995 | 
            +
                      end
         | 
| 5996 | 
            +
                      @SubnetId = params['SubnetId']
         | 
| 5997 | 
            +
                      @Type = params['Type']
         | 
| 5998 | 
            +
                      unless params['Tags'].nil?
         | 
| 5999 | 
            +
                        @Tags = []
         | 
| 6000 | 
            +
                        params['Tags'].each do |i|
         | 
| 6001 | 
            +
                          tag_tmp = Tag.new
         | 
| 6002 | 
            +
                          tag_tmp.deserialize(i)
         | 
| 6003 | 
            +
                          @Tags << tag_tmp
         | 
| 6004 | 
            +
                        end
         | 
| 6005 | 
            +
                      end
         | 
| 6006 | 
            +
                    end
         | 
| 6007 | 
            +
                  end
         | 
| 6008 | 
            +
             | 
| 6009 | 
            +
                  # CreateTrafficMirror返回参数结构体
         | 
| 6010 | 
            +
                  class CreateTrafficMirrorResponse < TencentCloud::Common::AbstractModel
         | 
| 6011 | 
            +
                    # @param TrafficMirror: 流量镜像实例
         | 
| 6012 | 
            +
                    # @type TrafficMirror: :class:`Tencentcloud::Vpc.v20170312.models.TrafficMirror`
         | 
| 6013 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 6014 | 
            +
                    # @type RequestId: String
         | 
| 6015 | 
            +
             | 
| 6016 | 
            +
                    attr_accessor :TrafficMirror, :RequestId
         | 
| 6017 | 
            +
             | 
| 6018 | 
            +
                    def initialize(trafficmirror=nil, requestid=nil)
         | 
| 6019 | 
            +
                      @TrafficMirror = trafficmirror
         | 
| 6020 | 
            +
                      @RequestId = requestid
         | 
| 6021 | 
            +
                    end
         | 
| 6022 | 
            +
             | 
| 6023 | 
            +
                    def deserialize(params)
         | 
| 6024 | 
            +
                      unless params['TrafficMirror'].nil?
         | 
| 6025 | 
            +
                        @TrafficMirror = TrafficMirror.new
         | 
| 6026 | 
            +
                        @TrafficMirror.deserialize(params['TrafficMirror'])
         | 
| 6027 | 
            +
                      end
         | 
| 6028 | 
            +
                      @RequestId = params['RequestId']
         | 
| 6029 | 
            +
                    end
         | 
| 6030 | 
            +
                  end
         | 
| 6031 | 
            +
             | 
| 5865 6032 | 
             
                  # CreateTrafficPackages请求参数结构体
         | 
| 5866 6033 | 
             
                  class CreateTrafficPackagesRequest < TencentCloud::Common::AbstractModel
         | 
| 5867 6034 | 
             
                    # @param TrafficAmount: 流量包规格。可选值:
         | 
| @@ -8419,6 +8586,38 @@ module TencentCloud | |
| 8419 8586 | 
             
                    end
         | 
| 8420 8587 | 
             
                  end
         | 
| 8421 8588 |  | 
| 8589 | 
            +
                  # DeleteTrafficMirror请求参数结构体
         | 
| 8590 | 
            +
                  class DeleteTrafficMirrorRequest < TencentCloud::Common::AbstractModel
         | 
| 8591 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例ID
         | 
| 8592 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 8593 | 
            +
             | 
| 8594 | 
            +
                    attr_accessor :TrafficMirrorId
         | 
| 8595 | 
            +
             | 
| 8596 | 
            +
                    def initialize(trafficmirrorid=nil)
         | 
| 8597 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 8598 | 
            +
                    end
         | 
| 8599 | 
            +
             | 
| 8600 | 
            +
                    def deserialize(params)
         | 
| 8601 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 8602 | 
            +
                    end
         | 
| 8603 | 
            +
                  end
         | 
| 8604 | 
            +
             | 
| 8605 | 
            +
                  # DeleteTrafficMirror返回参数结构体
         | 
| 8606 | 
            +
                  class DeleteTrafficMirrorResponse < TencentCloud::Common::AbstractModel
         | 
| 8607 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 8608 | 
            +
                    # @type RequestId: String
         | 
| 8609 | 
            +
             | 
| 8610 | 
            +
                    attr_accessor :RequestId
         | 
| 8611 | 
            +
             | 
| 8612 | 
            +
                    def initialize(requestid=nil)
         | 
| 8613 | 
            +
                      @RequestId = requestid
         | 
| 8614 | 
            +
                    end
         | 
| 8615 | 
            +
             | 
| 8616 | 
            +
                    def deserialize(params)
         | 
| 8617 | 
            +
                      @RequestId = params['RequestId']
         | 
| 8618 | 
            +
                    end
         | 
| 8619 | 
            +
                  end
         | 
| 8620 | 
            +
             | 
| 8422 8621 | 
             
                  # DeleteTrafficPackages请求参数结构体
         | 
| 8423 8622 | 
             
                  class DeleteTrafficPackagesRequest < TencentCloud::Common::AbstractModel
         | 
| 8424 8623 | 
             
                    # @param TrafficPackageIds: 待删除的流量包唯一ID数组
         | 
| @@ -14238,6 +14437,64 @@ module TencentCloud | |
| 14238 14437 | 
             
                    end
         | 
| 14239 14438 | 
             
                  end
         | 
| 14240 14439 |  | 
| 14440 | 
            +
                  # DescribeTrafficMirrors请求参数结构体
         | 
| 14441 | 
            +
                  class DescribeTrafficMirrorsRequest < TencentCloud::Common::AbstractModel
         | 
| 14442 | 
            +
                    # @param TrafficMirrorIds: 流量镜像实例ID集合
         | 
| 14443 | 
            +
                    # @type TrafficMirrorIds: Array
         | 
| 14444 | 
            +
                    # @param Filters: 流量镜像查询过滤调节
         | 
| 14445 | 
            +
                    # @type Filters: :class:`Tencentcloud::Vpc.v20170312.models.Filter`
         | 
| 14446 | 
            +
                    # @param Offset: 偏移量,默认为0。
         | 
| 14447 | 
            +
                    # @type Offset: Integer
         | 
| 14448 | 
            +
                    # @param Limit: 返回数量,默认为20,最大值为100。
         | 
| 14449 | 
            +
                    # @type Limit: Integer
         | 
| 14450 | 
            +
             | 
| 14451 | 
            +
                    attr_accessor :TrafficMirrorIds, :Filters, :Offset, :Limit
         | 
| 14452 | 
            +
             | 
| 14453 | 
            +
                    def initialize(trafficmirrorids=nil, filters=nil, offset=nil, limit=nil)
         | 
| 14454 | 
            +
                      @TrafficMirrorIds = trafficmirrorids
         | 
| 14455 | 
            +
                      @Filters = filters
         | 
| 14456 | 
            +
                      @Offset = offset
         | 
| 14457 | 
            +
                      @Limit = limit
         | 
| 14458 | 
            +
                    end
         | 
| 14459 | 
            +
             | 
| 14460 | 
            +
                    def deserialize(params)
         | 
| 14461 | 
            +
                      @TrafficMirrorIds = params['TrafficMirrorIds']
         | 
| 14462 | 
            +
                      unless params['Filters'].nil?
         | 
| 14463 | 
            +
                        @Filters = Filter.new
         | 
| 14464 | 
            +
                        @Filters.deserialize(params['Filters'])
         | 
| 14465 | 
            +
                      end
         | 
| 14466 | 
            +
                      @Offset = params['Offset']
         | 
| 14467 | 
            +
                      @Limit = params['Limit']
         | 
| 14468 | 
            +
                    end
         | 
| 14469 | 
            +
                  end
         | 
| 14470 | 
            +
             | 
| 14471 | 
            +
                  # DescribeTrafficMirrors返回参数结构体
         | 
| 14472 | 
            +
                  class DescribeTrafficMirrorsResponse < TencentCloud::Common::AbstractModel
         | 
| 14473 | 
            +
                    # @param TrafficMirrorSet: 流量镜像实例信息
         | 
| 14474 | 
            +
                    # @type TrafficMirrorSet: Array
         | 
| 14475 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 14476 | 
            +
                    # @type RequestId: String
         | 
| 14477 | 
            +
             | 
| 14478 | 
            +
                    attr_accessor :TrafficMirrorSet, :RequestId
         | 
| 14479 | 
            +
             | 
| 14480 | 
            +
                    def initialize(trafficmirrorset=nil, requestid=nil)
         | 
| 14481 | 
            +
                      @TrafficMirrorSet = trafficmirrorset
         | 
| 14482 | 
            +
                      @RequestId = requestid
         | 
| 14483 | 
            +
                    end
         | 
| 14484 | 
            +
             | 
| 14485 | 
            +
                    def deserialize(params)
         | 
| 14486 | 
            +
                      unless params['TrafficMirrorSet'].nil?
         | 
| 14487 | 
            +
                        @TrafficMirrorSet = []
         | 
| 14488 | 
            +
                        params['TrafficMirrorSet'].each do |i|
         | 
| 14489 | 
            +
                          trafficmirror_tmp = TrafficMirror.new
         | 
| 14490 | 
            +
                          trafficmirror_tmp.deserialize(i)
         | 
| 14491 | 
            +
                          @TrafficMirrorSet << trafficmirror_tmp
         | 
| 14492 | 
            +
                        end
         | 
| 14493 | 
            +
                      end
         | 
| 14494 | 
            +
                      @RequestId = params['RequestId']
         | 
| 14495 | 
            +
                    end
         | 
| 14496 | 
            +
                  end
         | 
| 14497 | 
            +
             | 
| 14241 14498 | 
             
                  # DescribeTrafficPackages请求参数结构体
         | 
| 14242 14499 | 
             
                  class DescribeTrafficPackagesRequest < TencentCloud::Common::AbstractModel
         | 
| 14243 14500 | 
             
                    # @param TrafficPackageIds: 共享流量包ID,支持批量
         | 
| @@ -17824,8 +18081,8 @@ module TencentCloud | |
| 17824 18081 |  | 
| 17825 18082 | 
             
                    attr_accessor :EncryptAlgorithm, :IntegrityAlgorith, :IPSECSaLifetimeSeconds, :PfsDhGroup, :IPSECSaLifetimeTraffic, :IntegrityAlgorithm
         | 
| 17826 18083 | 
             
                    extend Gem::Deprecate
         | 
| 17827 | 
            -
                    deprecate :IntegrityAlgorith, :none, 2025,  | 
| 17828 | 
            -
                    deprecate :IntegrityAlgorith=, :none, 2025,  | 
| 18084 | 
            +
                    deprecate :IntegrityAlgorith, :none, 2025, 2
         | 
| 18085 | 
            +
                    deprecate :IntegrityAlgorith=, :none, 2025, 2
         | 
| 17829 18086 |  | 
| 17830 18087 | 
             
                    def initialize(encryptalgorithm=nil, integrityalgorith=nil, ipsecsalifetimeseconds=nil, pfsdhgroup=nil, ipsecsalifetimetraffic=nil, integrityalgorithm=nil)
         | 
| 17831 18088 | 
             
                      @EncryptAlgorithm = encryptalgorithm
         | 
| @@ -21310,6 +21567,46 @@ module TencentCloud | |
| 21310 21567 | 
             
                    end
         | 
| 21311 21568 | 
             
                  end
         | 
| 21312 21569 |  | 
| 21570 | 
            +
                  # ModifyTrafficMirrorAttribute请求参数结构体
         | 
| 21571 | 
            +
                  class ModifyTrafficMirrorAttributeRequest < TencentCloud::Common::AbstractModel
         | 
| 21572 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例ID
         | 
| 21573 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 21574 | 
            +
                    # @param TrafficMirrorName: 流量镜像实例名称
         | 
| 21575 | 
            +
                    # @type TrafficMirrorName: String
         | 
| 21576 | 
            +
                    # @param TrafficMirrorDescription: 流量镜像实例描述信息
         | 
| 21577 | 
            +
                    # @type TrafficMirrorDescription: String
         | 
| 21578 | 
            +
             | 
| 21579 | 
            +
                    attr_accessor :TrafficMirrorId, :TrafficMirrorName, :TrafficMirrorDescription
         | 
| 21580 | 
            +
             | 
| 21581 | 
            +
                    def initialize(trafficmirrorid=nil, trafficmirrorname=nil, trafficmirrordescription=nil)
         | 
| 21582 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 21583 | 
            +
                      @TrafficMirrorName = trafficmirrorname
         | 
| 21584 | 
            +
                      @TrafficMirrorDescription = trafficmirrordescription
         | 
| 21585 | 
            +
                    end
         | 
| 21586 | 
            +
             | 
| 21587 | 
            +
                    def deserialize(params)
         | 
| 21588 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 21589 | 
            +
                      @TrafficMirrorName = params['TrafficMirrorName']
         | 
| 21590 | 
            +
                      @TrafficMirrorDescription = params['TrafficMirrorDescription']
         | 
| 21591 | 
            +
                    end
         | 
| 21592 | 
            +
                  end
         | 
| 21593 | 
            +
             | 
| 21594 | 
            +
                  # ModifyTrafficMirrorAttribute返回参数结构体
         | 
| 21595 | 
            +
                  class ModifyTrafficMirrorAttributeResponse < TencentCloud::Common::AbstractModel
         | 
| 21596 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 21597 | 
            +
                    # @type RequestId: String
         | 
| 21598 | 
            +
             | 
| 21599 | 
            +
                    attr_accessor :RequestId
         | 
| 21600 | 
            +
             | 
| 21601 | 
            +
                    def initialize(requestid=nil)
         | 
| 21602 | 
            +
                      @RequestId = requestid
         | 
| 21603 | 
            +
                    end
         | 
| 21604 | 
            +
             | 
| 21605 | 
            +
                    def deserialize(params)
         | 
| 21606 | 
            +
                      @RequestId = params['RequestId']
         | 
| 21607 | 
            +
                    end
         | 
| 21608 | 
            +
                  end
         | 
| 21609 | 
            +
             | 
| 21313 21610 | 
             
                  # ModifyVpcAttribute请求参数结构体
         | 
| 21314 21611 | 
             
                  class ModifyVpcAttributeRequest < TencentCloud::Common::AbstractModel
         | 
| 21315 21612 | 
             
                    # @param VpcId: VPC实例ID。形如:vpc-f49l6u0z。
         | 
| @@ -24295,6 +24592,132 @@ module TencentCloud | |
| 24295 24592 | 
             
                    end
         | 
| 24296 24593 | 
             
                  end
         | 
| 24297 24594 |  | 
| 24595 | 
            +
                  # ResetTrafficMirrorFilter请求参数结构体
         | 
| 24596 | 
            +
                  class ResetTrafficMirrorFilterRequest < TencentCloud::Common::AbstractModel
         | 
| 24597 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例ID
         | 
| 24598 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 24599 | 
            +
                    # @param NatId: 流量镜像需要过滤的natgw实例ID
         | 
| 24600 | 
            +
                    # @type NatId: String
         | 
| 24601 | 
            +
                    # @param CollectorNormalFilters: 流量镜像需要过滤的五元组规则
         | 
| 24602 | 
            +
                    # @type CollectorNormalFilters: Array
         | 
| 24603 | 
            +
             | 
| 24604 | 
            +
                    attr_accessor :TrafficMirrorId, :NatId, :CollectorNormalFilters
         | 
| 24605 | 
            +
             | 
| 24606 | 
            +
                    def initialize(trafficmirrorid=nil, natid=nil, collectornormalfilters=nil)
         | 
| 24607 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 24608 | 
            +
                      @NatId = natid
         | 
| 24609 | 
            +
                      @CollectorNormalFilters = collectornormalfilters
         | 
| 24610 | 
            +
                    end
         | 
| 24611 | 
            +
             | 
| 24612 | 
            +
                    def deserialize(params)
         | 
| 24613 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 24614 | 
            +
                      @NatId = params['NatId']
         | 
| 24615 | 
            +
                      unless params['CollectorNormalFilters'].nil?
         | 
| 24616 | 
            +
                        @CollectorNormalFilters = []
         | 
| 24617 | 
            +
                        params['CollectorNormalFilters'].each do |i|
         | 
| 24618 | 
            +
                          trafficmirrorfilter_tmp = TrafficMirrorFilter.new
         | 
| 24619 | 
            +
                          trafficmirrorfilter_tmp.deserialize(i)
         | 
| 24620 | 
            +
                          @CollectorNormalFilters << trafficmirrorfilter_tmp
         | 
| 24621 | 
            +
                        end
         | 
| 24622 | 
            +
                      end
         | 
| 24623 | 
            +
                    end
         | 
| 24624 | 
            +
                  end
         | 
| 24625 | 
            +
             | 
| 24626 | 
            +
                  # ResetTrafficMirrorFilter返回参数结构体
         | 
| 24627 | 
            +
                  class ResetTrafficMirrorFilterResponse < TencentCloud::Common::AbstractModel
         | 
| 24628 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 24629 | 
            +
                    # @type RequestId: String
         | 
| 24630 | 
            +
             | 
| 24631 | 
            +
                    attr_accessor :RequestId
         | 
| 24632 | 
            +
             | 
| 24633 | 
            +
                    def initialize(requestid=nil)
         | 
| 24634 | 
            +
                      @RequestId = requestid
         | 
| 24635 | 
            +
                    end
         | 
| 24636 | 
            +
             | 
| 24637 | 
            +
                    def deserialize(params)
         | 
| 24638 | 
            +
                      @RequestId = params['RequestId']
         | 
| 24639 | 
            +
                    end
         | 
| 24640 | 
            +
                  end
         | 
| 24641 | 
            +
             | 
| 24642 | 
            +
                  # ResetTrafficMirrorSrcs请求参数结构体
         | 
| 24643 | 
            +
                  class ResetTrafficMirrorSrcsRequest < TencentCloud::Common::AbstractModel
         | 
| 24644 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例ID
         | 
| 24645 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 24646 | 
            +
                    # @param CollectorSrcs: 流量镜像采集对象
         | 
| 24647 | 
            +
                    # @type CollectorSrcs: Array
         | 
| 24648 | 
            +
             | 
| 24649 | 
            +
                    attr_accessor :TrafficMirrorId, :CollectorSrcs
         | 
| 24650 | 
            +
             | 
| 24651 | 
            +
                    def initialize(trafficmirrorid=nil, collectorsrcs=nil)
         | 
| 24652 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 24653 | 
            +
                      @CollectorSrcs = collectorsrcs
         | 
| 24654 | 
            +
                    end
         | 
| 24655 | 
            +
             | 
| 24656 | 
            +
                    def deserialize(params)
         | 
| 24657 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 24658 | 
            +
                      @CollectorSrcs = params['CollectorSrcs']
         | 
| 24659 | 
            +
                    end
         | 
| 24660 | 
            +
                  end
         | 
| 24661 | 
            +
             | 
| 24662 | 
            +
                  # ResetTrafficMirrorSrcs返回参数结构体
         | 
| 24663 | 
            +
                  class ResetTrafficMirrorSrcsResponse < TencentCloud::Common::AbstractModel
         | 
| 24664 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 24665 | 
            +
                    # @type RequestId: String
         | 
| 24666 | 
            +
             | 
| 24667 | 
            +
                    attr_accessor :RequestId
         | 
| 24668 | 
            +
             | 
| 24669 | 
            +
                    def initialize(requestid=nil)
         | 
| 24670 | 
            +
                      @RequestId = requestid
         | 
| 24671 | 
            +
                    end
         | 
| 24672 | 
            +
             | 
| 24673 | 
            +
                    def deserialize(params)
         | 
| 24674 | 
            +
                      @RequestId = params['RequestId']
         | 
| 24675 | 
            +
                    end
         | 
| 24676 | 
            +
                  end
         | 
| 24677 | 
            +
             | 
| 24678 | 
            +
                  # ResetTrafficMirrorTarget请求参数结构体
         | 
| 24679 | 
            +
                  class ResetTrafficMirrorTargetRequest < TencentCloud::Common::AbstractModel
         | 
| 24680 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例ID
         | 
| 24681 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 24682 | 
            +
                    # @param CollectorTarget: 流量镜像的接收目的信息
         | 
| 24683 | 
            +
                    # @type CollectorTarget: :class:`Tencentcloud::Vpc.v20170312.models.TrafficMirrorTarget`
         | 
| 24684 | 
            +
                    # @param SubnetId: 公网IP类型的流量镜像采集流量的发送端所属子网
         | 
| 24685 | 
            +
                    # @type SubnetId: String
         | 
| 24686 | 
            +
             | 
| 24687 | 
            +
                    attr_accessor :TrafficMirrorId, :CollectorTarget, :SubnetId
         | 
| 24688 | 
            +
             | 
| 24689 | 
            +
                    def initialize(trafficmirrorid=nil, collectortarget=nil, subnetid=nil)
         | 
| 24690 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 24691 | 
            +
                      @CollectorTarget = collectortarget
         | 
| 24692 | 
            +
                      @SubnetId = subnetid
         | 
| 24693 | 
            +
                    end
         | 
| 24694 | 
            +
             | 
| 24695 | 
            +
                    def deserialize(params)
         | 
| 24696 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 24697 | 
            +
                      unless params['CollectorTarget'].nil?
         | 
| 24698 | 
            +
                        @CollectorTarget = TrafficMirrorTarget.new
         | 
| 24699 | 
            +
                        @CollectorTarget.deserialize(params['CollectorTarget'])
         | 
| 24700 | 
            +
                      end
         | 
| 24701 | 
            +
                      @SubnetId = params['SubnetId']
         | 
| 24702 | 
            +
                    end
         | 
| 24703 | 
            +
                  end
         | 
| 24704 | 
            +
             | 
| 24705 | 
            +
                  # ResetTrafficMirrorTarget返回参数结构体
         | 
| 24706 | 
            +
                  class ResetTrafficMirrorTargetResponse < TencentCloud::Common::AbstractModel
         | 
| 24707 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 24708 | 
            +
                    # @type RequestId: String
         | 
| 24709 | 
            +
             | 
| 24710 | 
            +
                    attr_accessor :RequestId
         | 
| 24711 | 
            +
             | 
| 24712 | 
            +
                    def initialize(requestid=nil)
         | 
| 24713 | 
            +
                      @RequestId = requestid
         | 
| 24714 | 
            +
                    end
         | 
| 24715 | 
            +
             | 
| 24716 | 
            +
                    def deserialize(params)
         | 
| 24717 | 
            +
                      @RequestId = params['RequestId']
         | 
| 24718 | 
            +
                    end
         | 
| 24719 | 
            +
                  end
         | 
| 24720 | 
            +
             | 
| 24298 24721 | 
             
                  # ResetVpnConnection请求参数结构体
         | 
| 24299 24722 | 
             
                  class ResetVpnConnectionRequest < TencentCloud::Common::AbstractModel
         | 
| 24300 24723 | 
             
                    # @param VpnGatewayId: VPN网关实例ID。
         | 
| @@ -25904,6 +26327,70 @@ module TencentCloud | |
| 25904 26327 | 
             
                    end
         | 
| 25905 26328 | 
             
                  end
         | 
| 25906 26329 |  | 
| 26330 | 
            +
                  # StartTrafficMirror请求参数结构体
         | 
| 26331 | 
            +
                  class StartTrafficMirrorRequest < TencentCloud::Common::AbstractModel
         | 
| 26332 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例ID
         | 
| 26333 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 26334 | 
            +
             | 
| 26335 | 
            +
                    attr_accessor :TrafficMirrorId
         | 
| 26336 | 
            +
             | 
| 26337 | 
            +
                    def initialize(trafficmirrorid=nil)
         | 
| 26338 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 26339 | 
            +
                    end
         | 
| 26340 | 
            +
             | 
| 26341 | 
            +
                    def deserialize(params)
         | 
| 26342 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 26343 | 
            +
                    end
         | 
| 26344 | 
            +
                  end
         | 
| 26345 | 
            +
             | 
| 26346 | 
            +
                  # StartTrafficMirror返回参数结构体
         | 
| 26347 | 
            +
                  class StartTrafficMirrorResponse < TencentCloud::Common::AbstractModel
         | 
| 26348 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 26349 | 
            +
                    # @type RequestId: String
         | 
| 26350 | 
            +
             | 
| 26351 | 
            +
                    attr_accessor :RequestId
         | 
| 26352 | 
            +
             | 
| 26353 | 
            +
                    def initialize(requestid=nil)
         | 
| 26354 | 
            +
                      @RequestId = requestid
         | 
| 26355 | 
            +
                    end
         | 
| 26356 | 
            +
             | 
| 26357 | 
            +
                    def deserialize(params)
         | 
| 26358 | 
            +
                      @RequestId = params['RequestId']
         | 
| 26359 | 
            +
                    end
         | 
| 26360 | 
            +
                  end
         | 
| 26361 | 
            +
             | 
| 26362 | 
            +
                  # StopTrafficMirror请求参数结构体
         | 
| 26363 | 
            +
                  class StopTrafficMirrorRequest < TencentCloud::Common::AbstractModel
         | 
| 26364 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例ID
         | 
| 26365 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 26366 | 
            +
             | 
| 26367 | 
            +
                    attr_accessor :TrafficMirrorId
         | 
| 26368 | 
            +
             | 
| 26369 | 
            +
                    def initialize(trafficmirrorid=nil)
         | 
| 26370 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 26371 | 
            +
                    end
         | 
| 26372 | 
            +
             | 
| 26373 | 
            +
                    def deserialize(params)
         | 
| 26374 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 26375 | 
            +
                    end
         | 
| 26376 | 
            +
                  end
         | 
| 26377 | 
            +
             | 
| 26378 | 
            +
                  # StopTrafficMirror返回参数结构体
         | 
| 26379 | 
            +
                  class StopTrafficMirrorResponse < TencentCloud::Common::AbstractModel
         | 
| 26380 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 26381 | 
            +
                    # @type RequestId: String
         | 
| 26382 | 
            +
             | 
| 26383 | 
            +
                    attr_accessor :RequestId
         | 
| 26384 | 
            +
             | 
| 26385 | 
            +
                    def initialize(requestid=nil)
         | 
| 26386 | 
            +
                      @RequestId = requestid
         | 
| 26387 | 
            +
                    end
         | 
| 26388 | 
            +
             | 
| 26389 | 
            +
                    def deserialize(params)
         | 
| 26390 | 
            +
                      @RequestId = params['RequestId']
         | 
| 26391 | 
            +
                    end
         | 
| 26392 | 
            +
                  end
         | 
| 26393 | 
            +
             | 
| 25907 26394 | 
             
                  # 子网对象
         | 
| 25908 26395 | 
             
                  class Subnet < TencentCloud::Common::AbstractModel
         | 
| 25909 26396 | 
             
                    # @param VpcId: `VPC`实例`ID`。
         | 
| @@ -26119,6 +26606,176 @@ module TencentCloud | |
| 26119 26606 | 
             
                    end
         | 
| 26120 26607 | 
             
                  end
         | 
| 26121 26608 |  | 
| 26609 | 
            +
                  # 流量镜像实例
         | 
| 26610 | 
            +
                  class TrafficMirror < TencentCloud::Common::AbstractModel
         | 
| 26611 | 
            +
                    # @param VpcId: VPC实例ID。
         | 
| 26612 | 
            +
                    # @type VpcId: String
         | 
| 26613 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例。
         | 
| 26614 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 26615 | 
            +
                    # @param TrafficMirrorName: 流量镜像名字。
         | 
| 26616 | 
            +
                    # @type TrafficMirrorName: String
         | 
| 26617 | 
            +
                    # @param TrafficMirrorDescribe: 流量镜像描述。
         | 
| 26618 | 
            +
                    # @type TrafficMirrorDescribe: String
         | 
| 26619 | 
            +
                    # @param State: 流量镜像状态。
         | 
| 26620 | 
            +
                    # @type State: String
         | 
| 26621 | 
            +
                    # @param Direction: 流量镜像采集方向。
         | 
| 26622 | 
            +
                    # @type Direction: String
         | 
| 26623 | 
            +
                    # @param CollectorSrcs: 流量镜像采集对象。
         | 
| 26624 | 
            +
                    # @type CollectorSrcs: Array
         | 
| 26625 | 
            +
                    # @param NatId: 流量镜像过滤的nat网关实例ID。
         | 
| 26626 | 
            +
                    # @type NatId: String
         | 
| 26627 | 
            +
                    # @param CollectorNormalFilters: 流量镜像过滤的五元组规则。
         | 
| 26628 | 
            +
                    # @type CollectorNormalFilters: Array
         | 
| 26629 | 
            +
                    # @param CollectorTarget: 流量镜接收目标。
         | 
| 26630 | 
            +
                    # @type CollectorTarget: :class:`Tencentcloud::Vpc.v20170312.models.TrafficMirrorTarget`
         | 
| 26631 | 
            +
                    # @param CreateTime: 流量镜像创建时间。
         | 
| 26632 | 
            +
                    # @type CreateTime: String
         | 
| 26633 | 
            +
                    # @param Type: 流量镜像的类型。
         | 
| 26634 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 26635 | 
            +
                    # @type Type: String
         | 
| 26636 | 
            +
                    # @param SubnetId: 流量镜像所属的子网ID。
         | 
| 26637 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 26638 | 
            +
                    # @type SubnetId: String
         | 
| 26639 | 
            +
                    # @param TargetInfo: 流量镜接收目标资源信息,当接收目标为ENI和CLB时返回。
         | 
| 26640 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 26641 | 
            +
                    # @type TargetInfo: Array
         | 
| 26642 | 
            +
             | 
| 26643 | 
            +
                    attr_accessor :VpcId, :TrafficMirrorId, :TrafficMirrorName, :TrafficMirrorDescribe, :State, :Direction, :CollectorSrcs, :NatId, :CollectorNormalFilters, :CollectorTarget, :CreateTime, :Type, :SubnetId, :TargetInfo
         | 
| 26644 | 
            +
             | 
| 26645 | 
            +
                    def initialize(vpcid=nil, trafficmirrorid=nil, trafficmirrorname=nil, trafficmirrordescribe=nil, state=nil, direction=nil, collectorsrcs=nil, natid=nil, collectornormalfilters=nil, collectortarget=nil, createtime=nil, type=nil, subnetid=nil, targetinfo=nil)
         | 
| 26646 | 
            +
                      @VpcId = vpcid
         | 
| 26647 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 26648 | 
            +
                      @TrafficMirrorName = trafficmirrorname
         | 
| 26649 | 
            +
                      @TrafficMirrorDescribe = trafficmirrordescribe
         | 
| 26650 | 
            +
                      @State = state
         | 
| 26651 | 
            +
                      @Direction = direction
         | 
| 26652 | 
            +
                      @CollectorSrcs = collectorsrcs
         | 
| 26653 | 
            +
                      @NatId = natid
         | 
| 26654 | 
            +
                      @CollectorNormalFilters = collectornormalfilters
         | 
| 26655 | 
            +
                      @CollectorTarget = collectortarget
         | 
| 26656 | 
            +
                      @CreateTime = createtime
         | 
| 26657 | 
            +
                      @Type = type
         | 
| 26658 | 
            +
                      @SubnetId = subnetid
         | 
| 26659 | 
            +
                      @TargetInfo = targetinfo
         | 
| 26660 | 
            +
                    end
         | 
| 26661 | 
            +
             | 
| 26662 | 
            +
                    def deserialize(params)
         | 
| 26663 | 
            +
                      @VpcId = params['VpcId']
         | 
| 26664 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 26665 | 
            +
                      @TrafficMirrorName = params['TrafficMirrorName']
         | 
| 26666 | 
            +
                      @TrafficMirrorDescribe = params['TrafficMirrorDescribe']
         | 
| 26667 | 
            +
                      @State = params['State']
         | 
| 26668 | 
            +
                      @Direction = params['Direction']
         | 
| 26669 | 
            +
                      @CollectorSrcs = params['CollectorSrcs']
         | 
| 26670 | 
            +
                      @NatId = params['NatId']
         | 
| 26671 | 
            +
                      unless params['CollectorNormalFilters'].nil?
         | 
| 26672 | 
            +
                        @CollectorNormalFilters = []
         | 
| 26673 | 
            +
                        params['CollectorNormalFilters'].each do |i|
         | 
| 26674 | 
            +
                          trafficmirrorfilter_tmp = TrafficMirrorFilter.new
         | 
| 26675 | 
            +
                          trafficmirrorfilter_tmp.deserialize(i)
         | 
| 26676 | 
            +
                          @CollectorNormalFilters << trafficmirrorfilter_tmp
         | 
| 26677 | 
            +
                        end
         | 
| 26678 | 
            +
                      end
         | 
| 26679 | 
            +
                      unless params['CollectorTarget'].nil?
         | 
| 26680 | 
            +
                        @CollectorTarget = TrafficMirrorTarget.new
         | 
| 26681 | 
            +
                        @CollectorTarget.deserialize(params['CollectorTarget'])
         | 
| 26682 | 
            +
                      end
         | 
| 26683 | 
            +
                      @CreateTime = params['CreateTime']
         | 
| 26684 | 
            +
                      @Type = params['Type']
         | 
| 26685 | 
            +
                      @SubnetId = params['SubnetId']
         | 
| 26686 | 
            +
                      unless params['TargetInfo'].nil?
         | 
| 26687 | 
            +
                        @TargetInfo = []
         | 
| 26688 | 
            +
                        params['TargetInfo'].each do |i|
         | 
| 26689 | 
            +
                          trafficmirrortargetresourceinfo_tmp = TrafficMirrorTargetResourceInfo.new
         | 
| 26690 | 
            +
                          trafficmirrortargetresourceinfo_tmp.deserialize(i)
         | 
| 26691 | 
            +
                          @TargetInfo << trafficmirrortargetresourceinfo_tmp
         | 
| 26692 | 
            +
                        end
         | 
| 26693 | 
            +
                      end
         | 
| 26694 | 
            +
                    end
         | 
| 26695 | 
            +
                  end
         | 
| 26696 | 
            +
             | 
| 26697 | 
            +
                  # 流量镜像五元组过滤规则对象
         | 
| 26698 | 
            +
                  class TrafficMirrorFilter < TencentCloud::Common::AbstractModel
         | 
| 26699 | 
            +
                    # @param SrcNet: 过滤规则的源网段
         | 
| 26700 | 
            +
                    # @type SrcNet: String
         | 
| 26701 | 
            +
                    # @param DstNet: 过滤规则的目的网段
         | 
| 26702 | 
            +
                    # @type DstNet: String
         | 
| 26703 | 
            +
                    # @param Protocol: 过滤规则的协议
         | 
| 26704 | 
            +
                    # @type Protocol: String
         | 
| 26705 | 
            +
                    # @param SrcPort: 过滤规则的源端口,默认值1-65535
         | 
| 26706 | 
            +
                    # @type SrcPort: String
         | 
| 26707 | 
            +
                    # @param DstPort: 过滤规则的目的端口,默认值1-65535
         | 
| 26708 | 
            +
                    # @type DstPort: String
         | 
| 26709 | 
            +
             | 
| 26710 | 
            +
                    attr_accessor :SrcNet, :DstNet, :Protocol, :SrcPort, :DstPort
         | 
| 26711 | 
            +
             | 
| 26712 | 
            +
                    def initialize(srcnet=nil, dstnet=nil, protocol=nil, srcport=nil, dstport=nil)
         | 
| 26713 | 
            +
                      @SrcNet = srcnet
         | 
| 26714 | 
            +
                      @DstNet = dstnet
         | 
| 26715 | 
            +
                      @Protocol = protocol
         | 
| 26716 | 
            +
                      @SrcPort = srcport
         | 
| 26717 | 
            +
                      @DstPort = dstport
         | 
| 26718 | 
            +
                    end
         | 
| 26719 | 
            +
             | 
| 26720 | 
            +
                    def deserialize(params)
         | 
| 26721 | 
            +
                      @SrcNet = params['SrcNet']
         | 
| 26722 | 
            +
                      @DstNet = params['DstNet']
         | 
| 26723 | 
            +
                      @Protocol = params['Protocol']
         | 
| 26724 | 
            +
                      @SrcPort = params['SrcPort']
         | 
| 26725 | 
            +
                      @DstPort = params['DstPort']
         | 
| 26726 | 
            +
                    end
         | 
| 26727 | 
            +
                  end
         | 
| 26728 | 
            +
             | 
| 26729 | 
            +
                  # 流量镜像采集目标类型
         | 
| 26730 | 
            +
                  class TrafficMirrorTarget < TencentCloud::Common::AbstractModel
         | 
| 26731 | 
            +
                    # @param TargetIps: 流量镜像的接收IP
         | 
| 26732 | 
            +
                    # @type TargetIps: Array
         | 
| 26733 | 
            +
                    # @param AlgHash: 流量镜像接收IP组,均衡规则,支持ENI/FIVE_TUPLE_FLOW(vpc),FIVE_TUPLE_FLOW(公网IP)
         | 
| 26734 | 
            +
                    # @type AlgHash: String
         | 
| 26735 | 
            +
                    # @param TargetEndPoints: 流量镜像的接收endpoint(公网IP)
         | 
| 26736 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 26737 | 
            +
                    # @type TargetEndPoints: Array
         | 
| 26738 | 
            +
                    # @param TargetType: 流量镜像的接收类型,分别为:IP/ENI/CLB
         | 
| 26739 | 
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         | 
| 26740 | 
            +
                    # @type TargetType: String
         | 
| 26741 | 
            +
             | 
| 26742 | 
            +
                    attr_accessor :TargetIps, :AlgHash, :TargetEndPoints, :TargetType
         | 
| 26743 | 
            +
             | 
| 26744 | 
            +
                    def initialize(targetips=nil, alghash=nil, targetendpoints=nil, targettype=nil)
         | 
| 26745 | 
            +
                      @TargetIps = targetips
         | 
| 26746 | 
            +
                      @AlgHash = alghash
         | 
| 26747 | 
            +
                      @TargetEndPoints = targetendpoints
         | 
| 26748 | 
            +
                      @TargetType = targettype
         | 
| 26749 | 
            +
                    end
         | 
| 26750 | 
            +
             | 
| 26751 | 
            +
                    def deserialize(params)
         | 
| 26752 | 
            +
                      @TargetIps = params['TargetIps']
         | 
| 26753 | 
            +
                      @AlgHash = params['AlgHash']
         | 
| 26754 | 
            +
                      @TargetEndPoints = params['TargetEndPoints']
         | 
| 26755 | 
            +
                      @TargetType = params['TargetType']
         | 
| 26756 | 
            +
                    end
         | 
| 26757 | 
            +
                  end
         | 
| 26758 | 
            +
             | 
| 26759 | 
            +
                  # 流量镜像接收流量信息,当接收目标为ENI和CLB时返回
         | 
| 26760 | 
            +
                  class TrafficMirrorTargetResourceInfo < TencentCloud::Common::AbstractModel
         | 
| 26761 | 
            +
                    # @param TargetId: 接收目标的资源Id
         | 
| 26762 | 
            +
                    # @type TargetId: String
         | 
| 26763 | 
            +
                    # @param TargetName: 接收目标的资源名称
         | 
| 26764 | 
            +
                    # @type TargetName: String
         | 
| 26765 | 
            +
             | 
| 26766 | 
            +
                    attr_accessor :TargetId, :TargetName
         | 
| 26767 | 
            +
             | 
| 26768 | 
            +
                    def initialize(targetid=nil, targetname=nil)
         | 
| 26769 | 
            +
                      @TargetId = targetid
         | 
| 26770 | 
            +
                      @TargetName = targetname
         | 
| 26771 | 
            +
                    end
         | 
| 26772 | 
            +
             | 
| 26773 | 
            +
                    def deserialize(params)
         | 
| 26774 | 
            +
                      @TargetId = params['TargetId']
         | 
| 26775 | 
            +
                      @TargetName = params['TargetName']
         | 
| 26776 | 
            +
                    end
         | 
| 26777 | 
            +
                  end
         | 
| 26778 | 
            +
             | 
| 26122 26779 | 
             
                  # 流量包信息描述类型
         | 
| 26123 26780 | 
             
                  class TrafficPackage < TencentCloud::Common::AbstractModel
         | 
| 26124 26781 | 
             
                    # @param TrafficPackageId: 流量包唯一ID
         | 
| @@ -26649,6 +27306,97 @@ module TencentCloud | |
| 26649 27306 | 
             
                    end
         | 
| 26650 27307 | 
             
                  end
         | 
| 26651 27308 |  | 
| 27309 | 
            +
                  # UpdateTrafficMirrorAllFilter请求参数结构体
         | 
| 27310 | 
            +
                  class UpdateTrafficMirrorAllFilterRequest < TencentCloud::Common::AbstractModel
         | 
| 27311 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例ID
         | 
| 27312 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 27313 | 
            +
                    # @param Direction: 流量镜像采集方向
         | 
| 27314 | 
            +
                    # @type Direction: String
         | 
| 27315 | 
            +
                    # @param CollectorSrcs: 流量镜像采集对象
         | 
| 27316 | 
            +
                    # @type CollectorSrcs: Array
         | 
| 27317 | 
            +
                    # @param NatId: 流量镜像需要过滤的natgw实例
         | 
| 27318 | 
            +
                    # @type NatId: String
         | 
| 27319 | 
            +
                    # @param CollectorNormalFilters: 流量镜像需要过滤的五元组规则
         | 
| 27320 | 
            +
                    # @type CollectorNormalFilters: Array
         | 
| 27321 | 
            +
             | 
| 27322 | 
            +
                    attr_accessor :TrafficMirrorId, :Direction, :CollectorSrcs, :NatId, :CollectorNormalFilters
         | 
| 27323 | 
            +
             | 
| 27324 | 
            +
                    def initialize(trafficmirrorid=nil, direction=nil, collectorsrcs=nil, natid=nil, collectornormalfilters=nil)
         | 
| 27325 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 27326 | 
            +
                      @Direction = direction
         | 
| 27327 | 
            +
                      @CollectorSrcs = collectorsrcs
         | 
| 27328 | 
            +
                      @NatId = natid
         | 
| 27329 | 
            +
                      @CollectorNormalFilters = collectornormalfilters
         | 
| 27330 | 
            +
                    end
         | 
| 27331 | 
            +
             | 
| 27332 | 
            +
                    def deserialize(params)
         | 
| 27333 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 27334 | 
            +
                      @Direction = params['Direction']
         | 
| 27335 | 
            +
                      @CollectorSrcs = params['CollectorSrcs']
         | 
| 27336 | 
            +
                      @NatId = params['NatId']
         | 
| 27337 | 
            +
                      unless params['CollectorNormalFilters'].nil?
         | 
| 27338 | 
            +
                        @CollectorNormalFilters = []
         | 
| 27339 | 
            +
                        params['CollectorNormalFilters'].each do |i|
         | 
| 27340 | 
            +
                          trafficmirrorfilter_tmp = TrafficMirrorFilter.new
         | 
| 27341 | 
            +
                          trafficmirrorfilter_tmp.deserialize(i)
         | 
| 27342 | 
            +
                          @CollectorNormalFilters << trafficmirrorfilter_tmp
         | 
| 27343 | 
            +
                        end
         | 
| 27344 | 
            +
                      end
         | 
| 27345 | 
            +
                    end
         | 
| 27346 | 
            +
                  end
         | 
| 27347 | 
            +
             | 
| 27348 | 
            +
                  # UpdateTrafficMirrorAllFilter返回参数结构体
         | 
| 27349 | 
            +
                  class UpdateTrafficMirrorAllFilterResponse < TencentCloud::Common::AbstractModel
         | 
| 27350 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 27351 | 
            +
                    # @type RequestId: String
         | 
| 27352 | 
            +
             | 
| 27353 | 
            +
                    attr_accessor :RequestId
         | 
| 27354 | 
            +
             | 
| 27355 | 
            +
                    def initialize(requestid=nil)
         | 
| 27356 | 
            +
                      @RequestId = requestid
         | 
| 27357 | 
            +
                    end
         | 
| 27358 | 
            +
             | 
| 27359 | 
            +
                    def deserialize(params)
         | 
| 27360 | 
            +
                      @RequestId = params['RequestId']
         | 
| 27361 | 
            +
                    end
         | 
| 27362 | 
            +
                  end
         | 
| 27363 | 
            +
             | 
| 27364 | 
            +
                  # UpdateTrafficMirrorDirection请求参数结构体
         | 
| 27365 | 
            +
                  class UpdateTrafficMirrorDirectionRequest < TencentCloud::Common::AbstractModel
         | 
| 27366 | 
            +
                    # @param TrafficMirrorId: 流量镜像实例ID
         | 
| 27367 | 
            +
                    # @type TrafficMirrorId: String
         | 
| 27368 | 
            +
                    # @param Direction: 流量镜像采集方向
         | 
| 27369 | 
            +
                    # @type Direction: String
         | 
| 27370 | 
            +
             | 
| 27371 | 
            +
                    attr_accessor :TrafficMirrorId, :Direction
         | 
| 27372 | 
            +
             | 
| 27373 | 
            +
                    def initialize(trafficmirrorid=nil, direction=nil)
         | 
| 27374 | 
            +
                      @TrafficMirrorId = trafficmirrorid
         | 
| 27375 | 
            +
                      @Direction = direction
         | 
| 27376 | 
            +
                    end
         | 
| 27377 | 
            +
             | 
| 27378 | 
            +
                    def deserialize(params)
         | 
| 27379 | 
            +
                      @TrafficMirrorId = params['TrafficMirrorId']
         | 
| 27380 | 
            +
                      @Direction = params['Direction']
         | 
| 27381 | 
            +
                    end
         | 
| 27382 | 
            +
                  end
         | 
| 27383 | 
            +
             | 
| 27384 | 
            +
                  # UpdateTrafficMirrorDirection返回参数结构体
         | 
| 27385 | 
            +
                  class UpdateTrafficMirrorDirectionResponse < TencentCloud::Common::AbstractModel
         | 
| 27386 | 
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         | 
| 27387 | 
            +
                    # @type RequestId: String
         | 
| 27388 | 
            +
             | 
| 27389 | 
            +
                    attr_accessor :RequestId
         | 
| 27390 | 
            +
             | 
| 27391 | 
            +
                    def initialize(requestid=nil)
         | 
| 27392 | 
            +
                      @RequestId = requestid
         | 
| 27393 | 
            +
                    end
         | 
| 27394 | 
            +
             | 
| 27395 | 
            +
                    def deserialize(params)
         | 
| 27396 | 
            +
                      @RequestId = params['RequestId']
         | 
| 27397 | 
            +
                    end
         | 
| 27398 | 
            +
                  end
         | 
| 27399 | 
            +
             | 
| 26652 27400 | 
             
                  # 共享流量包用量明细
         | 
| 26653 27401 | 
             
                  class UsedDetail < TencentCloud::Common::AbstractModel
         | 
| 26654 27402 | 
             
                    # @param TrafficPackageId: 流量包唯一ID
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tencentcloud-sdk-vpc
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.0. | 
| 4 | 
            +
              version: 3.0.997
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Tencent Cloud
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2025-02- | 
| 11 | 
            +
            date: 2025-02-12 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |