代码修改后的版本,全部提交
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/AccountAttribute.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/AccountAttribute.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Vpc/V20170312/Models/AddIp6RulesRequest.cs
Normal file
57
TencentCloud/Vpc/V20170312/Models/AddIp6RulesRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/AddIp6RulesResponse.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/AddIp6RulesResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
141
TencentCloud/Vpc/V20170312/Models/Address.cs
Normal file
141
TencentCloud/Vpc/V20170312/Models/Address.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/AddressChargePrepaid.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/AddressChargePrepaid.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Vpc/V20170312/Models/AddressTemplate.cs
Normal file
64
TencentCloud/Vpc/V20170312/Models/AddressTemplate.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Vpc/V20170312/Models/AddressTemplateGroup.cs
Normal file
71
TencentCloud/Vpc/V20170312/Models/AddressTemplateGroup.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/AddressTemplateItem.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/AddressTemplateItem.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/AlgType.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/AlgType.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
115
TencentCloud/Vpc/V20170312/Models/AllocateAddressesRequest.cs
Normal file
115
TencentCloud/Vpc/V20170312/Models/AllocateAddressesRequest.cs
Normal 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_PACKAGE:1 Mbps 至 1000 Mbps</li>
|
||||
/// <li>BANDWIDTH_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li>
|
||||
/// <li>TRAFFIC_POSTPAID_BY_HOUR:1 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>TRUE:AnycastEIP可绑定对象为负载均衡</li>
|
||||
/// <li>FALSE:AnycastEIP可绑定对象为云服务器、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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
65
TencentCloud/Vpc/V20170312/Models/AssistantCidr.cs
Normal file
65
TencentCloud/Vpc/V20170312/Models/AssistantCidr.cs
Normal 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:普通辅助CIDR,1:容器辅助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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Vpc/V20170312/Models/AssociateAddressRequest.cs
Normal file
64
TencentCloud/Vpc/V20170312/Models/AssociateAddressRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Vpc/V20170312/Models/BandwidthPackage.cs
Normal file
92
TencentCloud/Vpc/V20170312/Models/BandwidthPackage.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
108
TencentCloud/Vpc/V20170312/Models/CCN.cs
Normal file
108
TencentCloud/Vpc/V20170312/Models/CCN.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
118
TencentCloud/Vpc/V20170312/Models/CcnAttachedInstance.cs
Normal file
118
TencentCloud/Vpc/V20170312/Models/CcnAttachedInstance.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
60
TencentCloud/Vpc/V20170312/Models/CcnInstance.cs
Normal file
60
TencentCloud/Vpc/V20170312/Models/CcnInstance.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
72
TencentCloud/Vpc/V20170312/Models/CcnRegionBandwidthLimit.cs
Normal file
72
TencentCloud/Vpc/V20170312/Models/CcnRegionBandwidthLimit.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
99
TencentCloud/Vpc/V20170312/Models/CcnRoute.cs
Normal file
99
TencentCloud/Vpc/V20170312/Models/CcnRoute.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
/// 下一跳类型,目前我们支持的类型有:
|
||||
/// VPN:VPN网关;
|
||||
/// DIRECTCONNECT:专线网关;
|
||||
/// PEERCONNECTION:对等连接;
|
||||
/// NAT:NAT网关;
|
||||
/// 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。该参数与(VpcId,SubnetId,NetDetectName),至少要有一个。当NetDetectId存在时,使用NetDetectId。
|
||||
/// </summary>
|
||||
[JsonProperty("NetDetectId")]
|
||||
public string NetDetectId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// `VPC`实例`ID`。形如:`vpc-12345678`。该参数与(SubnetId,NetDetectName)配合使用,与NetDetectId至少要有一个。当NetDetectId存在时,使用NetDetectId。
|
||||
/// </summary>
|
||||
[JsonProperty("VpcId")]
|
||||
public string VpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子网实例ID。形如:subnet-12345678。该参数与(VpcId,NetDetectName)配合使用,与NetDetectId至少要有一个。当NetDetectId存在时,使用NetDetectId。
|
||||
/// </summary>
|
||||
[JsonProperty("SubnetId")]
|
||||
public string SubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 网络探测名称,最大长度不能超过60个字节。该参数与(VpcId,SubnetId)配合使用,与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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/ClassicLinkInstance.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/ClassicLinkInstance.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/ConflictItem.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/ConflictItem.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Vpc/V20170312/Models/ConflictSource.cs
Normal file
57
TencentCloud/Vpc/V20170312/Models/ConflictSource.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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_MONTH’,‘PERCENT95_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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
TencentCloud/Vpc/V20170312/Models/CreateCcnRequest.cs
Normal file
78
TencentCloud/Vpc/V20170312/Models/CreateCcnRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/CreateCcnResponse.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/CreateCcnResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/CreateDefaultVpcRequest.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/CreateDefaultVpcRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
TencentCloud/Vpc/V20170312/Models/CreateFlowLogRequest.cs
Normal file
85
TencentCloud/Vpc/V20170312/Models/CreateFlowLogRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/CreateFlowLogResponse.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/CreateFlowLogResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Vpc/V20170312/Models/CreateHaVipRequest.cs
Normal file
64
TencentCloud/Vpc/V20170312/Models/CreateHaVipRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/CreateHaVipResponse.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/CreateHaVipResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Vpc/V20170312/Models/CreateNatGatewayRequest.cs
Normal file
92
TencentCloud/Vpc/V20170312/Models/CreateNatGatewayRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
95
TencentCloud/Vpc/V20170312/Models/CreateNetDetectRequest.cs
Normal file
95
TencentCloud/Vpc/V20170312/Models/CreateNetDetectRequest.cs
Normal 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>
|
||||
/// 下一跳类型,目前我们支持的类型有:
|
||||
/// VPN:VPN网关;
|
||||
/// DIRECTCONNECT:专线网关;
|
||||
/// PEERCONNECTION:对等连接;
|
||||
/// NAT:NAT网关;
|
||||
/// 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/CreateNetDetectResponse.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/CreateNetDetectResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/CreateNetworkAclRequest.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/CreateNetworkAclRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Vpc/V20170312/Models/CreateRouteTableRequest.cs
Normal file
57
TencentCloud/Vpc/V20170312/Models/CreateRouteTableRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Vpc/V20170312/Models/CreateRoutesRequest.cs
Normal file
50
TencentCloud/Vpc/V20170312/Models/CreateRoutesRequest.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Vpc/V20170312/Models/CreateRoutesResponse.cs
Normal file
57
TencentCloud/Vpc/V20170312/Models/CreateRoutesResponse.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user