uid stringlengths 24 24 | split stringclasses 1
value | category stringclasses 2
values | content stringlengths 5 482k | signature stringlengths 1 14k | suffix stringlengths 1 482k | prefix stringlengths 9 14k | prefix_token_count int64 3 5.01k | prefix_token_budget int64 64 256 | element_token_count int64 1 292k | signature_token_count int64 1 5.01k | prefix_context_token_count int64 0 255 | repo stringlengths 7 112 | path stringlengths 4 208 | language stringclasses 1
value | name stringlengths 1 218 | qualname stringlengths 1 218 | start_line int64 1 26.7k | end_line int64 1 26.7k | signature_start_line int64 1 26.7k | signature_end_line int64 1 26.7k | source_hash stringlengths 40 40 | source_dataset stringclasses 1
value | source_split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
82ee197aee9a328ab4cb1a0f | train | class | class DescribeCustomerGatewaysResponse(AbstractModel):
"""DescribeCustomerGateways返回参数结构体
"""
def __init__(self):
"""
:param CustomerGatewaySet: 对端网关对象列表
:type CustomerGatewaySet: list of CustomerGateway
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
:p... | class DescribeCustomerGatewaysResponse(AbstractModel):
| """DescribeCustomerGateways返回参数结构体
"""
def __init__(self):
"""
:param CustomerGatewaySet: 对端网关对象列表
:type CustomerGatewaySet: list of CustomerGateway
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 Request... | ("Filters") is not None:
self.Filters = []
for item in params.get("Filters"):
obj = Filter()
obj._deserialize(item)
self.Filters.append(obj)
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class DescribeCustomerG... | 66 | 66 | 222 | 9 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeCustomerGatewaysResponse | DescribeCustomerGatewaysResponse | 5,987 | 6,014 | 5,987 | 5,987 | 39795562e1d077934870ba7d55db673ae470be85 | bigcode/the-stack | train |
cf4efcdfe299daa6065275ff | train | class | class CreateVpnGatewayRequest(AbstractModel):
"""CreateVpnGateway请求参数结构体
"""
def __init__(self):
"""
:param VpcId: VPC实例ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口返回值中的VpcId获取。
:type VpcId: str
:param VpnGatewayName: VPN网关名称,最大长度不能超过60个字节。
... | class CreateVpnGatewayRequest(AbstractModel):
| """CreateVpnGateway请求参数结构体
"""
def __init__(self):
"""
:param VpcId: VPC实例ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口返回值中的VpcId获取。
:type VpcId: str
:param VpnGatewayName: VPN网关名称,最大长度不能超过60个字节。
:type VpnGatewayName: str
:para... | obj._deserialize(item)
self.Tags.append(obj)
class CreateVpnConnectionResponse(AbstractModel):
"""CreateVpnConnection返回参数结构体
"""
def __init__(self):
"""
:param VpnConnection: 通道实例对象。
:type VpnConnection: :class:`tencentcloud.vpc.v20170312.models.VpnConnection`
... | 192 | 192 | 641 | 8 | 184 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateVpnGatewayRequest | CreateVpnGatewayRequest | 3,671 | 3,720 | 3,671 | 3,671 | 78e66f51ec602ec632520f597ab3b37eac4a7b70 | bigcode/the-stack | train |
cf753e1cb32f9441ea7affbf | train | class | class DeleteDhcpIpRequest(AbstractModel):
"""DeleteDhcpIp请求参数结构体
"""
def __init__(self):
"""
:param DhcpIpId: `DhcpIp`的`ID`,是`DhcpIp`的唯一标识。
:type DhcpIpId: str
"""
self.DhcpIpId = None
def _deserialize(self, params):
self.DhcpIpId = params.get("DhcpIpI... | class DeleteDhcpIpRequest(AbstractModel):
| """DeleteDhcpIp请求参数结构体
"""
def __init__(self):
"""
:param DhcpIpId: `DhcpIp`的`ID`,是`DhcpIp`的唯一标识。
:type DhcpIpId: str
"""
self.DhcpIpId = None
def _deserialize(self, params):
self.DhcpIpId = params.get("DhcpIpId")
| ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class DeleteDhcpIpRequest(AbstractModel):
| 64 | 64 | 104 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DeleteDhcpIpRequest | DeleteDhcpIpRequest | 4,191 | 4,205 | 4,191 | 4,191 | 912fbde2af18d67365e060990dd79984e43519fa | bigcode/the-stack | train |
33248d124f0a84774e265a4e | train | class | class DescribeCrossBorderComplianceResponse(AbstractModel):
"""DescribeCrossBorderCompliance返回参数结构体
"""
def __init__(self):
"""
:param CrossBorderComplianceSet: 合规化审批单列表。
:type CrossBorderComplianceSet: list of CrossBorderCompliance
:param TotalCount: 合规化审批单总数。
:typ... | class DescribeCrossBorderComplianceResponse(AbstractModel):
| """DescribeCrossBorderCompliance返回参数结构体
"""
def __init__(self):
"""
:param CrossBorderComplianceSet: 合规化审批单列表。
:type CrossBorderComplianceSet: list of CrossBorderCompliance
:param TotalCount: 合规化审批单总数。
:type TotalCount: int
:param RequestId: 唯一请求 ID,每次请求都会返回... | .get("ManagerAddress")
self.ManagerTelephone = params.get("ManagerTelephone")
self.Email = params.get("Email")
self.ServiceStartDate = params.get("ServiceStartDate")
self.ServiceEndDate = params.get("ServiceEndDate")
self.State = params.get("State")
class DescribeCrossBorderCompl... | 69 | 69 | 230 | 9 | 60 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeCrossBorderComplianceResponse | DescribeCrossBorderComplianceResponse | 5,888 | 5,915 | 5,888 | 5,888 | a4ac18831801e34dea7de983453e60531731cef8 | bigcode/the-stack | train |
e90cdafc40235f0daa14058a | train | class | class CcnBandwidthInfo(AbstractModel):
"""用于描述云联网地域间限速带宽实例的信息。
"""
def __init__(self):
"""
:param CcnId: 带宽所属的云联网ID。
注意:此字段可能返回 null,表示取不到有效值。
:type CcnId: str
:param CreatedTime: 实例的创建时间。
注意:此字段可能返回 null,表示取不到有效值。
:type CreatedTime: str
:param ExpiredTime: ... | class CcnBandwidthInfo(AbstractModel):
| """用于描述云联网地域间限速带宽实例的信息。
"""
def __init__(self):
"""
:param CcnId: 带宽所属的云联网ID。
注意:此字段可能返回 null,表示取不到有效值。
:type CcnId: str
:param CreatedTime: 实例的创建时间。
注意:此字段可能返回 null,表示取不到有效值。
:type CreatedTime: str
:param ExpiredTime: 实例的过期时间
注意:此字段可能返回 null,表示取不到有效值。
... | deserialize(self, params):
self.CcnId = params.get("CcnId")
self.InstanceType = params.get("InstanceType")
self.InstanceId = params.get("InstanceId")
self.InstanceName = params.get("InstanceName")
self.InstanceRegion = params.get("InstanceRegion")
self.InstanceUin = param... | 143 | 143 | 477 | 8 | 135 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CcnBandwidthInfo | CcnBandwidthInfo | 1,435 | 1,477 | 1,435 | 1,435 | 7876969a51bd28ead3dc000f8210a39bcf88e16c | bigcode/the-stack | train |
3f7f8ce08f3749a579a5ad3c | train | class | class DeleteAddressTemplateResponse(AbstractModel):
"""DeleteAddressTemplate返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
... | class DeleteAddressTemplateResponse(AbstractModel):
| """DeleteAddressTemplate返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| 地址模板实例ID,例如:ipm-09o5m8kc。
:type AddressTemplateId: str
"""
self.AddressTemplateId = None
def _deserialize(self, params):
self.AddressTemplateId = params.get("AddressTemplateId")
class DeleteAddressTemplateResponse(AbstractModel):
| 64 | 64 | 94 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DeleteAddressTemplateResponse | DeleteAddressTemplateResponse | 4,034 | 4,048 | 4,034 | 4,034 | 440f70395b1c62ee428029744d89f093b4488f8a | bigcode/the-stack | train |
0921e05e533c3e748fafe7f7 | train | class | class DisassociateNetworkInterfaceSecurityGroupsRequest(AbstractModel):
"""DisassociateNetworkInterfaceSecurityGroups请求参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceIds: 弹性网卡实例ID。形如:eni-pxir56ns。每次请求的实例的上限为100。
:type NetworkInterfaceIds: list of str
:param Securi... | class DisassociateNetworkInterfaceSecurityGroupsRequest(AbstractModel):
| """DisassociateNetworkInterfaceSecurityGroups请求参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceIds: 弹性网卡实例ID。形如:eni-pxir56ns。每次请求的实例的上限为100。
:type NetworkInterfaceIds: list of str
:param SecurityGroupIds: 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。每次请求的实例的上... | 次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class DisassociateNetworkInterfaceSecurityGroupsRequest(AbstractModel):
| 64 | 64 | 184 | 11 | 53 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DisassociateNetworkInterfaceSecurityGroupsRequest | DisassociateNetworkInterfaceSecurityGroupsRequest | 9,122 | 9,140 | 9,122 | 9,122 | ab1c5437c1f8136dab2a37d235cfb81ee6c1d2b2 | bigcode/the-stack | train |
64be5a6710594f69b6a7ec6b | train | class | class DirectConnectGatewayCcnRoute(AbstractModel):
"""专线网关云联网路由(IDC网段)对象
"""
def __init__(self):
"""
:param RouteId: 路由ID。
:type RouteId: str
:param DestinationCidrBlock: IDC网段。
:type DestinationCidrBlock: str
:param ASPath: `BGP`的`AS-Path`属性。
:type ... | class DirectConnectGatewayCcnRoute(AbstractModel):
| """专线网关云联网路由(IDC网段)对象
"""
def __init__(self):
"""
:param RouteId: 路由ID。
:type RouteId: str
:param DestinationCidrBlock: IDC网段。
:type DestinationCidrBlock: str
:param ASPath: `BGP`的`AS-Path`属性。
:type ASPath: list of str
"""
self.RouteI... | self.EnableBGPCommunity = params.get("EnableBGPCommunity")
self.NatGatewayId = params.get("NatGatewayId")
self.VXLANSupport = params.get("VXLANSupport")
self.ModeType = params.get("ModeType")
class DirectConnectGatewayCcnRoute(AbstractModel):
| 64 | 64 | 181 | 10 | 54 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DirectConnectGatewayCcnRoute | DirectConnectGatewayCcnRoute | 8,786 | 8,808 | 8,786 | 8,786 | e5287ad08c222a8dd72cc0e27228a1f92e1aa1a5 | bigcode/the-stack | train |
f26e45a4de7bf58d7c01b3c0 | train | class | class CreateIp6TranslatorsRequest(AbstractModel):
"""CreateIp6Translators请求参数结构体
"""
def __init__(self):
"""
:param Ip6TranslatorName: 转换实例名称
:type Ip6TranslatorName: str
:param Ip6TranslatorCount: 创建转换实例数量,默认是1个
:type Ip6TranslatorCount: int
:param Ip6Inter... | class CreateIp6TranslatorsRequest(AbstractModel):
| """CreateIp6Translators请求参数结构体
"""
def __init__(self):
"""
:param Ip6TranslatorName: 转换实例名称
:type Ip6TranslatorName: str
:param Ip6TranslatorCount: 创建转换实例数量,默认是1个
:type Ip6TranslatorCount: int
:param Ip6InternetServiceProvider: 转换实例运营商属性,可取"CMCC","CTCC","CUC... |
def _deserialize(self, params):
if params.get("HaVip") is not None:
self.HaVip = HaVip()
self.HaVip._deserialize(params.get("HaVip"))
self.RequestId = params.get("RequestId")
class CreateIp6TranslatorsRequest(AbstractModel):
| 65 | 65 | 218 | 11 | 54 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateIp6TranslatorsRequest | CreateIp6TranslatorsRequest | 2,681 | 2,703 | 2,681 | 2,681 | af63d762b1d1faf9d199ff4a212ff4369dc6bbad | bigcode/the-stack | train |
a2ffe3b7168bdc98da3c3d12 | train | class | class DescribeVpcsRequest(AbstractModel):
"""DescribeVpcs请求参数结构体
"""
def __init__(self):
"""
:param VpcIds: VPC实例ID。形如:vpc-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpcIds和Filters。
:type VpcIds: list of str
:param Filters: 过滤条件,参数不支持同时指定VpcIds和Filters。
<li>vpc-name - String - (过滤条件)... | class DescribeVpcsRequest(AbstractModel):
| """DescribeVpcs请求参数结构体
"""
def __init__(self):
"""
:param VpcIds: VPC实例ID。形如:vpc-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpcIds和Filters。
:type VpcIds: list of str
:param Filters: 过滤条件,参数不支持同时指定VpcIds和Filters。
<li>vpc-name - String - (过滤条件)VPC实例名称。</li>
<li>is-default - String - (过... | Id: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.ResourceDashboardSet = None
self.RequestId = None
def _deserialize(self, params):
if params.get("ResourceDashboardSet") is not None:
self.ResourceDashboardSet = []
for item ... | 128 | 128 | 427 | 8 | 120 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeVpcsRequest | DescribeVpcsRequest | 8,225 | 8,262 | 8,225 | 8,225 | 3aa83f85cae6e42f73c9eb03d52f2cabe55195b6 | bigcode/the-stack | train |
14e878b17c0a595ed91d7455 | train | class | class CheckAssistantCidrRequest(AbstractModel):
"""CheckAssistantCidr请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
:type VpcId: str
:param NewCidrBlocks: 待添加的负载CIDR。CIDR数组,格式如["10.0.0.0/16", "172.16.0.0/16"]。入参NewCidrBlocks和OldCidrBlocks至少需... | class CheckAssistantCidrRequest(AbstractModel):
| """CheckAssistantCidr请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
:type VpcId: str
:param NewCidrBlocks: 待添加的负载CIDR。CIDR数组,格式如["10.0.0.0/16", "172.16.0.0/16"]。入参NewCidrBlocks和OldCidrBlocks至少需要其一。
:type NewCidrBlocks: list of str
... | .UpdateTime = params.get("UpdateTime")
self.Enabled = params.get("Enabled")
self.InstanceUin = params.get("InstanceUin")
self.ExtraState = params.get("ExtraState")
self.IsBgp = params.get("IsBgp")
self.RoutePriority = params.get("RoutePriority")
self.InstanceExtraName = p... | 89 | 89 | 299 | 9 | 80 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CheckAssistantCidrRequest | CheckAssistantCidrRequest | 1,608 | 1,630 | 1,608 | 1,608 | 994c3f935221b502824fcf5788d1cd762a2a2e25 | bigcode/the-stack | train |
0b78ddc02bc592f7782f0030 | train | class | class Quota(AbstractModel):
"""描述配额信息
"""
def __init__(self):
"""
:param QuotaId: 配额名称,取值范围:<br><li>`TOTAL_EIP_QUOTA`:用户当前地域下EIP的配额数;<br><li>`DAILY_EIP_APPLY`:用户当前地域下今日申购次数;<br><li>`DAILY_PUBLIC_IP_ASSIGN`:用户当前地域下,重新分配公网 IP次数。
:type QuotaId: str
:param QuotaCurrent: 当前数量
... | class Quota(AbstractModel):
| """描述配额信息
"""
def __init__(self):
"""
:param QuotaId: 配额名称,取值范围:<br><li>`TOTAL_EIP_QUOTA`:用户当前地域下EIP的配额数;<br><li>`DAILY_EIP_APPLY`:用户当前地域下今日申购次数;<br><li>`DAILY_PUBLIC_IP_ASSIGN`:用户当前地域下,重新分配公网 IP次数。
:type QuotaId: str
:param QuotaCurrent: 当前数量
:type QuotaCurrent: in... | ):
self.QuotaId = params.get("QuotaId")
self.QuotaName = params.get("QuotaName")
self.QuotaCurrent = params.get("QuotaCurrent")
self.QuotaLimit = params.get("QuotaLimit")
self.QuotaRegion = params.get("QuotaRegion")
class Quota(AbstractModel):
| 67 | 67 | 226 | 6 | 61 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | Quota | Quota | 12,673 | 12,695 | 12,673 | 12,673 | b353978e6255d6375ba29664bc0b38b43ddc4cf4 | bigcode/the-stack | train |
9d7dbf094d44a138b12195f6 | train | class | class RenewVpnGatewayResponse(AbstractModel):
"""RenewVpnGateway返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.Request... | class RenewVpnGatewayResponse(AbstractModel):
| """RenewVpnGateway返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| self.VpnGatewayId = params.get("VpnGatewayId")
if params.get("InstanceChargePrepaid") is not None:
self.InstanceChargePrepaid = InstanceChargePrepaid()
self.InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
class RenewVpnGatewayResponse(AbstractModel):
| 63 | 64 | 94 | 8 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | RenewVpnGatewayResponse | RenewVpnGatewayResponse | 12,985 | 12,999 | 12,985 | 12,985 | 17ed64b8697f8c9c3f25a8d663e9e16eaebf12d3 | bigcode/the-stack | train |
8fa9cf17b85bfffe8e35c2aa | train | class | class ModifyCcnRegionBandwidthLimitsTypeResponse(AbstractModel):
"""ModifyCcnRegionBandwidthLimitsType返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deseriali... | class ModifyCcnRegionBandwidthLimitsTypeResponse(AbstractModel):
| """ModifyCcnRegionBandwidthLimitsType返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId"... | .CcnId = None
self.BandwidthLimitType = None
def _deserialize(self, params):
self.CcnId = params.get("CcnId")
self.BandwidthLimitType = params.get("BandwidthLimitType")
class ModifyCcnRegionBandwidthLimitsTypeResponse(AbstractModel):
| 64 | 64 | 102 | 12 | 52 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyCcnRegionBandwidthLimitsTypeResponse | ModifyCcnRegionBandwidthLimitsTypeResponse | 10,789 | 10,803 | 10,789 | 10,789 | b7ff924a6e9b928f2d5c755a07a8da8f8e79d3dd | bigcode/the-stack | train |
d2eeb358bb06b19ca1f7898d | train | class | class IpGeolocationInfo(AbstractModel):
"""IP地理位置信息
"""
def __init__(self):
"""
:param Country: 国家信息
注意:此字段可能返回 null,表示取不到有效值。
:type Country: str
:param Province: 省、州、郡一级行政区域信息
注意:此字段可能返回 null,表示取不到有效值。
:type Province: str
:param City: 市一级行政区域信息
注意:此字段可能返回 n... | class IpGeolocationInfo(AbstractModel):
| """IP地理位置信息
"""
def __init__(self):
"""
:param Country: 国家信息
注意:此字段可能返回 null,表示取不到有效值。
:type Country: str
:param Province: 省、州、郡一级行政区域信息
注意:此字段可能返回 null,表示取不到有效值。
:type Province: str
:param City: 市一级行政区域信息
注意:此字段可能返回 null,表示取不到有效值。
:type City: str
... | bool
"""
self.Country = None
self.Province = None
self.City = None
self.Region = None
self.Isp = None
self.AsName = None
self.AsId = None
self.Comment = None
def _deserialize(self, params):
self.Country = params.get("Country")
... | 151 | 151 | 504 | 8 | 143 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | IpGeolocationInfo | IpGeolocationInfo | 10,175 | 10,230 | 10,175 | 10,175 | 79a0e4aae834273268d9d6c2a2d3189482596db4 | bigcode/the-stack | train |
4a485b7e434a8690611d0267 | train | class | class CreateVpnConnectionRequest(AbstractModel):
"""CreateVpnConnection请求参数结构体
"""
def __init__(self):
"""
:param VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
:type VpcId: str
:param VpnGatewayId: VPN网关实例ID。
:type VpnGatewayId: str
:param CustomerGatewayId:... | class CreateVpnConnectionRequest(AbstractModel):
| """CreateVpnConnection请求参数结构体
"""
def __init__(self):
"""
:param VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
:type VpcId: str
:param VpnGatewayId: VPN网关实例ID。
:type VpnGatewayId: str
:param CustomerGatewayId: 对端网关ID,例如:cgw-2wqq41m9,可通过DescribeCustomerGatewa... | params.get("DnsServers")
self.DomainName = params.get("DomainName")
if params.get("Tags") is not None:
self.Tags = []
for item in params.get("Tags"):
obj = Tag()
obj._deserialize(item)
self.Tags.append(obj)
class CreateVpcRespons... | 228 | 228 | 763 | 8 | 220 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateVpnConnectionRequest | CreateVpnConnectionRequest | 3,585 | 3,645 | 3,585 | 3,585 | 5abd628f6f3416daced30b7b8e68c2e33b5dbc2f | bigcode/the-stack | train |
c0abcf01c5b2163744fc297e | train | class | class DescribeBandwidthPackageResourcesResponse(AbstractModel):
"""DescribeBandwidthPackageResources返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的 共享带宽包内资源 数量。
:type TotalCount: int
:param ResourceSet: 共享带宽包内资源 详细信息列表。
:type ResourceSet: list of Resour... | class DescribeBandwidthPackageResourcesResponse(AbstractModel):
| """DescribeBandwidthPackageResources返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的 共享带宽包内资源 数量。
:type TotalCount: int
:param ResourceSet: 共享带宽包内资源 详细信息列表。
:type ResourceSet: list of Resource
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 Req... | .get("Filters") is not None:
self.Filters = []
for item in params.get("Filters"):
obj = Filter()
obj._deserialize(item)
self.Filters.append(obj)
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class DescribeBandw... | 67 | 67 | 225 | 9 | 58 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeBandwidthPackageResourcesResponse | DescribeBandwidthPackageResourcesResponse | 5,378 | 5,405 | 5,378 | 5,378 | ed096d8328ac41b9bd21e9a4a7af1996e73b5935 | bigcode/the-stack | train |
ba2530802ab47aeaa659a278 | train | class | class DescribeGatewayFlowQosResponse(AbstractModel):
"""DescribeGatewayFlowQos返回参数结构体
"""
def __init__(self):
"""
:param GatewayQosSet: 实例详细信息列表。
:type GatewayQosSet: list of GatewayQos
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
:param RequestId: 唯一... | class DescribeGatewayFlowQosResponse(AbstractModel):
| """DescribeGatewayFlowQos返回参数结构体
"""
def __init__(self):
"""
:param GatewayQosSet: 实例详细信息列表。
:type GatewayQosSet: list of GatewayQos
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:typ... | None
self.Limit = None
def _deserialize(self, params):
self.GatewayId = params.get("GatewayId")
self.IpAddresses = params.get("IpAddresses")
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class DescribeGatewayFlowQosResponse(AbstractModel):
| 70 | 70 | 235 | 10 | 60 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeGatewayFlowQosResponse | DescribeGatewayFlowQosResponse | 6,475 | 6,502 | 6,475 | 6,475 | 51d083cc37e24a2396a7fd01f0933a054f3bf011 | bigcode/the-stack | train |
d4a8111f685471c976a93e14 | train | class | class AssignIpv6CidrBlockRequest(AbstractModel):
"""AssignIpv6CidrBlock请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`,形如:`vpc-f49l6u0z`。
:type VpcId: str
"""
self.VpcId = None
def _deserialize(self, params):
self.VpcId = params.get("VpcI... | class AssignIpv6CidrBlockRequest(AbstractModel):
| """AssignIpv6CidrBlock请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`,形如:`vpc-f49l6u0z`。
:type VpcId: str
"""
self.VpcId = None
def _deserialize(self, params):
self.VpcId = params.get("VpcId")
| pv6AddressSet = []
for item in params.get("Ipv6AddressSet"):
obj = Ipv6Address()
obj._deserialize(item)
self.Ipv6AddressSet.append(obj)
self.RequestId = params.get("RequestId")
class AssignIpv6CidrBlockRequest(AbstractModel):
| 64 | 64 | 105 | 11 | 53 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | AssignIpv6CidrBlockRequest | AssignIpv6CidrBlockRequest | 637 | 651 | 637 | 637 | 69485934aa98f166d3cf2534ca14b1671338a81a | bigcode/the-stack | train |
daa214c0a9e655dfc9555500 | train | class | class CreateAssistantCidrResponse(AbstractModel):
"""CreateAssistantCidr返回参数结构体
"""
def __init__(self):
"""
:param AssistantCidrSet: 辅助CIDR数组。
注意:此字段可能返回 null,表示取不到有效值。
:type AssistantCidrSet: list of AssistantCidr
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId... | class CreateAssistantCidrResponse(AbstractModel):
| """CreateAssistantCidr返回参数结构体
"""
def __init__(self):
"""
:param AssistantCidrSet: 辅助CIDR数组。
注意:此字段可能返回 null,表示取不到有效值。
:type AssistantCidrSet: list of AssistantCidr
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
... | list of str
"""
self.VpcId = None
self.CidrBlocks = None
def _deserialize(self, params):
self.VpcId = params.get("VpcId")
self.CidrBlocks = params.get("CidrBlocks")
class CreateAssistantCidrResponse(AbstractModel):
| 64 | 64 | 207 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateAssistantCidrResponse | CreateAssistantCidrResponse | 2,094 | 2,118 | 2,094 | 2,094 | de55c052b8519a30796bc4d0d3bf300ff9e8fda9 | bigcode/the-stack | train |
2645cfa9d43aa01becda2ced | train | class | class DescribeNetworkInterfacesRequest(AbstractModel):
"""DescribeNetworkInterfaces请求参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceIds: 弹性网卡实例ID查询。形如:eni-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定NetworkInterfaceIds和Filters。
:type NetworkInterfaceIds: list of str
:param F... | class DescribeNetworkInterfacesRequest(AbstractModel):
| """DescribeNetworkInterfaces请求参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceIds: 弹性网卡实例ID查询。形如:eni-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定NetworkInterfaceIds和Filters。
:type NetworkInterfaceIds: list of str
:param Filters: 过滤条件,参数不支持同时指定NetworkInterfaceIds和Filters。
<li>... | LimitResponse(AbstractModel):
"""DescribeNetworkInterfaceLimit返回参数结构体
"""
def __init__(self):
"""
:param EniQuantity: 弹性网卡配额
:type EniQuantity: int
:param EniPrivateIpAddressQuantity: 每个弹性网卡可以分配的IP配额
:type EniPrivateIpAddressQuantity: int
:param RequestId: 唯... | 211 | 211 | 705 | 8 | 203 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeNetworkInterfacesRequest | DescribeNetworkInterfacesRequest | 7,234 | 7,277 | 7,234 | 7,234 | 857222bee3cb7c16b16192adaabe5b4d51fc07da | bigcode/the-stack | train |
568ec7aa8f69dfeddd4e8b72 | train | class | class HaVipAssociateAddressIpResponse(AbstractModel):
"""HaVipAssociateAddressIp返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
... | class HaVipAssociateAddressIpResponse(AbstractModel):
| """HaVipAssociateAddressIp返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| : str
"""
self.HaVipId = None
self.AddressIp = None
def _deserialize(self, params):
self.HaVipId = params.get("HaVipId")
self.AddressIp = params.get("AddressIp")
class HaVipAssociateAddressIpResponse(AbstractModel):
| 64 | 64 | 98 | 10 | 54 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | HaVipAssociateAddressIpResponse | HaVipAssociateAddressIpResponse | 9,642 | 9,656 | 9,642 | 9,642 | 2486be1627570d502c96f5de3536dcc4a05b2e95 | bigcode/the-stack | train |
976b2358b8900fdd41ec206e | train | class | class FlowLog(AbstractModel):
"""流日志
"""
def __init__(self):
"""
:param VpcId: 私用网络ID或者统一ID,建议使用统一ID
:type VpcId: str
:param FlowLogId: 流日志唯一ID
:type FlowLogId: str
:param FlowLogName: 流日志实例名字
:type FlowLogName: str
:param ResourceType: 流日志所属... | class FlowLog(AbstractModel):
| """流日志
"""
def __init__(self):
"""
:param VpcId: 私用网络ID或者统一ID,建议使用统一ID
:type VpcId: str
:param FlowLogId: 流日志唯一ID
:type FlowLogId: str
:param FlowLogName: 流日志实例名字
:type FlowLogName: str
:param ResourceType: 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFA... | Model):
"""过滤器键值对
"""
def __init__(self):
"""
:param Name: 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
:type Name: str
:param Values: 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
:type Values: list of str
"""
self.Name = None
self.V... | 142 | 142 | 474 | 6 | 136 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | FlowLog | FlowLog | 9,371 | 9,421 | 9,371 | 9,371 | 2a556d368c74f1dcb21882cca1a1b8bf69570b04 | bigcode/the-stack | train |
a199b7cbdd0382ff8492acbf | train | class | class UnassignIpv6CidrBlockRequest(AbstractModel):
"""UnassignIpv6CidrBlock请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`,形如:`vpc-f49l6u0z`。
:type VpcId: str
:param Ipv6CidrBlock: `IPv6`网段。形如:`3402:4e00:20:1000::/56`
:type Ipv6CidrBlock: str
"... | class UnassignIpv6CidrBlockRequest(AbstractModel):
| """UnassignIpv6CidrBlock请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`,形如:`vpc-f49l6u0z`。
:type VpcId: str
:param Ipv6CidrBlock: `IPv6`网段。形如:`3402:4e00:20:1000::/56`
:type Ipv6CidrBlock: str
"""
self.VpcId = None
self.Ipv6CidrB... | 请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class UnassignIpv6CidrBlockRequest(AbstractModel):
| 64 | 64 | 184 | 12 | 52 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | UnassignIpv6CidrBlockRequest | UnassignIpv6CidrBlockRequest | 14,377 | 14,395 | 14,377 | 14,377 | 5b09e9667adba3eb02620d3195aae0f09140fbc6 | bigcode/the-stack | train |
58f2e7ee6c93f17be101ccd2 | train | class | class SubnetInput(AbstractModel):
"""子网对象
"""
def __init__(self):
"""
:param CidrBlock: 子网的`CIDR`。
:type CidrBlock: str
:param SubnetName: 子网名称。
:type SubnetName: str
:param Zone: 可用区。形如:`ap-guangzhou-2`。
:type Zone: str
:param RouteTableId: ... | class SubnetInput(AbstractModel):
| """子网对象
"""
def __init__(self):
"""
:param CidrBlock: 子网的`CIDR`。
:type CidrBlock: str
:param SubnetName: 子网名称。
:type SubnetName: str
:param Zone: 可用区。形如:`ap-guangzhou-2`。
:type Zone: str
:param RouteTableId: 指定关联路由表,形如:`rtb-3ryrwzuu`。
... | .TotalIpAddressCount = params.get("TotalIpAddressCount")
if params.get("TagSet") is not None:
self.TagSet = []
for item in params.get("TagSet"):
obj = Tag()
obj._deserialize(item)
self.TagSet.append(obj)
class SubnetInput(AbstractModel):
| 66 | 66 | 220 | 7 | 59 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | SubnetInput | SubnetInput | 14,219 | 14,245 | 14,219 | 14,219 | f8552bbb0eaa296809685edd2517fe9c3b30fcae | bigcode/the-stack | train |
aa9460ae95f19ca5f8dbe7f5 | train | class | class DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
"""DeleteNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
"""
def __init__(self):
"""
:param NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
:type NatGatewayId: str
:param DestinationIpPortTransla... | class DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
| """DeleteNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
"""
def __init__(self):
"""
:param NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
:type NatGatewayId: str
:param DestinationIpPortTranslationNatRules: NAT网关的端口转换规则。
:type DestinationIpPortTranslationNatRules: l... | 次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
| 67 | 67 | 226 | 14 | 53 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest | DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest | 4,403 | 4,426 | 4,403 | 4,403 | 15380ce125b2ad1bb88d896db3b127ae1c712c71 | bigcode/the-stack | train |
df06b4e38ad21db63733fbc0 | train | class | class AddBandwidthPackageResourcesResponse(AbstractModel):
"""AddBandwidthPackageResources返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, par... | class AddBandwidthPackageResourcesResponse(AbstractModel):
| """AddBandwidthPackageResources返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| .ResourceIds = params.get("ResourceIds")
self.BandwidthPackageId = params.get("BandwidthPackageId")
self.NetworkType = params.get("NetworkType")
self.ResourceType = params.get("ResourceType")
self.Protocol = params.get("Protocol")
class AddBandwidthPackageResourcesResponse(AbstractModel)... | 64 | 64 | 96 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | AddBandwidthPackageResourcesResponse | AddBandwidthPackageResourcesResponse | 116 | 130 | 116 | 116 | cc9d81de6a222b16d63995ad6750471f626d44c1 | bigcode/the-stack | train |
6bc369ec5d592b2becfbae8a | train | class | class ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
"""ModifyNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
"""
def __init__(self):
"""
:param NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
:type NatGatewayId: str
:param SourceNatRule: 源NAT网关的端口... | class ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest(AbstractModel):
| """ModifyNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
"""
def __init__(self):
"""
:param NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
:type NatGatewayId: str
:param SourceNatRule: 源NAT网关的端口转换规则。
:type SourceNatRule: :class:`tencentcloud.vpc.v20170312.models.Dest... | """
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class ModifyNatGatewayDestinationIpPortTranslati... | 90 | 90 | 300 | 14 | 76 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest | ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest | 11,280 | 11,306 | 11,280 | 11,280 | 10c3cd56f612c75950738203ce2f489f0b968076 | bigcode/the-stack | train |
d1688df984743cf393cd470c | train | class | class CreateRouteTableResponse(AbstractModel):
"""CreateRouteTable返回参数结构体
"""
def __init__(self):
"""
:param RouteTable: 路由表对象。
:type RouteTable: :class:`tencentcloud.vpc.v20170312.models.RouteTable`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type... | class CreateRouteTableResponse(AbstractModel):
| """CreateRouteTable返回参数结构体
"""
def __init__(self):
"""
:param RouteTable: 路由表对象。
:type RouteTable: :class:`tencentcloud.vpc.v20170312.models.RouteTable`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RouteT... | ")
self.RouteTableName = params.get("RouteTableName")
if params.get("Tags") is not None:
self.Tags = []
for item in params.get("Tags"):
obj = Tag()
obj._deserialize(item)
self.Tags.append(obj)
class CreateRouteTableResponse(Abstract... | 64 | 64 | 167 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateRouteTableResponse | CreateRouteTableResponse | 3,080 | 3,100 | 3,080 | 3,080 | 44bc25c8b403d1917e40e9882b70671a7f0077fd | bigcode/the-stack | train |
1fdef32d88748557f0df8aab | train | class | class ModifyFlowLogAttributeRequest(AbstractModel):
"""ModifyFlowLogAttribute请求参数结构体
"""
def __init__(self):
"""
:param VpcId: 私用网络ID或者统一ID,建议使用统一ID
:type VpcId: str
:param FlowLogId: 流日志唯一ID
:type FlowLogId: str
:param FlowLogName: 流日志实例名字
:type Flo... | class ModifyFlowLogAttributeRequest(AbstractModel):
| """ModifyFlowLogAttribute请求参数结构体
"""
def __init__(self):
"""
:param VpcId: 私用网络ID或者统一ID,建议使用统一ID
:type VpcId: str
:param FlowLogId: 流日志唯一ID
:type FlowLogId: str
:param FlowLogName: 流日志实例名字
:type FlowLogName: str
:param FlowLogDescription: 流日志... | 请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class ModifyFlowLogAttributeRequest(AbstractModel):
| 65 | 65 | 219 | 9 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyFlowLogAttributeRequest | ModifyFlowLogAttributeRequest | 10,928 | 10,954 | 10,928 | 10,928 | 85e4039b94cb6e6d44d3b9641f292a0b54095b34 | bigcode/the-stack | train |
d59a856b68a8bd643a995a79 | train | class | class CcnRoute(AbstractModel):
"""CCN路由策略对象
"""
def __init__(self):
"""
:param RouteId: 路由策略ID
:type RouteId: str
:param DestinationCidrBlock: 目的端
:type DestinationCidrBlock: str
:param InstanceType: 下一跳类型(关联实例类型),所有类型:VPC、DIRECTCONNECT
:type Instanc... | class CcnRoute(AbstractModel):
| """CCN路由策略对象
"""
def __init__(self):
"""
:param RouteId: 路由策略ID
:type RouteId: str
:param DestinationCidrBlock: 目的端
:type DestinationCidrBlock: str
:param InstanceType: 下一跳类型(关联实例类型),所有类型:VPC、DIRECTCONNECT
:type InstanceType: str
:param Insta... | ap-shanghai
注意:此字段可能返回 null,表示取不到有效值。
:type DstRegion: str
:param DstIsBm: 目的地域是否为黑石地域,默认`false`。
:type DstIsBm: bool
"""
self.Region = None
self.BandwidthLimit = None
self.IsBm = None
self.DstRegion = None
self.DstIsBm = None
def _deserializ... | 174 | 174 | 580 | 7 | 167 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CcnRoute | CcnRoute | 1,543 | 1,605 | 1,543 | 1,543 | 41ca47bdeab1ef6d31836cab6116724d2e7c712d | bigcode/the-stack | train |
1d34f2960e108efad22540e8 | train | class | class DescribeServiceTemplatesResponse(AbstractModel):
"""DescribeServiceTemplates返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
:param ServiceTemplateSet: 协议端口模板对象。
:type ServiceTemplateSet: list of ServiceTemplate
:... | class DescribeServiceTemplatesResponse(AbstractModel):
| """DescribeServiceTemplates返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
:param ServiceTemplateSet: 协议端口模板对象。
:type ServiceTemplateSet: list of ServiceTemplate
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 Reques... | .get("Filters") is not None:
self.Filters = []
for item in params.get("Filters"):
obj = Filter()
obj._deserialize(item)
self.Filters.append(obj)
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class DescribeServi... | 66 | 66 | 221 | 8 | 58 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeServiceTemplatesResponse | DescribeServiceTemplatesResponse | 7,792 | 7,819 | 7,792 | 7,792 | 462cecf4f33af9c84233b61fe83d1179bee56cec | bigcode/the-stack | train |
d0a88a38f5358ceffd3a9d62 | train | class | class DeleteRoutesResponse(AbstractModel):
"""DeleteRoutes返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = p... | class DeleteRoutesResponse(AbstractModel):
| """DeleteRoutes返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| self.RouteTableId = params.get("RouteTableId")
if params.get("Routes") is not None:
self.Routes = []
for item in params.get("Routes"):
obj = Route()
obj._deserialize(item)
self.Routes.append(obj)
class DeleteRoutesResponse(AbstractM... | 64 | 64 | 92 | 7 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DeleteRoutesResponse | DeleteRoutesResponse | 4,642 | 4,656 | 4,642 | 4,642 | 5318b9a3821b7d15439074e7f86a398744de1994 | bigcode/the-stack | train |
26d72e9fe7c8b483f7ae1752 | train | class | class ModifyNetDetectRequest(AbstractModel):
"""ModifyNetDetect请求参数结构体
"""
def __init__(self):
"""
:param NetDetectId: 网络探测实例`ID`。形如:`netd-12345678`
:type NetDetectId: str
:param NetDetectName: 网络探测名称,最大长度不能超过60个字节。
:type NetDetectName: str
:param DetectDest... | class ModifyNetDetectRequest(AbstractModel):
| """ModifyNetDetect请求参数结构体
"""
def __init__(self):
"""
:param NetDetectId: 网络探测实例`ID`。形如:`netd-12345678`
:type NetDetectId: str
:param NetDetectName: 网络探测名称,最大长度不能超过60个字节。
:type NetDetectName: str
:param DetectDestinationIp: 探测目的IPv4地址数组,最多两个。
:type D... | NatRule") is not None:
self.DestinationNatRule = DestinationIpPortTranslationNatRule()
self.DestinationNatRule._deserialize(params.get("DestinationNatRule"))
class ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse(AbstractModel):
"""ModifyNatGatewayDestinationIpPortTranslationNat... | 151 | 151 | 504 | 8 | 143 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyNetDetectRequest | ModifyNetDetectRequest | 11,326 | 11,370 | 11,326 | 11,326 | 07205a27e3cf98fae4d0a4806a5402fceab3ec64 | bigcode/the-stack | train |
45e444fc3f3fa2cee1dc3656 | train | class | class DeleteVpnConnectionResponse(AbstractModel):
"""DeleteVpnConnection返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self... | class DeleteVpnConnectionResponse(AbstractModel):
| """DeleteVpnConnection返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| """
self.VpnGatewayId = None
self.VpnConnectionId = None
def _deserialize(self, params):
self.VpnGatewayId = params.get("VpnGatewayId")
self.VpnConnectionId = params.get("VpnConnectionId")
class DeleteVpnConnectionResponse(AbstractModel):
| 64 | 64 | 94 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DeleteVpnConnectionResponse | DeleteVpnConnectionResponse | 4,890 | 4,904 | 4,890 | 4,890 | d25579e06983b8246eb3799e02c498abf8139d72 | bigcode/the-stack | train |
cdf1464af2b2197e7a2f929f | train | class | class DescribeServiceTemplateGroupsRequest(AbstractModel):
"""DescribeServiceTemplateGroups请求参数结构体
"""
def __init__(self):
"""
:param Filters: 过滤条件。
<li>service-template-group-name - String - (过滤条件)协议端口模板集合名称。</li>
<li>service-template-group-id - String - (过滤条件)协议端口模板集合实例ID,例如:ppmg-e6dy460... | class DescribeServiceTemplateGroupsRequest(AbstractModel):
| """DescribeServiceTemplateGroups请求参数结构体
"""
def __init__(self):
"""
:param Filters: 过滤条件。
<li>service-template-group-name - String - (过滤条件)协议端口模板集合名称。</li>
<li>service-template-group-id - String - (过滤条件)协议端口模板集合实例ID,例如:ppmg-e6dy460g。</li>
:type Filters: list of Filter
:para... | None:
self.SecurityGroupSet = []
for item in params.get("SecurityGroupSet"):
obj = SecurityGroup()
obj._deserialize(item)
self.SecurityGroupSet.append(obj)
self.TotalCount = params.get("TotalCount")
self.RequestId = params.get("Req... | 71 | 71 | 238 | 9 | 62 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeServiceTemplateGroupsRequest | DescribeServiceTemplateGroupsRequest | 7,698 | 7,727 | 7,698 | 7,698 | c7738259fb92dfce5fe21722040f080ef567da7a | bigcode/the-stack | train |
b4ce70db99bf392ac6fa1438 | train | class | class DescribeIp6TranslatorsRequest(AbstractModel):
"""DescribeIp6Translators请求参数结构体
"""
def __init__(self):
"""
:param Ip6TranslatorIds: IPV6转换实例唯一ID数组,形如ip6-xxxxxxxx
:type Ip6TranslatorIds: list of str
:param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`Ip... | class DescribeIp6TranslatorsRequest(AbstractModel):
| """DescribeIp6Translators请求参数结构体
"""
def __init__(self):
"""
:param Ip6TranslatorIds: IPV6转换实例唯一ID数组,形如ip6-xxxxxxxx
:type Ip6TranslatorIds: list of str
:param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`Ip6TranslatorIds`和`Filters`。详细的过滤条件如下:
<li> ip6-transl... | 转换实例允许创建的转换规则配额
:type QuotaSet: list of Quota
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.QuotaSet = None
self.RequestId = None
def _deserialize(self, params):
if params.get("QuotaSet") is not None:
... | 155 | 155 | 519 | 11 | 144 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeIp6TranslatorsRequest | DescribeIp6TranslatorsRequest | 6,685 | 6,720 | 6,685 | 6,685 | 28a0104faac2da9fcee029dbcb1b21be597a3249 | bigcode/the-stack | train |
8e7755cfd4c19fb740d846ac | train | class | class CreateDefaultVpcResponse(AbstractModel):
"""CreateDefaultVpc返回参数结构体
"""
def __init__(self):
"""
:param Vpc: 默认VPC和子网ID
:type Vpc: :class:`tencentcloud.vpc.v20170312.models.DefaultVpcSubnet`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type Req... | class CreateDefaultVpcResponse(AbstractModel):
| """CreateDefaultVpc返回参数结构体
"""
def __init__(self):
"""
:param Vpc: 默认VPC和子网ID
:type Vpc: :class:`tencentcloud.vpc.v20170312.models.DefaultVpcSubnet`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.Vpc = None... | 强制返回默认VPC。
:type Force: bool
"""
self.Zone = None
self.Force = None
def _deserialize(self, params):
self.Zone = params.get("Zone")
self.Force = params.get("Force")
class CreateDefaultVpcResponse(AbstractModel):
| 64 | 64 | 169 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateDefaultVpcResponse | CreateDefaultVpcResponse | 2,371 | 2,391 | 2,371 | 2,371 | 000f2f151dc6ea1276eb96c2ac82267ad7154196 | bigcode/the-stack | train |
122481c1043a6f91e5c55972 | train | class | class CreateDefaultVpcRequest(AbstractModel):
"""CreateDefaultVpc请求参数结构体
"""
def __init__(self):
"""
:param Zone: 子网所在的可用区,该参数可通过[DescribeZones](https://cloud.tencent.com/document/product/213/15707)接口获取,例如ap-guangzhou-1,不指定时将随机选择可用区。
:type Zone: str
:param Force: 是否强制返回默认VP... | class CreateDefaultVpcRequest(AbstractModel):
| """CreateDefaultVpc请求参数结构体
"""
def __init__(self):
"""
:param Zone: 子网所在的可用区,该参数可通过[DescribeZones](https://cloud.tencent.com/document/product/213/15707)接口获取,例如ap-guangzhou-1,不指定时将随机选择可用区。
:type Zone: str
:param Force: 是否强制返回默认VPC。
:type Force: bool
"""
... | .RequestId = None
def _deserialize(self, params):
if params.get("SecurityGroup") is not None:
self.SecurityGroup = SecurityGroup()
self.SecurityGroup._deserialize(params.get("SecurityGroup"))
self.RequestId = params.get("RequestId")
class CreateDefaultVpcRequest(AbstractMod... | 64 | 64 | 150 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateDefaultVpcRequest | CreateDefaultVpcRequest | 2,350 | 2,368 | 2,350 | 2,350 | dbd6e9c295ecd0f4e2586852fc92cb7b772f29ad | bigcode/the-stack | train |
26a651193c124cedb4a3b363 | train | class | class ReleaseAddressesResponse(AbstractModel):
"""ReleaseAddresses返回参数结构体
"""
def __init__(self):
"""
:param TaskId: 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
:type TaskId: str
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供... | class ReleaseAddressesResponse(AbstractModel):
| """ReleaseAddresses返回参数结构体
"""
def __init__(self):
"""
:param TaskId: 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
:type TaskId: str
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
... | EIP 唯一 ID 形如:`eip-11112222`。
:type AddressIds: list of str
"""
self.AddressIds = None
def _deserialize(self, params):
self.AddressIds = params.get("AddressIds")
class ReleaseAddressesResponse(AbstractModel):
| 64 | 64 | 156 | 7 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ReleaseAddressesResponse | ReleaseAddressesResponse | 12,779 | 12,797 | 12,779 | 12,779 | d1cd8cc27868bae987746424b4c8cfcbd5e4eae1 | bigcode/the-stack | train |
099ade08e56f8654df497a7b | train | class | class DescribeFlowLogResponse(AbstractModel):
"""DescribeFlowLog返回参数结构体
"""
def __init__(self):
"""
:param FlowLog: 流日志信息
:type FlowLog: list of FlowLog
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.FlowLo... | class DescribeFlowLogResponse(AbstractModel):
| """DescribeFlowLog返回参数结构体
"""
def __init__(self):
"""
:param FlowLog: 流日志信息
:type FlowLog: list of FlowLog
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.FlowLog = None
self.RequestId = None
d... | LogId: str
"""
self.VpcId = None
self.FlowLogId = None
def _deserialize(self, params):
self.VpcId = params.get("VpcId")
self.FlowLogId = params.get("FlowLogId")
class DescribeFlowLogResponse(AbstractModel):
| 64 | 64 | 170 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeFlowLogResponse | DescribeFlowLogResponse | 6,239 | 6,262 | 6,239 | 6,239 | 9a38fb72d95d060d6d0dde3bd07b9e9638c62a4f | bigcode/the-stack | train |
e121a216a40e675f45445282 | train | class | class CreateCustomerGatewayResponse(AbstractModel):
"""CreateCustomerGateway返回参数结构体
"""
def __init__(self):
"""
:param CustomerGateway: 对端网关对象
:type CustomerGateway: :class:`tencentcloud.vpc.v20170312.models.CustomerGateway`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的... | class CreateCustomerGatewayResponse(AbstractModel):
| """CreateCustomerGateway返回参数结构体
"""
def __init__(self):
"""
:param CustomerGateway: 对端网关对象
:type CustomerGateway: :class:`tencentcloud.vpc.v20170312.models.CustomerGateway`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""... | Name")
self.IpAddress = params.get("IpAddress")
if params.get("Tags") is not None:
self.Tags = []
for item in params.get("Tags"):
obj = Tag()
obj._deserialize(item)
self.Tags.append(obj)
class CreateCustomerGatewayResponse(AbstractM... | 64 | 64 | 167 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateCustomerGatewayResponse | CreateCustomerGatewayResponse | 2,287 | 2,307 | 2,287 | 2,287 | 0594938a43b992fbf481f30e950efd048ba3c29e | bigcode/the-stack | train |
fa174e9da4bf9cc2cd845675 | train | class | class DescribeNetworkInterfaceLimitResponse(AbstractModel):
"""DescribeNetworkInterfaceLimit返回参数结构体
"""
def __init__(self):
"""
:param EniQuantity: 弹性网卡配额
:type EniQuantity: int
:param EniPrivateIpAddressQuantity: 每个弹性网卡可以分配的IP配额
:type EniPrivateIpAddressQuantity: i... | class DescribeNetworkInterfaceLimitResponse(AbstractModel):
| """DescribeNetworkInterfaceLimit返回参数结构体
"""
def __init__(self):
"""
:param EniQuantity: 弹性网卡配额
:type EniQuantity: int
:param EniPrivateIpAddressQuantity: 每个弹性网卡可以分配的IP配额
:type EniPrivateIpAddressQuantity: int
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的... | :param InstanceId: 要查询的CVM实例ID或弹性网卡ID
:type InstanceId: str
"""
self.InstanceId = None
def _deserialize(self, params):
self.InstanceId = params.get("InstanceId")
class DescribeNetworkInterfaceLimitResponse(AbstractModel):
| 64 | 64 | 207 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeNetworkInterfaceLimitResponse | DescribeNetworkInterfaceLimitResponse | 7,209 | 7,231 | 7,209 | 7,209 | 452a54c8a0604b1aba46b02bba70b17875f3d0c8 | bigcode/the-stack | train |
342cdd8669238d8f6396bc65 | train | class | class NetDetect(AbstractModel):
"""网络探测对象。
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`。形如:`vpc-12345678`
:type VpcId: str
:param VpcName: `VPC`实例名称。
:type VpcName: str
:param SubnetId: 子网实例ID。形如:subnet-12345678。
:type SubnetId: str
... | class NetDetect(AbstractModel):
| """网络探测对象。
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`。形如:`vpc-12345678`
:type VpcId: str
:param VpcName: `VPC`实例名称。
:type VpcName: str
:param SubnetId: 子网实例ID。形如:subnet-12345678。
:type SubnetId: str
:param SubnetName: 子网实例名称。
... | 网络VPC的ID。
注意:此字段可能返回 null,表示取不到有效值。
:type VpcId: str
:param CreatedTime: NAT网关转发规则创建时间。
注意:此字段可能返回 null,表示取不到有效值。
:type CreatedTime: str
"""
self.IpProtocol = None
self.PublicIpAddress = None
self.PublicPort = None
self.PrivateIpAddress = None
self... | 256 | 256 | 865 | 6 | 250 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | NetDetect | NetDetect | 12,175 | 12,250 | 12,175 | 12,175 | 9a16ab4b10da68434e7d9922affe68e7f831695b | bigcode/the-stack | train |
6b3942670efe14ec25c3d437 | train | class | class IKEOptionsSpecification(AbstractModel):
"""IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议
"""
def __init__(self):
"""
:param PropoEncryAlgorithm: 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC',默认为3DES-CBC
:type PropoEncryAlgorithm: ... | class IKEOptionsSpecification(AbstractModel):
| """IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议
"""
def __init__(self):
"""
:param PropoEncryAlgorithm: 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC',默认为3DES-CBC
:type PropoEncryAlgorithm: str
:param PropoAuthenAlgorithm: 认证算法:... | def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class HaVipDisassociateAddressIpRequest(AbstractModel):
"""HaVipDisassociateAddressIp请求参数结构体
"""
def __init__(self):
"""
:param HaVipId: `HAVIP`唯一`ID`,形如:`havip-9o233uri`。必须是已绑定`EIP`的`HAVIP`。
:type ... | 246 | 246 | 823 | 8 | 238 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | IKEOptionsSpecification | IKEOptionsSpecification | 9,693 | 9,751 | 9,693 | 9,693 | dd6c8c77898324c2fb29b89a39518b6649e508f1 | bigcode/the-stack | train |
e280e65031ed833318607806 | train | class | class CreateCustomerGatewayRequest(AbstractModel):
"""CreateCustomerGateway请求参数结构体
"""
def __init__(self):
"""
:param CustomerGatewayName: 对端网关名称,可任意命名,但不得超过60个字符。
:type CustomerGatewayName: str
:param IpAddress: 对端网关公网IP。
:type IpAddress: str
:param Tags: 指... | class CreateCustomerGatewayRequest(AbstractModel):
| """CreateCustomerGateway请求参数结构体
"""
def __init__(self):
"""
:param CustomerGatewayName: 对端网关名称,可任意命名,但不得超过60个字符。
:type CustomerGatewayName: str
:param IpAddress: 对端网关公网IP。
:type IpAddress: str
:param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
... | self.RequestId = None
def _deserialize(self, params):
if params.get("Ccn") is not None:
self.Ccn = CCN()
self.Ccn._deserialize(params.get("Ccn"))
self.RequestId = params.get("RequestId")
class CreateCustomerGatewayRequest(AbstractModel):
| 65 | 65 | 218 | 8 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateCustomerGatewayRequest | CreateCustomerGatewayRequest | 2,257 | 2,284 | 2,257 | 2,257 | 46997ccc61905335c3cd2ef04f8c65caacd847bc | bigcode/the-stack | train |
1cd3ce1e169f4bd61ce10234 | train | class | class DescribeIpGeolocationInfosResponse(AbstractModel):
"""DescribeIpGeolocationInfos返回参数结构体
"""
def __init__(self):
"""
:param AddressInfo: IP地址信息列表
:type AddressInfo: list of IpGeolocationInfo
:param Total: IP地址信息个数
:type Total: int
:param RequestId: 唯一请求... | class DescribeIpGeolocationInfosResponse(AbstractModel):
| """DescribeIpGeolocationInfos返回参数结构体
"""
def __init__(self):
"""
:param AddressInfo: IP地址信息列表
:type AddressInfo: list of IpGeolocationInfo
:param Total: IP地址信息个数
:type Total: int
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type Requ... | self.Fields = None
def _deserialize(self, params):
self.AddressIps = params.get("AddressIps")
if params.get("Fields") is not None:
self.Fields = IpField()
self.Fields._deserialize(params.get("Fields"))
class DescribeIpGeolocationInfosResponse(AbstractModel):
| 63 | 64 | 211 | 10 | 53 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeIpGeolocationInfosResponse | DescribeIpGeolocationInfosResponse | 6,818 | 6,845 | 6,818 | 6,818 | 652848feecd20690a5f4061c97cc41074971fc51 | bigcode/the-stack | train |
54707e5fc95ec532332425b7 | train | class | class DescribeNetworkInterfacesResponse(AbstractModel):
"""DescribeNetworkInterfaces返回参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceSet: 实例详细信息列表。
:type NetworkInterfaceSet: list of NetworkInterface
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
... | class DescribeNetworkInterfacesResponse(AbstractModel):
| """DescribeNetworkInterfaces返回参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceSet: 实例详细信息列表。
:type NetworkInterfaceSet: list of NetworkInterface
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 Re... | ("Filters") is not None:
self.Filters = []
for item in params.get("Filters"):
obj = Filter()
obj._deserialize(item)
self.Filters.append(obj)
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class DescribeNetworkIn... | 65 | 65 | 219 | 8 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeNetworkInterfacesResponse | DescribeNetworkInterfacesResponse | 7,280 | 7,307 | 7,280 | 7,280 | 249390e6b0615b81dd0e6e0df7855b0de42c0fe9 | bigcode/the-stack | train |
6ba5bc23d39c00d167f67eac | train | class | class GatewayFlowMonitorDetail(AbstractModel):
"""网关流量监控明细
"""
def __init__(self):
"""
:param PrivateIpAddress: 来源`IP`。
:type PrivateIpAddress: str
:param InPkg: 入包量。
:type InPkg: int
:param OutPkg: 出包量。
:type OutPkg: int
:param InTraffic: 入流... | class GatewayFlowMonitorDetail(AbstractModel):
| """网关流量监控明细
"""
def __init__(self):
"""
:param PrivateIpAddress: 来源`IP`。
:type PrivateIpAddress: str
:param InPkg: 入包量。
:type InPkg: int
:param OutPkg: 出包量。
:type OutPkg: int
:param InTraffic: 入流量,单位:`Byte`。
:type InTraffic: int
... | self.TrafficType = params.get("TrafficType")
self.CloudLogId = params.get("CloudLogId")
self.CloudLogState = params.get("CloudLogState")
self.FlowLogDescription = params.get("FlowLogDescription")
self.CreatedTime = params.get("CreatedTime")
class GatewayFlowMonitorDetail(Abstract... | 71 | 71 | 238 | 8 | 63 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | GatewayFlowMonitorDetail | GatewayFlowMonitorDetail | 9,424 | 9,454 | 9,424 | 9,424 | 1479a57de40a9582767b51302db3c30999b641e2 | bigcode/the-stack | train |
48fd506f0ee3133564bb70d2 | train | class | class AssistantCidr(AbstractModel):
"""VPC辅助CIDR信息。
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
:type VpcId: str
:param CidrBlock: 辅助CIDR。形如:`172.16.0.0/16`
:type CidrBlock: str
:param AssistantType: 辅助CIDR类型(0:普通辅助CIDR,1:容器辅助CIDR... | class AssistantCidr(AbstractModel):
| """VPC辅助CIDR信息。
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
:type VpcId: str
:param CidrBlock: 辅助CIDR。形如:`172.16.0.0/16`
:type CidrBlock: str
:param AssistantType: 辅助CIDR类型(0:普通辅助CIDR,1:容器辅助CIDR),默认都是0。
:type AssistantType... | Set = None
self.RequestId = None
def _deserialize(self, params):
if params.get("PrivateIpAddressSet") is not None:
self.PrivateIpAddressSet = []
for item in params.get("PrivateIpAddressSet"):
obj = PrivateIpAddressSpecification()
obj._deseria... | 94 | 94 | 315 | 7 | 87 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | AssistantCidr | AssistantCidr | 783 | 815 | 783 | 783 | 6a2841a03aff6473f7766d80ce2486d226dfff6c | bigcode/the-stack | train |
5dc044b077325b6ded973245 | train | class | class AssignPrivateIpAddressesRequest(AbstractModel):
"""AssignPrivateIpAddresses请求参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceId: 弹性网卡实例ID,例如:eni-m6dyj72l。
:type NetworkInterfaceId: str
:param PrivateIpAddresses: 指定的内网IP信息,单次最多指定10个。与SecondaryPrivateIpAddressC... | class AssignPrivateIpAddressesRequest(AbstractModel):
| """AssignPrivateIpAddresses请求参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceId: 弹性网卡实例ID,例如:eni-m6dyj72l。
:type NetworkInterfaceId: str
:param PrivateIpAddresses: 指定的内网IP信息,单次最多指定10个。与SecondaryPrivateIpAddressCount至少提供一个。
:type PrivateIpAddresses: list of ... | .get("Ipv6SubnetCidrBlockSet") is not None:
self.Ipv6SubnetCidrBlockSet = []
for item in params.get("Ipv6SubnetCidrBlockSet"):
obj = Ipv6SubnetCidrBlock()
obj._deserialize(item)
self.Ipv6SubnetCidrBlockSet.append(obj)
self.RequestId = param... | 91 | 91 | 305 | 9 | 82 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | AssignPrivateIpAddressesRequest | AssignPrivateIpAddressesRequest | 727 | 754 | 727 | 727 | fb27a31fa942595ba4feff7da1ed26a631518d77 | bigcode/the-stack | train |
f4267ff281c032ec9f15fbc6 | train | class | class ModifyNetworkAclEntriesResponse(AbstractModel):
"""ModifyNetworkAclEntries返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
... | class ModifyNetworkAclEntriesResponse(AbstractModel):
| """ModifyNetworkAclEntries返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| self.NetworkAclId = params.get("NetworkAclId")
if params.get("NetworkAclEntrySet") is not None:
self.NetworkAclEntrySet = NetworkAclEntrySet()
self.NetworkAclEntrySet._deserialize(params.get("NetworkAclEntrySet"))
class ModifyNetworkAclEntriesResponse(AbstractModel):
| 63 | 64 | 96 | 9 | 54 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyNetworkAclEntriesResponse | ModifyNetworkAclEntriesResponse | 11,451 | 11,465 | 11,451 | 11,451 | 96e609099253d6e3beb9ba7257b3dd53cfdedb72 | bigcode/the-stack | train |
9694a8f0f1560117ac7aad54 | train | class | class AcceptAttachCcnInstancesResponse(AbstractModel):
"""AcceptAttachCcnInstances返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
... | class AcceptAttachCcnInstancesResponse(AbstractModel):
| """AcceptAttachCcnInstances返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| = params.get("CcnId")
if params.get("Instances") is not None:
self.Instances = []
for item in params.get("Instances"):
obj = CcnInstance()
obj._deserialize(item)
self.Instances.append(obj)
class AcceptAttachCcnInstancesResponse(AbstractMod... | 64 | 64 | 98 | 10 | 54 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | AcceptAttachCcnInstancesResponse | AcceptAttachCcnInstancesResponse | 45 | 59 | 45 | 45 | b1c56761edf31ba04db127279807e137bef3ccdd | bigcode/the-stack | train |
d355428c6e9099d547739e83 | train | class | class ModifyIp6AddressesBandwidthRequest(AbstractModel):
"""ModifyIp6AddressesBandwidth请求参数结构体
"""
def __init__(self):
"""
:param InternetMaxBandwidthOut: 修改的目标带宽,单位Mbps
:type InternetMaxBandwidthOut: int
:param Ip6Addresses: IPV6地址。Ip6Addresses和Ip6AddressId必须且只能传一个
... | class ModifyIp6AddressesBandwidthRequest(AbstractModel):
| """ModifyIp6AddressesBandwidth请求参数结构体
"""
def __init__(self):
"""
:param InternetMaxBandwidthOut: 修改的目标带宽,单位Mbps
:type InternetMaxBandwidthOut: int
:param Ip6Addresses: IPV6地址。Ip6Addresses和Ip6AddressId必须且只能传一个
:type Ip6Addresses: list of str
:param Ip6Addres... | 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class ModifyIp6AddressesBandwidthRequest(AbstractModel):
| 69 | 69 | 230 | 10 | 59 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyIp6AddressesBandwidthRequest | ModifyIp6AddressesBandwidthRequest | 11,057 | 11,079 | 11,057 | 11,057 | 79285a25284512e6b9108f7f7c2dd2ebd66ca366 | bigcode/the-stack | train |
63ac079db86e4a4e06964f9f | train | class | class SecurityPolicyDatabase(AbstractModel):
"""SecurityPolicyDatabase策略
"""
def __init__(self):
"""
:param LocalCidrBlock: 本端网段
:type LocalCidrBlock: str
:param RemoteCidrBlock: 对端网段
:type RemoteCidrBlock: list of str
"""
self.LocalCidrBlock = None
... | class SecurityPolicyDatabase(AbstractModel):
| """SecurityPolicyDatabase策略
"""
def __init__(self):
"""
:param LocalCidrBlock: 本端网段
:type LocalCidrBlock: str
:param RemoteCidrBlock: 对端网段
:type RemoteCidrBlock: list of str
"""
self.LocalCidrBlock = None
self.RemoteCidrBlock = None
def... | ._deserialize(item)
self.Egress.append(obj)
if params.get("Ingress") is not None:
self.Ingress = []
for item in params.get("Ingress"):
obj = SecurityGroupPolicy()
obj._deserialize(item)
self.Ingress.append(obj)
class Securit... | 64 | 64 | 131 | 7 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | SecurityPolicyDatabase | SecurityPolicyDatabase | 13,989 | 14,007 | 13,989 | 13,989 | 9e758baaacfef6bfd6dc0a88d08c0c9d1f3c1511 | bigcode/the-stack | train |
1d428c4a521d5a2b31367e03 | train | class | class DescribeAddressesResponse(AbstractModel):
"""DescribeAddresses返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的 EIP 数量。
:type TotalCount: int
:param AddressSet: EIP 详细信息列表。
:type AddressSet: list of Address
:param RequestId: 唯一请求 ID,每次请求都会返回... | class DescribeAddressesResponse(AbstractModel):
| """DescribeAddresses返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的 EIP 数量。
:type TotalCount: int
:param AddressSet: EIP 详细信息列表。
:type AddressSet: list of Address
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type Request... | ("Filters") is not None:
self.Filters = []
for item in params.get("Filters"):
obj = Filter()
obj._deserialize(item)
self.Filters.append(obj)
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class DescribeAddresses... | 64 | 64 | 211 | 7 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeAddressesResponse | DescribeAddressesResponse | 5,171 | 5,198 | 5,171 | 5,171 | d329ce1320b2cc8dd90f5e82ffdbcede44ddc1bc | bigcode/the-stack | train |
659775838e41420044d005a3 | train | class | class DeleteServiceTemplateGroupRequest(AbstractModel):
"""DeleteServiceTemplateGroup请求参数结构体
"""
def __init__(self):
"""
:param ServiceTemplateGroupId: 协议端口模板集合实例ID,例如:ppmg-n17uxvve。
:type ServiceTemplateGroupId: str
"""
self.ServiceTemplateGroupId = None
def ... | class DeleteServiceTemplateGroupRequest(AbstractModel):
| """DeleteServiceTemplateGroup请求参数结构体
"""
def __init__(self):
"""
:param ServiceTemplateGroupId: 协议端口模板集合实例ID,例如:ppmg-n17uxvve。
:type ServiceTemplateGroupId: str
"""
self.ServiceTemplateGroupId = None
def _deserialize(self, params):
self.ServiceTemplate... | ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class DeleteServiceTemplateGroupRequest(AbstractModel):
| 64 | 64 | 102 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DeleteServiceTemplateGroupRequest | DeleteServiceTemplateGroupRequest | 4,733 | 4,747 | 4,733 | 4,733 | c3188d4de79dfd5ba4c2bb258a10f8667f002e9d | bigcode/the-stack | train |
4dba460991cccdc8d40ac555 | train | class | class PrivateIpAddressSpecification(AbstractModel):
"""内网IP信息
"""
def __init__(self):
"""
:param PrivateIpAddress: 内网IP地址。
:type PrivateIpAddress: str
:param Primary: 是否是主IP。
:type Primary: bool
:param PublicIpAddress: 公网IP地址。
:type PublicIpAddress: ... | class PrivateIpAddressSpecification(AbstractModel):
| """内网IP信息
"""
def __init__(self):
"""
:param PrivateIpAddress: 内网IP地址。
:type PrivateIpAddress: str
:param Primary: 是否是主IP。
:type Primary: bool
:param PublicIpAddress: 公网IP地址。
:type PublicIpAddress: str
:param AddressId: EIP实例ID,例如:eip-1111222... | self.InstancePrice = None
self.BandwidthPrice = None
def _deserialize(self, params):
if params.get("InstancePrice") is not None:
self.InstancePrice = ItemPrice()
self.InstancePrice._deserialize(params.get("InstancePrice"))
if params.get("BandwidthPrice") is ... | 100 | 101 | 338 | 8 | 92 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | PrivateIpAddressSpecification | PrivateIpAddressSpecification | 12,595 | 12,637 | 12,595 | 12,595 | d96429b7576cd1fe8bb9d43df9295686c95cd181 | bigcode/the-stack | train |
f2a9195d2afe6bcfd2415439 | train | class | class CreateVpnConnectionResponse(AbstractModel):
"""CreateVpnConnection返回参数结构体
"""
def __init__(self):
"""
:param VpnConnection: 通道实例对象。
:type VpnConnection: :class:`tencentcloud.vpc.v20170312.models.VpnConnection`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestI... | class CreateVpnConnectionResponse(AbstractModel):
| """CreateVpnConnection返回参数结构体
"""
def __init__(self):
"""
:param VpnConnection: 通道实例对象。
:type VpnConnection: :class:`tencentcloud.vpc.v20170312.models.VpnConnection`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
... | .IPSECOptionsSpecification._deserialize(params.get("IPSECOptionsSpecification"))
if params.get("Tags") is not None:
self.Tags = []
for item in params.get("Tags"):
obj = Tag()
obj._deserialize(item)
self.Tags.append(obj)
class CreateVpnConne... | 64 | 64 | 173 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateVpnConnectionResponse | CreateVpnConnectionResponse | 3,648 | 3,668 | 3,648 | 3,648 | eb3777989db75fdd5c977443ce75d7d553bf6dd9 | bigcode/the-stack | train |
1a8467fff8dbdac100af1866 | train | class | class AllocateIp6AddressesBandwidthRequest(AbstractModel):
"""AllocateIp6AddressesBandwidth请求参数结构体
"""
def __init__(self):
"""
:param Ip6Addresses: 需要开通公网访问能力的IPV6地址
:type Ip6Addresses: list of str
:param InternetMaxBandwidthOut: 带宽,单位Mbps。默认是1Mbps
:type InternetMax... | class AllocateIp6AddressesBandwidthRequest(AbstractModel):
| """AllocateIp6AddressesBandwidth请求参数结构体
"""
def __init__(self):
"""
:param Ip6Addresses: 需要开通公网访问能力的IPV6地址
:type Ip6Addresses: list of str
:param InternetMaxBandwidthOut: 带宽,单位Mbps。默认是1Mbps
:type InternetMaxBandwidthOut: int
:param InternetChargeType: 网络计费模式... | 问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.AddressSet = None
self.TaskId = None
self.RequestId = None
def _deserialize(self, params):
self.AddressSet = params.get("AddressSet")
self.TaskId = params.get("TaskId")
self.RequestId = params.get... | 93 | 93 | 311 | 10 | 83 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | AllocateIp6AddressesBandwidthRequest | AllocateIp6AddressesBandwidthRequest | 527 | 553 | 527 | 527 | de8c2aa2f6857dea41201973fbe451a4e665c4c2 | bigcode/the-stack | train |
9eaeb83a779d7404bc76028c | train | class | class DestinationIpPortTranslationNatRule(AbstractModel):
"""NAT网关的端口转发规则
"""
def __init__(self):
"""
:param IpProtocol: 网络协议,可选值:`TCP`、`UDP`。
:type IpProtocol: str
:param PublicIpAddress: 弹性IP。
:type PublicIpAddress: str
:param PublicPort: 公网端口。
:ty... | class DestinationIpPortTranslationNatRule(AbstractModel):
| """NAT网关的端口转发规则
"""
def __init__(self):
"""
:param IpProtocol: 网络协议,可选值:`TCP`、`UDP`。
:type IpProtocol: str
:param PublicIpAddress: 弹性IP。
:type PublicIpAddress: str
:param PublicPort: 公网端口。
:type PublicPort: int
:param PrivateIpAddress: 内网地址。
... | self.TotalCount = params.get("TotalCount")
if params.get("VpnGatewaySet") is not None:
self.VpnGatewaySet = []
for item in params.get("VpnGatewaySet"):
obj = VpnGateway()
obj._deserialize(item)
self.VpnGatewaySet.append(obj)
self.R... | 85 | 85 | 284 | 10 | 75 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DestinationIpPortTranslationNatRule | DestinationIpPortTranslationNatRule | 8,490 | 8,524 | 8,490 | 8,490 | be5de6e0269464fc48a4212a5738477abf6b953d | bigcode/the-stack | train |
686a5a7753f225f16310868e | train | class | class AddressTemplateSpecification(AbstractModel):
"""IP地址模版
"""
def __init__(self):
"""
:param AddressId: IP地址ID,例如:ipm-2uw6ujo6。
:type AddressId: str
:param AddressGroupId: IP地址组ID,例如:ipmg-2uw6ujo6。
:type AddressGroupId: str
"""
self.AddressId = No... | class AddressTemplateSpecification(AbstractModel):
| """IP地址模版
"""
def __init__(self):
"""
:param AddressId: IP地址ID,例如:ipm-2uw6ujo6。
:type AddressId: str
:param AddressGroupId: IP地址组ID,例如:ipmg-2uw6ujo6。
:type AddressGroupId: str
"""
self.AddressId = None
self.AddressGroupId = None
def _de... |
:param To: 结束地址。
:type To: str
"""
self.From = None
self.To = None
def _deserialize(self, params):
self.From = params.get("From")
self.To = params.get("To")
class AddressTemplateSpecification(AbstractModel):
| 64 | 64 | 133 | 7 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | AddressTemplateSpecification | AddressTemplateSpecification | 382 | 400 | 382 | 382 | 41df855d9457e70b941ea6da58aea6ae825410c9 | bigcode/the-stack | train |
195846874aa102c6535e6d8c | train | class | class AssociateNetworkInterfaceSecurityGroupsRequest(AbstractModel):
"""AssociateNetworkInterfaceSecurityGroups请求参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceIds: 弹性网卡实例ID。形如:eni-pxir56ns。每次请求的实例的上限为100。
:type NetworkInterfaceIds: list of str
:param SecurityGrou... | class AssociateNetworkInterfaceSecurityGroupsRequest(AbstractModel):
| """AssociateNetworkInterfaceSecurityGroups请求参数结构体
"""
def __init__(self):
"""
:param NetworkInterfaceIds: 弹性网卡实例ID。形如:eni-pxir56ns。每次请求的实例的上限为100。
:type NetworkInterfaceIds: list of str
:param SecurityGroupIds: 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。每次请求的实例的上限为1... | ,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class AssociateNetworkInterfaceSecurityGroupsRequest(AbstractModel):
| 64 | 64 | 182 | 10 | 54 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | AssociateNetworkInterfaceSecurityGroupsRequest | AssociateNetworkInterfaceSecurityGroupsRequest | 1,032 | 1,050 | 1,032 | 1,032 | 462a8e8e127cfc9c40b887ae7b134f66426be719 | bigcode/the-stack | train |
69c15394e5fa990d15079c95 | train | class | class ReplaceRouteTableAssociationRequest(AbstractModel):
"""ReplaceRouteTableAssociation请求参数结构体
"""
def __init__(self):
"""
:param SubnetId: 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。
:type SubnetId: str
:param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
:type Ro... | class ReplaceRouteTableAssociationRequest(AbstractModel):
| """ReplaceRouteTableAssociation请求参数结构体
"""
def __init__(self):
"""
:param SubnetId: 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。
:type SubnetId: str
:param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
:type RouteTableId: str
"""
self.SubnetId = None
... | ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class ReplaceRouteTableAssociationRequest(AbstractModel):
| 64 | 64 | 157 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ReplaceRouteTableAssociationRequest | ReplaceRouteTableAssociationRequest | 13,045 | 13,063 | 13,045 | 13,045 | 5924878ca1bb83813e88a88e0ff80a3925b505d7 | bigcode/the-stack | train |
7e8d93b8eca931674b108030 | train | class | class ReplaceRouteTableAssociationResponse(AbstractModel):
"""ReplaceRouteTableAssociation返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, par... | class ReplaceRouteTableAssociationResponse(AbstractModel):
| """ReplaceRouteTableAssociation返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| Id: str
"""
self.SubnetId = None
self.RouteTableId = None
def _deserialize(self, params):
self.SubnetId = params.get("SubnetId")
self.RouteTableId = params.get("RouteTableId")
class ReplaceRouteTableAssociationResponse(AbstractModel):
| 64 | 64 | 96 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ReplaceRouteTableAssociationResponse | ReplaceRouteTableAssociationResponse | 13,066 | 13,080 | 13,066 | 13,066 | f8b4f2cb0c31a939c7aa9b5b6a8525797746a3c8 | bigcode/the-stack | train |
f916f94584a4bcb1f42f6ed6 | train | class | class ResourceDashboard(AbstractModel):
"""VPC资源看板(各资源个数)
"""
def __init__(self):
"""
:param VpcId: Vpc实例ID,例如:vpc-f1xjkw1b。
:type VpcId: str
:param SubnetId: 子网实例ID,例如:subnet-bthucmmy。
:type SubnetId: str
:param Classiclink: 基础网络互通。
:type Classiclin... | class ResourceDashboard(AbstractModel):
| """VPC资源看板(各资源个数)
"""
def __init__(self):
"""
:param VpcId: Vpc实例ID,例如:vpc-f1xjkw1b。
:type VpcId: str
:param SubnetId: 子网实例ID,例如:subnet-bthucmmy。
:type SubnetId: str
:param Classiclink: 基础网络互通。
:type Classiclink: int
:param Dcg: 专线网关。
... | """
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class Resource(AbstractModel):
"""描述带宽包资源信... | 256 | 256 | 1,702 | 6 | 250 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ResourceDashboard | ResourceDashboard | 13,405 | 13,583 | 13,405 | 13,405 | dfcb2fed98281a9623121e21eacf34ac3cbe2b3a | bigcode/the-stack | train |
8f5a35b1bc00eb9e645448f2 | train | class | class VpnConnection(AbstractModel):
"""VPN通道对象。
"""
def __init__(self):
"""
:param VpnConnectionId: 通道实例ID。
:type VpnConnectionId: str
:param VpnConnectionName: 通道名称。
:type VpnConnectionName: str
:param VpcId: VPC实例ID。
:type VpcId: str
:param... | class VpnConnection(AbstractModel):
| """VPN通道对象。
"""
def __init__(self):
"""
:param VpnConnectionId: 通道实例ID。
:type VpnConnectionId: str
:param VpnConnectionName: 通道名称。
:type VpnConnectionName: str
:param VpcId: VPC实例ID。
:type VpcId: str
:param VpnGatewayId: VPN网关实例ID。
:t... | params.get("LimitType")
self.LimitValue = params.get("LimitValue")
class VpcPrivateIpAddress(AbstractModel):
"""VPC内网IP对象。
"""
def __init__(self):
"""
:param PrivateIpAddress: `VPC`内网`IP`。
:type PrivateIpAddress: str
:param CidrBlock: 所属子网`CIDR`。
:type Ci... | 244 | 244 | 814 | 7 | 237 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | VpnConnection | VpnConnection | 14,656 | 14,735 | 14,656 | 14,656 | 67001e70321a3161855cd723f83b90242b963a6a | bigcode/the-stack | train |
fc57bf9925c322b42ea851c9 | train | class | class ResetRoutesResponse(AbstractModel):
"""ResetRoutes返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = par... | class ResetRoutesResponse(AbstractModel):
| """ResetRoutes返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| self.RouteTableName = params.get("RouteTableName")
if params.get("Routes") is not None:
self.Routes = []
for item in params.get("Routes"):
obj = Route()
obj._deserialize(item)
self.Routes.append(obj)
class ResetRoutesResponse(Abstra... | 64 | 64 | 92 | 7 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ResetRoutesResponse | ResetRoutesResponse | 13,287 | 13,301 | 13,287 | 13,287 | 9c198f5b9967df50edb197d47ace9526406e7132 | bigcode/the-stack | train |
60f03fc6f669fc23f49e6b95 | train | class | class DescribeSecurityGroupLimitsRequest(AbstractModel):
"""DescribeSecurityGroupLimits请求参数结构体
"""
| class DescribeSecurityGroupLimitsRequest(AbstractModel):
| """DescribeSecurityGroupLimits请求参数结构体
"""
| .SecurityGroupAssociationStatisticsSet = []
for item in params.get("SecurityGroupAssociationStatisticsSet"):
obj = SecurityGroupAssociationStatistics()
obj._deserialize(item)
self.SecurityGroupAssociationStatisticsSet.append(obj)
self.RequestId = param... | 64 | 64 | 22 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeSecurityGroupLimitsRequest | DescribeSecurityGroupLimitsRequest | 7,517 | 7,520 | 7,517 | 7,517 | 662a183fbf1ad6e1c0b62dbb16725fe15568516e | bigcode/the-stack | train |
8a9b5cc9cf86a79083ad1684 | train | class | class DescribeVpcIpv6AddressesResponse(AbstractModel):
"""DescribeVpcIpv6Addresses返回参数结构体
"""
def __init__(self):
"""
:param Ipv6AddressSet: `IPv6`地址列表。
:type Ipv6AddressSet: list of VpcIpv6Address
:param TotalCount: `IPv6`地址总数。
:type TotalCount: int
:param ... | class DescribeVpcIpv6AddressesResponse(AbstractModel):
| """DescribeVpcIpv6Addresses返回参数结构体
"""
def __init__(self):
"""
:param Ipv6AddressSet: `IPv6`地址列表。
:type Ipv6AddressSet: list of VpcIpv6Address
:param TotalCount: `IPv6`地址总数。
:type TotalCount: int
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
... | None
self.Limit = None
def _deserialize(self, params):
self.VpcId = params.get("VpcId")
self.Ipv6Addresses = params.get("Ipv6Addresses")
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class DescribeVpcIpv6AddressesResponse(AbstractModel):
| 72 | 72 | 241 | 10 | 62 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeVpcIpv6AddressesResponse | DescribeVpcIpv6AddressesResponse | 8,062 | 8,089 | 8,062 | 8,062 | 2bcf5805598fa073bdd8dd846eaf4e9cdf01c34d | bigcode/the-stack | train |
1161506b492332e7e72f2ed3 | train | class | class CreateCcnRequest(AbstractModel):
"""CreateCcn请求参数结构体
"""
def __init__(self):
"""
:param CcnName: CCN名称,最大长度不能超过60个字节。
:type CcnName: str
:param CcnDescription: CCN描述信息,最大长度不能超过100个字节。
:type CcnDescription: str
:param QosLevel: CCN服务质量,'PT':白金,'AU':金,'A... | class CreateCcnRequest(AbstractModel):
| """CreateCcn请求参数结构体
"""
def __init__(self):
"""
:param CcnName: CCN名称,最大长度不能超过60个字节。
:type CcnName: str
:param CcnDescription: CCN描述信息,最大长度不能超过100个字节。
:type CcnDescription: str
:param QosLevel: CCN服务质量,'PT':白金,'AU':金,'AG':银,默认为‘AU’。
:type QosLevel: s... | 于1时有效)
:type BandwidthPackageIds: list of str
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.BandwidthPackageId = None
self.BandwidthPackageIds = None
self.RequestId = None
def _deserialize(self, params):
s... | 140 | 140 | 467 | 8 | 132 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateCcnRequest | CreateCcnRequest | 2,192 | 2,231 | 2,192 | 2,192 | 1e2965b3e227d80691e5fa60432263eac99cf833 | bigcode/the-stack | train |
3b2d287bb78da327bb1b9477 | train | class | class DescribeRouteTablesResponse(AbstractModel):
"""DescribeRouteTables返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
:param RouteTableSet: 路由表对象。
:type RouteTableSet: list of RouteTable
:param RequestId: 唯一请求 ID,每次请... | class DescribeRouteTablesResponse(AbstractModel):
| """DescribeRouteTables返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的实例数量。
:type TotalCount: int
:param RouteTableSet: 路由表对象。
:type RouteTableSet: list of RouteTable
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type Requ... | ("Filters") is not None:
self.Filters = []
for item in params.get("Filters"):
obj = Filter()
obj._deserialize(item)
self.Filters.append(obj)
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class DescribeRouteTabl... | 65 | 65 | 219 | 8 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeRouteTablesResponse | DescribeRouteTablesResponse | 7,444 | 7,471 | 7,444 | 7,444 | b0b3ae59f3046b26dc8347d4d6b8a92b02c1f0da | bigcode/the-stack | train |
5eb01c1bc90141063f088895 | train | class | class DeleteBandwidthPackageResponse(AbstractModel):
"""DeleteBandwidthPackage返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
... | class DeleteBandwidthPackageResponse(AbstractModel):
| """DeleteBandwidthPackage返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| Id: 待删除带宽包唯一ID
:type BandwidthPackageId: str
"""
self.BandwidthPackageId = None
def _deserialize(self, params):
self.BandwidthPackageId = params.get("BandwidthPackageId")
class DeleteBandwidthPackageResponse(AbstractModel):
| 64 | 64 | 94 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DeleteBandwidthPackageResponse | DeleteBandwidthPackageResponse | 4,106 | 4,120 | 4,106 | 4,106 | 7e3d3b35554e2a751b04f40e8d1b4558609edfe6 | bigcode/the-stack | train |
dc822d6309e10c0a96731f12 | train | class | class CheckAssistantCidrResponse(AbstractModel):
"""CheckAssistantCidr返回参数结构体
"""
def __init__(self):
"""
:param ConflictSourceSet: 冲突资源信息数组。
:type ConflictSourceSet: list of ConflictSource
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId... | class CheckAssistantCidrResponse(AbstractModel):
| """CheckAssistantCidr返回参数结构体
"""
def __init__(self):
"""
:param ConflictSourceSet: 冲突资源信息数组。
:type ConflictSourceSet: list of ConflictSource
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.ConflictSourceSet ... | Blocks = None
def _deserialize(self, params):
self.VpcId = params.get("VpcId")
self.NewCidrBlocks = params.get("NewCidrBlocks")
self.OldCidrBlocks = params.get("OldCidrBlocks")
class CheckAssistantCidrResponse(AbstractModel):
| 64 | 64 | 184 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CheckAssistantCidrResponse | CheckAssistantCidrResponse | 1,633 | 1,656 | 1,633 | 1,633 | 21b3a43e173bcf3b06ad7ba4ebcbaafcbb0d39c7 | bigcode/the-stack | train |
35e80d26e32967097ce3d7f5 | train | class | class DisassociateDirectConnectGatewayNatGatewayResponse(AbstractModel):
"""DisassociateDirectConnectGatewayNatGateway返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
... | class DisassociateDirectConnectGatewayNatGatewayResponse(AbstractModel):
| """DisassociateDirectConnectGatewayNatGateway返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("Re... | = None
def _deserialize(self, params):
self.VpcId = params.get("VpcId")
self.NatGatewayId = params.get("NatGatewayId")
self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
class DisassociateDirectConnectGatewayNatGatewayResponse(AbstractModel):
| 64 | 64 | 102 | 12 | 52 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DisassociateDirectConnectGatewayNatGatewayResponse | DisassociateDirectConnectGatewayNatGatewayResponse | 9,029 | 9,043 | 9,029 | 9,029 | d5b0afc717ccfe47d1489e6c1d15d1d1b6b30bd6 | bigcode/the-stack | train |
03ae0e63182ab97bbc88cd75 | train | class | class VpcLimit(AbstractModel):
"""私有网络配额
"""
def __init__(self):
"""
:param LimitType: 私有网络配额描述
:type LimitType: str
:param LimitValue: 私有网络配额值
:type LimitValue: int
"""
self.LimitType = None
self.LimitValue = None
def _deserialize(self... | class VpcLimit(AbstractModel):
| """私有网络配额
"""
def __init__(self):
"""
:param LimitType: 私有网络配额描述
:type LimitType: str
:param LimitValue: 私有网络配额值
:type LimitValue: int
"""
self.LimitType = None
self.LimitValue = None
def _deserialize(self, params):
self.LimitTy... | , params):
self.Ipv6Address = params.get("Ipv6Address")
self.CidrBlock = params.get("CidrBlock")
self.Ipv6AddressType = params.get("Ipv6AddressType")
self.CreatedTime = params.get("CreatedTime")
class VpcLimit(AbstractModel):
| 64 | 64 | 118 | 7 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | VpcLimit | VpcLimit | 14,606 | 14,624 | 14,606 | 14,606 | f3c90d8c64569476b4a4d9f8a4ae9d8341d02e0d | bigcode/the-stack | train |
4b21288b9db6ff895a34b249 | train | class | class HaVipDisassociateAddressIpRequest(AbstractModel):
"""HaVipDisassociateAddressIp请求参数结构体
"""
def __init__(self):
"""
:param HaVipId: `HAVIP`唯一`ID`,形如:`havip-9o233uri`。必须是已绑定`EIP`的`HAVIP`。
:type HaVipId: str
"""
self.HaVipId = None
def _deserialize(self, pa... | class HaVipDisassociateAddressIpRequest(AbstractModel):
| """HaVipDisassociateAddressIp请求参数结构体
"""
def __init__(self):
"""
:param HaVipId: `HAVIP`唯一`ID`,形如:`havip-9o233uri`。必须是已绑定`EIP`的`HAVIP`。
:type HaVipId: str
"""
self.HaVipId = None
def _deserialize(self, params):
self.HaVipId = params.get("HaVipId")
| 次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class HaVipDisassociateAddressIpRequest(AbstractModel):
| 64 | 64 | 120 | 11 | 53 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | HaVipDisassociateAddressIpRequest | HaVipDisassociateAddressIpRequest | 9,659 | 9,673 | 9,659 | 9,659 | 7e26eda02d3df68728fed84651e95e1a74a121ef | bigcode/the-stack | train |
70252c9d58f613acb64024e4 | train | class | class DeleteCcnResponse(AbstractModel):
"""DeleteCcn返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.... | class DeleteCcnResponse(AbstractModel):
| """DeleteCcn返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| 实例ID。形如:ccn-f49l6u0z。
:type CcnId: str
"""
self.CcnId = None
def _deserialize(self, params):
self.CcnId = params.get("CcnId")
class DeleteCcnResponse(AbstractModel):
| 64 | 64 | 94 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DeleteCcnResponse | DeleteCcnResponse | 4,140 | 4,154 | 4,140 | 4,140 | fdfe1761f3ce024e2a73d196ed4397e7f061473e | bigcode/the-stack | train |
4168ec5474b740ed97f2bd67 | train | class | class ModifyAssistantCidrRequest(AbstractModel):
"""ModifyAssistantCidr请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
:type VpcId: str
:param NewCidrBlocks: 待添加的负载CIDR。CIDR数组,格式如["10.0.0.0/16", "172.16.0.0/16"],入参NewCidrBlocks和OldCidrBlocks至... | class ModifyAssistantCidrRequest(AbstractModel):
| """ModifyAssistantCidr请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
:type VpcId: str
:param NewCidrBlocks: 待添加的负载CIDR。CIDR数组,格式如["10.0.0.0/16", "172.16.0.0/16"],入参NewCidrBlocks和OldCidrBlocks至少需要其一。
:type NewCidrBlocks: list of str
... | RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.TaskId = None
self.RequestId = None
def _deserialize(self, params):
self.TaskId = params.get("TaskId")
self.RequestId = params.get("RequestId")
class ModifyAssistantCidrRequest(Abst... | 89 | 89 | 299 | 9 | 80 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyAssistantCidrRequest | ModifyAssistantCidrRequest | 10,632 | 10,654 | 10,632 | 10,632 | c2937ad21f2807fca8fab8635ac957f68078bb41 | bigcode/the-stack | train |
77b64595aeae22acf0744187 | train | class | class ModifyAddressAttributeResponse(AbstractModel):
"""ModifyAddressAttribute返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
... | class ModifyAddressAttributeResponse(AbstractModel):
| """ModifyAddressAttribute返回参数结构体
"""
def __init__(self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
| None
self.EipDirectConnection = None
def _deserialize(self, params):
self.AddressId = params.get("AddressId")
self.AddressName = params.get("AddressName")
self.EipDirectConnection = params.get("EipDirectConnection")
class ModifyAddressAttributeResponse(AbstractModel):
| 64 | 64 | 94 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyAddressAttributeResponse | ModifyAddressAttributeResponse | 10,433 | 10,447 | 10,433 | 10,433 | 33880c7b30b55b0f48d27d3471ba7f0339915399 | bigcode/the-stack | train |
2674a5ce76c5d38395b68bad | train | class | class CcnRegionBandwidthLimit(AbstractModel):
"""云联网(CCN)地域出带宽上限
"""
def __init__(self):
"""
:param Region: 地域,例如:ap-guangzhou
:type Region: str
:param BandwidthLimit: 出带宽上限,单位:Mbps
:type BandwidthLimit: int
:param IsBm: 是否黑石地域,默认`false`。
:type IsBm:... | class CcnRegionBandwidthLimit(AbstractModel):
| """云联网(CCN)地域出带宽上限
"""
def __init__(self):
"""
:param Region: 地域,例如:ap-guangzhou
:type Region: str
:param BandwidthLimit: 出带宽上限,单位:Mbps
:type BandwidthLimit: int
:param IsBm: 是否黑石地域,默认`false`。
:type IsBm: bool
:param DstRegion: 目的地域,例如:ap-sha... | 类型</li>
:type InstanceType: str
"""
self.InstanceId = None
self.InstanceRegion = None
self.InstanceType = None
def _deserialize(self, params):
self.InstanceId = params.get("InstanceId")
self.InstanceRegion = params.get("InstanceRegion")
self.Instance... | 85 | 85 | 285 | 9 | 76 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CcnRegionBandwidthLimit | CcnRegionBandwidthLimit | 1,509 | 1,540 | 1,509 | 1,509 | 45df88c3f74df0f06588eabbe9e424a991390cf3 | bigcode/the-stack | train |
8746bfdb44f312c0ac821497 | train | class | class DescribeDirectConnectGatewayCcnRoutesResponse(AbstractModel):
"""DescribeDirectConnectGatewayCcnRoutes返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的对象数。
:type TotalCount: int
:param RouteSet: 云联网路由(IDC网段)列表。
:type RouteSet: list of DirectConnectG... | class DescribeDirectConnectGatewayCcnRoutesResponse(AbstractModel):
| """DescribeDirectConnectGatewayCcnRoutes返回参数结构体
"""
def __init__(self):
"""
:param TotalCount: 符合条件的对象数。
:type TotalCount: int
:param RouteSet: 云联网路由(IDC网段)列表。
:type RouteSet: list of DirectConnectGatewayCcnRoute
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该... | def _deserialize(self, params):
self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
self.CcnRouteType = params.get("CcnRouteType")
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class DescribeDirectConnectGatewayCcnRoutesResponse(AbstractModel):
| 69 | 69 | 233 | 12 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeDirectConnectGatewayCcnRoutesResponse | DescribeDirectConnectGatewayCcnRoutesResponse | 6,117 | 6,144 | 6,117 | 6,117 | 8b98c58f24e93e6bb80bbbcedf6255a9151023f7 | bigcode/the-stack | train |
9a69945e3cedbcda727ce804 | train | class | class ModifyRouteTableAttributeRequest(AbstractModel):
"""ModifyRouteTableAttribute请求参数结构体
"""
def __init__(self):
"""
:param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
:type RouteTableId: str
:param RouteTableName: 路由表名称。
:type RouteTableName: str
"""
s... | class ModifyRouteTableAttributeRequest(AbstractModel):
| """ModifyRouteTableAttribute请求参数结构体
"""
def __init__(self):
"""
:param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
:type RouteTableId: str
:param RouteTableName: 路由表名称。
:type RouteTableName: str
"""
self.RouteTableId = None
self.RouteTableName = N... | ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class ModifyRouteTableAttributeRequest(AbstractModel):
| 64 | 64 | 139 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyRouteTableAttributeRequest | ModifyRouteTableAttributeRequest | 11,557 | 11,575 | 11,557 | 11,557 | d09072b0f86ee80f68c33afa2663b8acc6a34012 | bigcode/the-stack | train |
816b78717373817250ecbdb6 | train | class | class DeleteBandwidthPackageRequest(AbstractModel):
"""DeleteBandwidthPackage请求参数结构体
"""
def __init__(self):
"""
:param BandwidthPackageId: 待删除带宽包唯一ID
:type BandwidthPackageId: str
"""
self.BandwidthPackageId = None
def _deserialize(self, params):
self... | class DeleteBandwidthPackageRequest(AbstractModel):
| """DeleteBandwidthPackage请求参数结构体
"""
def __init__(self):
"""
:param BandwidthPackageId: 待删除带宽包唯一ID
:type BandwidthPackageId: str
"""
self.BandwidthPackageId = None
def _deserialize(self, params):
self.BandwidthPackageId = params.get("BandwidthPackageId... | 请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class DeleteBandwidthPackageRequest(AbstractModel):
| 64 | 64 | 91 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DeleteBandwidthPackageRequest | DeleteBandwidthPackageRequest | 4,089 | 4,103 | 4,089 | 4,089 | 93f1f6fb4f5e7d1559bf0bc5372f2e0ce296f50c | bigcode/the-stack | train |
2d455da0c44ba48e77aaa400 | train | class | class DisableRoutesRequest(AbstractModel):
"""DisableRoutes请求参数结构体
"""
def __init__(self):
"""
:param RouteTableId: 路由表唯一ID。
:type RouteTableId: str
:param RouteIds: 路由策略ID。不能和RouteItemIds同时使用,但至少输入一个。该参数取值可通过查询路由列表([DescribeRouteTables](https://cloud.tencent.com/document/p... | class DisableRoutesRequest(AbstractModel):
| """DisableRoutes请求参数结构体
"""
def __init__(self):
"""
:param RouteTableId: 路由表唯一ID。
:type RouteTableId: str
:param RouteIds: 路由策略ID。不能和RouteItemIds同时使用,但至少输入一个。该参数取值可通过查询路由列表([DescribeRouteTables](https://cloud.tencent.com/document/product/215/15763))获取。
:type RouteId... | self):
"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class DisableRoutesRequest(AbstractModel):
| 76 | 76 | 256 | 7 | 69 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DisableRoutesRequest | DisableRoutesRequest | 8,886 | 8,908 | 8,886 | 8,886 | f0cab7997249a9e1f266b40d8bfb37e6270fd80a | bigcode/the-stack | train |
fa25032eb48e3c7ce7588a8d | train | class | class ModifyCcnRegionBandwidthLimitsTypeRequest(AbstractModel):
"""ModifyCcnRegionBandwidthLimitsType请求参数结构体
"""
def __init__(self):
"""
:param CcnId: 云联网实例ID。
:type CcnId: str
:param BandwidthLimitType: 云联网限速类型,INTER_REGION_LIMIT:地域间限速,OUTER_REGION_LIMIT:地域出口限速。
:t... | class ModifyCcnRegionBandwidthLimitsTypeRequest(AbstractModel):
| """ModifyCcnRegionBandwidthLimitsType请求参数结构体
"""
def __init__(self):
"""
:param CcnId: 云联网实例ID。
:type CcnId: str
:param BandwidthLimitType: 云联网限速类型,INTER_REGION_LIMIT:地域间限速,OUTER_REGION_LIMIT:地域出口限速。
:type BandwidthLimitType: str
"""
self.CcnId = Non... | 请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class ModifyCcnRegionBandwidthLimitsTypeRequest(AbstractModel):
| 64 | 64 | 157 | 12 | 52 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ModifyCcnRegionBandwidthLimitsTypeRequest | ModifyCcnRegionBandwidthLimitsTypeRequest | 10,768 | 10,786 | 10,768 | 10,768 | 96633125d79f6c74982a7626317a2642dd8b2179 | bigcode/the-stack | train |
8315c05d7cad27de860ec8df | train | class | class CreateBandwidthPackageRequest(AbstractModel):
"""CreateBandwidthPackage请求参数结构体
"""
def __init__(self):
"""
:param NetworkType: 带宽包类型,包括'BGP','SINGLEISP','ANYCAST'
:type NetworkType: str
:param ChargeType: 带宽包计费类型,包括‘TOP5_POSTPAID_BY_MONTH’,‘PERCENT95_POSTPAID_BY_MONTH... | class CreateBandwidthPackageRequest(AbstractModel):
| """CreateBandwidthPackage请求参数结构体
"""
def __init__(self):
"""
:param NetworkType: 带宽包类型,包括'BGP','SINGLEISP','ANYCAST'
:type NetworkType: str
:param ChargeType: 带宽包计费类型,包括‘TOP5_POSTPAID_BY_MONTH’,‘PERCENT95_POSTPAID_BY_MONTH’
:type ChargeType: str
:param Bandw... | 请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.AssistantCidrSet = None
self.RequestId = None
def _deserialize(self, params):
if params.get("AssistantCidrSet") is not None:
self.AssistantCidrSet = []
for item in params.get("Ass... | 132 | 132 | 442 | 8 | 124 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateBandwidthPackageRequest | CreateBandwidthPackageRequest | 2,121 | 2,164 | 2,121 | 2,121 | c1214351314b2165bf433b3214f2634ded039a9e | bigcode/the-stack | train |
4ea8614aab716ff66dbaa5cf | train | class | class InquiryPriceRenewVpnGatewayResponse(AbstractModel):
"""InquiryPriceRenewVpnGateway返回参数结构体
"""
def __init__(self):
"""
:param Price: 商品价格。
:type Price: :class:`tencentcloud.vpc.v20170312.models.Price`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
... | class InquiryPriceRenewVpnGatewayResponse(AbstractModel):
| """InquiryPriceRenewVpnGateway返回参数结构体
"""
def __init__(self):
"""
:param Price: 商品价格。
:type Price: :class:`tencentcloud.vpc.v20170312.models.Price`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.Price = Non... | pnGatewayId = params.get("VpnGatewayId")
if params.get("InstanceChargePrepaid") is not None:
self.InstanceChargePrepaid = InstanceChargePrepaid()
self.InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
class InquiryPriceRenewVpnGatewayResponse(AbstractModel):
| 63 | 64 | 159 | 10 | 53 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | InquiryPriceRenewVpnGatewayResponse | InquiryPriceRenewVpnGatewayResponse | 9,893 | 9,913 | 9,893 | 9,893 | f8d2229f345f3429c9eee4a172a7acbd3b5b387d | bigcode/the-stack | train |
d43c6d8104f002f3482f8b97 | train | class | class DescribeNatGatewaysResponse(AbstractModel):
"""DescribeNatGateways返回参数结构体
"""
def __init__(self):
"""
:param NatGatewaySet: NAT网关对象数组。
:type NatGatewaySet: list of NatGateway
:param TotalCount: 符合条件的NAT网关对象个数。
:type TotalCount: int
:param RequestId: 唯一... | class DescribeNatGatewaysResponse(AbstractModel):
| """DescribeNatGateways返回参数结构体
"""
def __init__(self):
"""
:param NatGatewaySet: NAT网关对象数组。
:type NatGatewaySet: list of NatGateway
:param TotalCount: 符合条件的NAT网关对象个数。
:type TotalCount: int
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:... | params.get("Filters") is not None:
self.Filters = []
for item in params.get("Filters"):
obj = Filter()
obj._deserialize(item)
self.Filters.append(obj)
self.Offset = params.get("Offset")
self.Limit = params.get("Limit")
class Descri... | 68 | 68 | 229 | 9 | 59 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeNatGatewaysResponse | DescribeNatGatewaysResponse | 6,958 | 6,985 | 6,958 | 6,958 | ba9359b4bba73495a80062aefeae0f26747cb6d1 | bigcode/the-stack | train |
f094b7eb717df0ea573d17d4 | train | class | class TemplateLimit(AbstractModel):
"""参数模板配额
"""
def __init__(self):
"""
:param AddressTemplateMemberLimit: 参数模板IP地址成员配额。
:type AddressTemplateMemberLimit: int
:param AddressTemplateGroupMemberLimit: 参数模板IP地址组成员配额。
:type AddressTemplateGroupMemberLimit: int
... | class TemplateLimit(AbstractModel):
| """参数模板配额
"""
def __init__(self):
"""
:param AddressTemplateMemberLimit: 参数模板IP地址成员配额。
:type AddressTemplateMemberLimit: int
:param AddressTemplateGroupMemberLimit: 参数模板IP地址组成员配额。
:type AddressTemplateGroupMemberLimit: int
:param ServiceTemplateMemberLimit: ... | :param Value: 标签值
注意:此字段可能返回 null,表示取不到有效值。
:type Value: str
"""
self.Key = None
self.Value = None
def _deserialize(self, params):
self.Key = params.get("Key")
self.Value = params.get("Value")
class TemplateLimit(AbstractModel):
| 74 | 74 | 249 | 6 | 68 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | TemplateLimit | TemplateLimit | 14,271 | 14,297 | 14,271 | 14,271 | 6fa6e077a9958547b2a25d33f9f8294779f14f73 | bigcode/the-stack | train |
8876340d490d033262a45651 | train | class | class ReplaceRoutesRequest(AbstractModel):
"""ReplaceRoutes请求参数结构体
"""
def __init__(self):
"""
:param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
:type RouteTableId: str
:param Routes: 路由策略对象。需要指定路由策略ID(RouteId)。
:type Routes: list of Route
"""
self.Route... | class ReplaceRoutesRequest(AbstractModel):
| """ReplaceRoutes请求参数结构体
"""
def __init__(self):
"""
:param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
:type RouteTableId: str
:param Routes: 路由策略对象。需要指定路由策略ID(RouteId)。
:type Routes: list of Route
"""
self.RouteTableId = None
self.Routes = None
... | 一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None
def _deserialize(self, params):
self.RequestId = params.get("RequestId")
class ReplaceRoutesRequest(AbstractModel):
| 64 | 64 | 173 | 7 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | ReplaceRoutesRequest | ReplaceRoutesRequest | 13,083 | 13,106 | 13,083 | 13,083 | f6e1eea2a14758483141385d584acf8e61bddd5f | bigcode/the-stack | train |
156419ac98aa3609795534c7 | train | class | class DescribeDirectConnectGatewaysRequest(AbstractModel):
"""DescribeDirectConnectGateways请求参数结构体
"""
def __init__(self):
"""
:param DirectConnectGatewayIds: 专线网关唯一`ID`,形如:`dcg-9o233uri`。
:type DirectConnectGatewayIds: list of str
:param Filters: 过滤条件,参数不支持同时指定`DirectConne... | class DescribeDirectConnectGatewaysRequest(AbstractModel):
| """DescribeDirectConnectGateways请求参数结构体
"""
def __init__(self):
"""
:param DirectConnectGatewayIds: 专线网关唯一`ID`,形如:`dcg-9o233uri`。
:type DirectConnectGatewayIds: list of str
:param Filters: 过滤条件,参数不支持同时指定`DirectConnectGatewayIds`和`Filters`。
<li>direct-connect-gateway-id - St... | 问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.TotalCount = None
self.RouteSet = None
self.RequestId = None
def _deserialize(self, params):
self.TotalCount = params.get("TotalCount")
if params.get("RouteSet") is not None:
self.RouteSet = [... | 133 | 133 | 444 | 10 | 123 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeDirectConnectGatewaysRequest | DescribeDirectConnectGatewaysRequest | 6,147 | 6,185 | 6,147 | 6,147 | f2621bc26b1f632b02c694259cf011b877bd3ccb | bigcode/the-stack | train |
d387b1a9cafa364be18e6004 | train | class | class CreateNetworkInterfaceResponse(AbstractModel):
"""CreateNetworkInterface返回参数结构体
"""
def __init__(self):
"""
:param NetworkInterface: 弹性网卡实例。
:type NetworkInterface: :class:`tencentcloud.vpc.v20170312.models.NetworkInterface`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提... | class CreateNetworkInterfaceResponse(AbstractModel):
| """CreateNetworkInterface返回参数结构体
"""
def __init__(self):
"""
:param NetworkInterface: 弹性网卡实例。
:type NetworkInterface: :class:`tencentcloud.vpc.v20170312.models.NetworkInterface`
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
... | obj._deserialize(item)
self.PrivateIpAddresses.append(obj)
if params.get("Tags") is not None:
self.Tags = []
for item in params.get("Tags"):
obj = Tag()
obj._deserialize(item)
self.Tags.append(obj)
class Crea... | 64 | 64 | 168 | 8 | 56 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateNetworkInterfaceResponse | CreateNetworkInterfaceResponse | 3,027 | 3,047 | 3,027 | 3,027 | a4ab5f722a10ad85d81ee6a22f1679ecfca6059c | bigcode/the-stack | train |
62dd949e0a4138599e3efdd3 | train | class | class CcnInstance(AbstractModel):
"""云联网(CCN)关联实例(Instance)对象。
"""
def __init__(self):
"""
:param InstanceId: 关联实例ID。
:type InstanceId: str
:param InstanceRegion: 关联实例ID所属大区,例如:ap-guangzhou。
:type InstanceRegion: str
:param InstanceType: 关联实例类型,可选值:
<li>`VPC... | class CcnInstance(AbstractModel):
| """云联网(CCN)关联实例(Instance)对象。
"""
def __init__(self):
"""
:param InstanceId: 关联实例ID。
:type InstanceId: str
:param InstanceRegion: 关联实例ID所属大区,例如:ap-guangzhou。
:type InstanceRegion: str
:param InstanceType: 关联实例类型,可选值:
<li>`VPC`:私有网络</li>
<li>`DIRECTCONNECT`:专线... | enewFlag = params.get("RenewFlag")
if params.get("CcnRegionBandwidthLimit") is not None:
self.CcnRegionBandwidthLimit = CcnRegionBandwidthLimit()
self.CcnRegionBandwidthLimit._deserialize(params.get("CcnRegionBandwidthLimit"))
class CcnInstance(AbstractModel):
| 64 | 65 | 218 | 7 | 57 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CcnInstance | CcnInstance | 1,480 | 1,506 | 1,480 | 1,480 | dffb7989f69aee2e309968d39f811fbc1d8dcc67 | bigcode/the-stack | train |
8055e70082a253df266d699c | train | class | class RouteConflict(AbstractModel):
"""路由冲突对象
"""
def __init__(self):
"""
:param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
:type RouteTableId: str
:param DestinationCidrBlock: 要检查的与之冲突的目的端
:type DestinationCidrBlock: str
:param ConflictSet: 冲突的路由策略列表
:t... | class RouteConflict(AbstractModel):
| """路由冲突对象
"""
def __init__(self):
"""
:param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
:type RouteTableId: str
:param DestinationCidrBlock: 要检查的与之冲突的目的端
:type DestinationCidrBlock: str
:param ConflictSet: 冲突的路由策略列表
:type ConflictSet: list of Route
... | .get("Enabled")
self.RouteType = params.get("RouteType")
self.RouteTableId = params.get("RouteTableId")
self.DestinationIpv6CidrBlock = params.get("DestinationIpv6CidrBlock")
self.RouteItemId = params.get("RouteItemId")
class RouteConflict(AbstractModel):
| 67 | 67 | 226 | 6 | 61 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | RouteConflict | RouteConflict | 13,653 | 13,680 | 13,653 | 13,653 | 0d159050caec37cac359b96c66f0b07645f204f8 | bigcode/the-stack | train |
be36ec8214c7692ec6f95c28 | train | class | class CreateHaVipRequest(AbstractModel):
"""CreateHaVip请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `HAVIP`所在私有网络`ID`。
:type VpcId: str
:param SubnetId: `HAVIP`所在子网`ID`。
:type SubnetId: str
:param HaVipName: `HAVIP`名称。
:type HaVipName: str
... | class CreateHaVipRequest(AbstractModel):
| """CreateHaVip请求参数结构体
"""
def __init__(self):
"""
:param VpcId: `HAVIP`所在私有网络`ID`。
:type VpcId: str
:param SubnetId: `HAVIP`所在子网`ID`。
:type SubnetId: str
:param HaVipName: `HAVIP`名称。
:type HaVipName: str
:param Vip: 指定虚拟IP地址,必须在`VPC`网段内且未被占用。... | (self, params):
if params.get("FlowLog") is not None:
self.FlowLog = []
for item in params.get("FlowLog"):
obj = FlowLog()
obj._deserialize(item)
self.FlowLog.append(obj)
self.RequestId = params.get("RequestId")
class CreateHaVipReq... | 70 | 70 | 236 | 8 | 62 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateHaVipRequest | CreateHaVipRequest | 2,629 | 2,655 | 2,629 | 2,629 | cf4eed18ecedbe1b6e74905a73a3f3420e5cb633 | bigcode/the-stack | train |
211c993c971c1f4c13fef484 | train | class | class DescribeIpGeolocationInfosRequest(AbstractModel):
"""DescribeIpGeolocationInfos请求参数结构体
"""
def __init__(self):
"""
:param AddressIps: 查询IP地址列表,支持IPv4和IPv6。
:type AddressIps: list of str
:param Fields: 查询IP地址的字段信息,包括"Country","Province","City","Region","Isp","AsName","... | class DescribeIpGeolocationInfosRequest(AbstractModel):
| """DescribeIpGeolocationInfos请求参数结构体
"""
def __init__(self):
"""
:param AddressIps: 查询IP地址列表,支持IPv4和IPv6。
:type AddressIps: list of str
:param Fields: 查询IP地址的字段信息,包括"Country","Province","City","Region","Isp","AsName","AsId"
:type Fields: :class:`tencentcloud.vpc.v20... | = None
self.RequestId = None
def _deserialize(self, params):
self.DownLoadUrl = params.get("DownLoadUrl")
self.ExpiredAt = params.get("ExpiredAt")
self.RequestId = params.get("RequestId")
class DescribeIpGeolocationInfosRequest(AbstractModel):
| 64 | 64 | 175 | 10 | 54 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeIpGeolocationInfosRequest | DescribeIpGeolocationInfosRequest | 6,795 | 6,815 | 6,795 | 6,795 | 4038255405efa07180e412252d9ee84303de15e0 | bigcode/the-stack | train |
bce08641ee95d920a2d29c48 | train | class | class CreateDefaultSecurityGroupRequest(AbstractModel):
"""CreateDefaultSecurityGroup请求参数结构体
"""
def __init__(self):
"""
:param ProjectId: 项目ID,默认0。可在qcloud控制台项目管理页面查询到。
:type ProjectId: str
"""
self.ProjectId = None
def _deserialize(self, params):
sel... | class CreateDefaultSecurityGroupRequest(AbstractModel):
| """CreateDefaultSecurityGroup请求参数结构体
"""
def __init__(self):
"""
:param ProjectId: 项目ID,默认0。可在qcloud控制台项目管理页面查询到。
:type ProjectId: str
"""
self.ProjectId = None
def _deserialize(self, params):
self.ProjectId = params.get("ProjectId")
| Id = None
def _deserialize(self, params):
if params.get("CustomerGateway") is not None:
self.CustomerGateway = CustomerGateway()
self.CustomerGateway._deserialize(params.get("CustomerGateway"))
self.RequestId = params.get("RequestId")
class CreateDefaultSecurityGroupRequest... | 64 | 64 | 92 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | CreateDefaultSecurityGroupRequest | CreateDefaultSecurityGroupRequest | 2,310 | 2,324 | 2,310 | 2,310 | b491475f015d72d0ec2f705d9b51c4b58d27e43d | bigcode/the-stack | train |
616b5d2ab410d4c787fc8363 | train | class | class DescribeSecurityGroupReferencesRequest(AbstractModel):
"""DescribeSecurityGroupReferences请求参数结构体
"""
def __init__(self):
"""
:param SecurityGroupIds: 安全组实例ID数组。格式如:['sg-12345678']
:type SecurityGroupIds: list of str
"""
self.SecurityGroupIds = None
def _... | class DescribeSecurityGroupReferencesRequest(AbstractModel):
| """DescribeSecurityGroupReferences请求参数结构体
"""
def __init__(self):
"""
:param SecurityGroupIds: 安全组实例ID数组。格式如:['sg-12345678']
:type SecurityGroupIds: list of str
"""
self.SecurityGroupIds = None
def _deserialize(self, params):
self.SecurityGroupIds = pa... | params):
if params.get("SecurityGroupPolicySet") is not None:
self.SecurityGroupPolicySet = SecurityGroupPolicySet()
self.SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
self.RequestId = params.get("RequestId")
class DescribeSecurityGroupReferencesReque... | 64 | 64 | 97 | 9 | 55 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeSecurityGroupReferencesRequest | DescribeSecurityGroupReferencesRequest | 7,586 | 7,600 | 7,586 | 7,586 | eedef81ce9d10222c1c1ee44bd588b4a8ad9a2b4 | bigcode/the-stack | train |
cd4310b089e62a29d712f974 | train | class | class DescribeHaVipsRequest(AbstractModel):
"""DescribeHaVips请求参数结构体
"""
def __init__(self):
"""
:param HaVipIds: `HAVIP`唯一`ID`,形如:`havip-9o233uri`。
:type HaVipIds: list of str
:param Filters: 过滤条件,参数不支持同时指定`HaVipIds`和`Filters`。
<li>havip-id - String - `HAVIP`唯一`ID`,形如:`hav... | class DescribeHaVipsRequest(AbstractModel):
| """DescribeHaVips请求参数结构体
"""
def __init__(self):
"""
:param HaVipIds: `HAVIP`唯一`ID`,形如:`havip-9o233uri`。
:type HaVipIds: list of str
:param Filters: 过滤条件,参数不支持同时指定`HaVipIds`和`Filters`。
<li>havip-id - String - `HAVIP`唯一`ID`,形如:`havip-9o233uri`。</li>
<li>havip-name - String -... | = None
self.TotalCount = None
self.RequestId = None
def _deserialize(self, params):
if params.get("GatewayQosSet") is not None:
self.GatewayQosSet = []
for item in params.get("GatewayQosSet"):
obj = GatewayQos()
obj._deserialize(item... | 114 | 114 | 380 | 9 | 105 | dyllllll/tencentcloud-sdk-python | tencentcloud/vpc/v20170312/models.py | Python | DescribeHaVipsRequest | DescribeHaVipsRequest | 6,505 | 6,542 | 6,505 | 6,505 | aa14054f93e60fb75ae586bd1b2903ababf250e2 | bigcode/the-stack | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.