首次推送

This commit is contained in:
lym
2026-03-09 00:13:46 +08:00
commit b19613bb31
13974 changed files with 2767735 additions and 0 deletions

View File

@@ -0,0 +1,138 @@
/*
* 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.Ecm.V20190719.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。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 创建时间。ISO 8601 格式YYYY-MM-DDTHH:mm:ss.sssZ
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// 绑定的弹性网卡ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// 绑定的资源内网ip
/// 注意:此字段可能返回 null表示取不到有效值。
/// </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>
/// 运营商CTCC电信CUCC联通CMCC移动
/// 注意:此字段可能返回 null表示取不到有效值。
/// </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.SetParamSimple(map, prefix + "InternetServiceProvider", this.InternetServiceProvider);
}
}
}

View File

@@ -0,0 +1,73 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AllocateAddressesRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// EIP数量。默认值1。
/// </summary>
[JsonProperty("AddressCount")]
public ulong? AddressCount{ get; set; }
/// <summary>
/// CMCC中国移动
/// CTCC中国电信
/// CUCC中国联通
/// </summary>
[JsonProperty("InternetServiceProvider")]
public string InternetServiceProvider{ get; set; }
/// <summary>
/// 1 Mbps 至 5000 Mbps默认值1 Mbps。
/// </summary>
[JsonProperty("InternetMaxBandwidthOut")]
public ulong? InternetMaxBandwidthOut{ get; set; }
/// <summary>
/// 需要关联的标签列表。
/// </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 + "EcmRegion", this.EcmRegion);
this.SetParamSimple(map, prefix + "AddressCount", this.AddressCount);
this.SetParamSimple(map, prefix + "InternetServiceProvider", this.InternetServiceProvider);
this.SetParamSimple(map, prefix + "InternetMaxBandwidthOut", this.InternetMaxBandwidthOut);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AllocateAddressesResponse : AbstractModel
{
/// <summary>
/// 申请到的 EIP 的唯一 ID 列表。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("AddressSet")]
public string[] AddressSet{ get; set; }
/// <summary>
/// 异步任务TaskId。可以使用DescribeTaskResult接口查询任务状态。
/// </summary>
[JsonProperty("TaskId")]
public string TaskId{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArraySimple(map, prefix + "AddressSet.", this.AddressSet);
this.SetParamSimple(map, prefix + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Area : AbstractModel
{
/// <summary>
/// 区域ID
/// </summary>
[JsonProperty("AreaId")]
public string AreaId{ get; set; }
/// <summary>
/// 区域名称
/// </summary>
[JsonProperty("AreaName")]
public string AreaName{ 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 + "AreaId", this.AreaId);
this.SetParamSimple(map, prefix + "AreaName", this.AreaName);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.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>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 指定的内网IP信息单次最多指定10个。与SecondaryPrivateIpAddressCount至少提供一个。
/// </summary>
[JsonProperty("PrivateIpAddresses")]
public PrivateIpAddressSpecification[] PrivateIpAddresses{ get; set; }
/// <summary>
/// 新申请的内网IP地址个数与PrivateIpAddresses至少提供一个。内网IP地址个数总和不能超过配额数
/// </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.SetParamSimple(map, prefix + "EcmRegion", this.EcmRegion);
this.SetParamArrayObj(map, prefix + "PrivateIpAddresses.", this.PrivateIpAddresses);
this.SetParamSimple(map, prefix + "SecondaryPrivateIpAddressCount", this.SecondaryPrivateIpAddressCount);
}
}
}

View File

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

View File

@@ -0,0 +1,66 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssistantCidr : AbstractModel
{
/// <summary>
/// VPC实例ID。形如vpc-6v2ht8q5
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 辅助CIDR。形如172.16.0.0/16
/// </summary>
[JsonProperty("CidrBlock")]
public string CidrBlock{ get; set; }
/// <summary>
/// 辅助CIDR类型0普通辅助CIDR1容器辅助CIDR默认都是0。
/// </summary>
[JsonProperty("AssistantType")]
public ulong? AssistantType{ get; set; }
/// <summary>
/// 辅助CIDR拆分的子网。
/// 注意:此字段可能返回 null表示取不到有效值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetSet")]
public Subnet[] SubnetSet{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "CidrBlock", this.CidrBlock);
this.SetParamSimple(map, prefix + "AssistantType", this.AssistantType);
this.SetParamArrayObj(map, prefix + "SubnetSet.", this.SubnetSet);
}
}
}

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AssociateAddressRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 标识 EIP 的唯一 ID。EIP 唯一 ID 形如eip-11112222。
/// </summary>
[JsonProperty("AddressId")]
public string AddressId{ get; set; }
/// <summary>
/// 要绑定的实例 ID。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 要绑定的弹性网卡 ID。 弹性网卡 ID 形如eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过DescribeNetworkInterfaces接口返回值中的networkInterfaceId获取。
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// 要绑定的内网 IP。如果指定了 NetworkInterfaceId 则也必须指定 PrivateIpAddress ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 PrivateIpAddress 是指定的 NetworkInterfaceId 上的一个内网 IP。指定弹性网卡的内网 IP 可通过DescribeNetworkInterfaces接口返回值中的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 + "EcmRegion", this.EcmRegion);
this.SetParamSimple(map, prefix + "AddressId", this.AddressId);
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "NetworkInterfaceId", this.NetworkInterfaceId);
this.SetParamSimple(map, prefix + "PrivateIpAddress", this.PrivateIpAddress);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.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>
/// 实例ID。形如ein-r8hr2upy。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ 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);
this.SetParamSimple(map, prefix + "EcmRegion", this.EcmRegion);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class City : AbstractModel
{
/// <summary>
/// 城市ID
/// </summary>
[JsonProperty("CityId")]
public string CityId{ get; set; }
/// <summary>
/// 城市名称
/// </summary>
[JsonProperty("CityName")]
public string CityName{ 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 + "CityId", this.CityId);
this.SetParamSimple(map, prefix + "CityName", this.CityName);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Country : AbstractModel
{
/// <summary>
/// 国家ID
/// </summary>
[JsonProperty("CountryId")]
public string CountryId{ get; set; }
/// <summary>
/// 国家名称
/// </summary>
[JsonProperty("CountryName")]
public string CountryName{ 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 + "CountryId", this.CountryId);
this.SetParamSimple(map, prefix + "CountryName", this.CountryName);
}
}
}

View File

@@ -0,0 +1,78 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateModuleRequest : AbstractModel
{
/// <summary>
/// 模块名称如视频直播模块。限制模块名称不得以空格开头长度不得超过60个字符。
/// </summary>
[JsonProperty("ModuleName")]
public string ModuleName{ get; set; }
/// <summary>
/// 默认带宽单位M。范围不得超过带宽上下限详看DescribeConfig。
/// </summary>
[JsonProperty("DefaultBandWidth")]
public long? DefaultBandWidth{ get; set; }
/// <summary>
/// 默认镜像如img-qsdf3ff2。
/// </summary>
[JsonProperty("DefaultImageId")]
public string DefaultImageId{ get; set; }
/// <summary>
/// 机型ID。
/// </summary>
[JsonProperty("InstanceType")]
public string InstanceType{ get; set; }
/// <summary>
/// 默认系统盘大小单位G默认大小为50G。范围不得超过系统盘上下限制详看DescribeConfig。
/// </summary>
[JsonProperty("DefaultSystemDiskSize")]
public long? DefaultSystemDiskSize{ get; set; }
/// <summary>
/// 默认数据盘大小单位G。范围不得超过数据盘范围大小详看DescribeConfig。
/// </summary>
[JsonProperty("DefaultDataDiskSize")]
public long? DefaultDataDiskSize{ 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 + "ModuleName", this.ModuleName);
this.SetParamSimple(map, prefix + "DefaultBandWidth", this.DefaultBandWidth);
this.SetParamSimple(map, prefix + "DefaultImageId", this.DefaultImageId);
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
this.SetParamSimple(map, prefix + "DefaultSystemDiskSize", this.DefaultSystemDiskSize);
this.SetParamSimple(map, prefix + "DefaultDataDiskSize", this.DefaultDataDiskSize);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateModuleResponse : AbstractModel
{
/// <summary>
/// 模块ID创建模块成功后分配给该模块的ID。
/// </summary>
[JsonProperty("ModuleId")]
public string ModuleId{ 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 + "ModuleId", this.ModuleId);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.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>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ 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 + "EcmRegion", this.EcmRegion);
this.SetParamSimple(map, prefix + "NetworkInterfaceDescription", this.NetworkInterfaceDescription);
this.SetParamSimple(map, prefix + "SecondaryPrivateIpAddressCount", this.SecondaryPrivateIpAddressCount);
this.SetParamArraySimple(map, prefix + "SecurityGroupIds.", this.SecurityGroupIds);
this.SetParamArrayObj(map, prefix + "PrivateIpAddresses.", this.PrivateIpAddresses);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateSubnetRequest : AbstractModel
{
/// <summary>
/// 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 子网名称最大长度不能超过60个字节。
/// </summary>
[JsonProperty("SubnetName")]
public string SubnetName{ get; set; }
/// <summary>
/// 子网网段子网网段必须在VPC网段内相同VPC内子网网段不能重叠。
/// </summary>
[JsonProperty("CidrBlock")]
public string CidrBlock{ get; set; }
/// <summary>
/// 子网所在的可用区ID不同子网选择不同可用区可以做跨可用区灾备。
/// </summary>
[JsonProperty("Zone")]
public string Zone{ get; set; }
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ 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 + "SubnetName", this.SubnetName);
this.SetParamSimple(map, prefix + "CidrBlock", this.CidrBlock);
this.SetParamSimple(map, prefix + "Zone", this.Zone);
this.SetParamSimple(map, prefix + "EcmRegion", this.EcmRegion);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateSubnetResponse : AbstractModel
{
/// <summary>
/// 子网对象。
/// </summary>
[JsonProperty("Subnet")]
public Subnet Subnet{ 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 + "Subnet.", this.Subnet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,85 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateVpcRequest : AbstractModel
{
/// <summary>
/// vpc名称最大长度不能超过60个字节。
/// </summary>
[JsonProperty("VpcName")]
public string VpcName{ get; set; }
/// <summary>
/// vpc的cidr只能为10.0.0.0/16172.16.0.0/16192.168.0.0/16这三个内网网段内。
/// </summary>
[JsonProperty("CidrBlock")]
public string CidrBlock{ get; set; }
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 是否开启组播。true: 开启, false: 不开启。
/// </summary>
[JsonProperty("EnableMulticast")]
public string EnableMulticast{ get; set; }
/// <summary>
/// DNS地址最多支持4个
/// </summary>
[JsonProperty("DnsServers")]
public string[] DnsServers{ get; set; }
/// <summary>
/// 域名
/// </summary>
[JsonProperty("DomainName")]
public string DomainName{ 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 + "VpcName", this.VpcName);
this.SetParamSimple(map, prefix + "CidrBlock", this.CidrBlock);
this.SetParamSimple(map, prefix + "EcmRegion", this.EcmRegion);
this.SetParamSimple(map, prefix + "EnableMulticast", this.EnableMulticast);
this.SetParamArraySimple(map, prefix + "DnsServers.", this.DnsServers);
this.SetParamSimple(map, prefix + "DomainName", this.DomainName);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteImageRequest : AbstractModel
{
/// <summary>
/// 镜像ID列表。
/// </summary>
[JsonProperty("ImageIDSet")]
public string[] ImageIDSet{ 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 + "ImageIDSet.", this.ImageIDSet);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteModuleRequest : AbstractModel
{
/// <summary>
/// 模块ID。如es-qn46snq8
/// </summary>
[JsonProperty("ModuleId")]
public string ModuleId{ 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 + "ModuleId", this.ModuleId);
}
}
}

View File

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

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteNetworkInterfaceRequest : AbstractModel
{
/// <summary>
/// 弹性网卡实例ID例如eni-m6dyj72l。
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ 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 + "EcmRegion", this.EcmRegion);
}
}
}

View File

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

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteSubnetRequest : AbstractModel
{
/// <summary>
/// 子网实例ID。可通过DescribeSubnets接口返回值中的SubnetId获取。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ 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 + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "EcmRegion", this.EcmRegion);
}
}
}

View File

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

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteVpcRequest : AbstractModel
{
/// <summary>
/// VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ 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 + "EcmRegion", this.EcmRegion);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAddressQuotaRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ 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 + "EcmRegion", this.EcmRegion);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAddressQuotaResponse : AbstractModel
{
/// <summary>
/// 账户 EIP 配额信息。
/// </summary>
[JsonProperty("QuotaSet")]
public EipQuota[] QuotaSet{ 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 + "QuotaSet.", this.QuotaSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,79 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAddressesRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 标识 EIP 的唯一 ID 列表。EIP 唯一 ID 形如eip-11112222。参数不支持同时指定AddressIds和Filters。
/// </summary>
[JsonProperty("AddressIds")]
public string[] AddressIds{ get; set; }
/// <summary>
/// 每次请求的Filters的上限为10Filter.Values的上限为5。参数不支持同时指定AddressIds和Filters。详细的过滤条件如下
/// address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如eip-11112222。
/// address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。
/// address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。
/// address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。取值范围详见EIP状态列表。
/// instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如ins-11112222。
/// private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。
/// network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如eni-11112222。
/// is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。TRUEEIP 处于欠费状态|FALSEEIP 费用状态正常)
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 偏移量默认为0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 返回数量默认为20最大值为100。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ 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 + "EcmRegion", this.EcmRegion);
this.SetParamArraySimple(map, prefix + "AddressIds.", this.AddressIds);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAddressesResponse : AbstractModel
{
/// <summary>
/// 符合条件的 EIP 数量。
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// EIP 详细信息列表。
/// </summary>
[JsonProperty("AddressSet")]
public Address[] AddressSet{ 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 + "AddressSet.", this.AddressSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,36 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeBaseOverviewRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

View File

@@ -0,0 +1,120 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeBaseOverviewResponse : AbstractModel
{
/// <summary>
/// 模块数量,单位:个
/// </summary>
[JsonProperty("ModuleNum")]
public long? ModuleNum{ get; set; }
/// <summary>
/// 节点数量,单位:个
/// </summary>
[JsonProperty("NodeNum")]
public long? NodeNum{ get; set; }
/// <summary>
/// cpu核数单位
/// </summary>
[JsonProperty("VcpuNum")]
public long? VcpuNum{ get; set; }
/// <summary>
/// 内存大小单位G
/// </summary>
[JsonProperty("MemoryNum")]
public long? MemoryNum{ get; set; }
/// <summary>
/// 硬盘大小单位G
/// </summary>
[JsonProperty("StorageNum")]
public long? StorageNum{ get; set; }
/// <summary>
/// 昨日网络峰值,单位M
/// </summary>
[JsonProperty("NetworkNum")]
public long? NetworkNum{ get; set; }
/// <summary>
/// 实例数量,单位:台
/// </summary>
[JsonProperty("InstanceNum")]
public long? InstanceNum{ get; set; }
/// <summary>
/// 运行中数量,单位:台
/// </summary>
[JsonProperty("RunningNum")]
public long? RunningNum{ get; set; }
/// <summary>
/// 安全隔离数量,单位:台
/// </summary>
[JsonProperty("IsolationNum")]
public long? IsolationNum{ get; set; }
/// <summary>
/// 过期实例数量,单位:台
/// </summary>
[JsonProperty("ExpiredNum")]
public long? ExpiredNum{ get; set; }
/// <summary>
/// 即将过期实例数量,单位:台
/// </summary>
[JsonProperty("WillExpireNum")]
public long? WillExpireNum{ 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 + "ModuleNum", this.ModuleNum);
this.SetParamSimple(map, prefix + "NodeNum", this.NodeNum);
this.SetParamSimple(map, prefix + "VcpuNum", this.VcpuNum);
this.SetParamSimple(map, prefix + "MemoryNum", this.MemoryNum);
this.SetParamSimple(map, prefix + "StorageNum", this.StorageNum);
this.SetParamSimple(map, prefix + "NetworkNum", this.NetworkNum);
this.SetParamSimple(map, prefix + "InstanceNum", this.InstanceNum);
this.SetParamSimple(map, prefix + "RunningNum", this.RunningNum);
this.SetParamSimple(map, prefix + "IsolationNum", this.IsolationNum);
this.SetParamSimple(map, prefix + "ExpiredNum", this.ExpiredNum);
this.SetParamSimple(map, prefix + "WillExpireNum", this.WillExpireNum);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,36 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeConfigRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeConfigResponse : AbstractModel
{
/// <summary>
/// 网络带宽硬盘大小的范围信息。
/// </summary>
[JsonProperty("NetworkStorageRange")]
public NetworkStorageRange NetworkStorageRange{ get; set; }
/// <summary>
/// 镜像操作系统白名单
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ImageWhiteSet")]
public string[] ImageWhiteSet{ 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 + "NetworkStorageRange.", this.NetworkStorageRange);
this.SetParamArraySimple(map, prefix + "ImageWhiteSet.", this.ImageWhiteSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,61 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeImageRequest : AbstractModel
{
/// <summary>
/// 过滤条件每次请求的Filters的上限为10详细的过滤条件如下
/// image-id - String - 是否必填: 否 - 过滤条件按照镜像ID进行过滤
/// image-type - String - 是否必填: 否 - (过滤条件)按照镜像类型进行过滤。取值范围:
/// PRIVATE_IMAGE: 私有镜像 (本帐户创建的镜像)
/// PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 偏移量默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 返回数量默认为20最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ 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 + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
}
}
}

View File

@@ -0,0 +1,59 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeImageResponse : AbstractModel
{
/// <summary>
/// 镜像总数
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 镜像数组
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ImageSet")]
public Image[] ImageSet{ 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 + "ImageSet.", this.ImageSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,36 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceTypeConfigRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstanceTypeConfigResponse : AbstractModel
{
/// <summary>
/// 总数
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 机型配置信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceTypeConfigSet")]
public InstanceTypeConfig[] InstanceTypeConfigSet{ 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 + "InstanceTypeConfigSet.", this.InstanceTypeConfigSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstancesDeniedActionsRequest : AbstractModel
{
/// <summary>
/// 无
/// </summary>
[JsonProperty("InstanceIdSet")]
public string[] InstanceIdSet{ 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 + "InstanceIdSet.", this.InstanceIdSet);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstancesDeniedActionsResponse : AbstractModel
{
/// <summary>
/// 实例对应的禁止操作
/// </summary>
[JsonProperty("InstanceOperatorSet")]
public InstanceOperator[] InstanceOperatorSet{ 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 + "InstanceOperatorSet.", this.InstanceOperatorSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,69 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstancesRequest : AbstractModel
{
/// <summary>
/// 过滤条件。
/// zone String 是否必填:否 (过滤条件)按照可用区中文名过滤,支持模糊匹配。
/// module-id String 是否必填:否 过滤条件按照模块ID过滤。
/// instance-id String 是否必填:否 过滤条件按照实例ID过滤。
/// instance-name String 是否必填:否 (过滤条件)按照实例名称过滤,支持模糊匹配。
/// ip-address String 是否必填:否 (过滤条件)按照实例的内网/公网IP过滤。
/// instance-uuid string 是否必填:否 过滤条件按照uuid过滤实例列表。
/// instance-state string 是否必填:否 (过滤条件)按照实例状态更新实例列表。
/// internet-service-provider String 是否必填:否 过滤条件按照实例公网IP所属的运营商进行过滤。
/// tag-key String 是否必填:否 (过滤条件)按照标签键进行过滤。
/// tag:tag-key String 是否必填:否 (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
/// 若不传Filters参数则表示查询所有相关的实例信息。
/// 单次请求的Filter.Values的上限为5。
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 偏移量默认为0。
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 返回数量默认为20(如果查询结果数目大于等于20)最大值为100。
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ 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 + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeInstancesResponse : AbstractModel
{
/// <summary>
/// 返回的实例相关信息列表的长度。
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 返回的实例相关信息列表。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceSet")]
public Instance[] InstanceSet{ 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 + "InstanceSet.", this.InstanceSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeModuleDetailRequest : AbstractModel
{
/// <summary>
/// 模块ID如em-qn46snq8。
/// </summary>
[JsonProperty("ModuleId")]
public string ModuleId{ 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 + "ModuleId", this.ModuleId);
}
}
}

View File

@@ -0,0 +1,59 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeModuleDetailResponse : AbstractModel
{
/// <summary>
/// 模块的详细信息详细见数据结构中的ModuleInfo。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Module")]
public Module Module{ get; set; }
/// <summary>
/// 模块的统计信息详细见数据结构中的ModuleCounterInfo。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ModuleCounter")]
public ModuleCounter ModuleCounter{ 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 + "Module.", this.Module);
this.SetParamObj(map, prefix + "ModuleCounter.", this.ModuleCounter);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeModuleRequest : AbstractModel
{
/// <summary>
/// 过滤条件。
/// module-name - string - 是否必填:否 - (过滤条件)按照模块名称过滤。
/// module-id - string - 是否必填:否 - 过滤条件按照模块ID过滤。
/// 每次请求的Filters的上限为10Filter.Values的上限为5。
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 偏移量默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 返回数量默认为20最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ 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 + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
}
}
}

View File

@@ -0,0 +1,59 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeModuleResponse : AbstractModel
{
/// <summary>
/// 符合条件的模块数量。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 模块详情信息的列表。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ModuleItemSet")]
public ModuleItem[] ModuleItemSet{ 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 + "ModuleItemSet.", this.ModuleItemSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,82 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeNetworkInterfacesRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 弹性网卡实例ID查询。形如eni-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定NetworkInterfaceIds和Filters。
/// </summary>
[JsonProperty("NetworkInterfaceIds")]
public string[] NetworkInterfaceIds{ get; set; }
/// <summary>
/// 过滤条件参数不支持同时指定NetworkInterfaceIds和Filters。
/// vpc-id - String - 过滤条件VPC实例ID形如vpc-f49l6u0z。
/// subnet-id - String - 过滤条件所属子网实例ID形如subnet-f49l6u0z。
/// network-interface-id - String - 过滤条件弹性网卡实例ID形如eni-5k56k7k7。
/// attachment.instance-id - String - 过滤条件绑定的云服务器实例ID形如ins-3nqpdn3i。
/// groups.security-group-id - String - 过滤条件绑定的安全组实例ID例如sg-f9ekbxeq。
/// network-interface-name - String - (过滤条件)网卡实例名称。
/// network-interface-description - String - (过滤条件)网卡实例描述。
/// address-ip - String - 过滤条件内网IPv4地址。
/// tag-key - String -是否必填:否- 过滤条件按照标签键进行过滤。使用请参考示例2
/// tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3。
/// is-primary - Boolean - 是否必填:否 - 过滤条件按照是否主网卡进行过滤。值为true时仅过滤主网卡值为false时仅过滤辅助网卡次过滤参数为提供时同时过滤主网卡和辅助网卡。
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 偏移量默认为0。
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 返回数量默认为20最大值为100。
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ 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 + "EcmRegion", this.EcmRegion);
this.SetParamArraySimple(map, prefix + "NetworkInterfaceIds.", this.NetworkInterfaceIds);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeNetworkInterfacesResponse : AbstractModel
{
/// <summary>
/// 符合条件的实例数量。
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// 实例详细信息列表。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("NetworkInterfaceSet")]
public NetworkInterface[] NetworkInterfaceSet{ 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 + "NetworkInterfaceSet.", this.NetworkInterfaceSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,36 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeNodeRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeNodeResponse : AbstractModel
{
/// <summary>
/// 节点详细信息的列表
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("NodeSet")]
public Node[] NodeSet{ get; set; }
/// <summary>
/// 所有的节点数量。
/// </summary>
[JsonProperty("TotalCount")]
public long? 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 + "NodeSet.", this.NodeSet);
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribePeakBaseOverviewRequest : AbstractModel
{
/// <summary>
/// 开始时间xxxx-xx-xx如2019-08-14默认为一周之前的日期。
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 结束时间xxxx-xx-xx如2019-08-14默认为昨天。
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ 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 + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribePeakBaseOverviewResponse : AbstractModel
{
/// <summary>
/// 基础峰值列表。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PeakFamilyInfoSet")]
public PeakFamilyInfo[] PeakFamilyInfoSet{ 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 + "PeakFamilyInfoSet.", this.PeakFamilyInfoSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribePeakNetworkOverviewRequest : AbstractModel
{
/// <summary>
/// 开始时间xxxx-xx-xx如2019-08-14默认为一周之前的日期。
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 结束时间xxxx-xx-xx如2019-08-14默认为昨天。
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 过滤条件。
/// region String 是否必填:否 过滤条件按照region过滤,不支持模糊匹配。
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ 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 + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribePeakNetworkOverviewResponse : AbstractModel
{
/// <summary>
/// 网络峰值数组。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PeakNetworkRegionSet")]
public PeakNetworkRegionInfo[] PeakNetworkRegionSet{ 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 + "PeakNetworkRegionSet.", this.PeakNetworkRegionSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,80 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSubnetsRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 子网实例ID查询。形如subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。
/// </summary>
[JsonProperty("SubnetIds")]
public string[] SubnetIds{ get; set; }
/// <summary>
/// 过滤条件参数不支持同时指定SubnetIds和Filters。
/// subnet-id - String - 过滤条件Subnet实例名称。
/// vpc-id - String - 过滤条件VPC实例ID形如vpc-f49l6u0z。
/// cidr-block - String - (过滤条件)子网网段,形如: 192.168.1.0 。
/// is-default - Boolean - (过滤条件)是否是默认子网。
/// is-remote-vpc-snat - Boolean - 过滤条件是否为VPC SNAT地址池子网。
/// subnet-name - String - (过滤条件)子网名称。
/// zone - String - (过滤条件)可用区。
/// tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
/// tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 偏移量
/// </summary>
[JsonProperty("Offset")]
public string Offset{ get; set; }
/// <summary>
/// 返回数量
/// </summary>
[JsonProperty("Limit")]
public string Limit{ 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 + "EcmRegion", this.EcmRegion);
this.SetParamArraySimple(map, prefix + "SubnetIds.", this.SubnetIds);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSubnetsResponse : AbstractModel
{
/// <summary>
/// 符合条件的实例数量。
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// 子网对象。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetSet")]
public Subnet[] SubnetSet{ 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 + "SubnetSet.", this.SubnetSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeTaskResultRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 异步任务ID。
/// </summary>
[JsonProperty("TaskId")]
public string TaskId{ 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 + "EcmRegion", this.EcmRegion);
this.SetParamSimple(map, prefix + "TaskId", this.TaskId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeTaskResultResponse : AbstractModel
{
/// <summary>
/// 异步任务ID。
/// </summary>
[JsonProperty("TaskId")]
public string TaskId{ get; set; }
/// <summary>
/// 执行结果,包括"SUCCESS", "FAILED", "RUNNING"
/// </summary>
[JsonProperty("Result")]
public string 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 + "TaskId", this.TaskId);
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,77 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeVpcsRequest : AbstractModel
{
/// <summary>
/// VPC实例ID。形如vpc-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpcIds和Filters。
/// </summary>
[JsonProperty("VpcIds")]
public string[] VpcIds{ get; set; }
/// <summary>
/// 过滤条件参数不支持同时指定VpcIds和Filters。
/// vpc-name - String - 过滤条件VPC实例名称。
/// is-default - String - 过滤条件是否默认VPC。
/// vpc-id - String - 过滤条件VPC实例ID形如vpc-f49l6u0z。
/// cidr-block - String - 过滤条件vpc的cidr。
/// tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
/// tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例
/// </summary>
[JsonProperty("Filters")]
public Filter[] Filters{ get; set; }
/// <summary>
/// 偏移量
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 返回数量
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ 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 + "VpcIds.", this.VpcIds);
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "EcmRegion", this.EcmRegion);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeVpcsResponse : AbstractModel
{
/// <summary>
/// 符合条件的对象数。
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// 私有网络对象。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcSet")]
public VpcInfo[] VpcSet{ 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 + "VpcSet.", this.VpcSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetachNetworkInterfaceRequest : AbstractModel
{
/// <summary>
/// 弹性网卡实例ID例如eni-m6dyj72l。
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// 实例ID。形如ein-hcs7jkg4
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ 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);
this.SetParamSimple(map, prefix + "EcmRegion", this.EcmRegion);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DisassociateAddressRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 标识 EIP 的唯一 ID。EIP 唯一 ID 形如eip-11112222。
/// </summary>
[JsonProperty("AddressId")]
public string AddressId{ get; set; }
/// <summary>
/// 表示解绑 EIP 之后是否分配普通公网 IP。取值范围
/// TRUE表示解绑 EIP 之后分配普通公网 IP。
/// FALSE表示解绑 EIP 之后不分配普通公网 IP。
/// 默认取值FALSE。
///
/// 只有满足以下条件时才能指定该参数:
/// 只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。
/// 解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 DescribeAddressQuota 接口获取。
/// </summary>
[JsonProperty("ReallocateNormalPublicIp")]
public bool? ReallocateNormalPublicIp{ 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 + "EcmRegion", this.EcmRegion);
this.SetParamSimple(map, prefix + "AddressId", this.AddressId);
this.SetParamSimple(map, prefix + "ReallocateNormalPublicIp", this.ReallocateNormalPublicIp);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DiskInfo : AbstractModel
{
/// <summary>
/// 磁盘类型LOCAL_BASIC
/// </summary>
[JsonProperty("DiskType")]
public string DiskType{ get; set; }
/// <summary>
/// 磁盘ID
/// </summary>
[JsonProperty("DiskId")]
public string DiskId{ get; set; }
/// <summary>
/// 磁盘大小GB
/// </summary>
[JsonProperty("DiskSize")]
public long? DiskSize{ 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 + "DiskType", this.DiskType);
this.SetParamSimple(map, prefix + "DiskId", this.DiskId);
this.SetParamSimple(map, prefix + "DiskSize", this.DiskSize);
}
}
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EipQuota : AbstractModel
{
/// <summary>
/// 配额名称,取值范围:
/// TOTAL_EIP_QUOTA用户当前地域下EIP的配额数
/// DAILY_EIP_APPLY用户当前地域下今日申购次数
/// DAILY_PUBLIC_IP_ASSIGN用户当前地域下重新分配公网 IP次数。
/// </summary>
[JsonProperty("QuotaId")]
public string QuotaId{ get; set; }
/// <summary>
/// 当前数量
/// </summary>
[JsonProperty("QuotaCurrent")]
public ulong? QuotaCurrent{ get; set; }
/// <summary>
/// 配额数量
/// </summary>
[JsonProperty("QuotaLimit")]
public ulong? QuotaLimit{ 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 + "QuotaId", this.QuotaId);
this.SetParamSimple(map, prefix + "QuotaCurrent", this.QuotaCurrent);
this.SetParamSimple(map, prefix + "QuotaLimit", this.QuotaLimit);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EnhancedService : AbstractModel
{
/// <summary>
/// 是否开启云镜服务。
/// </summary>
[JsonProperty("SecurityService")]
public RunSecurityServiceEnabled SecurityService{ get; set; }
/// <summary>
/// 是否开启云监控服务。
/// </summary>
[JsonProperty("MonitorService")]
public RunMonitorServiceEnabled MonitorService{ 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 + "SecurityService.", this.SecurityService);
this.SetParamObj(map, prefix + "MonitorService.", this.MonitorService);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Filter : AbstractModel
{
/// <summary>
/// 过滤字段名称
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// 过滤字段内容数组
/// </summary>
[JsonProperty("Values")]
public string[] Values{ 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 + "Name", this.Name);
this.SetParamArraySimple(map, prefix + "Values.", this.Values);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ISP : AbstractModel
{
/// <summary>
/// 运营商ID
/// </summary>
[JsonProperty("ISPId")]
public string ISPId{ get; set; }
/// <summary>
/// 运营商名称
/// </summary>
[JsonProperty("ISPName")]
public string ISPName{ 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 + "ISPId", this.ISPId);
this.SetParamSimple(map, prefix + "ISPName", this.ISPName);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ISPCounter : AbstractModel
{
/// <summary>
/// 运营商名称
/// </summary>
[JsonProperty("ProviderName")]
public string ProviderName{ get; set; }
/// <summary>
/// 节点数量
/// </summary>
[JsonProperty("ProviderNodeNum")]
public long? ProviderNodeNum{ get; set; }
/// <summary>
/// 实例数量
/// </summary>
[JsonProperty("ProvederInstanceNum")]
public long? ProvederInstanceNum{ get; set; }
/// <summary>
/// Zone实例信息结构体数组
/// </summary>
[JsonProperty("ZoneInstanceInfoSet")]
public ZoneInstanceInfo[] ZoneInstanceInfoSet{ 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 + "ProviderName", this.ProviderName);
this.SetParamSimple(map, prefix + "ProviderNodeNum", this.ProviderNodeNum);
this.SetParamSimple(map, prefix + "ProvederInstanceNum", this.ProvederInstanceNum);
this.SetParamArrayObj(map, prefix + "ZoneInstanceInfoSet.", this.ZoneInstanceInfoSet);
}
}
}

View File

@@ -0,0 +1,134 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Image : AbstractModel
{
/// <summary>
/// 镜像ID
/// </summary>
[JsonProperty("ImageId")]
public string ImageId{ get; set; }
/// <summary>
/// 镜像名称
/// </summary>
[JsonProperty("ImageName")]
public string ImageName{ get; set; }
/// <summary>
/// 镜像状态
/// </summary>
[JsonProperty("ImageState")]
public string ImageState{ get; set; }
/// <summary>
/// 镜像类型
/// </summary>
[JsonProperty("ImageType")]
public string ImageType{ get; set; }
/// <summary>
/// 操作系统名称
/// </summary>
[JsonProperty("ImageOsName")]
public string ImageOsName{ get; set; }
/// <summary>
/// 镜像描述
/// </summary>
[JsonProperty("ImageDescription")]
public string ImageDescription{ get; set; }
/// <summary>
/// 镜像导入时间
/// </summary>
[JsonProperty("ImageCreateTime")]
public string ImageCreateTime{ get; set; }
/// <summary>
/// 操作系统位数
/// </summary>
[JsonProperty("Architecture")]
public string Architecture{ get; set; }
/// <summary>
/// 操作系统类型
/// </summary>
[JsonProperty("OsType")]
public string OsType{ get; set; }
/// <summary>
/// 操作系统版本
/// </summary>
[JsonProperty("OsVersion")]
public string OsVersion{ get; set; }
/// <summary>
/// 操作系统平台
/// </summary>
[JsonProperty("Platform")]
public string Platform{ get; set; }
/// <summary>
/// 镜像所有者
/// </summary>
[JsonProperty("ImageOwner")]
public long? ImageOwner{ get; set; }
/// <summary>
/// 镜像大小。单位GB
/// </summary>
[JsonProperty("ImageSize")]
public long? ImageSize{ get; set; }
/// <summary>
/// 镜像来源信息
/// </summary>
[JsonProperty("SrcImage")]
public SrcImage SrcImage{ 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 + "ImageId", this.ImageId);
this.SetParamSimple(map, prefix + "ImageName", this.ImageName);
this.SetParamSimple(map, prefix + "ImageState", this.ImageState);
this.SetParamSimple(map, prefix + "ImageType", this.ImageType);
this.SetParamSimple(map, prefix + "ImageOsName", this.ImageOsName);
this.SetParamSimple(map, prefix + "ImageDescription", this.ImageDescription);
this.SetParamSimple(map, prefix + "ImageCreateTime", this.ImageCreateTime);
this.SetParamSimple(map, prefix + "Architecture", this.Architecture);
this.SetParamSimple(map, prefix + "OsType", this.OsType);
this.SetParamSimple(map, prefix + "OsVersion", this.OsVersion);
this.SetParamSimple(map, prefix + "Platform", this.Platform);
this.SetParamSimple(map, prefix + "ImageOwner", this.ImageOwner);
this.SetParamSimple(map, prefix + "ImageSize", this.ImageSize);
this.SetParamObj(map, prefix + "SrcImage.", this.SrcImage);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ImportImageRequest : AbstractModel
{
/// <summary>
/// 镜像的Id。
/// </summary>
[JsonProperty("ImageId")]
public string ImageId{ get; set; }
/// <summary>
/// 镜像的描述。
/// </summary>
[JsonProperty("ImageDescription")]
public string ImageDescription{ get; set; }
/// <summary>
/// 源地域
/// </summary>
[JsonProperty("SourceRegion")]
public string SourceRegion{ 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 + "ImageId", this.ImageId);
this.SetParamSimple(map, prefix + "ImageDescription", this.ImageDescription);
this.SetParamSimple(map, prefix + "SourceRegion", this.SourceRegion);
}
}
}

View File

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

View File

@@ -0,0 +1,237 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Instance : AbstractModel
{
/// <summary>
/// 实例ID。
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 实例名称如ens-34241f3s。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 实例状态。取值范围:
/// PENDING表示创建中
/// LAUNCH_FAILED表示创建失败
/// RUNNING表示运行中
/// STOPPED表示关机
/// STARTING表示开机中
/// STOPPING表示关机中
/// REBOOTING表示重启中
/// SHUTDOWN表示停止待销毁
/// TERMINATING表示销毁中。
/// </summary>
[JsonProperty("InstanceState")]
public string InstanceState{ get; set; }
/// <summary>
/// 实例当前使用的镜像的信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Image")]
public Image Image{ get; set; }
/// <summary>
/// 实例当前所属的模块简要信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SimpleModule")]
public SimpleModule SimpleModule{ get; set; }
/// <summary>
/// 实例所在的位置相关信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Position")]
public Position Position{ get; set; }
/// <summary>
/// 实例的网络相关信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Internet")]
public Internet Internet{ get; set; }
/// <summary>
/// 实例的配置相关信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceTypeConfig")]
public InstanceTypeConfig InstanceTypeConfig{ get; set; }
/// <summary>
/// 实例的创建时间。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 实例的标签信息。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TagSet")]
public Tag[] TagSet{ get; set; }
/// <summary>
/// 实例最后一次操作。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LatestOperation")]
public string LatestOperation{ get; set; }
/// <summary>
/// 实例最后一次操作结果。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LatestOperationState")]
public string LatestOperationState{ get; set; }
/// <summary>
/// 实例业务状态。取值范围:
/// NORMAL表示正常状态的实例
/// EXPIRED表示过期的实例
/// PROTECTIVELY_ISOLATED表示被安全隔离的实例。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RestrictState")]
public string RestrictState{ get; set; }
/// <summary>
/// 系统盘大小单位GB。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SystemDiskSize")]
public long? SystemDiskSize{ get; set; }
/// <summary>
/// 数据盘大小单位GB。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DataDiskSize")]
public long? DataDiskSize{ get; set; }
/// <summary>
/// UUID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("UUID")]
public string UUID{ get; set; }
/// <summary>
/// 付费方式。
/// 0为后付费。
/// 1为预付费。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PayMode")]
public long? PayMode{ get; set; }
/// <summary>
/// 过期时间。格式为yyyy-mm-dd HH:mm:ss。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ExpireTime")]
public string ExpireTime{ get; set; }
/// <summary>
/// 隔离时间。格式为yyyy-mm-dd HH:mm:ss。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IsolatedTime")]
public string IsolatedTime{ get; set; }
/// <summary>
/// 是否自动续费。
/// 0为不自动续费。
/// 1为自动续费。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RenewFlag")]
public long? RenewFlag{ get; set; }
/// <summary>
/// 过期状态。
/// NORMAL 表示机器运行正常。
/// WILL_EXPIRE 表示即将过期。
/// EXPIRED 表示已过期。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ExpireState")]
public string ExpireState{ get; set; }
/// <summary>
/// 系统盘信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SystemDisk")]
public DiskInfo SystemDisk{ get; set; }
/// <summary>
/// 数据盘信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DataDisks")]
public DiskInfo[] DataDisks{ 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 + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "InstanceState", this.InstanceState);
this.SetParamObj(map, prefix + "Image.", this.Image);
this.SetParamObj(map, prefix + "SimpleModule.", this.SimpleModule);
this.SetParamObj(map, prefix + "Position.", this.Position);
this.SetParamObj(map, prefix + "Internet.", this.Internet);
this.SetParamObj(map, prefix + "InstanceTypeConfig.", this.InstanceTypeConfig);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamArrayObj(map, prefix + "TagSet.", this.TagSet);
this.SetParamSimple(map, prefix + "LatestOperation", this.LatestOperation);
this.SetParamSimple(map, prefix + "LatestOperationState", this.LatestOperationState);
this.SetParamSimple(map, prefix + "RestrictState", this.RestrictState);
this.SetParamSimple(map, prefix + "SystemDiskSize", this.SystemDiskSize);
this.SetParamSimple(map, prefix + "DataDiskSize", this.DataDiskSize);
this.SetParamSimple(map, prefix + "UUID", this.UUID);
this.SetParamSimple(map, prefix + "PayMode", this.PayMode);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.SetParamSimple(map, prefix + "IsolatedTime", this.IsolatedTime);
this.SetParamSimple(map, prefix + "RenewFlag", this.RenewFlag);
this.SetParamSimple(map, prefix + "ExpireState", this.ExpireState);
this.SetParamObj(map, prefix + "SystemDisk.", this.SystemDisk);
this.SetParamArrayObj(map, prefix + "DataDisks.", this.DataDisks);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceFamilyConfig : AbstractModel
{
/// <summary>
/// 机型名称
/// </summary>
[JsonProperty("InstanceFamilyName")]
public string InstanceFamilyName{ get; set; }
/// <summary>
/// 机型ID
/// </summary>
[JsonProperty("InstanceFamily")]
public string InstanceFamily{ 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 + "InstanceFamilyName", this.InstanceFamilyName);
this.SetParamSimple(map, prefix + "InstanceFamily", this.InstanceFamily);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceFamilyTypeConfig : AbstractModel
{
/// <summary>
/// 实例机型系列类型Id
/// </summary>
[JsonProperty("InstanceFamilyType")]
public string InstanceFamilyType{ get; set; }
/// <summary>
/// 实例机型系列类型名称
/// </summary>
[JsonProperty("InstanceFamilyTypeName")]
public string InstanceFamilyTypeName{ 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 + "InstanceFamilyType", this.InstanceFamilyType);
this.SetParamSimple(map, prefix + "InstanceFamilyTypeName", this.InstanceFamilyTypeName);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceOperator : AbstractModel
{
/// <summary>
/// 实例id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 实例禁止的操作
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DeniedActions")]
public OperatorAction[] DeniedActions{ 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.SetParamArrayObj(map, prefix + "DeniedActions.", this.DeniedActions);
}
}
}

View File

@@ -0,0 +1,93 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InstanceTypeConfig : AbstractModel
{
/// <summary>
/// 机型族配置信息
/// </summary>
[JsonProperty("InstanceFamilyConfig")]
public InstanceFamilyConfig InstanceFamilyConfig{ get; set; }
/// <summary>
/// 机型
/// </summary>
[JsonProperty("InstanceType")]
public string InstanceType{ get; set; }
/// <summary>
/// CPU核数
/// </summary>
[JsonProperty("Vcpu")]
public long? Vcpu{ get; set; }
/// <summary>
/// 内存大小
/// </summary>
[JsonProperty("Memory")]
public long? Memory{ get; set; }
/// <summary>
/// 主频
/// </summary>
[JsonProperty("Frequency")]
public string Frequency{ get; set; }
/// <summary>
/// 处理器型号
/// </summary>
[JsonProperty("CpuModelName")]
public string CpuModelName{ get; set; }
/// <summary>
/// 机型族类别配置信息
/// </summary>
[JsonProperty("InstanceFamilyTypeConfig")]
public InstanceFamilyTypeConfig InstanceFamilyTypeConfig{ get; set; }
/// <summary>
/// 机型额外信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ExtInfo")]
public string ExtInfo{ 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 + "InstanceFamilyConfig.", this.InstanceFamilyConfig);
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
this.SetParamSimple(map, prefix + "Vcpu", this.Vcpu);
this.SetParamSimple(map, prefix + "Memory", this.Memory);
this.SetParamSimple(map, prefix + "Frequency", this.Frequency);
this.SetParamSimple(map, prefix + "CpuModelName", this.CpuModelName);
this.SetParamObj(map, prefix + "InstanceFamilyTypeConfig.", this.InstanceFamilyTypeConfig);
this.SetParamSimple(map, prefix + "ExtInfo", this.ExtInfo);
}
}
}

View File

@@ -0,0 +1,52 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Internet : AbstractModel
{
/// <summary>
/// 实例的内网相关信息列表。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PrivateIPAddressSet")]
public PrivateIPAddressInfo[] PrivateIPAddressSet{ get; set; }
/// <summary>
/// 实例的公网相关信息列表。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PublicIPAddressSet")]
public PublicIPAddressInfo[] PublicIPAddressSet{ 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.SetParamArrayObj(map, prefix + "PublicIPAddressSet.", this.PublicIPAddressSet);
}
}
}

View File

@@ -0,0 +1,82 @@
/*
* 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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Ipv6Address : AbstractModel
{
/// <summary>
/// IPv6地址形如3402:4e00:20:100:0:8cd9:2a67:71f3
/// </summary>
[JsonProperty("Address")]
public string Address{ get; set; }
/// <summary>
/// 是否是主IP。
/// </summary>
[JsonProperty("Primary")]
public bool? Primary{ get; set; }
/// <summary>
/// EIP实例ID形如eip-hxlqja90。
/// </summary>
[JsonProperty("AddressId")]
public string AddressId{ get; set; }
/// <summary>
/// 描述信息。
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 公网IP是否被封堵。
/// </summary>
[JsonProperty("IsWanIpBlocked")]
public bool? IsWanIpBlocked{ get; set; }
/// <summary>
/// IPv6地址状态
/// PENDING生产中
/// MIGRATING迁移中
/// DELETING删除中
/// AVAILABLE可用的
/// </summary>
[JsonProperty("State")]
public string State{ 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 + "Address", this.Address);
this.SetParamSimple(map, prefix + "Primary", this.Primary);
this.SetParamSimple(map, prefix + "AddressId", this.AddressId);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamSimple(map, prefix + "IsWanIpBlocked", this.IsWanIpBlocked);
this.SetParamSimple(map, prefix + "State", this.State);
}
}
}

View File

@@ -0,0 +1,64 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MigrateNetworkInterfaceRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 弹性网卡实例ID例如eni-m6dyj72l。
/// </summary>
[JsonProperty("NetworkInterfaceId")]
public string NetworkInterfaceId{ get; set; }
/// <summary>
/// 弹性网卡当前绑定的ECM实例ID。形如ein-r8hr2upy。
/// </summary>
[JsonProperty("SourceInstanceId")]
public string SourceInstanceId{ get; set; }
/// <summary>
/// 待迁移的目的ECM实例ID。
/// </summary>
[JsonProperty("DestinationInstanceId")]
public string DestinationInstanceId{ 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 + "EcmRegion", this.EcmRegion);
this.SetParamSimple(map, prefix + "NetworkInterfaceId", this.NetworkInterfaceId);
this.SetParamSimple(map, prefix + "SourceInstanceId", this.SourceInstanceId);
this.SetParamSimple(map, prefix + "DestinationInstanceId", this.DestinationInstanceId);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MigratePrivateIpAddressRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 当内网IP绑定的弹性网卡实例ID例如eni-11112222。
/// </summary>
[JsonProperty("SourceNetworkInterfaceId")]
public string SourceNetworkInterfaceId{ get; set; }
/// <summary>
/// 待迁移的目的弹性网卡实例ID。
/// </summary>
[JsonProperty("DestinationNetworkInterfaceId")]
public string DestinationNetworkInterfaceId{ get; set; }
/// <summary>
/// 迁移的内网IP地址例如10.0.0.6。
/// </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 + "EcmRegion", this.EcmRegion);
this.SetParamSimple(map, prefix + "SourceNetworkInterfaceId", this.SourceNetworkInterfaceId);
this.SetParamSimple(map, prefix + "DestinationNetworkInterfaceId", this.DestinationNetworkInterfaceId);
this.SetParamSimple(map, prefix + "PrivateIpAddress", this.PrivateIpAddress);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyAddressAttributeRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// 标识 EIP 的唯一 ID。EIP 唯一 ID 形如eip-11112222。
/// </summary>
[JsonProperty("AddressId")]
public string AddressId{ get; set; }
/// <summary>
/// 修改后的 EIP 名称。长度上限为20个字符。
/// </summary>
[JsonProperty("AddressName")]
public string AddressName{ get; set; }
/// <summary>
/// 设定EIP是否直通"TRUE"表示直通,"FALSE"表示非直通。注意该参数仅对EIP直通功能可见的用户可以设定。
/// </summary>
[JsonProperty("EipDirectConnection")]
public string EipDirectConnection{ 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 + "EcmRegion", this.EcmRegion);
this.SetParamSimple(map, prefix + "AddressId", this.AddressId);
this.SetParamSimple(map, prefix + "AddressName", this.AddressName);
this.SetParamSimple(map, prefix + "EipDirectConnection", this.EipDirectConnection);
}
}
}

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyAddressesBandwidthRequest : AbstractModel
{
/// <summary>
/// ECM 地域
/// </summary>
[JsonProperty("EcmRegion")]
public string EcmRegion{ get; set; }
/// <summary>
/// EIP唯一标识ID形如'eip-xxxxxxx'
/// </summary>
[JsonProperty("AddressIds")]
public string[] AddressIds{ get; set; }
/// <summary>
/// 调整带宽目标值
/// </summary>
[JsonProperty("InternetMaxBandwidthOut")]
public ulong? InternetMaxBandwidthOut{ 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 + "EcmRegion", this.EcmRegion);
this.SetParamArraySimple(map, prefix + "AddressIds.", this.AddressIds);
this.SetParamSimple(map, prefix + "InternetMaxBandwidthOut", this.InternetMaxBandwidthOut);
}
}
}

View File

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

View File

@@ -0,0 +1,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.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyInstancesAttributeRequest : AbstractModel
{
/// <summary>
/// 待修改的实例ID列表。在单次请求的过程中请求实例数上限为100。
/// </summary>
[JsonProperty("InstanceIdSet")]
public string[] InstanceIdSet{ get; set; }
/// <summary>
/// 修改成功后显示的实例名称不得超过60个字符不传则名称显示为空。
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ 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 + "InstanceIdSet.", this.InstanceIdSet);
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
}
}
}

View File

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

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyModuleImageRequest : AbstractModel
{
/// <summary>
/// 默认镜像ID
/// </summary>
[JsonProperty("DefaultImageId")]
public string DefaultImageId{ get; set; }
/// <summary>
/// 模块ID
/// </summary>
[JsonProperty("ModuleId")]
public string ModuleId{ 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 + "DefaultImageId", this.DefaultImageId);
this.SetParamSimple(map, prefix + "ModuleId", this.ModuleId);
}
}
}

View File

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

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyModuleNameRequest : AbstractModel
{
/// <summary>
/// 模块ID。
/// </summary>
[JsonProperty("ModuleId")]
public string ModuleId{ get; set; }
/// <summary>
/// 模块名称。
/// </summary>
[JsonProperty("ModuleName")]
public string ModuleName{ 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 + "ModuleId", this.ModuleId);
this.SetParamSimple(map, prefix + "ModuleName", this.ModuleName);
}
}
}

View File

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

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ecm.V20190719.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyModuleNetworkRequest : AbstractModel
{
/// <summary>
/// 模块Id
/// </summary>
[JsonProperty("ModuleId")]
public string ModuleId{ get; set; }
/// <summary>
/// 默认带宽上限
/// </summary>
[JsonProperty("DefaultBandwidth")]
public long? DefaultBandwidth{ 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 + "ModuleId", this.ModuleId);
this.SetParamSimple(map, prefix + "DefaultBandwidth", this.DefaultBandwidth);
}
}
}

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