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

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

View File

@@ -0,0 +1,296 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cds.V20180420
{
using Newtonsoft.Json;
using System.Threading.Tasks;
using TencentCloud.Common;
using TencentCloud.Common.Profile;
using TencentCloud.Cds.V20180420.Models;
public class CdsClient : AbstractClient{
private const string endpoint = "cds.tencentcloudapi.com";
private const string version = "2018-04-20";
/// <summary>
/// Client constructor.
/// </summary>
/// <param name="credential">Credentials.</param>
/// <param name="region">Region name, such as "ap-guangzhou".</param>
public CdsClient(Credential credential, string region)
: this(credential, region, new ClientProfile())
{
}
/// <summary>
/// Client Constructor.
/// </summary>
/// <param name="credential">Credentials.</param>
/// <param name="region">Region name, such as "ap-guangzhou".</param>
/// <param name="profile">Client profiles.</param>
public CdsClient(Credential credential, string region, ClientProfile profile)
: base(endpoint, version, credential, region, profile)
{
}
/// <summary>
/// 获取镜像列表
/// </summary>
/// <param name="req"><see cref="DescribeDasbImageIdsRequest"/></param>
/// <returns><see cref="DescribeDasbImageIdsResponse"/></returns>
public async Task<DescribeDasbImageIdsResponse> DescribeDasbImageIds(DescribeDasbImageIdsRequest req)
{
JsonResponseModel<DescribeDasbImageIdsResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeDasbImageIds");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeDasbImageIdsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 获取镜像列表
/// </summary>
/// <param name="req"><see cref="DescribeDasbImageIdsRequest"/></param>
/// <returns><see cref="DescribeDasbImageIdsResponse"/></returns>
public DescribeDasbImageIdsResponse DescribeDasbImageIdsSync(DescribeDasbImageIdsRequest req)
{
JsonResponseModel<DescribeDasbImageIdsResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeDasbImageIds");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeDasbImageIdsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 本接口 (DescribeDbauditInstanceType) 用于查询可售卖的产品规格列表。
/// </summary>
/// <param name="req"><see cref="DescribeDbauditInstanceTypeRequest"/></param>
/// <returns><see cref="DescribeDbauditInstanceTypeResponse"/></returns>
public async Task<DescribeDbauditInstanceTypeResponse> DescribeDbauditInstanceType(DescribeDbauditInstanceTypeRequest req)
{
JsonResponseModel<DescribeDbauditInstanceTypeResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeDbauditInstanceType");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeDbauditInstanceTypeResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 本接口 (DescribeDbauditInstanceType) 用于查询可售卖的产品规格列表。
/// </summary>
/// <param name="req"><see cref="DescribeDbauditInstanceTypeRequest"/></param>
/// <returns><see cref="DescribeDbauditInstanceTypeResponse"/></returns>
public DescribeDbauditInstanceTypeResponse DescribeDbauditInstanceTypeSync(DescribeDbauditInstanceTypeRequest req)
{
JsonResponseModel<DescribeDbauditInstanceTypeResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeDbauditInstanceType");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeDbauditInstanceTypeResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 本接口 (DescribeDbauditInstances) 用于查询数据安全审计实例列表
/// </summary>
/// <param name="req"><see cref="DescribeDbauditInstancesRequest"/></param>
/// <returns><see cref="DescribeDbauditInstancesResponse"/></returns>
public async Task<DescribeDbauditInstancesResponse> DescribeDbauditInstances(DescribeDbauditInstancesRequest req)
{
JsonResponseModel<DescribeDbauditInstancesResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeDbauditInstances");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeDbauditInstancesResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 本接口 (DescribeDbauditInstances) 用于查询数据安全审计实例列表
/// </summary>
/// <param name="req"><see cref="DescribeDbauditInstancesRequest"/></param>
/// <returns><see cref="DescribeDbauditInstancesResponse"/></returns>
public DescribeDbauditInstancesResponse DescribeDbauditInstancesSync(DescribeDbauditInstancesRequest req)
{
JsonResponseModel<DescribeDbauditInstancesResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeDbauditInstances");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeDbauditInstancesResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 本接口 (DescribeDbauditUsedRegions) 用于查询可售卖地域列表。
/// </summary>
/// <param name="req"><see cref="DescribeDbauditUsedRegionsRequest"/></param>
/// <returns><see cref="DescribeDbauditUsedRegionsResponse"/></returns>
public async Task<DescribeDbauditUsedRegionsResponse> DescribeDbauditUsedRegions(DescribeDbauditUsedRegionsRequest req)
{
JsonResponseModel<DescribeDbauditUsedRegionsResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeDbauditUsedRegions");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeDbauditUsedRegionsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 本接口 (DescribeDbauditUsedRegions) 用于查询可售卖地域列表。
/// </summary>
/// <param name="req"><see cref="DescribeDbauditUsedRegionsRequest"/></param>
/// <returns><see cref="DescribeDbauditUsedRegionsResponse"/></returns>
public DescribeDbauditUsedRegionsResponse DescribeDbauditUsedRegionsSync(DescribeDbauditUsedRegionsRequest req)
{
JsonResponseModel<DescribeDbauditUsedRegionsResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeDbauditUsedRegions");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeDbauditUsedRegionsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 用于查询数据安全审计产品实例价格
/// </summary>
/// <param name="req"><see cref="InquiryPriceDbauditInstanceRequest"/></param>
/// <returns><see cref="InquiryPriceDbauditInstanceResponse"/></returns>
public async Task<InquiryPriceDbauditInstanceResponse> InquiryPriceDbauditInstance(InquiryPriceDbauditInstanceRequest req)
{
JsonResponseModel<InquiryPriceDbauditInstanceResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "InquiryPriceDbauditInstance");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<InquiryPriceDbauditInstanceResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 用于查询数据安全审计产品实例价格
/// </summary>
/// <param name="req"><see cref="InquiryPriceDbauditInstanceRequest"/></param>
/// <returns><see cref="InquiryPriceDbauditInstanceResponse"/></returns>
public InquiryPriceDbauditInstanceResponse InquiryPriceDbauditInstanceSync(InquiryPriceDbauditInstanceRequest req)
{
JsonResponseModel<InquiryPriceDbauditInstanceResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "InquiryPriceDbauditInstance");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<InquiryPriceDbauditInstanceResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 本接口 (ModifyDbauditInstancesRenewFlag) 用于修改数据安全审计产品实例续费标识
/// </summary>
/// <param name="req"><see cref="ModifyDbauditInstancesRenewFlagRequest"/></param>
/// <returns><see cref="ModifyDbauditInstancesRenewFlagResponse"/></returns>
public async Task<ModifyDbauditInstancesRenewFlagResponse> ModifyDbauditInstancesRenewFlag(ModifyDbauditInstancesRenewFlagRequest req)
{
JsonResponseModel<ModifyDbauditInstancesRenewFlagResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ModifyDbauditInstancesRenewFlag");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<ModifyDbauditInstancesRenewFlagResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 本接口 (ModifyDbauditInstancesRenewFlag) 用于修改数据安全审计产品实例续费标识
/// </summary>
/// <param name="req"><see cref="ModifyDbauditInstancesRenewFlagRequest"/></param>
/// <returns><see cref="ModifyDbauditInstancesRenewFlagResponse"/></returns>
public ModifyDbauditInstancesRenewFlagResponse ModifyDbauditInstancesRenewFlagSync(ModifyDbauditInstancesRenewFlagRequest req)
{
JsonResponseModel<ModifyDbauditInstancesRenewFlagResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ModifyDbauditInstancesRenewFlag");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<ModifyDbauditInstancesRenewFlagResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
}
}

View File

@@ -0,0 +1,152 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CdsAuditInstance : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 用户AppId
/// </summary>
[JsonProperty("AppId")]
public string AppId{ get; set; }
/// <summary>
/// 用户Uin
/// </summary>
[JsonProperty("Uin")]
public string Uin{ get; set; }
/// <summary>
/// 项目ID
/// </summary>
[JsonProperty("ProjectId")]
public ulong? ProjectId{ get; set; }
/// <summary>
/// 续费标识
/// </summary>
[JsonProperty("RenewFlag")]
public ulong? RenewFlag{ get; set; }
/// <summary>
/// 所属地域
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// 付费模式数据安全审计只支持预付费1
/// </summary>
[JsonProperty("PayMode")]
public ulong? PayMode{ get; set; }
/// <summary>
/// 实例状态: 0未生效1正常运行 2被隔离 3已过期
/// </summary>
[JsonProperty("Status")]
public ulong? Status{ get; set; }
/// <summary>
/// 实例被隔离时间格式yyyy-mm-dd HH:ii:ss
/// </summary>
[JsonProperty("IsolatedTimestamp")]
public string IsolatedTimestamp{ get; set; }
/// <summary>
/// 实例创建时间,格式: yyyy-mm-dd HH:ii:ss
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 实例过期时间格式yyyy-mm-dd HH:ii:ss
/// </summary>
[JsonProperty("ExpireTime")]
public string ExpireTime{ get; set; }
/// <summary>
/// 实例名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 实例公网IP
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PublicIp")]
public string PublicIp{ get; set; }
/// <summary>
/// 实例私网IP
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PrivateIp")]
public string PrivateIp{ get; set; }
/// <summary>
/// 实例类型(版本)
/// </summary>
[JsonProperty("InstanceType")]
public string InstanceType{ get; set; }
/// <summary>
/// 实例域名
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Pdomain")]
public string Pdomain{ 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 + "AppId", this.AppId);
this.SetParamSimple(map, prefix + "Uin", this.Uin);
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.SetParamSimple(map, prefix + "RenewFlag", this.RenewFlag);
this.SetParamSimple(map, prefix + "Region", this.Region);
this.SetParamSimple(map, prefix + "PayMode", this.PayMode);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "IsolatedTimestamp", this.IsolatedTimestamp);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "PublicIp", this.PublicIp);
this.SetParamSimple(map, prefix + "PrivateIp", this.PrivateIp);
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
this.SetParamSimple(map, prefix + "Pdomain", this.Pdomain);
}
}
}

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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DbauditTypesInfo : AbstractModel
{
/// <summary>
/// 规格描述
/// </summary>
[JsonProperty("InstanceVersionName")]
public string InstanceVersionName{ get; set; }
/// <summary>
/// 规格名称
/// </summary>
[JsonProperty("InstanceVersionKey")]
public string InstanceVersionKey{ get; set; }
/// <summary>
/// 最大吞吐量
/// </summary>
[JsonProperty("Qps")]
public ulong? Qps{ get; set; }
/// <summary>
/// 最大实例数
/// </summary>
[JsonProperty("MaxInstances")]
public ulong? MaxInstances{ get; set; }
/// <summary>
/// 入库速率(每小时)
/// </summary>
[JsonProperty("InsertSpeed")]
public ulong? InsertSpeed{ get; set; }
/// <summary>
/// 最大在线存储量,单位:条
/// </summary>
[JsonProperty("OnlineStorageCapacity")]
public ulong? OnlineStorageCapacity{ get; set; }
/// <summary>
/// 最大归档存储量,单位:条
/// </summary>
[JsonProperty("ArchivingStorageCapacity")]
public ulong? ArchivingStorageCapacity{ 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 + "InstanceVersionName", this.InstanceVersionName);
this.SetParamSimple(map, prefix + "InstanceVersionKey", this.InstanceVersionKey);
this.SetParamSimple(map, prefix + "Qps", this.Qps);
this.SetParamSimple(map, prefix + "MaxInstances", this.MaxInstances);
this.SetParamSimple(map, prefix + "InsertSpeed", this.InsertSpeed);
this.SetParamSimple(map, prefix + "OnlineStorageCapacity", this.OnlineStorageCapacity);
this.SetParamSimple(map, prefix + "ArchivingStorageCapacity", this.ArchivingStorageCapacity);
}
}
}

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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDasbImageIdsRequest : 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,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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDasbImageIdsResponse : AbstractModel
{
/// <summary>
/// 基础镜像ID
/// </summary>
[JsonProperty("BaseImageId")]
public string BaseImageId{ get; set; }
/// <summary>
/// AI镜像ID
/// </summary>
[JsonProperty("AiImageId")]
public string AiImageId{ 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 + "BaseImageId", this.BaseImageId);
this.SetParamSimple(map, prefix + "AiImageId", this.AiImageId);
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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDbauditInstanceTypeRequest : 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,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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDbauditInstanceTypeResponse : AbstractModel
{
/// <summary>
/// 数据安全审计产品规格信息列表
/// </summary>
[JsonProperty("DbauditTypesSet")]
public DbauditTypesInfo[] DbauditTypesSet{ 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 + "DbauditTypesSet.", this.DbauditTypesSet);
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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDbauditInstancesRequest : AbstractModel
{
/// <summary>
/// 查询条件地域
/// </summary>
[JsonProperty("SearchRegion")]
public string SearchRegion{ get; set; }
/// <summary>
/// 限制数目默认10 最大50
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 偏移量默认1
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ 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 + "SearchRegion", this.SearchRegion);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
}
}
}

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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDbauditInstancesResponse : AbstractModel
{
/// <summary>
/// 总实例数
/// </summary>
[JsonProperty("TotalCount")]
public ulong? TotalCount{ get; set; }
/// <summary>
/// 数据安全审计实例信息列表
/// </summary>
[JsonProperty("CdsAuditInstanceSet")]
public CdsAuditInstance[] CdsAuditInstanceSet{ 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 + "CdsAuditInstanceSet.", this.CdsAuditInstanceSet);
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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDbauditUsedRegionsRequest : 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,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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDbauditUsedRegionsResponse : AbstractModel
{
/// <summary>
/// 可售卖地域信息列表
/// </summary>
[JsonProperty("RegionSet")]
public RegionInfo[] RegionSet{ 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 + "RegionSet.", this.RegionSet);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceDbauditInstanceRequest : AbstractModel
{
/// <summary>
/// 实例规格,取值范围: cdsauditcdsaudit_adv cdsaudit_ent 分别为合规版,高级版,企业版
/// </summary>
[JsonProperty("InstanceVersion")]
public string InstanceVersion{ get; set; }
/// <summary>
/// 询价类型: renew续费newbuy新购
/// </summary>
[JsonProperty("InquiryType")]
public string InquiryType{ get; set; }
/// <summary>
/// 购买实例的时长。取值范围1y/m2y/m,3y/m4m 5m6m 7m8m9m 10m
/// </summary>
[JsonProperty("TimeSpan")]
public ulong? TimeSpan{ get; set; }
/// <summary>
/// 购买时长单位ym
/// </summary>
[JsonProperty("TimeUnit")]
public string TimeUnit{ get; set; }
/// <summary>
/// 实例所在地域
/// </summary>
[JsonProperty("ServiceRegion")]
public string ServiceRegion{ 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 + "InstanceVersion", this.InstanceVersion);
this.SetParamSimple(map, prefix + "InquiryType", this.InquiryType);
this.SetParamSimple(map, prefix + "TimeSpan", this.TimeSpan);
this.SetParamSimple(map, prefix + "TimeUnit", this.TimeUnit);
this.SetParamSimple(map, prefix + "ServiceRegion", this.ServiceRegion);
}
}
}

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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceDbauditInstanceResponse : AbstractModel
{
/// <summary>
/// 总价,单位:元
/// </summary>
[JsonProperty("TotalPrice")]
public float? TotalPrice{ get; set; }
/// <summary>
/// 真实价钱,预支费用的折扣价,单位:元
/// </summary>
[JsonProperty("RealTotalCost")]
public float? RealTotalCost{ 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 + "TotalPrice", this.TotalPrice);
this.SetParamSimple(map, prefix + "RealTotalCost", this.RealTotalCost);
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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyDbauditInstancesRenewFlagRequest : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 0表示默认状态(用户未设置,即初始状态)1表示自动续费2表示明确不自动续费
/// </summary>
[JsonProperty("AutoRenewFlag")]
public long? AutoRenewFlag{ 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 + "AutoRenewFlag", this.AutoRenewFlag);
}
}
}

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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyDbauditInstancesRenewFlagResponse : 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.Cds.V20180420.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class RegionInfo : AbstractModel
{
/// <summary>
/// 地域ID
/// </summary>
[JsonProperty("RegionId")]
public long? RegionId{ get; set; }
/// <summary>
/// 地域名称
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// 地域描述
/// </summary>
[JsonProperty("RegionName")]
public string RegionName{ get; set; }
/// <summary>
/// 地域可用状态
/// </summary>
[JsonProperty("RegionState")]
public long? RegionState{ 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 + "RegionId", this.RegionId);
this.SetParamSimple(map, prefix + "Region", this.Region);
this.SetParamSimple(map, prefix + "RegionName", this.RegionName);
this.SetParamSimple(map, prefix + "RegionState", this.RegionState);
}
}
}