首次推送

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,456 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cloudhsm.V20191112
{
using Newtonsoft.Json;
using System.Threading.Tasks;
using TencentCloud.Common;
using TencentCloud.Common.Profile;
using TencentCloud.Cloudhsm.V20191112.Models;
public class CloudhsmClient : AbstractClient{
private const string endpoint = "cloudhsm.tencentcloudapi.com";
private const string version = "2019-11-12";
/// <summary>
/// Client constructor.
/// </summary>
/// <param name="credential">Credentials.</param>
/// <param name="region">Region name, such as "ap-guangzhou".</param>
public CloudhsmClient(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 CloudhsmClient(Credential credential, string region, ClientProfile profile)
: base(endpoint, version, credential, region, profile)
{
}
/// <summary>
/// 通过SubnetId获取Hsm资源数
/// </summary>
/// <param name="req"><see cref="DescribeHSMBySubnetIdRequest"/></param>
/// <returns><see cref="DescribeHSMBySubnetIdResponse"/></returns>
public async Task<DescribeHSMBySubnetIdResponse> DescribeHSMBySubnetId(DescribeHSMBySubnetIdRequest req)
{
JsonResponseModel<DescribeHSMBySubnetIdResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeHSMBySubnetId");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeHSMBySubnetIdResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 通过SubnetId获取Hsm资源数
/// </summary>
/// <param name="req"><see cref="DescribeHSMBySubnetIdRequest"/></param>
/// <returns><see cref="DescribeHSMBySubnetIdResponse"/></returns>
public DescribeHSMBySubnetIdResponse DescribeHSMBySubnetIdSync(DescribeHSMBySubnetIdRequest req)
{
JsonResponseModel<DescribeHSMBySubnetIdResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeHSMBySubnetId");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeHSMBySubnetIdResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 通过VpcId获取Hsm资源数
/// </summary>
/// <param name="req"><see cref="DescribeHSMByVpcIdRequest"/></param>
/// <returns><see cref="DescribeHSMByVpcIdResponse"/></returns>
public async Task<DescribeHSMByVpcIdResponse> DescribeHSMByVpcId(DescribeHSMByVpcIdRequest req)
{
JsonResponseModel<DescribeHSMByVpcIdResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeHSMByVpcId");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeHSMByVpcIdResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 通过VpcId获取Hsm资源数
/// </summary>
/// <param name="req"><see cref="DescribeHSMByVpcIdRequest"/></param>
/// <returns><see cref="DescribeHSMByVpcIdResponse"/></returns>
public DescribeHSMByVpcIdResponse DescribeHSMByVpcIdSync(DescribeHSMByVpcIdRequest req)
{
JsonResponseModel<DescribeHSMByVpcIdResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeHSMByVpcId");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeHSMByVpcIdResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询子网列表
/// </summary>
/// <param name="req"><see cref="DescribeSubnetRequest"/></param>
/// <returns><see cref="DescribeSubnetResponse"/></returns>
public async Task<DescribeSubnetResponse> DescribeSubnet(DescribeSubnetRequest req)
{
JsonResponseModel<DescribeSubnetResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeSubnet");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSubnetResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询子网列表
/// </summary>
/// <param name="req"><see cref="DescribeSubnetRequest"/></param>
/// <returns><see cref="DescribeSubnetResponse"/></returns>
public DescribeSubnetResponse DescribeSubnetSync(DescribeSubnetRequest req)
{
JsonResponseModel<DescribeSubnetResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeSubnet");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSubnetResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 根据用户的AppId获取用户安全组列表
/// </summary>
/// <param name="req"><see cref="DescribeUsgRequest"/></param>
/// <returns><see cref="DescribeUsgResponse"/></returns>
public async Task<DescribeUsgResponse> DescribeUsg(DescribeUsgRequest req)
{
JsonResponseModel<DescribeUsgResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeUsg");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeUsgResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 根据用户的AppId获取用户安全组列表
/// </summary>
/// <param name="req"><see cref="DescribeUsgRequest"/></param>
/// <returns><see cref="DescribeUsgResponse"/></returns>
public DescribeUsgResponse DescribeUsgSync(DescribeUsgRequest req)
{
JsonResponseModel<DescribeUsgResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeUsg");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeUsgResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 获取安全组详情
/// </summary>
/// <param name="req"><see cref="DescribeUsgRuleRequest"/></param>
/// <returns><see cref="DescribeUsgRuleResponse"/></returns>
public async Task<DescribeUsgRuleResponse> DescribeUsgRule(DescribeUsgRuleRequest req)
{
JsonResponseModel<DescribeUsgRuleResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeUsgRule");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeUsgRuleResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 获取安全组详情
/// </summary>
/// <param name="req"><see cref="DescribeUsgRuleRequest"/></param>
/// <returns><see cref="DescribeUsgRuleResponse"/></returns>
public DescribeUsgRuleResponse DescribeUsgRuleSync(DescribeUsgRuleRequest req)
{
JsonResponseModel<DescribeUsgRuleResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeUsgRule");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeUsgRuleResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询用户的私有网络列表
/// </summary>
/// <param name="req"><see cref="DescribeVpcRequest"/></param>
/// <returns><see cref="DescribeVpcResponse"/></returns>
public async Task<DescribeVpcResponse> DescribeVpc(DescribeVpcRequest req)
{
JsonResponseModel<DescribeVpcResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeVpc");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeVpcResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询用户的私有网络列表
/// </summary>
/// <param name="req"><see cref="DescribeVpcRequest"/></param>
/// <returns><see cref="DescribeVpcResponse"/></returns>
public DescribeVpcResponse DescribeVpcSync(DescribeVpcRequest req)
{
JsonResponseModel<DescribeVpcResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeVpc");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeVpcResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 获取VSM属性
/// </summary>
/// <param name="req"><see cref="DescribeVsmAttributesRequest"/></param>
/// <returns><see cref="DescribeVsmAttributesResponse"/></returns>
public async Task<DescribeVsmAttributesResponse> DescribeVsmAttributes(DescribeVsmAttributesRequest req)
{
JsonResponseModel<DescribeVsmAttributesResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeVsmAttributes");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeVsmAttributesResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 获取VSM属性
/// </summary>
/// <param name="req"><see cref="DescribeVsmAttributesRequest"/></param>
/// <returns><see cref="DescribeVsmAttributesResponse"/></returns>
public DescribeVsmAttributesResponse DescribeVsmAttributesSync(DescribeVsmAttributesRequest req)
{
JsonResponseModel<DescribeVsmAttributesResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeVsmAttributes");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeVsmAttributesResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 获取用户VSM列表
/// </summary>
/// <param name="req"><see cref="DescribeVsmsRequest"/></param>
/// <returns><see cref="DescribeVsmsResponse"/></returns>
public async Task<DescribeVsmsResponse> DescribeVsms(DescribeVsmsRequest req)
{
JsonResponseModel<DescribeVsmsResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeVsms");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeVsmsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 获取用户VSM列表
/// </summary>
/// <param name="req"><see cref="DescribeVsmsRequest"/></param>
/// <returns><see cref="DescribeVsmsResponse"/></returns>
public DescribeVsmsResponse DescribeVsmsSync(DescribeVsmsRequest req)
{
JsonResponseModel<DescribeVsmsResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeVsms");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeVsmsResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 购买询价接口
/// </summary>
/// <param name="req"><see cref="InquiryPriceBuyVsmRequest"/></param>
/// <returns><see cref="InquiryPriceBuyVsmResponse"/></returns>
public async Task<InquiryPriceBuyVsmResponse> InquiryPriceBuyVsm(InquiryPriceBuyVsmRequest req)
{
JsonResponseModel<InquiryPriceBuyVsmResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "InquiryPriceBuyVsm");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<InquiryPriceBuyVsmResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 购买询价接口
/// </summary>
/// <param name="req"><see cref="InquiryPriceBuyVsmRequest"/></param>
/// <returns><see cref="InquiryPriceBuyVsmResponse"/></returns>
public InquiryPriceBuyVsmResponse InquiryPriceBuyVsmSync(InquiryPriceBuyVsmRequest req)
{
JsonResponseModel<InquiryPriceBuyVsmResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "InquiryPriceBuyVsm");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<InquiryPriceBuyVsmResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 修改VSM属性
/// </summary>
/// <param name="req"><see cref="ModifyVsmAttributesRequest"/></param>
/// <returns><see cref="ModifyVsmAttributesResponse"/></returns>
public async Task<ModifyVsmAttributesResponse> ModifyVsmAttributes(ModifyVsmAttributesRequest req)
{
JsonResponseModel<ModifyVsmAttributesResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "ModifyVsmAttributes");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<ModifyVsmAttributesResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 修改VSM属性
/// </summary>
/// <param name="req"><see cref="ModifyVsmAttributesRequest"/></param>
/// <returns><see cref="ModifyVsmAttributesResponse"/></returns>
public ModifyVsmAttributesResponse ModifyVsmAttributesSync(ModifyVsmAttributesRequest req)
{
JsonResponseModel<ModifyVsmAttributesResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "ModifyVsmAttributes");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<ModifyVsmAttributesResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
}
}

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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeHSMBySubnetIdRequest : AbstractModel
{
/// <summary>
/// Subnet标识符
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ 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);
}
}
}

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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeHSMBySubnetIdResponse : AbstractModel
{
/// <summary>
/// HSM数量
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 作为查询条件的SubnetId
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ 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.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeHSMByVpcIdRequest : AbstractModel
{
/// <summary>
/// VPC标识符
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
}
}
}

View File

@@ -0,0 +1,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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeHSMByVpcIdResponse : AbstractModel
{
/// <summary>
/// HSM数量
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 作为查询条件的VpcId
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ 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.SetParamSimple(map, prefix + "VpcId", this.VpcId);
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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSubnetRequest : AbstractModel
{
/// <summary>
/// 返回数量。
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 偏移量。
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 查询指定VpcId下的子网信息。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 查找关键字
/// </summary>
[JsonProperty("SearchWord")]
public string SearchWord{ 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 + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
}
}
}

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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSubnetResponse : AbstractModel
{
/// <summary>
/// 返回的子网数量。
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 返回的子网实例列表。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetList")]
public Subnet[] SubnetList{ 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 + "SubnetList.", this.SubnetList);
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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeUsgRequest : AbstractModel
{
/// <summary>
/// 偏移量当Offset和Limit均为0时将一次性返回用户所有的安全组列表。
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 返回量当Offset和Limit均为0时将一次性返回用户所有的安全组列表。
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 搜索关键字
/// </summary>
[JsonProperty("SearchWord")]
public string SearchWord{ 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 + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
}
}
}

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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeUsgResponse : AbstractModel
{
/// <summary>
/// 用户的安全组列表
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SgList")]
public SgUnit[] SgList{ 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 + "SgList.", this.SgList);
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeUsgRuleRequest : AbstractModel
{
/// <summary>
/// 根据安全组Id获取安全组详情
/// </summary>
[JsonProperty("SgIds")]
public string[] SgIds{ 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 + "SgIds.", this.SgIds);
}
}
}

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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeUsgRuleResponse : AbstractModel
{
/// <summary>
/// 安全组详情
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SgRules")]
public UsgRuleDetail[] SgRules{ get; set; }
/// <summary>
/// 安全组详情数量
/// 注意:此字段可能返回 null表示取不到有效值。
/// </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 + "SgRules.", this.SgRules);
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeVpcRequest : AbstractModel
{
/// <summary>
/// 返回偏移量。
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 返回数量。
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 搜索关键字
/// </summary>
[JsonProperty("SearchWord")]
public string SearchWord{ 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 + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
}
}
}

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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeVpcResponse : AbstractModel
{
/// <summary>
/// 可查询到的所有Vpc实例总数。
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// Vpc对象列表
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcList")]
public Vpc[] VpcList{ 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 + "VpcList.", this.VpcList);
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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeVsmAttributesRequest : AbstractModel
{
/// <summary>
/// 资源Id
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ 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 + "ResourceId", this.ResourceId);
}
}
}

View File

@@ -0,0 +1,192 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeVsmAttributesResponse : AbstractModel
{
/// <summary>
/// 资源Id
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// 资源名称
/// </summary>
[JsonProperty("ResourceName")]
public string ResourceName{ get; set; }
/// <summary>
/// 资源状态
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 资源IP
/// </summary>
[JsonProperty("Vip")]
public string Vip{ get; set; }
/// <summary>
/// 资源所属Vpc
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 资源所属子网
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 资源所属HSM的规格
/// </summary>
[JsonProperty("Model")]
public string Model{ get; set; }
/// <summary>
/// 资源类型
/// </summary>
[JsonProperty("VsmType")]
public long? VsmType{ get; set; }
/// <summary>
/// 地域Id
/// </summary>
[JsonProperty("RegionId")]
public long? RegionId{ get; set; }
/// <summary>
/// 区域Id
/// </summary>
[JsonProperty("ZoneId")]
public long? ZoneId{ get; set; }
/// <summary>
/// 过期时间
/// </summary>
[JsonProperty("ExpireTime")]
public long? ExpireTime{ get; set; }
/// <summary>
/// 安全组详情信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SgList")]
public UsgRuleDetail[] SgList{ get; set; }
/// <summary>
/// 子网名
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetName")]
public string SubnetName{ get; set; }
/// <summary>
/// 地域名
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RegionName")]
public string RegionName{ get; set; }
/// <summary>
/// 区域名
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ZoneName")]
public string ZoneName{ get; set; }
/// <summary>
/// 实例是否已经过期
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Expired")]
public bool? Expired{ get; set; }
/// <summary>
/// 为正数表示实例距离过期时间剩余秒数,为负数表示实例已经过期多少秒
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RemainSeconds")]
public long? RemainSeconds{ get; set; }
/// <summary>
/// 私有虚拟网络名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcName")]
public string VpcName{ get; set; }
/// <summary>
/// VPC的IPv4 CIDR
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcCidrBlock")]
public string VpcCidrBlock{ get; set; }
/// <summary>
/// 子网的CIDR
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetCidrBlock")]
public string SubnetCidrBlock{ 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 + "ResourceId", this.ResourceId);
this.SetParamSimple(map, prefix + "ResourceName", this.ResourceName);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "Vip", this.Vip);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "Model", this.Model);
this.SetParamSimple(map, prefix + "VsmType", this.VsmType);
this.SetParamSimple(map, prefix + "RegionId", this.RegionId);
this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.SetParamArrayObj(map, prefix + "SgList.", this.SgList);
this.SetParamSimple(map, prefix + "SubnetName", this.SubnetName);
this.SetParamSimple(map, prefix + "RegionName", this.RegionName);
this.SetParamSimple(map, prefix + "ZoneName", this.ZoneName);
this.SetParamSimple(map, prefix + "Expired", this.Expired);
this.SetParamSimple(map, prefix + "RemainSeconds", this.RemainSeconds);
this.SetParamSimple(map, prefix + "VpcName", this.VpcName);
this.SetParamSimple(map, prefix + "VpcCidrBlock", this.VpcCidrBlock);
this.SetParamSimple(map, prefix + "SubnetCidrBlock", this.SubnetCidrBlock);
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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeVsmsRequest : AbstractModel
{
/// <summary>
/// 偏移
/// </summary>
[JsonProperty("Offset")]
public long? Offset{ get; set; }
/// <summary>
/// 最大数量
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 查询关键字
/// </summary>
[JsonProperty("SearchWord")]
public string SearchWord{ 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 + "Offset", this.Offset);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
}
}
}

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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeVsmsResponse : AbstractModel
{
/// <summary>
/// 获取实例的总个数
/// </summary>
[JsonProperty("TotalCount")]
public long? TotalCount{ get; set; }
/// <summary>
/// 资源信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VsmList")]
public ResourceInfo[] VsmList{ 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 + "VsmList.", this.VsmList);
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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceBuyVsmRequest : AbstractModel
{
/// <summary>
/// 需购买实例的数量
/// </summary>
[JsonProperty("GoodsNum")]
public long? GoodsNum{ get; set; }
/// <summary>
/// 付费模式0表示按需计费/后付费1表示预付费
/// </summary>
[JsonProperty("PayMode")]
public long? PayMode{ get; set; }
/// <summary>
/// 商品的时间大小
/// </summary>
[JsonProperty("TimeSpan")]
public string TimeSpan{ get; set; }
/// <summary>
/// 商品的时间单位
/// </summary>
[JsonProperty("TimeUnit")]
public string TimeUnit{ get; set; }
/// <summary>
/// 货币类型默认为CNY
/// </summary>
[JsonProperty("Currency")]
public string Currency{ get; set; }
/// <summary>
/// 默认为CREATE可选RENEW
/// </summary>
[JsonProperty("Type")]
public string Type{ 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 + "GoodsNum", this.GoodsNum);
this.SetParamSimple(map, prefix + "PayMode", this.PayMode);
this.SetParamSimple(map, prefix + "TimeSpan", this.TimeSpan);
this.SetParamSimple(map, prefix + "TimeUnit", this.TimeUnit);
this.SetParamSimple(map, prefix + "Currency", this.Currency);
this.SetParamSimple(map, prefix + "Type", this.Type);
}
}
}

View File

@@ -0,0 +1,83 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquiryPriceBuyVsmResponse : AbstractModel
{
/// <summary>
/// 总金额
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TotalCost")]
public float? TotalCost{ get; set; }
/// <summary>
/// 购买的实例数量
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("GoodsNum")]
public long? GoodsNum{ get; set; }
/// <summary>
/// 商品的时间大小
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TimeSpan")]
public string TimeSpan{ get; set; }
/// <summary>
/// 商品的时间单位
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TimeUnit")]
public string TimeUnit{ get; set; }
/// <summary>
/// 原始总金额
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OriginalCost")]
public float? OriginalCost{ 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 + "TotalCost", this.TotalCost);
this.SetParamSimple(map, prefix + "GoodsNum", this.GoodsNum);
this.SetParamSimple(map, prefix + "TimeSpan", this.TimeSpan);
this.SetParamSimple(map, prefix + "TimeUnit", this.TimeUnit);
this.SetParamSimple(map, prefix + "OriginalCost", this.OriginalCost);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,81 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyVsmAttributesRequest : AbstractModel
{
/// <summary>
/// 资源Id
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// UpdateResourceName-修改资源名称,
/// UpdateSgIds-修改安全组名称,
/// UpdateNetWork-修改网络,
/// Default-默认不修改
/// </summary>
[JsonProperty("Type")]
public string[] Type{ get; set; }
/// <summary>
/// 资源名称
/// </summary>
[JsonProperty("ResourceName")]
public string ResourceName{ get; set; }
/// <summary>
/// 安全组Id
/// </summary>
[JsonProperty("SgIds")]
public string[] SgIds{ get; set; }
/// <summary>
/// VpcId
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 子网Id
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ 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 + "ResourceId", this.ResourceId);
this.SetParamArraySimple(map, prefix + "Type.", this.Type);
this.SetParamSimple(map, prefix + "ResourceName", this.ResourceName);
this.SetParamArraySimple(map, prefix + "SgIds.", this.SgIds);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
}
}
}

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.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyVsmAttributesResponse : 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,180 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ResourceInfo : AbstractModel
{
/// <summary>
/// 资源Id
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// 资源名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ResourceName")]
public string ResourceName{ get; set; }
/// <summary>
/// 资源状态
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 资源IP
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Vip")]
public string Vip{ get; set; }
/// <summary>
/// 资源所属Vpc
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 资源所属子网
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 资源所属HSM规格
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Model")]
public string Model{ get; set; }
/// <summary>
/// 资源类型
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VsmType")]
public long? VsmType{ get; set; }
/// <summary>
/// 地域Id
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RegionId")]
public long? RegionId{ get; set; }
/// <summary>
/// 区域Id
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ZoneId")]
public long? ZoneId{ get; set; }
/// <summary>
/// 过期时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ExpireTime")]
public long? ExpireTime{ get; set; }
/// <summary>
/// 地域名
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RegionName")]
public string RegionName{ get; set; }
/// <summary>
/// 区域名
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ZoneName")]
public string ZoneName{ get; set; }
/// <summary>
/// 实例的安全组列表
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SgList")]
public SgUnit[] SgList{ get; set; }
/// <summary>
/// 子网名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetName")]
public string SubnetName{ get; set; }
/// <summary>
/// 当前实例是否已经过期
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Expired")]
public bool? Expired{ get; set; }
/// <summary>
/// 为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RemainSeconds")]
public long? RemainSeconds{ get; set; }
/// <summary>
/// Vpc名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcName")]
public string VpcName{ 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 + "ResourceId", this.ResourceId);
this.SetParamSimple(map, prefix + "ResourceName", this.ResourceName);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "Vip", this.Vip);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "Model", this.Model);
this.SetParamSimple(map, prefix + "VsmType", this.VsmType);
this.SetParamSimple(map, prefix + "RegionId", this.RegionId);
this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.SetParamSimple(map, prefix + "RegionName", this.RegionName);
this.SetParamSimple(map, prefix + "ZoneName", this.ZoneName);
this.SetParamArrayObj(map, prefix + "SgList.", this.SgList);
this.SetParamSimple(map, prefix + "SubnetName", this.SubnetName);
this.SetParamSimple(map, prefix + "Expired", this.Expired);
this.SetParamSimple(map, prefix + "RemainSeconds", this.RemainSeconds);
this.SetParamSimple(map, prefix + "VpcName", this.VpcName);
}
}
}

View File

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

View File

@@ -0,0 +1,108 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Subnet : AbstractModel
{
/// <summary>
/// VPC实例ID。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 子网实例ID例如subnet-bthucmmy。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 子网名称。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetName")]
public string SubnetName{ get; set; }
/// <summary>
/// 子网的 IPv4 CIDR。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CidrBlock")]
public string CidrBlock{ get; set; }
/// <summary>
/// 创建时间。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// 可用IP数。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("AvailableIpAddressCount")]
public long? AvailableIpAddressCount{ get; set; }
/// <summary>
/// 子网的 IPv6 CIDR。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Ipv6CidrBlock")]
public string Ipv6CidrBlock{ get; set; }
/// <summary>
/// 总IP数
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("TotalIpAddressCount")]
public long? TotalIpAddressCount{ get; set; }
/// <summary>
/// 是否为默认Subnet
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IsDefault")]
public bool? IsDefault{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "SubnetName", this.SubnetName);
this.SetParamSimple(map, prefix + "CidrBlock", this.CidrBlock);
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.SetParamSimple(map, prefix + "AvailableIpAddressCount", this.AvailableIpAddressCount);
this.SetParamSimple(map, prefix + "Ipv6CidrBlock", this.Ipv6CidrBlock);
this.SetParamSimple(map, prefix + "TotalIpAddressCount", this.TotalIpAddressCount);
this.SetParamSimple(map, prefix + "IsDefault", this.IsDefault);
}
}
}

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class UsgPolicy : AbstractModel
{
/// <summary>
/// cidr格式地址
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Ip")]
public string Ip{ get; set; }
/// <summary>
/// 安全组id代表的地址集合
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Id")]
public string Id{ get; set; }
/// <summary>
/// 地址组id代表的地址集合
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("AddressModule")]
public string AddressModule{ get; set; }
/// <summary>
/// 协议
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Proto")]
public string Proto{ get; set; }
/// <summary>
/// 端口
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Port")]
public string Port{ get; set; }
/// <summary>
/// 服务组id代表的协议和端口集合
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ServiceModule")]
public string ServiceModule{ get; set; }
/// <summary>
/// 备注
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Desc")]
public string Desc{ get; set; }
/// <summary>
/// 匹配后行为:ACCEPT/DROP
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Action")]
public string Action{ 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 + "Ip", this.Ip);
this.SetParamSimple(map, prefix + "Id", this.Id);
this.SetParamSimple(map, prefix + "AddressModule", this.AddressModule);
this.SetParamSimple(map, prefix + "Proto", this.Proto);
this.SetParamSimple(map, prefix + "Port", this.Port);
this.SetParamSimple(map, prefix + "ServiceModule", this.ServiceModule);
this.SetParamSimple(map, prefix + "Desc", this.Desc);
this.SetParamSimple(map, prefix + "Action", this.Action);
}
}
}

View File

@@ -0,0 +1,92 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class UsgRuleDetail : AbstractModel
{
/// <summary>
/// 入站规则
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("InBound")]
public UsgPolicy[] InBound{ get; set; }
/// <summary>
/// 出站规则
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("OutBound")]
public UsgPolicy[] OutBound{ get; set; }
/// <summary>
/// 安全组Id
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SgId")]
public string SgId{ get; set; }
/// <summary>
/// 安全组名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SgName")]
public string SgName{ get; set; }
/// <summary>
/// 备注
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SgRemark")]
public string SgRemark{ get; set; }
/// <summary>
/// 创建时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 版本
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Version")]
public long? Version{ 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 + "InBound.", this.InBound);
this.SetParamArrayObj(map, prefix + "OutBound.", this.OutBound);
this.SetParamSimple(map, prefix + "SgId", this.SgId);
this.SetParamSimple(map, prefix + "SgName", this.SgName);
this.SetParamSimple(map, prefix + "SgRemark", this.SgRemark);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "Version", this.Version);
}
}
}

View File

@@ -0,0 +1,68 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Cloudhsm.V20191112.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Vpc : AbstractModel
{
/// <summary>
/// Vpc名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcName")]
public string VpcName{ get; set; }
/// <summary>
/// VpcId
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 创建时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// 是否为默认VPC
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IsDefault")]
public bool? IsDefault{ 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 + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.SetParamSimple(map, prefix + "IsDefault", this.IsDefault);
}
}
}