代码修改后的版本,全部提交

This commit is contained in:
ss001
2026-02-07 15:48:27 +08:00
parent cccbaa37c9
commit c2cda58c65
15604 changed files with 2455502 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AcceptAttachCcnInstancesRequest : AbstractModel
{
/// <summary>
/// CCN实例ID。形如ccn-f49l6u0z。
/// </summary>
[JsonProperty("CcnId")]
public string CcnId{ get; set; }
/// <summary>
/// 接受关联实例列表。
/// </summary>
[JsonProperty("Instances")]
public CcnInstance[] Instances{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "CcnId", this.CcnId);
this.SetParamArrayObj(map, prefix + "Instances.", this.Instances);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AcceptAttachCcnInstancesResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AccountAttribute : AbstractModel
{
/// <summary>
/// 属性名
/// </summary>
[JsonProperty("AttributeName")]
public string AttributeName{ get; set; }
/// <summary>
/// 属性值
/// </summary>
[JsonProperty("AttributeValues")]
public string[] AttributeValues{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AttributeName", this.AttributeName);
this.SetParamArraySimple(map, prefix + "AttributeValues.", this.AttributeValues);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddBandwidthPackageResourcesRequest : AbstractModel
{
/// <summary>
/// 资源唯一ID当前支持EIP资源和LB资源形如'eip-xxxx', 'lb-xxxx'
/// </summary>
[JsonProperty("ResourceIds")]
public string[] ResourceIds{ get; set; }
/// <summary>
/// 带宽包唯一标识ID形如'bwp-xxxx'
/// </summary>
[JsonProperty("BandwidthPackageId")]
public string BandwidthPackageId{ get; set; }
/// <summary>
/// 带宽包类型,当前支持'BGP'类型表示内部资源是BGP IP。
/// </summary>
[JsonProperty("NetworkType")]
public string NetworkType{ get; set; }
/// <summary>
/// 资源类型,包括'Address', 'LoadBalance'
/// </summary>
[JsonProperty("ResourceType")]
public string ResourceType{ get; set; }
/// <summary>
/// 带宽包协议类型。当前支持'ipv4'和'ipv6'协议类型。
/// </summary>
[JsonProperty("Protocol")]
public string Protocol{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "ResourceIds.", this.ResourceIds);
this.SetParamSimple(map, prefix + "BandwidthPackageId", this.BandwidthPackageId);
this.SetParamSimple(map, prefix + "NetworkType", this.NetworkType);
this.SetParamSimple(map, prefix + "ResourceType", this.ResourceType);
this.SetParamSimple(map, prefix + "Protocol", this.Protocol);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddBandwidthPackageResourcesResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddIp6RulesRequest : AbstractModel
{
/// <summary>
/// IPV6转换实例唯一ID形如ip6-xxxxxxxx
/// </summary>
[JsonProperty("Ip6TranslatorId")]
public string Ip6TranslatorId{ get; set; }
/// <summary>
/// IPV6转换规则信息
/// </summary>
[JsonProperty("Ip6RuleInfos")]
public Ip6RuleInfo[] Ip6RuleInfos{ get; set; }
/// <summary>
/// IPV6转换规则名称
/// </summary>
[JsonProperty("Ip6RuleName")]
public string Ip6RuleName{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Ip6TranslatorId", this.Ip6TranslatorId);
this.SetParamArrayObj(map, prefix + "Ip6RuleInfos.", this.Ip6RuleInfos);
this.SetParamSimple(map, prefix + "Ip6RuleName", this.Ip6RuleName);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddIp6RulesResponse : AbstractModel
{
/// <summary>
/// IPV6转换规则唯一ID数组形如rule6-xxxxxxxx
/// </summary>
[JsonProperty("Ip6RuleSet")]
public string[] Ip6RuleSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "Ip6RuleSet.", this.Ip6RuleSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,141 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Address : AbstractModel
{
/// <summary>
/// `EIP`的`ID`,是`EIP`的唯一标识。
/// </summary>
[JsonProperty("AddressId")]
public string AddressId{ get; set; }
/// <summary>
/// `EIP`名称。
/// </summary>
[JsonProperty("AddressName")]
public string AddressName{ get; set; }
/// <summary>
/// `EIP`状态,包含'CREATING'(创建中),'BINDING'(绑定中),'BIND'(已绑定),'UNBINDING'(解绑中),'UNBIND'(已解绑),'OFFLINING'(释放中),'BIND_ENI'(绑定悬空弹性网卡)
/// </summary>
[JsonProperty("AddressStatus")]
public string AddressStatus{ get; set; }
/// <summary>
/// 外网IP地址
/// </summary>
[JsonProperty("AddressIp")]
public string AddressIp{ get; set; }
/// <summary>
/// 绑定的资源实例`ID`。可能是一个`CVM``NAT`。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 创建时间。按照`ISO8601`标准表示,并且使用`UTC`时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// 绑定的弹性网卡ID
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// 绑定的资源内网ip
/// </summary>
[JsonProperty("PrivateAddressIp")]
public string PrivateAddressIp{ get; set; }
/// <summary>
/// 资源隔离状态。true表示eip处于隔离状态false表示资源处于未隔离状态
/// </summary>
[JsonProperty("IsArrears")]
public bool? IsArrears{ get; set; }
/// <summary>
/// 资源封堵状态。true表示eip处于封堵状态false表示eip处于未封堵状态
/// </summary>
[JsonProperty("IsBlocked")]
public bool? IsBlocked{ get; set; }
/// <summary>
/// eip是否支持直通模式。true表示eip支持直通模式false表示资源不支持直通模式
/// </summary>
[JsonProperty("IsEipDirectConnection")]
public bool? IsEipDirectConnection{ get; set; }
/// <summary>
/// eip资源类型包括"CalcIP","WanIP","EIP","AnycastEIP"。其中"CalcIP"表示设备ip“WanIP”表示普通公网ip“EIP”表示弹性公网ip“AnycastEip”表示加速EIP
/// </summary>
[JsonProperty("AddressType")]
public string AddressType{ get; set; }
/// <summary>
/// eip是否在解绑后自动释放。true表示eip将会在解绑后自动释放false表示eip在解绑后不会自动释放
/// </summary>
[JsonProperty("CascadeRelease")]
public bool? CascadeRelease{ get; set; }
/// <summary>
/// EIP ALG开启的协议类型。
/// </summary>
[JsonProperty("EipAlgType")]
public AlgType EipAlgType{ get; set; }
/// <summary>
/// 弹性公网IP的运营商信息当前可能返回值包括"CMCC","CTCC","CUCC","BGP"
/// </summary>
[JsonProperty("InternetServiceProvider")]
public string InternetServiceProvider{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AddressId", this.AddressId);
this.SetParamSimple(map, prefix + "AddressName", this.AddressName);
this.SetParamSimple(map, prefix + "AddressStatus", this.AddressStatus);
this.SetParamSimple(map, prefix + "AddressIp", this.AddressIp);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.SetParamSimple(map, prefix + "NetworkInterfaceId", this.NetworkInterfaceId);
this.SetParamSimple(map, prefix + "PrivateAddressIp", this.PrivateAddressIp);
this.SetParamSimple(map, prefix + "IsArrears", this.IsArrears);
this.SetParamSimple(map, prefix + "IsBlocked", this.IsBlocked);
this.SetParamSimple(map, prefix + "IsEipDirectConnection", this.IsEipDirectConnection);
this.SetParamSimple(map, prefix + "AddressType", this.AddressType);
this.SetParamSimple(map, prefix + "CascadeRelease", this.CascadeRelease);
this.SetParamObj(map, prefix + "EipAlgType.", this.EipAlgType);
this.SetParamSimple(map, prefix + "InternetServiceProvider", this.InternetServiceProvider);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddressChargePrepaid : AbstractModel
{
/// <summary>
/// 购买实例的时长
/// </summary>
[JsonProperty("Period")]
public long? Period{ get; set; }
/// <summary>
/// 自动续费标志
/// </summary>
[JsonProperty("RenewFlag")]
public string RenewFlag{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Period", this.Period);
this.SetParamSimple(map, prefix + "RenewFlag", this.RenewFlag);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddressTemplate : AbstractModel
{
/// <summary>
/// IP地址模板名称。
/// </summary>
[JsonProperty("AddressTemplateName")]
public string AddressTemplateName{ get; set; }
/// <summary>
/// IP地址模板实例唯一ID。
/// </summary>
[JsonProperty("AddressTemplateId")]
public string AddressTemplateId{ get; set; }
/// <summary>
/// IP地址信息。
/// </summary>
[JsonProperty("AddressSet")]
public string[] AddressSet{ get; set; }
/// <summary>
/// 创建时间。
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AddressTemplateName", this.AddressTemplateName);
this.SetParamSimple(map, prefix + "AddressTemplateId", this.AddressTemplateId);
this.SetParamArraySimple(map, prefix + "AddressSet.", this.AddressSet);
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddressTemplateGroup : AbstractModel
{
/// <summary>
/// IP地址模板集合名称。
/// </summary>
[JsonProperty("AddressTemplateGroupName")]
public string AddressTemplateGroupName{ get; set; }
/// <summary>
/// IP地址模板集合实例ID例如ipmg-dih8xdbq。
/// </summary>
[JsonProperty("AddressTemplateGroupId")]
public string AddressTemplateGroupId{ get; set; }
/// <summary>
/// IP地址模板ID。
/// </summary>
[JsonProperty("AddressTemplateIdSet")]
public string[] AddressTemplateIdSet{ get; set; }
/// <summary>
/// 创建时间。
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// IP地址模板实例。
/// </summary>
[JsonProperty("AddressTemplateSet")]
public AddressTemplateItem[] AddressTemplateSet{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AddressTemplateGroupName", this.AddressTemplateGroupName);
this.SetParamSimple(map, prefix + "AddressTemplateGroupId", this.AddressTemplateGroupId);
this.SetParamArraySimple(map, prefix + "AddressTemplateIdSet.", this.AddressTemplateIdSet);
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.SetParamArrayObj(map, prefix + "AddressTemplateSet.", this.AddressTemplateSet);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddressTemplateItem : AbstractModel
{
/// <summary>
/// 起始地址。
/// </summary>
[JsonProperty("From")]
public string From{ get; set; }
/// <summary>
/// 结束地址。
/// </summary>
[JsonProperty("To")]
public string To{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "From", this.From);
this.SetParamSimple(map, prefix + "To", this.To);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddressTemplateSpecification : AbstractModel
{
/// <summary>
/// IP地址ID例如ipm-2uw6ujo6。
/// </summary>
[JsonProperty("AddressId")]
public string AddressId{ get; set; }
/// <summary>
/// IP地址组ID例如ipmg-2uw6ujo6。
/// </summary>
[JsonProperty("AddressGroupId")]
public string AddressGroupId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AddressId", this.AddressId);
this.SetParamSimple(map, prefix + "AddressGroupId", this.AddressGroupId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AlgType : AbstractModel
{
/// <summary>
/// Ftp协议Alg功能是否开启
/// </summary>
[JsonProperty("Ftp")]
public bool? Ftp{ get; set; }
/// <summary>
/// Sip协议Alg功能是否开启
/// </summary>
[JsonProperty("Sip")]
public bool? Sip{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Ftp", this.Ftp);
this.SetParamSimple(map, prefix + "Sip", this.Sip);
}
}
}

View File

@@ -0,0 +1,115 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AllocateAddressesRequest : AbstractModel
{
/// <summary>
/// EIP数量。默认值1。
/// </summary>
[JsonProperty("AddressCount")]
public long? AddressCount{ get; set; }
/// <summary>
/// EIP线路类型。默认值BGP。
/// <ul style="margin:0"><li>已开通静态单线IP白名单的用户可选值<ul><li>CMCC中国移动</li>
/// <li>CTCC中国电信</li>
/// <li>CUCC中国联通</li></ul>注意仅部分地域支持静态单线IP。</li></ul>
/// </summary>
[JsonProperty("InternetServiceProvider")]
public string InternetServiceProvider{ get; set; }
/// <summary>
/// EIP计费方式。
/// <ul style="margin:0"><li>已开通带宽上移白名单的用户,可选值:<ul><li>BANDWIDTH_PACKAGE[共享带宽包](https://cloud.tencent.com/document/product/684/15255)付费(需额外开通共享带宽包白名单)</li>
/// <li>BANDWIDTH_POSTPAID_BY_HOUR带宽按小时后付费</li>
/// <li>TRAFFIC_POSTPAID_BY_HOUR流量按小时后付费</li></ul>默认值TRAFFIC_POSTPAID_BY_HOUR。</li>
/// <li>未开通带宽上移白名单的用户EIP计费方式与其绑定的实例的计费方式一致无需传递此参数。</li></ul>
/// </summary>
[JsonProperty("InternetChargeType")]
public string InternetChargeType{ get; set; }
/// <summary>
/// EIP出带宽上限单位Mbps。
/// <ul style="margin:0"><li>已开通带宽上移白名单的用户可选值范围取决于EIP计费方式<ul><li>BANDWIDTH_PACKAGE1 Mbps 至 1000 Mbps</li>
/// <li>BANDWIDTH_POSTPAID_BY_HOUR1 Mbps 至 100 Mbps</li>
/// <li>TRAFFIC_POSTPAID_BY_HOUR1 Mbps 至 100 Mbps</li></ul>默认值1 Mbps。</li>
/// <li>未开通带宽上移白名单的用户EIP出带宽上限取决于与其绑定的实例的公网出带宽上限无需传递此参数。</li></ul>
/// </summary>
[JsonProperty("InternetMaxBandwidthOut")]
public long? InternetMaxBandwidthOut{ get; set; }
/// <summary>
/// EIP类型。默认值EIP。
/// <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户可选值<ul><li>AnycastEIP加速IP可参见 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)</li></ul>注意仅部分地域支持加速IP。</li></ul>
/// </summary>
[JsonProperty("AddressType")]
public string AddressType{ get; set; }
/// <summary>
/// Anycast发布域。
/// <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户可选值<ul><li>ANYCAST_ZONE_GLOBAL全球发布域需要额外开通Anycast全球加速白名单</li><li>ANYCAST_ZONE_OVERSEAS境外发布域</li><li><b>[已废弃]</b> ANYCAST_ZONE_A发布域A已更新为全球发布域</li><li><b>[已废弃]</b> ANYCAST_ZONE_B发布域B已更新为全球发布域</li></ul>默认值ANYCAST_ZONE_OVERSEAS。</li></ul>
/// </summary>
[JsonProperty("AnycastZone")]
public string AnycastZone{ get; set; }
/// <summary>
/// <b>[已废弃]</b> AnycastEIP不再区分是否负载均衡。原参数说明如下
/// AnycastEIP是否用于绑定负载均衡。
/// <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户可选值<ul><li>TRUEAnycastEIP可绑定对象为负载均衡</li>
/// <li>FALSEAnycastEIP可绑定对象为云服务器、NAT网关、高可用虚拟IP等</li></ul>默认值FALSE。</li></ul>
/// </summary>
[JsonProperty("ApplicableForCLB")]
public bool? ApplicableForCLB{ get; set; }
/// <summary>
/// 需要关联的标签列表。
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// BGP带宽包唯一ID参数。设定该参数且InternetChargeType为BANDWIDTH_PACKAGE则表示创建的EIP加入该BGP带宽包并采用带宽包计费
/// </summary>
[JsonProperty("BandwidthPackageId")]
public string BandwidthPackageId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AddressCount", this.AddressCount);
this.SetParamSimple(map, prefix + "InternetServiceProvider", this.InternetServiceProvider);
this.SetParamSimple(map, prefix + "InternetChargeType", this.InternetChargeType);
this.SetParamSimple(map, prefix + "InternetMaxBandwidthOut", this.InternetMaxBandwidthOut);
this.SetParamSimple(map, prefix + "AddressType", this.AddressType);
this.SetParamSimple(map, prefix + "AnycastZone", this.AnycastZone);
this.SetParamSimple(map, prefix + "ApplicableForCLB", this.ApplicableForCLB);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
this.SetParamSimple(map, prefix + "BandwidthPackageId", this.BandwidthPackageId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AllocateAddressesResponse : AbstractModel
{
/// <summary>
/// 申请到的 EIP 的唯一 ID 列表。
/// </summary>
[JsonProperty("AddressSet")]
public string[] AddressSet{ get; set; }
/// <summary>
/// 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
/// </summary>
[JsonProperty("TaskId")]
public string TaskId{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "AddressSet.", this.AddressSet);
this.SetParamSimple(map, prefix + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AllocateIp6AddressesBandwidthRequest : AbstractModel
{
/// <summary>
/// 需要开通公网访问能力的IPV6地址
/// </summary>
[JsonProperty("Ip6Addresses")]
public string[] Ip6Addresses{ get; set; }
/// <summary>
/// 带宽单位Mbps。默认是1Mbps
/// </summary>
[JsonProperty("InternetMaxBandwidthOut")]
public long? InternetMaxBandwidthOut{ get; set; }
/// <summary>
/// 网络计费模式。IPV6当前支持"TRAFFIC_POSTPAID_BY_HOUR",默认是"TRAFFIC_POSTPAID_BY_HOUR"。
/// </summary>
[JsonProperty("InternetChargeType")]
public string InternetChargeType{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "Ip6Addresses.", this.Ip6Addresses);
this.SetParamSimple(map, prefix + "InternetMaxBandwidthOut", this.InternetMaxBandwidthOut);
this.SetParamSimple(map, prefix + "InternetChargeType", this.InternetChargeType);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AllocateIp6AddressesBandwidthResponse : AbstractModel
{
/// <summary>
/// 弹性公网 IPV6 的唯一 ID 列表。
/// </summary>
[JsonProperty("AddressSet")]
public string[] AddressSet{ get; set; }
/// <summary>
/// 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
/// </summary>
[JsonProperty("TaskId")]
public string TaskId{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "AddressSet.", this.AddressSet);
this.SetParamSimple(map, prefix + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssignIpv6AddressesRequest : AbstractModel
{
/// <summary>
/// 弹性网卡实例`ID`,形如:`eni-m6dyj72l`。
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// 指定的`IPv6`地址列表单次最多指定10个。与入参`Ipv6AddressCount`合并计算配额。与Ipv6AddressCount必填一个。
/// </summary>
[JsonProperty("Ipv6Addresses")]
public Ipv6Address[] Ipv6Addresses{ get; set; }
/// <summary>
/// 自动分配`IPv6`地址个数内网IP地址个数总和不能超过配数。与入参`Ipv6Addresses`合并计算配额。与Ipv6Addresses必填一个。
/// </summary>
[JsonProperty("Ipv6AddressCount")]
public ulong? Ipv6AddressCount{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "NetworkInterfaceId", this.NetworkInterfaceId);
this.SetParamArrayObj(map, prefix + "Ipv6Addresses.", this.Ipv6Addresses);
this.SetParamSimple(map, prefix + "Ipv6AddressCount", this.Ipv6AddressCount);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssignIpv6AddressesResponse : AbstractModel
{
/// <summary>
/// 分配给弹性网卡的`IPv6`地址列表。
/// </summary>
[JsonProperty("Ipv6AddressSet")]
public Ipv6Address[] Ipv6AddressSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "Ipv6AddressSet.", this.Ipv6AddressSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssignIpv6CidrBlockRequest : AbstractModel
{
/// <summary>
/// `VPC`实例`ID`,形如:`vpc-f49l6u0z`。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssignIpv6CidrBlockResponse : AbstractModel
{
/// <summary>
/// 分配的 `IPv6` 网段。形如:`3402:4e00:20:1000::/56`
/// </summary>
[JsonProperty("Ipv6CidrBlock")]
public string Ipv6CidrBlock{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Ipv6CidrBlock", this.Ipv6CidrBlock);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssignIpv6SubnetCidrBlockRequest : AbstractModel
{
/// <summary>
/// 子网所在私有网络`ID`。形如:`vpc-f49l6u0z`。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 分配 `IPv6` 子网段列表。
/// </summary>
[JsonProperty("Ipv6SubnetCidrBlocks")]
public Ipv6SubnetCidrBlock[] Ipv6SubnetCidrBlocks{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamArrayObj(map, prefix + "Ipv6SubnetCidrBlocks.", this.Ipv6SubnetCidrBlocks);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssignIpv6SubnetCidrBlockResponse : AbstractModel
{
/// <summary>
/// 分配 `IPv6` 子网段列表。
/// </summary>
[JsonProperty("Ipv6SubnetCidrBlockSet")]
public Ipv6SubnetCidrBlock[] Ipv6SubnetCidrBlockSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "Ipv6SubnetCidrBlockSet.", this.Ipv6SubnetCidrBlockSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssignPrivateIpAddressesRequest : AbstractModel
{
/// <summary>
/// 弹性网卡实例ID例如eni-m6dyj72l。
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// 指定的内网IP信息单次最多指定10个。与SecondaryPrivateIpAddressCount至少提供一个。
/// </summary>
[JsonProperty("PrivateIpAddresses")]
public PrivateIpAddressSpecification[] PrivateIpAddresses{ get; set; }
/// <summary>
/// 新申请的内网IP地址个数与PrivateIpAddresses至少提供一个。内网IP地址个数总和不能超过配额数详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
/// </summary>
[JsonProperty("SecondaryPrivateIpAddressCount")]
public ulong? SecondaryPrivateIpAddressCount{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "NetworkInterfaceId", this.NetworkInterfaceId);
this.SetParamArrayObj(map, prefix + "PrivateIpAddresses.", this.PrivateIpAddresses);
this.SetParamSimple(map, prefix + "SecondaryPrivateIpAddressCount", this.SecondaryPrivateIpAddressCount);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssignPrivateIpAddressesResponse : AbstractModel
{
/// <summary>
/// 内网IP详细信息。
/// </summary>
[JsonProperty("PrivateIpAddressSet")]
public PrivateIpAddressSpecification[] PrivateIpAddressSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "PrivateIpAddressSet.", this.PrivateIpAddressSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssistantCidr : AbstractModel
{
/// <summary>
/// `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 辅助CIDR。形如`172.16.0.0/16`
/// </summary>
[JsonProperty("CidrBlock")]
public string CidrBlock{ get; set; }
/// <summary>
/// 辅助CIDR类型0普通辅助CIDR1容器辅助CIDR默认都是0。
/// </summary>
[JsonProperty("AssistantType")]
public long? AssistantType{ get; set; }
/// <summary>
/// 辅助CIDR拆分的子网。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetSet")]
public Subnet[] SubnetSet{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "CidrBlock", this.CidrBlock);
this.SetParamSimple(map, prefix + "AssistantType", this.AssistantType);
this.SetParamArrayObj(map, prefix + "SubnetSet.", this.SubnetSet);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateAddressRequest : AbstractModel
{
/// <summary>
/// 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。
/// </summary>
[JsonProperty("AddressId")]
public string AddressId{ get; set; }
/// <summary>
/// 要绑定的实例 ID。实例 ID 形如:`ins-11112222`。可通过登录[控制台](https://console.cloud.tencent.com/cvm)查询,也可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:`eni-11112222`。`NetworkInterfaceId` 与 `InstanceId` 不可同时指定。弹性网卡 ID 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的`networkInterfaceId`获取。
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// 要绑定的内网 IP。如果指定了 `NetworkInterfaceId` 则也必须指定 `PrivateIpAddress` ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 `PrivateIpAddress` 是指定的 `NetworkInterfaceId` 上的一个内网 IP。指定弹性网卡的内网 IP 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的`privateIpAddress`获取。
/// </summary>
[JsonProperty("PrivateIpAddress")]
public string PrivateIpAddress{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AddressId", this.AddressId);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "NetworkInterfaceId", this.NetworkInterfaceId);
this.SetParamSimple(map, prefix + "PrivateIpAddress", this.PrivateIpAddress);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateAddressResponse : AbstractModel
{
/// <summary>
/// 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
/// </summary>
[JsonProperty("TaskId")]
public string TaskId{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateNatGatewayAddressRequest : AbstractModel
{
/// <summary>
/// NAT网关的ID形如`nat-df45454`。
/// </summary>
[JsonProperty("NatGatewayId")]
public string NatGatewayId{ get; set; }
/// <summary>
/// 需要申请的弹性IP个数系统会按您的要求生产N个弹性IP, 其中AddressCount和PublicAddresses至少传递一个。
/// </summary>
[JsonProperty("AddressCount")]
public ulong? AddressCount{ get; set; }
/// <summary>
/// 绑定NAT网关的弹性IP数组其中AddressCount和PublicAddresses至少传递一个。。
/// </summary>
[JsonProperty("PublicIpAddresses")]
public string[] PublicIpAddresses{ get; set; }
/// <summary>
/// 弹性IP可以区自动分配弹性IP时传递。
/// </summary>
[JsonProperty("Zone")]
public string Zone{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "NatGatewayId", this.NatGatewayId);
this.SetParamSimple(map, prefix + "AddressCount", this.AddressCount);
this.SetParamArraySimple(map, prefix + "PublicIpAddresses.", this.PublicIpAddresses);
this.SetParamSimple(map, prefix + "Zone", this.Zone);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateNatGatewayAddressResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateNetworkAclSubnetsRequest : AbstractModel
{
/// <summary>
/// 网络ACL实例ID。例如acl-12345678。
/// </summary>
[JsonProperty("NetworkAclId")]
public string NetworkAclId{ get; set; }
/// <summary>
/// 子网实例ID数组。例如[subnet-12345678]
/// </summary>
[JsonProperty("SubnetIds")]
public string[] SubnetIds{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "NetworkAclId", this.NetworkAclId);
this.SetParamArraySimple(map, prefix + "SubnetIds.", this.SubnetIds);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateNetworkAclSubnetsResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateNetworkInterfaceSecurityGroupsRequest : AbstractModel
{
/// <summary>
/// 弹性网卡实例ID。形如eni-pxir56ns。每次请求的实例的上限为100。
/// </summary>
[JsonProperty("NetworkInterfaceIds")]
public string[] NetworkInterfaceIds{ get; set; }
/// <summary>
/// 安全组实例ID例如sg-33ocnj9n可通过DescribeSecurityGroups获取。每次请求的实例的上限为100。
/// </summary>
[JsonProperty("SecurityGroupIds")]
public string[] SecurityGroupIds{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "NetworkInterfaceIds.", this.NetworkInterfaceIds);
this.SetParamArraySimple(map, prefix + "SecurityGroupIds.", this.SecurityGroupIds);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateNetworkInterfaceSecurityGroupsResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AttachCcnInstancesRequest : AbstractModel
{
/// <summary>
/// CCN实例ID。形如ccn-f49l6u0z。
/// </summary>
[JsonProperty("CcnId")]
public string CcnId{ get; set; }
/// <summary>
/// 关联网络实例列表
/// </summary>
[JsonProperty("Instances")]
public CcnInstance[] Instances{ get; set; }
/// <summary>
/// CCN所属UIN根账号默认当前账号所属UIN
/// </summary>
[JsonProperty("CcnUin")]
public string CcnUin{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "CcnId", this.CcnId);
this.SetParamArrayObj(map, prefix + "Instances.", this.Instances);
this.SetParamSimple(map, prefix + "CcnUin", this.CcnUin);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AttachCcnInstancesResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AttachClassicLinkVpcRequest : AbstractModel
{
/// <summary>
/// VPC实例ID
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// CVM实例ID
/// </summary>
[JsonProperty("InstanceIds")]
public string[] InstanceIds{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AttachClassicLinkVpcResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AttachNetworkInterfaceRequest : AbstractModel
{
/// <summary>
/// 弹性网卡实例ID例如eni-m6dyj72l。
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// CVM实例ID。形如ins-r8hr2upy。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "NetworkInterfaceId", this.NetworkInterfaceId);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AttachNetworkInterfaceResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,92 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BandwidthPackage : AbstractModel
{
/// <summary>
/// 带宽包唯一标识Id
/// </summary>
[JsonProperty("BandwidthPackageId")]
public string BandwidthPackageId{ get; set; }
/// <summary>
/// 带宽包类型,包括'BGP','SINGLEISP','ANYCAST'
/// </summary>
[JsonProperty("NetworkType")]
public string NetworkType{ get; set; }
/// <summary>
/// 带宽包计费类型,包括'TOP5_POSTPAID_BY_MONTH'和'PERCENT95_POSTPAID_BY_MONTH'
/// </summary>
[JsonProperty("ChargeType")]
public string ChargeType{ get; set; }
/// <summary>
/// 带宽包名称
/// </summary>
[JsonProperty("BandwidthPackageName")]
public string BandwidthPackageName{ get; set; }
/// <summary>
/// 带宽包创建时间。按照`ISO8601`标准表示,并且使用`UTC`时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// 带宽包状态,包括'CREATING','CREATED','DELETING','DELETED'
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 带宽包资源信息
/// </summary>
[JsonProperty("ResourceSet")]
public Resource[] ResourceSet{ get; set; }
/// <summary>
/// 带宽包限速大小。单位Mbps-1表示不限速。
/// </summary>
[JsonProperty("Bandwidth")]
public long? Bandwidth{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "BandwidthPackageId", this.BandwidthPackageId);
this.SetParamSimple(map, prefix + "NetworkType", this.NetworkType);
this.SetParamSimple(map, prefix + "ChargeType", this.ChargeType);
this.SetParamSimple(map, prefix + "BandwidthPackageName", this.BandwidthPackageName);
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamArrayObj(map, prefix + "ResourceSet.", this.ResourceSet);
this.SetParamSimple(map, prefix + "Bandwidth", this.Bandwidth);
}
}
}

View File

@@ -0,0 +1,108 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CCN : AbstractModel
{
/// <summary>
/// 云联网唯一ID
/// </summary>
[JsonProperty("CcnId")]
public string CcnId{ get; set; }
/// <summary>
/// 云联网名称
/// </summary>
[JsonProperty("CcnName")]
public string CcnName{ get; set; }
/// <summary>
/// 云联网描述信息
/// </summary>
[JsonProperty("CcnDescription")]
public string CcnDescription{ get; set; }
/// <summary>
/// 关联实例数量
/// </summary>
[JsonProperty("InstanceCount")]
public ulong? InstanceCount{ get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 实例状态, 'ISOLATED': 隔离中(欠费停服),'AVAILABLE':运行中。
/// </summary>
[JsonProperty("State")]
public string State{ get; set; }
/// <summary>
/// 实例服务质量PT白金'AU':金,'AG':银。
/// </summary>
[JsonProperty("QosLevel")]
public string QosLevel{ get; set; }
/// <summary>
/// 付费类型PREPAID为预付费POSTPAID为后付费。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceChargeType")]
public string InstanceChargeType{ get; set; }
/// <summary>
/// 限速类型INTER_REGION_LIMIT为地域间限速OUTER_REGION_LIMIT为地域出口限速。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("BandwidthLimitType")]
public string BandwidthLimitType{ get; set; }
/// <summary>
/// 标签键值对。
/// </summary>
[JsonProperty("TagSet")]
public Tag[] TagSet{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "CcnId", this.CcnId);
this.SetParamSimple(map, prefix + "CcnName", this.CcnName);
this.SetParamSimple(map, prefix + "CcnDescription", this.CcnDescription);
this.SetParamSimple(map, prefix + "InstanceCount", this.InstanceCount);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "State", this.State);
this.SetParamSimple(map, prefix + "QosLevel", this.QosLevel);
this.SetParamSimple(map, prefix + "InstanceChargeType", this.InstanceChargeType);
this.SetParamSimple(map, prefix + "BandwidthLimitType", this.BandwidthLimitType);
this.SetParamArrayObj(map, prefix + "TagSet.", this.TagSet);
}
}
}

View File

@@ -0,0 +1,118 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CcnAttachedInstance : AbstractModel
{
/// <summary>
/// 云联网实例ID。
/// </summary>
[JsonProperty("CcnId")]
public string CcnId{ get; set; }
/// <summary>
/// 关联实例类型:
/// <li>`VPC`:私有网络</li>
/// <li>`DIRECTCONNECT`:专线网关</li>
/// <li>`BMVPC`:黑石私有网络</li>
/// </summary>
[JsonProperty("InstanceType")]
public string InstanceType{ get; set; }
/// <summary>
/// 关联实例ID。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 关联实例名称。
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 关联实例所属大区例如ap-guangzhou。
/// </summary>
[JsonProperty("InstanceRegion")]
public string InstanceRegion{ get; set; }
/// <summary>
/// 关联实例所属UIN根账号
/// </summary>
[JsonProperty("InstanceUin")]
public string InstanceUin{ get; set; }
/// <summary>
/// 关联实例CIDR。
/// </summary>
[JsonProperty("CidrBlock")]
public string[] CidrBlock{ get; set; }
/// <summary>
/// 关联实例状态:
/// <li>`PENDING`:申请中</li>
/// <li>`ACTIVE`:已连接</li>
/// <li>`EXPIRED`:已过期</li>
/// <li>`REJECTED`:已拒绝</li>
/// <li>`DELETED`:已删除</li>
/// <li>`FAILED`失败的2小时后将异步强制解关联</li>
/// <li>`ATTACHING`:关联中</li>
/// <li>`DETACHING`:解关联中</li>
/// <li>`DETACHFAILED`解关联失败2小时后将异步强制解关联</li>
/// </summary>
[JsonProperty("State")]
public string State{ get; set; }
/// <summary>
/// 关联时间。
/// </summary>
[JsonProperty("AttachedTime")]
public string AttachedTime{ get; set; }
/// <summary>
/// 云联网所属UIN根账号
/// </summary>
[JsonProperty("CcnUin")]
public string CcnUin{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "CcnId", this.CcnId);
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "InstanceRegion", this.InstanceRegion);
this.SetParamSimple(map, prefix + "InstanceUin", this.InstanceUin);
this.SetParamArraySimple(map, prefix + "CidrBlock.", this.CidrBlock);
this.SetParamSimple(map, prefix + "State", this.State);
this.SetParamSimple(map, prefix + "AttachedTime", this.AttachedTime);
this.SetParamSimple(map, prefix + "CcnUin", this.CcnUin);
}
}
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CcnInstance : AbstractModel
{
/// <summary>
/// 关联实例ID。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 关联实例ID所属大区例如ap-guangzhou。
/// </summary>
[JsonProperty("InstanceRegion")]
public string InstanceRegion{ get; set; }
/// <summary>
/// 关联实例类型,可选值:
/// <li>`VPC`:私有网络</li>
/// <li>`DIRECTCONNECT`:专线网关</li>
/// <li>`BMVPC`:黑石私有网络</li>
/// </summary>
[JsonProperty("InstanceType")]
public string InstanceType{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "InstanceRegion", this.InstanceRegion);
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
}
}
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CcnRegionBandwidthLimit : AbstractModel
{
/// <summary>
/// 地域例如ap-guangzhou
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// 出带宽上限单位Mbps
/// </summary>
[JsonProperty("BandwidthLimit")]
public ulong? BandwidthLimit{ get; set; }
/// <summary>
/// 是否黑石地域,默认`false`。
/// </summary>
[JsonProperty("IsBm")]
public bool? IsBm{ get; set; }
/// <summary>
/// 目的地域例如ap-shanghai
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DstRegion")]
public string DstRegion{ get; set; }
/// <summary>
/// 目的地域是否为黑石地域,默认`false`。
/// </summary>
[JsonProperty("DstIsBm")]
public bool? DstIsBm{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Region", this.Region);
this.SetParamSimple(map, prefix + "BandwidthLimit", this.BandwidthLimit);
this.SetParamSimple(map, prefix + "IsBm", this.IsBm);
this.SetParamSimple(map, prefix + "DstRegion", this.DstRegion);
this.SetParamSimple(map, prefix + "DstIsBm", this.DstIsBm);
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CcnRoute : AbstractModel
{
/// <summary>
/// 路由策略ID
/// </summary>
[JsonProperty("RouteId")]
public string RouteId{ get; set; }
/// <summary>
/// 目的端
/// </summary>
[JsonProperty("DestinationCidrBlock")]
public string DestinationCidrBlock{ get; set; }
/// <summary>
/// 下一跳类型关联实例类型所有类型VPC、DIRECTCONNECT
/// </summary>
[JsonProperty("InstanceType")]
public string InstanceType{ get; set; }
/// <summary>
/// 下一跳(关联实例)
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 下一跳名称(关联实例名称)
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 下一跳所属地域(关联实例所属地域)
/// </summary>
[JsonProperty("InstanceRegion")]
public string InstanceRegion{ get; set; }
/// <summary>
/// 更新时间
/// </summary>
[JsonProperty("UpdateTime")]
public string UpdateTime{ get; set; }
/// <summary>
/// 路由是否启用
/// </summary>
[JsonProperty("Enabled")]
public bool? Enabled{ get; set; }
/// <summary>
/// 关联实例所属UIN根账号
/// </summary>
[JsonProperty("InstanceUin")]
public string InstanceUin{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RouteId", this.RouteId);
this.SetParamSimple(map, prefix + "DestinationCidrBlock", this.DestinationCidrBlock);
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "InstanceRegion", this.InstanceRegion);
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.SetParamSimple(map, prefix + "Enabled", this.Enabled);
this.SetParamSimple(map, prefix + "InstanceUin", this.InstanceUin);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CheckAssistantCidrRequest : AbstractModel
{
/// <summary>
/// `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 待添加的负载CIDR。CIDR数组格式如["10.0.0.0/16", "172.16.0.0/16"]
/// </summary>
[JsonProperty("NewCidrBlocks")]
public string[] NewCidrBlocks{ get; set; }
/// <summary>
/// 待删除的负载CIDR。CIDR数组格式如["10.0.0.0/16", "172.16.0.0/16"]
/// </summary>
[JsonProperty("OldCidrBlocks")]
public string[] OldCidrBlocks{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamArraySimple(map, prefix + "NewCidrBlocks.", this.NewCidrBlocks);
this.SetParamArraySimple(map, prefix + "OldCidrBlocks.", this.OldCidrBlocks);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CheckAssistantCidrResponse : AbstractModel
{
/// <summary>
/// 冲突资源信息数组。
/// </summary>
[JsonProperty("ConflictSourceSet")]
public ConflictSource[] ConflictSourceSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "ConflictSourceSet.", this.ConflictSourceSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CheckDefaultSubnetRequest : AbstractModel
{
/// <summary>
/// 子网所在的可用区ID不同子网选择不同可用区可以做跨可用区灾备。
/// </summary>
[JsonProperty("Zone")]
public string Zone{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Zone", this.Zone);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CheckDefaultSubnetResponse : AbstractModel
{
/// <summary>
/// 检查结果。true为可以创建默认子网false为不可以创建默认子网。
/// </summary>
[JsonProperty("Result")]
public bool? Result{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CheckNetDetectStateRequest : AbstractModel
{
/// <summary>
/// 探测目的IPv4地址数组最多两个。
/// </summary>
[JsonProperty("DetectDestinationIp")]
public string[] DetectDestinationIp{ get; set; }
/// <summary>
/// 下一跳类型,目前我们支持的类型有:
/// VPNVPN网关
/// DIRECTCONNECT专线网关
/// PEERCONNECTION对等连接
/// NATNAT网关
/// NORMAL_CVM普通云服务器
/// </summary>
[JsonProperty("NextHopType")]
public string NextHopType{ get; set; }
/// <summary>
/// 下一跳目的网关,取值与“下一跳类型”相关:
/// 下一跳类型为VPN取值VPN网关ID形如vpngw-12345678
/// 下一跳类型为DIRECTCONNECT取值专线网关ID形如dcg-12345678
/// 下一跳类型为PEERCONNECTION取值对等连接ID形如pcx-12345678
/// 下一跳类型为NAT取值Nat网关形如nat-12345678
/// 下一跳类型为NORMAL_CVM取值云服务器IPv4地址形如10.0.0.12
/// </summary>
[JsonProperty("NextHopDestination")]
public string NextHopDestination{ get; set; }
/// <summary>
/// 网络探测实例ID。形如netd-12345678。该参数与VpcIdSubnetIdNetDetectName至少要有一个。当NetDetectId存在时使用NetDetectId。
/// </summary>
[JsonProperty("NetDetectId")]
public string NetDetectId{ get; set; }
/// <summary>
/// `VPC`实例`ID`。形如:`vpc-12345678`。该参数与SubnetIdNetDetectName配合使用与NetDetectId至少要有一个。当NetDetectId存在时使用NetDetectId。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 子网实例ID。形如subnet-12345678。该参数与VpcIdNetDetectName配合使用与NetDetectId至少要有一个。当NetDetectId存在时使用NetDetectId。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 网络探测名称最大长度不能超过60个字节。该参数与VpcIdSubnetId配合使用与NetDetectId至少要有一个。当NetDetectId存在时使用NetDetectId。
/// </summary>
[JsonProperty("NetDetectName")]
public string NetDetectName{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "DetectDestinationIp.", this.DetectDestinationIp);
this.SetParamSimple(map, prefix + "NextHopType", this.NextHopType);
this.SetParamSimple(map, prefix + "NextHopDestination", this.NextHopDestination);
this.SetParamSimple(map, prefix + "NetDetectId", this.NetDetectId);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "NetDetectName", this.NetDetectName);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CheckNetDetectStateResponse : AbstractModel
{
/// <summary>
/// 网络探测验证结果对象数组。
/// </summary>
[JsonProperty("NetDetectIpStateSet")]
public NetDetectIpState[] NetDetectIpStateSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "NetDetectIpStateSet.", this.NetDetectIpStateSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ClassicLinkInstance : AbstractModel
{
/// <summary>
/// VPC实例ID
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 云服务器实例唯一ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ConflictItem : AbstractModel
{
/// <summary>
/// 冲突资源的ID
/// </summary>
[JsonProperty("ConfilctId")]
public string ConfilctId{ get; set; }
/// <summary>
/// 冲突目的资源
/// </summary>
[JsonProperty("DestinationItem")]
public string DestinationItem{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ConfilctId", this.ConfilctId);
this.SetParamSimple(map, prefix + "DestinationItem", this.DestinationItem);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ConflictSource : AbstractModel
{
/// <summary>
/// 冲突资源ID
/// </summary>
[JsonProperty("ConflictSourceId")]
public string ConflictSourceId{ get; set; }
/// <summary>
/// 冲突资源
/// </summary>
[JsonProperty("SourceItem")]
public string SourceItem{ get; set; }
/// <summary>
/// 冲突资源条目信息
/// </summary>
[JsonProperty("ConflictItemSet")]
public ConflictItem[] ConflictItemSet{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ConflictSourceId", this.ConflictSourceId);
this.SetParamSimple(map, prefix + "SourceItem", this.SourceItem);
this.SetParamArrayObj(map, prefix + "ConflictItemSet.", this.ConflictItemSet);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAddressTemplateGroupRequest : AbstractModel
{
/// <summary>
/// IP地址模版集合名称。
/// </summary>
[JsonProperty("AddressTemplateGroupName")]
public string AddressTemplateGroupName{ get; set; }
/// <summary>
/// IP地址模版实例ID例如ipm-mdunqeb6。
/// </summary>
[JsonProperty("AddressTemplateIds")]
public string[] AddressTemplateIds{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AddressTemplateGroupName", this.AddressTemplateGroupName);
this.SetParamArraySimple(map, prefix + "AddressTemplateIds.", this.AddressTemplateIds);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAddressTemplateGroupResponse : AbstractModel
{
/// <summary>
/// IP地址模板集合对象。
/// </summary>
[JsonProperty("AddressTemplateGroup")]
public AddressTemplateGroup AddressTemplateGroup{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "AddressTemplateGroup.", this.AddressTemplateGroup);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAddressTemplateRequest : AbstractModel
{
/// <summary>
/// IP地址模版名称
/// </summary>
[JsonProperty("AddressTemplateName")]
public string AddressTemplateName{ get; set; }
/// <summary>
/// 地址信息,支持 IP、CIDR、IP 范围。
/// </summary>
[JsonProperty("Addresses")]
public string[] Addresses{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AddressTemplateName", this.AddressTemplateName);
this.SetParamArraySimple(map, prefix + "Addresses.", this.Addresses);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAddressTemplateResponse : AbstractModel
{
/// <summary>
/// IP地址模板对象。
/// </summary>
[JsonProperty("AddressTemplate")]
public AddressTemplate AddressTemplate{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "AddressTemplate.", this.AddressTemplate);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAndAttachNetworkInterfaceRequest : AbstractModel
{
/// <summary>
/// VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 弹性网卡名称最大长度不能超过60个字节。
/// </summary>
[JsonProperty("NetworkInterfaceName")]
public string NetworkInterfaceName{ get; set; }
/// <summary>
/// 弹性网卡所在的子网实例ID例如subnet-0ap8nwca。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 云主机实例ID。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 指定的内网IP信息单次最多指定10个。
/// </summary>
[JsonProperty("PrivateIpAddresses")]
public PrivateIpAddressSpecification[] PrivateIpAddresses{ get; set; }
/// <summary>
/// 新申请的内网IP地址个数内网IP地址个数总和不能超过配数。
/// </summary>
[JsonProperty("SecondaryPrivateIpAddressCount")]
public ulong? SecondaryPrivateIpAddressCount{ get; set; }
/// <summary>
/// 指定绑定的安全组,例如:['sg-1dd51d']。
/// </summary>
[JsonProperty("SecurityGroupIds")]
public string[] SecurityGroupIds{ get; set; }
/// <summary>
/// 弹性网卡描述可任意命名但不得超过60个字符。
/// </summary>
[JsonProperty("NetworkInterfaceDescription")]
public string NetworkInterfaceDescription{ get; set; }
/// <summary>
/// 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "NetworkInterfaceName", this.NetworkInterfaceName);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamArrayObj(map, prefix + "PrivateIpAddresses.", this.PrivateIpAddresses);
this.SetParamSimple(map, prefix + "SecondaryPrivateIpAddressCount", this.SecondaryPrivateIpAddressCount);
this.SetParamArraySimple(map, prefix + "SecurityGroupIds.", this.SecurityGroupIds);
this.SetParamSimple(map, prefix + "NetworkInterfaceDescription", this.NetworkInterfaceDescription);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAndAttachNetworkInterfaceResponse : AbstractModel
{
/// <summary>
/// 弹性网卡实例。
/// </summary>
[JsonProperty("NetworkInterface")]
public NetworkInterface NetworkInterface{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "NetworkInterface.", this.NetworkInterface);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAssistantCidrRequest : AbstractModel
{
/// <summary>
/// `VPC`实例`ID`。形如:`vpc-6v2ht8q5`
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// CIDR数组格式如["10.0.0.0/16", "172.16.0.0/16"]
/// </summary>
[JsonProperty("CidrBlocks")]
public string[] CidrBlocks{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamArraySimple(map, prefix + "CidrBlocks.", this.CidrBlocks);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAssistantCidrResponse : AbstractModel
{
/// <summary>
/// 辅助CIDR数组。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("AssistantCidrSet")]
public AssistantCidr[] AssistantCidrSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "AssistantCidrSet.", this.AssistantCidrSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,85 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateBandwidthPackageRequest : AbstractModel
{
/// <summary>
/// 带宽包类型,包括'BGP''SINGLEISP''ANYCAST'
/// </summary>
[JsonProperty("NetworkType")]
public string NetworkType{ get; set; }
/// <summary>
/// 带宽包计费类型包括TOP5_POSTPAID_BY_MONTHPERCENT95_POSTPAID_BY_MONTH
/// </summary>
[JsonProperty("ChargeType")]
public string ChargeType{ get; set; }
/// <summary>
/// 带宽包名字
/// </summary>
[JsonProperty("BandwidthPackageName")]
public string BandwidthPackageName{ get; set; }
/// <summary>
/// 带宽包数量(非上移账户只能填1)
/// </summary>
[JsonProperty("BandwidthPackageCount")]
public ulong? BandwidthPackageCount{ get; set; }
/// <summary>
/// 带宽包限速大小。单位Mbps-1表示不限速。
/// </summary>
[JsonProperty("InternetMaxBandwidth")]
public long? InternetMaxBandwidth{ get; set; }
/// <summary>
/// 需要关联的标签列表。
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// 带宽包协议类型。当前支持'ipv4'和'ipv6'协议带宽包,默认值是'ipv4'。
/// </summary>
[JsonProperty("Protocol")]
public string Protocol{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "NetworkType", this.NetworkType);
this.SetParamSimple(map, prefix + "ChargeType", this.ChargeType);
this.SetParamSimple(map, prefix + "BandwidthPackageName", this.BandwidthPackageName);
this.SetParamSimple(map, prefix + "BandwidthPackageCount", this.BandwidthPackageCount);
this.SetParamSimple(map, prefix + "InternetMaxBandwidth", this.InternetMaxBandwidth);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
this.SetParamSimple(map, prefix + "Protocol", this.Protocol);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateBandwidthPackageResponse : AbstractModel
{
/// <summary>
/// 带宽包唯一ID
/// </summary>
[JsonProperty("BandwidthPackageId")]
public string BandwidthPackageId{ get; set; }
/// <summary>
/// 带宽包唯一ID列表(申请数量大于1时有效)
/// </summary>
[JsonProperty("BandwidthPackageIds")]
public string[] BandwidthPackageIds{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "BandwidthPackageId", this.BandwidthPackageId);
this.SetParamArraySimple(map, prefix + "BandwidthPackageIds.", this.BandwidthPackageIds);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,78 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateCcnRequest : AbstractModel
{
/// <summary>
/// CCN名称最大长度不能超过60个字节。
/// </summary>
[JsonProperty("CcnName")]
public string CcnName{ get; set; }
/// <summary>
/// CCN描述信息最大长度不能超过100个字节。
/// </summary>
[JsonProperty("CcnDescription")]
public string CcnDescription{ get; set; }
/// <summary>
/// CCN服务质量'PT':白金,'AU':金,'AG'默认为AU
/// </summary>
[JsonProperty("QosLevel")]
public string QosLevel{ get; set; }
/// <summary>
/// 计费模式PREPAID表示预付费即包年包月POSTPAID表示后付费即按量计费。默认POSTPAID。
/// </summary>
[JsonProperty("InstanceChargeType")]
public string InstanceChargeType{ get; set; }
/// <summary>
/// 限速类型OUTER_REGION_LIMIT表示地域出口限速INTER_REGION_LIMIT为地域间限速默认为OUTER_REGION_LIMIT
/// </summary>
[JsonProperty("BandwidthLimitType")]
public string BandwidthLimitType{ get; set; }
/// <summary>
/// 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "CcnName", this.CcnName);
this.SetParamSimple(map, prefix + "CcnDescription", this.CcnDescription);
this.SetParamSimple(map, prefix + "QosLevel", this.QosLevel);
this.SetParamSimple(map, prefix + "InstanceChargeType", this.InstanceChargeType);
this.SetParamSimple(map, prefix + "BandwidthLimitType", this.BandwidthLimitType);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateCcnResponse : AbstractModel
{
/// <summary>
/// 云联网CCN对象。
/// </summary>
[JsonProperty("Ccn")]
public CCN Ccn{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "Ccn.", this.Ccn);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateCustomerGatewayRequest : AbstractModel
{
/// <summary>
/// 对端网关名称可任意命名但不得超过60个字符。
/// </summary>
[JsonProperty("CustomerGatewayName")]
public string CustomerGatewayName{ get; set; }
/// <summary>
/// 对端网关公网IP。
/// </summary>
[JsonProperty("IpAddress")]
public string IpAddress{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "CustomerGatewayName", this.CustomerGatewayName);
this.SetParamSimple(map, prefix + "IpAddress", this.IpAddress);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateCustomerGatewayResponse : AbstractModel
{
/// <summary>
/// 对端网关对象
/// </summary>
[JsonProperty("CustomerGateway")]
public CustomerGateway CustomerGateway{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "CustomerGateway.", this.CustomerGateway);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateDefaultSecurityGroupRequest : AbstractModel
{
/// <summary>
/// 项目ID默认0。可在qcloud控制台项目管理页面查询到。
/// </summary>
[JsonProperty("ProjectId")]
public string ProjectId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateDefaultSecurityGroupResponse : AbstractModel
{
/// <summary>
/// 安全组对象。
/// </summary>
[JsonProperty("SecurityGroup")]
public SecurityGroup SecurityGroup{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "SecurityGroup.", this.SecurityGroup);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateDefaultVpcRequest : AbstractModel
{
/// <summary>
/// 子网所在的可用区ID不指定将随机选择可用区
/// </summary>
[JsonProperty("Zone")]
public string Zone{ get; set; }
/// <summary>
/// 是否强制返回默认VPC
/// </summary>
[JsonProperty("Force")]
public bool? Force{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Zone", this.Zone);
this.SetParamSimple(map, prefix + "Force", this.Force);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateDefaultVpcResponse : AbstractModel
{
/// <summary>
/// 默认VPC和子网ID
/// </summary>
[JsonProperty("Vpc")]
public DefaultVpcSubnet Vpc{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "Vpc.", this.Vpc);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateDirectConnectGatewayCcnRoutesRequest : AbstractModel
{
/// <summary>
/// 专线网关ID形如dcg-prpqlmg1
/// </summary>
[JsonProperty("DirectConnectGatewayId")]
public string DirectConnectGatewayId{ get; set; }
/// <summary>
/// 需要连通的IDC网段列表
/// </summary>
[JsonProperty("Routes")]
public DirectConnectGatewayCcnRoute[] Routes{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "DirectConnectGatewayId", this.DirectConnectGatewayId);
this.SetParamArrayObj(map, prefix + "Routes.", this.Routes);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateDirectConnectGatewayCcnRoutesResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,69 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateDirectConnectGatewayRequest : AbstractModel
{
/// <summary>
/// 专线网关名称
/// </summary>
[JsonProperty("DirectConnectGatewayName")]
public string DirectConnectGatewayName{ get; set; }
/// <summary>
/// 关联网络类型,可选值:
/// <li>VPC - 私有网络</li>
/// <li>CCN - 云联网</li>
/// </summary>
[JsonProperty("NetworkType")]
public string NetworkType{ get; set; }
/// <summary>
/// <li>NetworkType 为 VPC 时这里传值为私有网络实例ID</li>
/// <li>NetworkType 为 CCN 时这里传值为云联网实例ID</li>
/// </summary>
[JsonProperty("NetworkInstanceId")]
public string NetworkInstanceId{ get; set; }
/// <summary>
/// 网关类型,可选值:
/// <li>NORMAL - (默认)标准型,注:云联网只支持标准型</li>
/// <li>NAT - NAT型</li>NAT类型支持网络地址转换配置类型确定后不能修改一个私有网络可以创建一个NAT类型的专线网关和一个非NAT类型的专线网关
/// </summary>
[JsonProperty("GatewayType")]
public string GatewayType{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "DirectConnectGatewayName", this.DirectConnectGatewayName);
this.SetParamSimple(map, prefix + "NetworkType", this.NetworkType);
this.SetParamSimple(map, prefix + "NetworkInstanceId", this.NetworkInstanceId);
this.SetParamSimple(map, prefix + "GatewayType", this.GatewayType);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateDirectConnectGatewayResponse : AbstractModel
{
/// <summary>
/// 专线网关对象。
/// </summary>
[JsonProperty("DirectConnectGateway")]
public DirectConnectGateway DirectConnectGateway{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "DirectConnectGateway.", this.DirectConnectGateway);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,85 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateFlowLogRequest : AbstractModel
{
/// <summary>
/// 私用网络ID或者统一ID建议使用统一ID
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 流日志实例名字
/// </summary>
[JsonProperty("FlowLogName")]
public string FlowLogName{ get; set; }
/// <summary>
/// 流日志所属资源类型VPC|SUBNET|NETWORKINTERFACE
/// </summary>
[JsonProperty("ResourceType")]
public string ResourceType{ get; set; }
/// <summary>
/// 资源唯一ID
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// 流日志采集类型ACCEPT|REJECT|ALL
/// </summary>
[JsonProperty("TrafficType")]
public string TrafficType{ get; set; }
/// <summary>
/// 流日志存储ID
/// </summary>
[JsonProperty("CloudLogId")]
public string CloudLogId{ get; set; }
/// <summary>
/// 流日志实例描述
/// </summary>
[JsonProperty("FlowLogDescription")]
public string FlowLogDescription{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "FlowLogName", this.FlowLogName);
this.SetParamSimple(map, prefix + "ResourceType", this.ResourceType);
this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId);
this.SetParamSimple(map, prefix + "TrafficType", this.TrafficType);
this.SetParamSimple(map, prefix + "CloudLogId", this.CloudLogId);
this.SetParamSimple(map, prefix + "FlowLogDescription", this.FlowLogDescription);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateFlowLogResponse : AbstractModel
{
/// <summary>
/// 创建的流日志信息
/// </summary>
[JsonProperty("FlowLog")]
public FlowLog[] FlowLog{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "FlowLog.", this.FlowLog);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateHaVipRequest : AbstractModel
{
/// <summary>
/// `HAVIP`所在私有网络`ID`。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// `HAVIP`所在子网`ID`。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// `HAVIP`名称。
/// </summary>
[JsonProperty("HaVipName")]
public string HaVipName{ get; set; }
/// <summary>
/// 指定虚拟IP地址必须在`VPC`网段内且未被占用。不指定则自动分配。
/// </summary>
[JsonProperty("Vip")]
public string Vip{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "HaVipName", this.HaVipName);
this.SetParamSimple(map, prefix + "Vip", this.Vip);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateHaVipResponse : AbstractModel
{
/// <summary>
/// `HAVIP`对象。
/// </summary>
[JsonProperty("HaVip")]
public HaVip HaVip{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "HaVip.", this.HaVip);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateIp6TranslatorsRequest : AbstractModel
{
/// <summary>
/// 转换实例名称
/// </summary>
[JsonProperty("Ip6TranslatorName")]
public string Ip6TranslatorName{ get; set; }
/// <summary>
/// 创建转换实例数量默认是1个
/// </summary>
[JsonProperty("Ip6TranslatorCount")]
public long? Ip6TranslatorCount{ get; set; }
/// <summary>
/// 转换实例运营商属性,可取"CMCC","CTCC","CUCC","BGP"
/// </summary>
[JsonProperty("Ip6InternetServiceProvider")]
public string Ip6InternetServiceProvider{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Ip6TranslatorName", this.Ip6TranslatorName);
this.SetParamSimple(map, prefix + "Ip6TranslatorCount", this.Ip6TranslatorCount);
this.SetParamSimple(map, prefix + "Ip6InternetServiceProvider", this.Ip6InternetServiceProvider);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateIp6TranslatorsResponse : AbstractModel
{
/// <summary>
/// 转换实例的唯一ID数组形如"ip6-xxxxxxxx"
/// </summary>
[JsonProperty("Ip6TranslatorSet")]
public string[] Ip6TranslatorSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "Ip6TranslatorSet.", this.Ip6TranslatorSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNatGatewayDestinationIpPortTranslationNatRuleRequest : AbstractModel
{
/// <summary>
/// NAT网关的ID形如`nat-df45454`。
/// </summary>
[JsonProperty("NatGatewayId")]
public string NatGatewayId{ get; set; }
/// <summary>
/// NAT网关的端口转换规则。
/// </summary>
[JsonProperty("DestinationIpPortTranslationNatRules")]
public DestinationIpPortTranslationNatRule[] DestinationIpPortTranslationNatRules{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "NatGatewayId", this.NatGatewayId);
this.SetParamArrayObj(map, prefix + "DestinationIpPortTranslationNatRules.", this.DestinationIpPortTranslationNatRules);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNatGatewayDestinationIpPortTranslationNatRuleResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,92 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNatGatewayRequest : AbstractModel
{
/// <summary>
/// NAT网关名称
/// </summary>
[JsonProperty("NatGatewayName")]
public string NatGatewayName{ get; set; }
/// <summary>
/// VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// NAT网关最大外网出带宽(单位:Mbps),支持的参数值:`20, 50, 100, 200, 500, 1000, 2000, 5000`,默认: `100Mbps`。
/// </summary>
[JsonProperty("InternetMaxBandwidthOut")]
public ulong? InternetMaxBandwidthOut{ get; set; }
/// <summary>
/// NAT网关并发连接上限支持参数值`1000000、3000000、10000000`,默认值为`100000`。
/// </summary>
[JsonProperty("MaxConcurrentConnection")]
public ulong? MaxConcurrentConnection{ get; set; }
/// <summary>
/// 需要申请的弹性IP个数系统会按您的要求生产N个弹性IP其中AddressCount和PublicAddresses至少传递一个。
/// </summary>
[JsonProperty("AddressCount")]
public ulong? AddressCount{ get; set; }
/// <summary>
/// 绑定NAT网关的弹性IP数组其中AddressCount和PublicAddresses至少传递一个。
/// </summary>
[JsonProperty("PublicIpAddresses")]
public string[] PublicIpAddresses{ get; set; }
/// <summary>
/// 可用区,形如:`ap-guangzhou-1`。
/// </summary>
[JsonProperty("Zone")]
public string Zone{ get; set; }
/// <summary>
/// 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "NatGatewayName", this.NatGatewayName);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "InternetMaxBandwidthOut", this.InternetMaxBandwidthOut);
this.SetParamSimple(map, prefix + "MaxConcurrentConnection", this.MaxConcurrentConnection);
this.SetParamSimple(map, prefix + "AddressCount", this.AddressCount);
this.SetParamArraySimple(map, prefix + "PublicIpAddresses.", this.PublicIpAddresses);
this.SetParamSimple(map, prefix + "Zone", this.Zone);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNatGatewayResponse : AbstractModel
{
/// <summary>
/// NAT网关对象数组。
/// </summary>
[JsonProperty("NatGatewaySet")]
public NatGateway[] NatGatewaySet{ get; set; }
/// <summary>
/// 符合条件的 NAT网关对象数量。
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "NatGatewaySet.", this.NatGatewaySet);
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNetDetectRequest : AbstractModel
{
/// <summary>
/// `VPC`实例`ID`。形如:`vpc-12345678`
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 子网实例ID。形如subnet-12345678。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 网络探测名称最大长度不能超过60个字节。
/// </summary>
[JsonProperty("NetDetectName")]
public string NetDetectName{ get; set; }
/// <summary>
/// 探测目的IPv4地址数组。最多两个。
/// </summary>
[JsonProperty("DetectDestinationIp")]
public string[] DetectDestinationIp{ get; set; }
/// <summary>
/// 下一跳类型,目前我们支持的类型有:
/// VPNVPN网关
/// DIRECTCONNECT专线网关
/// PEERCONNECTION对等连接
/// NATNAT网关
/// NORMAL_CVM普通云服务器
/// </summary>
[JsonProperty("NextHopType")]
public string NextHopType{ get; set; }
/// <summary>
/// 下一跳目的网关,取值与“下一跳类型”相关:
/// 下一跳类型为VPN取值VPN网关ID形如vpngw-12345678
/// 下一跳类型为DIRECTCONNECT取值专线网关ID形如dcg-12345678
/// 下一跳类型为PEERCONNECTION取值对等连接ID形如pcx-12345678
/// 下一跳类型为NAT取值Nat网关形如nat-12345678
/// 下一跳类型为NORMAL_CVM取值云服务器IPv4地址形如10.0.0.12
/// </summary>
[JsonProperty("NextHopDestination")]
public string NextHopDestination{ get; set; }
/// <summary>
/// 网络探测描述。
/// </summary>
[JsonProperty("NetDetectDescription")]
public string NetDetectDescription{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "NetDetectName", this.NetDetectName);
this.SetParamArraySimple(map, prefix + "DetectDestinationIp.", this.DetectDestinationIp);
this.SetParamSimple(map, prefix + "NextHopType", this.NextHopType);
this.SetParamSimple(map, prefix + "NextHopDestination", this.NextHopDestination);
this.SetParamSimple(map, prefix + "NetDetectDescription", this.NetDetectDescription);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNetDetectResponse : AbstractModel
{
/// <summary>
/// 网络探测NetDetect对象。
/// </summary>
[JsonProperty("NetDetect")]
public NetDetect NetDetect{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "NetDetect.", this.NetDetect);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNetworkAclRequest : AbstractModel
{
/// <summary>
/// VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 网络ACL名称最大长度不能超过60个字节。
/// </summary>
[JsonProperty("NetworkAclName")]
public string NetworkAclName{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "NetworkAclName", this.NetworkAclName);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNetworkAclResponse : AbstractModel
{
/// <summary>
/// 网络ACL实例。
/// </summary>
[JsonProperty("NetworkAcl")]
public NetworkAcl NetworkAcl{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "NetworkAcl.", this.NetworkAcl);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,92 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNetworkInterfaceRequest : AbstractModel
{
/// <summary>
/// VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 弹性网卡名称最大长度不能超过60个字节。
/// </summary>
[JsonProperty("NetworkInterfaceName")]
public string NetworkInterfaceName{ get; set; }
/// <summary>
/// 弹性网卡所在的子网实例ID例如subnet-0ap8nwca。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 弹性网卡描述可任意命名但不得超过60个字符。
/// </summary>
[JsonProperty("NetworkInterfaceDescription")]
public string NetworkInterfaceDescription{ get; set; }
/// <summary>
/// 新申请的内网IP地址个数内网IP地址个数总和不能超过配数。
/// </summary>
[JsonProperty("SecondaryPrivateIpAddressCount")]
public ulong? SecondaryPrivateIpAddressCount{ get; set; }
/// <summary>
/// 指定绑定的安全组,例如:['sg-1dd51d']。
/// </summary>
[JsonProperty("SecurityGroupIds")]
public string[] SecurityGroupIds{ get; set; }
/// <summary>
/// 指定的内网IP信息单次最多指定10个。
/// </summary>
[JsonProperty("PrivateIpAddresses")]
public PrivateIpAddressSpecification[] PrivateIpAddresses{ get; set; }
/// <summary>
/// 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "NetworkInterfaceName", this.NetworkInterfaceName);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "NetworkInterfaceDescription", this.NetworkInterfaceDescription);
this.SetParamSimple(map, prefix + "SecondaryPrivateIpAddressCount", this.SecondaryPrivateIpAddressCount);
this.SetParamArraySimple(map, prefix + "SecurityGroupIds.", this.SecurityGroupIds);
this.SetParamArrayObj(map, prefix + "PrivateIpAddresses.", this.PrivateIpAddresses);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateNetworkInterfaceResponse : AbstractModel
{
/// <summary>
/// 弹性网卡实例。
/// </summary>
[JsonProperty("NetworkInterface")]
public NetworkInterface NetworkInterface{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "NetworkInterface.", this.NetworkInterface);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateRouteTableRequest : AbstractModel
{
/// <summary>
/// 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 路由表名称最大长度不能超过60个字节。
/// </summary>
[JsonProperty("RouteTableName")]
public string RouteTableName{ get; set; }
/// <summary>
/// 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "RouteTableName", this.RouteTableName);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateRouteTableResponse : AbstractModel
{
/// <summary>
/// 路由表对象。
/// </summary>
[JsonProperty("RouteTable")]
public RouteTable RouteTable{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "RouteTable.", this.RouteTable);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateRoutesRequest : AbstractModel
{
/// <summary>
/// 路由表实例ID。
/// </summary>
[JsonProperty("RouteTableId")]
public string RouteTableId{ get; set; }
/// <summary>
/// 路由策略对象。
/// </summary>
[JsonProperty("Routes")]
public Route[] Routes{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RouteTableId", this.RouteTableId);
this.SetParamArrayObj(map, prefix + "Routes.", this.Routes);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateRoutesResponse : AbstractModel
{
/// <summary>
/// 新增的实例个数。
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// 路由表对象。
/// </summary>
[JsonProperty("RouteTableSet")]
public RouteTable[] RouteTableSet{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
this.SetParamArrayObj(map, prefix + "RouteTableSet.", this.RouteTableSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateSecurityGroupPoliciesRequest : AbstractModel
{
/// <summary>
/// 安全组实例ID例如sg-33ocnj9n可通过DescribeSecurityGroups获取。
/// </summary>
[JsonProperty("SecurityGroupId")]
public string SecurityGroupId{ get; set; }
/// <summary>
/// 安全组规则集合。
/// </summary>
[JsonProperty("SecurityGroupPolicySet")]
public SecurityGroupPolicySet SecurityGroupPolicySet{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "SecurityGroupId", this.SecurityGroupId);
this.SetParamObj(map, prefix + "SecurityGroupPolicySet.", this.SecurityGroupPolicySet);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Vpc.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateSecurityGroupPoliciesResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

Some files were not shown because too many files have changed in this diff Show More