代码修改后的版本,全部提交
This commit is contained in:
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AddClusterInstancesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云主机ID列表
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceIdList")]
|
||||
public string[] InstanceIdList{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统名称
|
||||
/// </summary>
|
||||
[JsonProperty("OsName")]
|
||||
public string OsName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统镜像ID
|
||||
/// </summary>
|
||||
[JsonProperty("ImageId")]
|
||||
public string ImageId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 重装系统密码设置
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 重装系统,关联密钥设置
|
||||
/// </summary>
|
||||
[JsonProperty("KeyId")]
|
||||
public string KeyId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 安全组设置
|
||||
/// </summary>
|
||||
[JsonProperty("SgId")]
|
||||
public string SgId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云主机导入方式,虚拟机集群必填,容器集群不填写此字段,R:重装TSF系统镜像,M:手动安装agent
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceImportMode")]
|
||||
public string InstanceImportMode{ 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 + "ClusterId", this.ClusterId);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceIdList.", this.InstanceIdList);
|
||||
this.SetParamSimple(map, prefix + "OsName", this.OsName);
|
||||
this.SetParamSimple(map, prefix + "ImageId", this.ImageId);
|
||||
this.SetParamSimple(map, prefix + "Password", this.Password);
|
||||
this.SetParamSimple(map, prefix + "KeyId", this.KeyId);
|
||||
this.SetParamSimple(map, prefix + "SgId", this.SgId);
|
||||
this.SetParamSimple(map, prefix + "InstanceImportMode", this.InstanceImportMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AddClusterInstancesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 添加云主机的返回列表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public AddInstanceResult Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
60
TencentCloud/Tsf/V20180326/Models/AddInstanceResult.cs
Normal file
60
TencentCloud/Tsf/V20180326/Models/AddInstanceResult.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AddInstanceResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 添加集群失败的节点列表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("FailedInstanceIds")]
|
||||
public string[] FailedInstanceIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 添加集群成功的节点列表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("SuccInstanceIds")]
|
||||
public string[] SuccInstanceIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 添加集群超时的节点列表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TimeoutInstanceIds")]
|
||||
public string[] TimeoutInstanceIds{ 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 + "FailedInstanceIds.", this.FailedInstanceIds);
|
||||
this.SetParamArraySimple(map, prefix + "SuccInstanceIds.", this.SuccInstanceIds);
|
||||
this.SetParamArraySimple(map, prefix + "TimeoutInstanceIds.", this.TimeoutInstanceIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Tsf/V20180326/Models/AddInstancesRequest.cs
Normal file
92
TencentCloud/Tsf/V20180326/Models/AddInstancesRequest.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AddInstancesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云主机ID列表
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceIdList")]
|
||||
public string[] InstanceIdList{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统名称
|
||||
/// </summary>
|
||||
[JsonProperty("OsName")]
|
||||
public string OsName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统镜像ID
|
||||
/// </summary>
|
||||
[JsonProperty("ImageId")]
|
||||
public string ImageId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 重装系统密码设置
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 重装系统,关联密钥设置
|
||||
/// </summary>
|
||||
[JsonProperty("KeyId")]
|
||||
public string KeyId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 安全组设置
|
||||
/// </summary>
|
||||
[JsonProperty("SgId")]
|
||||
public string SgId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云主机导入方式,虚拟机集群必填,容器集群不填写此字段,R:重装TSF系统镜像,M:手动安装agent
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceImportMode")]
|
||||
public string InstanceImportMode{ 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 + "ClusterId", this.ClusterId);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceIdList.", this.InstanceIdList);
|
||||
this.SetParamSimple(map, prefix + "OsName", this.OsName);
|
||||
this.SetParamSimple(map, prefix + "ImageId", this.ImageId);
|
||||
this.SetParamSimple(map, prefix + "Password", this.Password);
|
||||
this.SetParamSimple(map, prefix + "KeyId", this.KeyId);
|
||||
this.SetParamSimple(map, prefix + "SgId", this.SgId);
|
||||
this.SetParamSimple(map, prefix + "InstanceImportMode", this.InstanceImportMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Tsf/V20180326/Models/AddInstancesResponse.cs
Normal file
51
TencentCloud/Tsf/V20180326/Models/AddInstancesResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AddInstancesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 添加云主机是否成功
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
60
TencentCloud/Tsf/V20180326/Models/ApplicationAttribute.cs
Normal file
60
TencentCloud/Tsf/V20180326/Models/ApplicationAttribute.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ApplicationAttribute : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 总实例个数
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceCount")]
|
||||
public long? InstanceCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运行实例个数
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("RunInstanceCount")]
|
||||
public long? RunInstanceCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用下部署组个数
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupCount")]
|
||||
public long? GroupCount{ 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 + "InstanceCount", this.InstanceCount);
|
||||
this.SetParamSimple(map, prefix + "RunInstanceCount", this.RunInstanceCount);
|
||||
this.SetParamSimple(map, prefix + "GroupCount", this.GroupCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
124
TencentCloud/Tsf/V20180326/Models/ApplicationForPage.cs
Normal file
124
TencentCloud/Tsf/V20180326/Models/ApplicationForPage.cs
Normal file
@@ -0,0 +1,124 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ApplicationForPage : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationName")]
|
||||
public string ApplicationName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationDesc")]
|
||||
public string ApplicationDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationType")]
|
||||
public string ApplicationType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微服务类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("MicroserviceType")]
|
||||
public string MicroserviceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编程语言
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ProgLang")]
|
||||
public string ProgLang{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateTime")]
|
||||
public string UpdateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用资源类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationResourceType")]
|
||||
public string ApplicationResourceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用runtime类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationRuntimeType")]
|
||||
public string ApplicationRuntimeType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Apigateway的serviceId
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApigatewayServiceId")]
|
||||
public string ApigatewayServiceId{ 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 + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "ApplicationName", this.ApplicationName);
|
||||
this.SetParamSimple(map, prefix + "ApplicationDesc", this.ApplicationDesc);
|
||||
this.SetParamSimple(map, prefix + "ApplicationType", this.ApplicationType);
|
||||
this.SetParamSimple(map, prefix + "MicroserviceType", this.MicroserviceType);
|
||||
this.SetParamSimple(map, prefix + "ProgLang", this.ProgLang);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
||||
this.SetParamSimple(map, prefix + "ApplicationResourceType", this.ApplicationResourceType);
|
||||
this.SetParamSimple(map, prefix + "ApplicationRuntimeType", this.ApplicationRuntimeType);
|
||||
this.SetParamSimple(map, prefix + "ApigatewayServiceId", this.ApigatewayServiceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
252
TencentCloud/Tsf/V20180326/Models/Cluster.cs
Normal file
252
TencentCloud/Tsf/V20180326/Models/Cluster.cs
Normal file
@@ -0,0 +1,252 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Cluster : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterName")]
|
||||
public string ClusterName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterDesc")]
|
||||
public string ClusterDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterType")]
|
||||
public string ClusterType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群所属私有网络ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("VpcId")]
|
||||
public string VpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群状态
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterStatus")]
|
||||
public string ClusterStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群CIDR
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterCIDR")]
|
||||
public string ClusterCIDR{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群总CPU,单位: 核
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterTotalCpu")]
|
||||
public float? ClusterTotalCpu{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群总内存,单位: G
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterTotalMem")]
|
||||
public float? ClusterTotalMem{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群已使用CPU,单位: 核
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterUsedCpu")]
|
||||
public float? ClusterUsedCpu{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群已使用内存,单位: G
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterUsedMem")]
|
||||
public float? ClusterUsedMem{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群机器实例数量
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceCount")]
|
||||
public long? InstanceCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群可用的机器实例数量
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("RunInstanceCount")]
|
||||
public long? RunInstanceCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群正常状态的机器实例数量
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NormalInstanceCount")]
|
||||
public long? NormalInstanceCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除标记:true:可以删除;false:不可删除
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("DeleteFlag")]
|
||||
public bool? DeleteFlag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateTime")]
|
||||
public string UpdateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群所属TSF地域ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TsfRegionId")]
|
||||
public string TsfRegionId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群所属TSF地域名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TsfRegionName")]
|
||||
public string TsfRegionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群所属TSF可用区ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TsfZoneId")]
|
||||
public string TsfZoneId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群所属TSF可用区名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TsfZoneName")]
|
||||
public string TsfZoneName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群不可删除的原因
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("DeleteFlagReason")]
|
||||
public string DeleteFlagReason{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群最大CPU限制,单位:核
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterLimitCpu")]
|
||||
public float? ClusterLimitCpu{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群最大内存限制,单位:G
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterLimitMem")]
|
||||
public float? ClusterLimitMem{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群可用的服务实例数量
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("RunServiceInstanceCount")]
|
||||
public long? RunServiceInstanceCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群所属子网ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("SubnetId")]
|
||||
public string SubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回给前端的控制信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OperationInfo")]
|
||||
public OperationInfo OperationInfo{ 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 + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName);
|
||||
this.SetParamSimple(map, prefix + "ClusterDesc", this.ClusterDesc);
|
||||
this.SetParamSimple(map, prefix + "ClusterType", this.ClusterType);
|
||||
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
|
||||
this.SetParamSimple(map, prefix + "ClusterStatus", this.ClusterStatus);
|
||||
this.SetParamSimple(map, prefix + "ClusterCIDR", this.ClusterCIDR);
|
||||
this.SetParamSimple(map, prefix + "ClusterTotalCpu", this.ClusterTotalCpu);
|
||||
this.SetParamSimple(map, prefix + "ClusterTotalMem", this.ClusterTotalMem);
|
||||
this.SetParamSimple(map, prefix + "ClusterUsedCpu", this.ClusterUsedCpu);
|
||||
this.SetParamSimple(map, prefix + "ClusterUsedMem", this.ClusterUsedMem);
|
||||
this.SetParamSimple(map, prefix + "InstanceCount", this.InstanceCount);
|
||||
this.SetParamSimple(map, prefix + "RunInstanceCount", this.RunInstanceCount);
|
||||
this.SetParamSimple(map, prefix + "NormalInstanceCount", this.NormalInstanceCount);
|
||||
this.SetParamSimple(map, prefix + "DeleteFlag", this.DeleteFlag);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
||||
this.SetParamSimple(map, prefix + "TsfRegionId", this.TsfRegionId);
|
||||
this.SetParamSimple(map, prefix + "TsfRegionName", this.TsfRegionName);
|
||||
this.SetParamSimple(map, prefix + "TsfZoneId", this.TsfZoneId);
|
||||
this.SetParamSimple(map, prefix + "TsfZoneName", this.TsfZoneName);
|
||||
this.SetParamSimple(map, prefix + "DeleteFlagReason", this.DeleteFlagReason);
|
||||
this.SetParamSimple(map, prefix + "ClusterLimitCpu", this.ClusterLimitCpu);
|
||||
this.SetParamSimple(map, prefix + "ClusterLimitMem", this.ClusterLimitMem);
|
||||
this.SetParamSimple(map, prefix + "RunServiceInstanceCount", this.RunServiceInstanceCount);
|
||||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||||
this.SetParamObj(map, prefix + "OperationInfo.", this.OperationInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
132
TencentCloud/Tsf/V20180326/Models/Config.cs
Normal file
132
TencentCloud/Tsf/V20180326/Models/Config.cs
Normal file
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Config : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigId")]
|
||||
public string ConfigId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigName")]
|
||||
public string ConfigName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersion")]
|
||||
public string ConfigVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersionDesc")]
|
||||
public string ConfigVersionDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项值
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigValue")]
|
||||
public string ConfigValue{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigType")]
|
||||
public string ConfigType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CreationTime")]
|
||||
public string CreationTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationName")]
|
||||
public string ApplicationName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除标识,true:可以删除;false:不可删除
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("DeleteFlag")]
|
||||
public bool? DeleteFlag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后更新时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("LastUpdateTime")]
|
||||
public string LastUpdateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本数量
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersionCount")]
|
||||
public long? ConfigVersionCount{ 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 + "ConfigId", this.ConfigId);
|
||||
this.SetParamSimple(map, prefix + "ConfigName", this.ConfigName);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersion", this.ConfigVersion);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersionDesc", this.ConfigVersionDesc);
|
||||
this.SetParamSimple(map, prefix + "ConfigValue", this.ConfigValue);
|
||||
this.SetParamSimple(map, prefix + "ConfigType", this.ConfigType);
|
||||
this.SetParamSimple(map, prefix + "CreationTime", this.CreationTime);
|
||||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "ApplicationName", this.ApplicationName);
|
||||
this.SetParamSimple(map, prefix + "DeleteFlag", this.DeleteFlag);
|
||||
this.SetParamSimple(map, prefix + "LastUpdateTime", this.LastUpdateTime);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersionCount", this.ConfigVersionCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
132
TencentCloud/Tsf/V20180326/Models/ConfigRelease.cs
Normal file
132
TencentCloud/Tsf/V20180326/Models/ConfigRelease.cs
Normal file
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ConfigRelease : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项发布ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigReleaseId")]
|
||||
public string ConfigReleaseId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigId")]
|
||||
public string ConfigId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigName")]
|
||||
public string ConfigName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersion")]
|
||||
public string ConfigVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发布时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ReleaseTime")]
|
||||
public string ReleaseTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupName")]
|
||||
public string GroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceName")]
|
||||
public string NamespaceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterName")]
|
||||
public string ClusterName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发布描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ReleaseDesc")]
|
||||
public string ReleaseDesc{ 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 + "ConfigReleaseId", this.ConfigReleaseId);
|
||||
this.SetParamSimple(map, prefix + "ConfigId", this.ConfigId);
|
||||
this.SetParamSimple(map, prefix + "ConfigName", this.ConfigName);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersion", this.ConfigVersion);
|
||||
this.SetParamSimple(map, prefix + "ReleaseTime", this.ReleaseTime);
|
||||
this.SetParamSimple(map, prefix + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "GroupName", this.GroupName);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "NamespaceName", this.NamespaceName);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName);
|
||||
this.SetParamSimple(map, prefix + "ReleaseDesc", this.ReleaseDesc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
172
TencentCloud/Tsf/V20180326/Models/ConfigReleaseLog.cs
Normal file
172
TencentCloud/Tsf/V20180326/Models/ConfigReleaseLog.cs
Normal file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ConfigReleaseLog : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项发布日志ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigReleaseLogId")]
|
||||
public string ConfigReleaseLogId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigId")]
|
||||
public string ConfigId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigName")]
|
||||
public string ConfigName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersion")]
|
||||
public string ConfigVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupName")]
|
||||
public string GroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceName")]
|
||||
public string NamespaceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterName")]
|
||||
public string ClusterName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发布时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ReleaseTime")]
|
||||
public string ReleaseTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发布描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ReleaseDesc")]
|
||||
public string ReleaseDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发布状态
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ReleaseStatus")]
|
||||
public string ReleaseStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上次发布的配置项ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("LastConfigId")]
|
||||
public string LastConfigId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上次发布的配置项名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("LastConfigName")]
|
||||
public string LastConfigName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上次发布的配置项版本
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("LastConfigVersion")]
|
||||
public string LastConfigVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 回滚标识
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("RollbackFlag")]
|
||||
public bool? RollbackFlag{ 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 + "ConfigReleaseLogId", this.ConfigReleaseLogId);
|
||||
this.SetParamSimple(map, prefix + "ConfigId", this.ConfigId);
|
||||
this.SetParamSimple(map, prefix + "ConfigName", this.ConfigName);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersion", this.ConfigVersion);
|
||||
this.SetParamSimple(map, prefix + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "GroupName", this.GroupName);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "NamespaceName", this.NamespaceName);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName);
|
||||
this.SetParamSimple(map, prefix + "ReleaseTime", this.ReleaseTime);
|
||||
this.SetParamSimple(map, prefix + "ReleaseDesc", this.ReleaseDesc);
|
||||
this.SetParamSimple(map, prefix + "ReleaseStatus", this.ReleaseStatus);
|
||||
this.SetParamSimple(map, prefix + "LastConfigId", this.LastConfigId);
|
||||
this.SetParamSimple(map, prefix + "LastConfigName", this.LastConfigName);
|
||||
this.SetParamSimple(map, prefix + "LastConfigVersion", this.LastConfigVersion);
|
||||
this.SetParamSimple(map, prefix + "RollbackFlag", this.RollbackFlag);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
148
TencentCloud/Tsf/V20180326/Models/ContainGroup.cs
Normal file
148
TencentCloud/Tsf/V20180326/Models/ContainGroup.cs
Normal file
@@ -0,0 +1,148 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ContainGroup : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupName")]
|
||||
public string GroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 镜像server
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Server")]
|
||||
public string Server{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 镜像名,如/tsf/nginx
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("RepoName")]
|
||||
public string RepoName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 镜像版本名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TagName")]
|
||||
public string TagName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterName")]
|
||||
public string ClusterName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceName")]
|
||||
public string NamespaceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 初始分配的 CPU 核数,对应 K8S request
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CpuRequest")]
|
||||
public string CpuRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大分配的 CPU 核数,对应 K8S limit
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CpuLimit")]
|
||||
public string CpuLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 初始分配的内存 MiB 数,对应 K8S request
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("MemRequest")]
|
||||
public string MemRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大分配的内存 MiB 数,对应 K8S limit
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("MemLimit")]
|
||||
public string MemLimit{ 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 + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "GroupName", this.GroupName);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "Server", this.Server);
|
||||
this.SetParamSimple(map, prefix + "RepoName", this.RepoName);
|
||||
this.SetParamSimple(map, prefix + "TagName", this.TagName);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "NamespaceName", this.NamespaceName);
|
||||
this.SetParamSimple(map, prefix + "CpuRequest", this.CpuRequest);
|
||||
this.SetParamSimple(map, prefix + "CpuLimit", this.CpuLimit);
|
||||
this.SetParamSimple(map, prefix + "MemRequest", this.MemRequest);
|
||||
this.SetParamSimple(map, prefix + "MemLimit", this.MemLimit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Tsf/V20180326/Models/ContainGroupResult.cs
Normal file
51
TencentCloud/Tsf/V20180326/Models/ContainGroupResult.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ContainGroupResult : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组列表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Content")]
|
||||
public ContainGroup[] Content{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总记录数
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ 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 + "Content.", this.Content);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
308
TencentCloud/Tsf/V20180326/Models/ContainerGroupDetail.cs
Normal file
308
TencentCloud/Tsf/V20180326/Models/ContainerGroupDetail.cs
Normal file
@@ -0,0 +1,308 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ContainerGroupDetail : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupName")]
|
||||
public string GroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例总数
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceNum")]
|
||||
public long? InstanceNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 已启动实例总数
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CurrentNum")]
|
||||
public long? CurrentNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 镜像server
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Server")]
|
||||
public string Server{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 镜像名,如/tsf/nginx
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Reponame")]
|
||||
public string Reponame{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 镜像版本名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TagName")]
|
||||
public string TagName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterName")]
|
||||
public string ClusterName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceName")]
|
||||
public string NamespaceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 负载均衡ip
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("LbIp")]
|
||||
public string LbIp{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationType")]
|
||||
public string ApplicationType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Service ip
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterIp")]
|
||||
public string ClusterIp{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// NodePort端口,只有公网和NodePort访问方式才有值
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("NodePort")]
|
||||
public long? NodePort{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大分配的 CPU 核数,对应 K8S limit
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CpuLimit")]
|
||||
public string CpuLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大分配的内存 MiB 数,对应 K8S limit
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("MemLimit")]
|
||||
public string MemLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 0:公网 1:集群内访问 2:NodePort
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("AccessType")]
|
||||
public ulong? AccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新方式:0:快速更新 1:滚动更新
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateType")]
|
||||
public long? UpdateType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新间隔,单位秒
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateIvl")]
|
||||
public long? UpdateIvl{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 端口数组对象
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ProtocolPorts")]
|
||||
public ProtocolPort[] ProtocolPorts{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 环境变量数组对象
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Envs")]
|
||||
public Env[] Envs{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationName")]
|
||||
public string ApplicationName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// pod错误信息描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Message")]
|
||||
public string Message{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组状态
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("MicroserviceType")]
|
||||
public string MicroserviceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 初始分配的 CPU 核数,对应 K8S request
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CpuRequest")]
|
||||
public string CpuRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 初始分配的内存 MiB 数,对应 K8S request
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("MemRequest")]
|
||||
public string MemRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子网id
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("SubnetId")]
|
||||
public string SubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组资源类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("GroupResourceType")]
|
||||
public string GroupResourceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组实例个数
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceCount")]
|
||||
public ulong? InstanceCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组更新时间戳
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UpdatedTime")]
|
||||
public long? UpdatedTime{ 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 + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "GroupName", this.GroupName);
|
||||
this.SetParamSimple(map, prefix + "InstanceNum", this.InstanceNum);
|
||||
this.SetParamSimple(map, prefix + "CurrentNum", this.CurrentNum);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "Server", this.Server);
|
||||
this.SetParamSimple(map, prefix + "Reponame", this.Reponame);
|
||||
this.SetParamSimple(map, prefix + "TagName", this.TagName);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "NamespaceName", this.NamespaceName);
|
||||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "LbIp", this.LbIp);
|
||||
this.SetParamSimple(map, prefix + "ApplicationType", this.ApplicationType);
|
||||
this.SetParamSimple(map, prefix + "ClusterIp", this.ClusterIp);
|
||||
this.SetParamSimple(map, prefix + "NodePort", this.NodePort);
|
||||
this.SetParamSimple(map, prefix + "CpuLimit", this.CpuLimit);
|
||||
this.SetParamSimple(map, prefix + "MemLimit", this.MemLimit);
|
||||
this.SetParamSimple(map, prefix + "AccessType", this.AccessType);
|
||||
this.SetParamSimple(map, prefix + "UpdateType", this.UpdateType);
|
||||
this.SetParamSimple(map, prefix + "UpdateIvl", this.UpdateIvl);
|
||||
this.SetParamArrayObj(map, prefix + "ProtocolPorts.", this.ProtocolPorts);
|
||||
this.SetParamArrayObj(map, prefix + "Envs.", this.Envs);
|
||||
this.SetParamSimple(map, prefix + "ApplicationName", this.ApplicationName);
|
||||
this.SetParamSimple(map, prefix + "Message", this.Message);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "MicroserviceType", this.MicroserviceType);
|
||||
this.SetParamSimple(map, prefix + "CpuRequest", this.CpuRequest);
|
||||
this.SetParamSimple(map, prefix + "MemRequest", this.MemRequest);
|
||||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||||
this.SetParamSimple(map, prefix + "GroupResourceType", this.GroupResourceType);
|
||||
this.SetParamSimple(map, prefix + "InstanceCount", this.InstanceCount);
|
||||
this.SetParamSimple(map, prefix + "UpdatedTime", this.UpdatedTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
84
TencentCloud/Tsf/V20180326/Models/CosCredentials.cs
Normal file
84
TencentCloud/Tsf/V20180326/Models/CosCredentials.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CosCredentials : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 会话Token
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("SessionToken")]
|
||||
public string SessionToken{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 临时应用ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TmpAppId")]
|
||||
public string TmpAppId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 临时调用者身份ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TmpSecretId")]
|
||||
public string TmpSecretId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 临时密钥
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TmpSecretKey")]
|
||||
public string TmpSecretKey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过期时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ExpiredTime")]
|
||||
public long? ExpiredTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所在域
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Domain")]
|
||||
public string Domain{ 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 + "SessionToken", this.SessionToken);
|
||||
this.SetParamSimple(map, prefix + "TmpAppId", this.TmpAppId);
|
||||
this.SetParamSimple(map, prefix + "TmpSecretId", this.TmpSecretId);
|
||||
this.SetParamSimple(map, prefix + "TmpSecretKey", this.TmpSecretKey);
|
||||
this.SetParamSimple(map, prefix + "ExpiredTime", this.ExpiredTime);
|
||||
this.SetParamSimple(map, prefix + "Domain", this.Domain);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
68
TencentCloud/Tsf/V20180326/Models/CosDownloadInfo.cs
Normal file
68
TencentCloud/Tsf/V20180326/Models/CosDownloadInfo.cs
Normal 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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CosDownloadInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 桶名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Bucket")]
|
||||
public string Bucket{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 地域
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 路径
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Path")]
|
||||
public string Path{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 鉴权信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Credentials")]
|
||||
public CosCredentials Credentials{ 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 + "Bucket", this.Bucket);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "Path", this.Path);
|
||||
this.SetParamObj(map, prefix + "Credentials.", this.Credentials);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
75
TencentCloud/Tsf/V20180326/Models/CosUploadInfo.cs
Normal file
75
TencentCloud/Tsf/V20180326/Models/CosUploadInfo.cs
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CosUploadInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 程序包ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PkgId")]
|
||||
public string PkgId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 桶
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Bucket")]
|
||||
public string Bucket{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标地域
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Region")]
|
||||
public string Region{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 存储路径
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Path")]
|
||||
public string Path{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 鉴权信息
|
||||
/// </summary>
|
||||
[JsonProperty("Credentials")]
|
||||
public CosCredentials Credentials{ 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 + "PkgId", this.PkgId);
|
||||
this.SetParamSimple(map, prefix + "Bucket", this.Bucket);
|
||||
this.SetParamSimple(map, prefix + "Region", this.Region);
|
||||
this.SetParamSimple(map, prefix + "Path", this.Path);
|
||||
this.SetParamObj(map, prefix + "Credentials.", this.Credentials);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateApplicationRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用名称
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationName")]
|
||||
public string ApplicationName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用类型,V:虚拟机应用;C:容器应用;S:serverless应用
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationType")]
|
||||
public string ApplicationType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用微服务类型,M:service mesh应用;N:普通应用;G:网关应用
|
||||
/// </summary>
|
||||
[JsonProperty("MicroserviceType")]
|
||||
public string MicroserviceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用描述
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationDesc")]
|
||||
public string ApplicationDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用日志配置项,废弃参数
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationLogConfig")]
|
||||
public string ApplicationLogConfig{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用资源类型,废弃参数
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationResourceType")]
|
||||
public string ApplicationResourceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用runtime类型
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationRuntimeType")]
|
||||
public string ApplicationRuntimeType{ 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 + "ApplicationName", this.ApplicationName);
|
||||
this.SetParamSimple(map, prefix + "ApplicationType", this.ApplicationType);
|
||||
this.SetParamSimple(map, prefix + "MicroserviceType", this.MicroserviceType);
|
||||
this.SetParamSimple(map, prefix + "ApplicationDesc", this.ApplicationDesc);
|
||||
this.SetParamSimple(map, prefix + "ApplicationLogConfig", this.ApplicationLogConfig);
|
||||
this.SetParamSimple(map, prefix + "ApplicationResourceType", this.ApplicationResourceType);
|
||||
this.SetParamSimple(map, prefix + "ApplicationRuntimeType", this.ApplicationRuntimeType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateApplicationResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public string Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Tsf/V20180326/Models/CreateClusterRequest.cs
Normal file
92
TencentCloud/Tsf/V20180326/Models/CreateClusterRequest.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateClusterRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 集群名称
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterName")]
|
||||
public string ClusterName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群类型
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterType")]
|
||||
public string ClusterType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络ID
|
||||
/// </summary>
|
||||
[JsonProperty("VpcId")]
|
||||
public string VpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分配给集群容器和服务IP的CIDR
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterCIDR")]
|
||||
public string ClusterCIDR{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群备注
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterDesc")]
|
||||
public string ClusterDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群所属TSF地域
|
||||
/// </summary>
|
||||
[JsonProperty("TsfRegionId")]
|
||||
public string TsfRegionId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群所属TSF可用区
|
||||
/// </summary>
|
||||
[JsonProperty("TsfZoneId")]
|
||||
public string TsfZoneId{ 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 + "ClusterName", this.ClusterName);
|
||||
this.SetParamSimple(map, prefix + "ClusterType", this.ClusterType);
|
||||
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
|
||||
this.SetParamSimple(map, prefix + "ClusterCIDR", this.ClusterCIDR);
|
||||
this.SetParamSimple(map, prefix + "ClusterDesc", this.ClusterDesc);
|
||||
this.SetParamSimple(map, prefix + "TsfRegionId", this.TsfRegionId);
|
||||
this.SetParamSimple(map, prefix + "TsfZoneId", this.TsfZoneId);
|
||||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Tsf/V20180326/Models/CreateClusterResponse.cs
Normal file
50
TencentCloud/Tsf/V20180326/Models/CreateClusterResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateClusterResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public string Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
TencentCloud/Tsf/V20180326/Models/CreateConfigRequest.cs
Normal file
78
TencentCloud/Tsf/V20180326/Models/CreateConfigRequest.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateConfigRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项名称
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigName")]
|
||||
public string ConfigName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersion")]
|
||||
public string ConfigVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项值
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigValue")]
|
||||
public string ConfigValue{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本描述
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersionDesc")]
|
||||
public string ConfigVersionDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项值类型
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigType")]
|
||||
public string ConfigType{ 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 + "ConfigName", this.ConfigName);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersion", this.ConfigVersion);
|
||||
this.SetParamSimple(map, prefix + "ConfigValue", this.ConfigValue);
|
||||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersionDesc", this.ConfigVersionDesc);
|
||||
this.SetParamSimple(map, prefix + "ConfigType", this.ConfigType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Tsf/V20180326/Models/CreateConfigResponse.cs
Normal file
50
TencentCloud/Tsf/V20180326/Models/CreateConfigResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateConfigResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// true:创建成功;false:创建失败
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
204
TencentCloud/Tsf/V20180326/Models/CreateContainGroupRequest.cs
Normal file
204
TencentCloud/Tsf/V20180326/Models/CreateContainGroupRequest.cs
Normal file
@@ -0,0 +1,204 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateContainGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 分组所属应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组所属命名空间ID
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组名称字段,长度1~60,字母或下划线开头,可包含字母数字下划线
|
||||
/// </summary>
|
||||
[JsonProperty("GroupName")]
|
||||
public string GroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例数量
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceNum")]
|
||||
public long? InstanceNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 0:公网 1:集群内访问 2:NodePort
|
||||
/// </summary>
|
||||
[JsonProperty("AccessType")]
|
||||
public long? AccessType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数组对象,见下方定义
|
||||
/// </summary>
|
||||
[JsonProperty("ProtocolPorts")]
|
||||
public ProtocolPort[] ProtocolPorts{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大分配 CPU 核数,对应 K8S limit
|
||||
/// </summary>
|
||||
[JsonProperty("CpuLimit")]
|
||||
public string CpuLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大分配内存 MiB 数,对应 K8S limit
|
||||
/// </summary>
|
||||
[JsonProperty("MemLimit")]
|
||||
public string MemLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组备注字段,长度应不大于200字符
|
||||
/// </summary>
|
||||
[JsonProperty("GroupComment")]
|
||||
public string GroupComment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新方式:0:快速更新 1:滚动更新
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateType")]
|
||||
public long? UpdateType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 滚动更新必填,更新间隔
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateIvl")]
|
||||
public long? UpdateIvl{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 初始分配的 CPU 核数,对应 K8S request
|
||||
/// </summary>
|
||||
[JsonProperty("CpuRequest")]
|
||||
public string CpuRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 初始分配的内存 MiB 数,对应 K8S request
|
||||
/// </summary>
|
||||
[JsonProperty("MemRequest")]
|
||||
public string MemRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组资源类型
|
||||
/// </summary>
|
||||
[JsonProperty("GroupResourceType")]
|
||||
public string GroupResourceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子网ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubnetId")]
|
||||
public string SubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent 容器分配的 CPU 核数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("AgentCpuRequest")]
|
||||
public string AgentCpuRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent 容器最大的 CPU 核数,对应 K8S 的 limit
|
||||
/// </summary>
|
||||
[JsonProperty("AgentCpuLimit")]
|
||||
public string AgentCpuLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent 容器分配的内存 MiB 数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("AgentMemRequest")]
|
||||
public string AgentMemRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent 容器最大的内存 MiB 数,对应 K8S 的 limit
|
||||
/// </summary>
|
||||
[JsonProperty("AgentMemLimit")]
|
||||
public string AgentMemLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// istioproxy 容器分配的 CPU 核数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("IstioCpuRequest")]
|
||||
public string IstioCpuRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// istioproxy 容器最大的 CPU 核数,对应 K8S 的 limit
|
||||
/// </summary>
|
||||
[JsonProperty("IstioCpuLimit")]
|
||||
public string IstioCpuLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// istioproxy 容器分配的内存 MiB 数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("IstioMemRequest")]
|
||||
public string IstioMemRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// istioproxy 容器最大的内存 MiB 数,对应 K8S 的 limit
|
||||
/// </summary>
|
||||
[JsonProperty("IstioMemLimit")]
|
||||
public string IstioMemLimit{ 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 + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "GroupName", this.GroupName);
|
||||
this.SetParamSimple(map, prefix + "InstanceNum", this.InstanceNum);
|
||||
this.SetParamSimple(map, prefix + "AccessType", this.AccessType);
|
||||
this.SetParamArrayObj(map, prefix + "ProtocolPorts.", this.ProtocolPorts);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "CpuLimit", this.CpuLimit);
|
||||
this.SetParamSimple(map, prefix + "MemLimit", this.MemLimit);
|
||||
this.SetParamSimple(map, prefix + "GroupComment", this.GroupComment);
|
||||
this.SetParamSimple(map, prefix + "UpdateType", this.UpdateType);
|
||||
this.SetParamSimple(map, prefix + "UpdateIvl", this.UpdateIvl);
|
||||
this.SetParamSimple(map, prefix + "CpuRequest", this.CpuRequest);
|
||||
this.SetParamSimple(map, prefix + "MemRequest", this.MemRequest);
|
||||
this.SetParamSimple(map, prefix + "GroupResourceType", this.GroupResourceType);
|
||||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||||
this.SetParamSimple(map, prefix + "AgentCpuRequest", this.AgentCpuRequest);
|
||||
this.SetParamSimple(map, prefix + "AgentCpuLimit", this.AgentCpuLimit);
|
||||
this.SetParamSimple(map, prefix + "AgentMemRequest", this.AgentMemRequest);
|
||||
this.SetParamSimple(map, prefix + "AgentMemLimit", this.AgentMemLimit);
|
||||
this.SetParamSimple(map, prefix + "IstioCpuRequest", this.IstioCpuRequest);
|
||||
this.SetParamSimple(map, prefix + "IstioCpuLimit", this.IstioCpuLimit);
|
||||
this.SetParamSimple(map, prefix + "IstioMemRequest", this.IstioMemRequest);
|
||||
this.SetParamSimple(map, prefix + "IstioMemLimit", this.IstioMemLimit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateContainGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 返回创建成功的部署组ID,返回null表示失败
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public string Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
TencentCloud/Tsf/V20180326/Models/CreateGroupRequest.cs
Normal file
78
TencentCloud/Tsf/V20180326/Models/CreateGroupRequest.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组所属的应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组所属命名空间ID
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组名称
|
||||
/// </summary>
|
||||
[JsonProperty("GroupName")]
|
||||
public string GroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组描述
|
||||
/// </summary>
|
||||
[JsonProperty("GroupDesc")]
|
||||
public string GroupDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组资源类型
|
||||
/// </summary>
|
||||
[JsonProperty("GroupResourceType")]
|
||||
public string GroupResourceType{ 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 + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "GroupName", this.GroupName);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "GroupDesc", this.GroupDesc);
|
||||
this.SetParamSimple(map, prefix + "GroupResourceType", this.GroupResourceType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Tsf/V20180326/Models/CreateGroupResponse.cs
Normal file
51
TencentCloud/Tsf/V20180326/Models/CreateGroupResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// groupId, null表示创建失败
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public string Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateMicroserviceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微服务名称
|
||||
/// </summary>
|
||||
[JsonProperty("MicroserviceName")]
|
||||
public string MicroserviceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微服务描述信息
|
||||
/// </summary>
|
||||
[JsonProperty("MicroserviceDesc")]
|
||||
public string MicroserviceDesc{ 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 + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "MicroserviceName", this.MicroserviceName);
|
||||
this.SetParamSimple(map, prefix + "MicroserviceDesc", this.MicroserviceDesc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateMicroserviceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 新增微服务是否成功。
|
||||
/// true:操作成功。
|
||||
/// false:操作失败。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
TencentCloud/Tsf/V20180326/Models/CreateNamespaceRequest.cs
Normal file
78
TencentCloud/Tsf/V20180326/Models/CreateNamespaceRequest.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateNamespaceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间名称
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceName")]
|
||||
public string NamespaceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间描述
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceDesc")]
|
||||
public string NamespaceDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间资源类型(默认值为DEF)
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceResourceType")]
|
||||
public string NamespaceResourceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否是全局命名空间(默认是DEF,表示普通命名空间;GLOBAL表示全局命名空间)
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceType")]
|
||||
public string NamespaceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ 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 + "NamespaceName", this.NamespaceName);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "NamespaceDesc", this.NamespaceDesc);
|
||||
this.SetParamSimple(map, prefix + "NamespaceResourceType", this.NamespaceResourceType);
|
||||
this.SetParamSimple(map, prefix + "NamespaceType", this.NamespaceType);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Tsf/V20180326/Models/CreateNamespaceResponse.cs
Normal file
51
TencentCloud/Tsf/V20180326/Models/CreateNamespaceResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateNamespaceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 成功时为命名空间ID,失败为null
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public string Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreatePublicConfigRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项名称
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigName")]
|
||||
public string ConfigName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersion")]
|
||||
public string ConfigVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项值,总是接收yaml格式的内容
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigValue")]
|
||||
public string ConfigValue{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本描述
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersionDesc")]
|
||||
public string ConfigVersionDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项类型
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigType")]
|
||||
public string ConfigType{ 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 + "ConfigName", this.ConfigName);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersion", this.ConfigVersion);
|
||||
this.SetParamSimple(map, prefix + "ConfigValue", this.ConfigValue);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersionDesc", this.ConfigVersionDesc);
|
||||
this.SetParamSimple(map, prefix + "ConfigType", this.ConfigType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreatePublicConfigResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// true:创建成功;false:创建失败
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateServerlessGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 分组所属应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组名称字段,长度1~60,字母或下划线开头,可包含字母数字下划线
|
||||
/// </summary>
|
||||
[JsonProperty("GroupName")]
|
||||
public string GroupName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组所属名字空间ID
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组所属集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ 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 + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "GroupName", this.GroupName);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateServerlessGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 创建成功的部署组ID,返回null表示失败
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public string Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteApplicationRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ 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 + "ApplicationId", this.ApplicationId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteApplicationResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 删除应用操作是否成功。
|
||||
/// true:操作成功。
|
||||
/// false:操作失败。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Tsf/V20180326/Models/DeleteConfigRequest.cs
Normal file
43
TencentCloud/Tsf/V20180326/Models/DeleteConfigRequest.cs
Normal 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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteConfigRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项ID
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigId")]
|
||||
public string ConfigId{ 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 + "ConfigId", this.ConfigId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Tsf/V20180326/Models/DeleteConfigResponse.cs
Normal file
50
TencentCloud/Tsf/V20180326/Models/DeleteConfigResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteConfigResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// true:删除成功;false:删除失败
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteContainerGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID,分组唯一标识
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ 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 + "GroupId", this.GroupId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteContainerGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 删除操作是否成功:
|
||||
/// true:成功
|
||||
/// false:失败
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Tsf/V20180326/Models/DeleteGroupRequest.cs
Normal file
43
TencentCloud/Tsf/V20180326/Models/DeleteGroupRequest.cs
Normal 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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ 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 + "GroupId", this.GroupId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
53
TencentCloud/Tsf/V20180326/Models/DeleteGroupResponse.cs
Normal file
53
TencentCloud/Tsf/V20180326/Models/DeleteGroupResponse.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 删除部署组操作是否成功。
|
||||
/// true:操作成功。
|
||||
/// false:操作失败。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Tsf/V20180326/Models/DeleteImageTag.cs
Normal file
50
TencentCloud/Tsf/V20180326/Models/DeleteImageTag.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteImageTag : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 仓库名,如/tsf/nginx
|
||||
/// </summary>
|
||||
[JsonProperty("RepoName")]
|
||||
public string RepoName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本号:如V1
|
||||
/// </summary>
|
||||
[JsonProperty("TagName")]
|
||||
public string TagName{ 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 + "RepoName", this.RepoName);
|
||||
this.SetParamSimple(map, prefix + "TagName", this.TagName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Tsf/V20180326/Models/DeleteImageTagsRequest.cs
Normal file
43
TencentCloud/Tsf/V20180326/Models/DeleteImageTagsRequest.cs
Normal 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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteImageTagsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 镜像版本数组
|
||||
/// </summary>
|
||||
[JsonProperty("ImageTags")]
|
||||
public DeleteImageTag[] ImageTags{ 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 + "ImageTags.", this.ImageTags);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
52
TencentCloud/Tsf/V20180326/Models/DeleteImageTagsResponse.cs
Normal file
52
TencentCloud/Tsf/V20180326/Models/DeleteImageTagsResponse.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteImageTagsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 批量删除操作是否成功。
|
||||
/// true:成功。
|
||||
/// false:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteMicroserviceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 微服务ID
|
||||
/// </summary>
|
||||
[JsonProperty("MicroserviceId")]
|
||||
public string MicroserviceId{ 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 + "MicroserviceId", this.MicroserviceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteMicroserviceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 删除微服务是否成功。
|
||||
/// true:操作成功。
|
||||
/// false:操作失败。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Tsf/V20180326/Models/DeleteNamespaceRequest.cs
Normal file
50
TencentCloud/Tsf/V20180326/Models/DeleteNamespaceRequest.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteNamespaceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ 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 + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
52
TencentCloud/Tsf/V20180326/Models/DeleteNamespaceResponse.cs
Normal file
52
TencentCloud/Tsf/V20180326/Models/DeleteNamespaceResponse.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteNamespaceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 删除命名空间是否成功。
|
||||
/// true:删除成功。
|
||||
/// false:删除失败。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Tsf/V20180326/Models/DeletePkgsRequest.cs
Normal file
50
TencentCloud/Tsf/V20180326/Models/DeletePkgsRequest.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeletePkgsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需要删除的程序包ID列表
|
||||
/// </summary>
|
||||
[JsonProperty("PkgIds")]
|
||||
public string[] PkgIds{ 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 + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamArraySimple(map, prefix + "PkgIds.", this.PkgIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Tsf/V20180326/Models/DeletePkgsResponse.cs
Normal file
43
TencentCloud/Tsf/V20180326/Models/DeletePkgsResponse.cs
Normal 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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeletePkgsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeletePublicConfigRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项ID
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigId")]
|
||||
public string ConfigId{ 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 + "ConfigId", this.ConfigId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeletePublicConfigResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// true:删除成功;false:删除失败
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteServerlessGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// groupId,分组唯一标识
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ 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 + "GroupId", this.GroupId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteServerlessGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 结果true:成功;false:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
190
TencentCloud/Tsf/V20180326/Models/DeployContainerGroupRequest.cs
Normal file
190
TencentCloud/Tsf/V20180326/Models/DeployContainerGroupRequest.cs
Normal file
@@ -0,0 +1,190 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeployContainerGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID,分组唯一标识
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 镜像server
|
||||
/// </summary>
|
||||
[JsonProperty("Server")]
|
||||
public string Server{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 镜像版本名称,如v1
|
||||
/// </summary>
|
||||
[JsonProperty("TagName")]
|
||||
public string TagName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例数量
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceNum")]
|
||||
public long? InstanceNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 旧版镜像名,如/tsf/nginx
|
||||
/// </summary>
|
||||
[JsonProperty("Reponame")]
|
||||
public string Reponame{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 业务容器最大的 CPU 核数,对应 K8S 的 limit;不填时默认为 request 的 2 倍
|
||||
/// </summary>
|
||||
[JsonProperty("CpuLimit")]
|
||||
public string CpuLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 业务容器最大的内存 MiB 数,对应 K8S 的 limit;不填时默认为 request 的 2 倍
|
||||
/// </summary>
|
||||
[JsonProperty("MemLimit")]
|
||||
public string MemLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// jvm参数
|
||||
/// </summary>
|
||||
[JsonProperty("JvmOpts")]
|
||||
public string JvmOpts{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 业务容器分配的 CPU 核数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("CpuRequest")]
|
||||
public string CpuRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 业务容器分配的内存 MiB 数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("MemRequest")]
|
||||
public string MemRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否不立即启动
|
||||
/// </summary>
|
||||
[JsonProperty("DoNotStart")]
|
||||
public bool? DoNotStart{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// (优先使用)新版镜像名,如/tsf/nginx
|
||||
/// </summary>
|
||||
[JsonProperty("RepoName")]
|
||||
public string RepoName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新方式:0:快速更新 1:滚动更新
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateType")]
|
||||
public long? UpdateType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 滚动更新必填,更新间隔
|
||||
/// </summary>
|
||||
[JsonProperty("UpdateIvl")]
|
||||
public long? UpdateIvl{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent 容器分配的 CPU 核数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("AgentCpuRequest")]
|
||||
public string AgentCpuRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent 容器最大的 CPU 核数,对应 K8S 的 limit
|
||||
/// </summary>
|
||||
[JsonProperty("AgentCpuLimit")]
|
||||
public string AgentCpuLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent 容器分配的内存 MiB 数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("AgentMemRequest")]
|
||||
public string AgentMemRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent 容器最大的内存 MiB 数,对应 K8S 的 limit
|
||||
/// </summary>
|
||||
[JsonProperty("AgentMemLimit")]
|
||||
public string AgentMemLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// istioproxy 容器分配的 CPU 核数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("IstioCpuRequest")]
|
||||
public string IstioCpuRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// istioproxy 容器最大的 CPU 核数,对应 K8S 的 limit
|
||||
/// </summary>
|
||||
[JsonProperty("IstioCpuLimit")]
|
||||
public string IstioCpuLimit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// istioproxy 容器分配的内存 MiB 数,对应 K8S 的 request
|
||||
/// </summary>
|
||||
[JsonProperty("IstioMemRequest")]
|
||||
public string IstioMemRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// istioproxy 容器最大的内存 MiB 数,对应 K8S 的 limit
|
||||
/// </summary>
|
||||
[JsonProperty("IstioMemLimit")]
|
||||
public string IstioMemLimit{ 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 + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "Server", this.Server);
|
||||
this.SetParamSimple(map, prefix + "TagName", this.TagName);
|
||||
this.SetParamSimple(map, prefix + "InstanceNum", this.InstanceNum);
|
||||
this.SetParamSimple(map, prefix + "Reponame", this.Reponame);
|
||||
this.SetParamSimple(map, prefix + "CpuLimit", this.CpuLimit);
|
||||
this.SetParamSimple(map, prefix + "MemLimit", this.MemLimit);
|
||||
this.SetParamSimple(map, prefix + "JvmOpts", this.JvmOpts);
|
||||
this.SetParamSimple(map, prefix + "CpuRequest", this.CpuRequest);
|
||||
this.SetParamSimple(map, prefix + "MemRequest", this.MemRequest);
|
||||
this.SetParamSimple(map, prefix + "DoNotStart", this.DoNotStart);
|
||||
this.SetParamSimple(map, prefix + "RepoName", this.RepoName);
|
||||
this.SetParamSimple(map, prefix + "UpdateType", this.UpdateType);
|
||||
this.SetParamSimple(map, prefix + "UpdateIvl", this.UpdateIvl);
|
||||
this.SetParamSimple(map, prefix + "AgentCpuRequest", this.AgentCpuRequest);
|
||||
this.SetParamSimple(map, prefix + "AgentCpuLimit", this.AgentCpuLimit);
|
||||
this.SetParamSimple(map, prefix + "AgentMemRequest", this.AgentMemRequest);
|
||||
this.SetParamSimple(map, prefix + "AgentMemLimit", this.AgentMemLimit);
|
||||
this.SetParamSimple(map, prefix + "IstioCpuRequest", this.IstioCpuRequest);
|
||||
this.SetParamSimple(map, prefix + "IstioCpuLimit", this.IstioCpuLimit);
|
||||
this.SetParamSimple(map, prefix + "IstioMemRequest", this.IstioMemRequest);
|
||||
this.SetParamSimple(map, prefix + "IstioMemLimit", this.IstioMemLimit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeployContainerGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署容器应用是否成功。
|
||||
/// true:成功。
|
||||
/// false:失败。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Tsf/V20180326/Models/DeployGroupRequest.cs
Normal file
57
TencentCloud/Tsf/V20180326/Models/DeployGroupRequest.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeployGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序包ID
|
||||
/// </summary>
|
||||
[JsonProperty("PkgId")]
|
||||
public string PkgId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组启动参数
|
||||
/// </summary>
|
||||
[JsonProperty("StartupParameters")]
|
||||
public string StartupParameters{ 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 + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "PkgId", this.PkgId);
|
||||
this.SetParamSimple(map, prefix + "StartupParameters", this.StartupParameters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Tsf/V20180326/Models/DeployGroupResponse.cs
Normal file
51
TencentCloud/Tsf/V20180326/Models/DeployGroupResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeployGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TaskIdInfo Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeployServerlessGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序包ID
|
||||
/// </summary>
|
||||
[JsonProperty("PkgId")]
|
||||
public string PkgId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所需实例内存大小,取值为 1Gi 2Gi 4Gi 8Gi 16Gi,缺省为 1Gi,不传表示维持原态
|
||||
/// </summary>
|
||||
[JsonProperty("Memory")]
|
||||
public string Memory{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 要求最小实例数,取值范围 [1, 4],缺省为 1,不传表示维持原态
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceRequest")]
|
||||
public ulong? InstanceRequest{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组启动参数,不传表示维持原态
|
||||
/// </summary>
|
||||
[JsonProperty("StartupParameters")]
|
||||
public string StartupParameters{ 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 + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "PkgId", this.PkgId);
|
||||
this.SetParamSimple(map, prefix + "Memory", this.Memory);
|
||||
this.SetParamSimple(map, prefix + "InstanceRequest", this.InstanceRequest);
|
||||
this.SetParamSimple(map, prefix + "StartupParameters", this.StartupParameters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeployServerlessGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 结果true:成功;false:失败;
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public bool? Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Result", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeApplicationAttributeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ 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 + "ApplicationId", this.ApplicationId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeApplicationAttributeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用列表其它字段返回参数
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public ApplicationAttribute Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeApplicationRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ 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 + "ApplicationId", this.ApplicationId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeApplicationResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public ApplicationForPage Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeApplicationsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 搜索字段
|
||||
/// </summary>
|
||||
[JsonProperty("SearchWord")]
|
||||
public string SearchWord{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序字段
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序类型
|
||||
/// </summary>
|
||||
[JsonProperty("OrderType")]
|
||||
public long? OrderType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页个数
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用类型
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationType")]
|
||||
public string ApplicationType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用的微服务类型
|
||||
/// </summary>
|
||||
[JsonProperty("MicroserviceType")]
|
||||
public string MicroserviceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用资源类型数组
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationResourceTypeList")]
|
||||
public string[] ApplicationResourceTypeList{ 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 + "SearchWord", this.SearchWord);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "ApplicationType", this.ApplicationType);
|
||||
this.SetParamSimple(map, prefix + "MicroserviceType", this.MicroserviceType);
|
||||
this.SetParamArraySimple(map, prefix + "ApplicationResourceTypeList.", this.ApplicationResourceTypeList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeApplicationsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用分页列表信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageApplication Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeClusterInstancesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 搜索字段
|
||||
/// </summary>
|
||||
[JsonProperty("SearchWord")]
|
||||
public string SearchWord{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序字段
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序类型
|
||||
/// </summary>
|
||||
[JsonProperty("OrderType")]
|
||||
public long? OrderType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页个数
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeClusterInstancesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 集群机器实例分页信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageInstance Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigReleaseLogsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,默认为0
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 每页条数,默认为20
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ 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 + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigReleaseLogsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 分页的配置项发布历史列表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageConfigReleaseLog Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigReleasesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项名称,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigName")]
|
||||
public string ConfigName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 每页条数
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigId")]
|
||||
public string ConfigId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ 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 + "ConfigName", this.ConfigName);
|
||||
this.SetParamSimple(map, prefix + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "ConfigId", this.ConfigId);
|
||||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigReleasesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 分页的配置发布信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageConfigRelease Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Tsf/V20180326/Models/DescribeConfigRequest.cs
Normal file
43
TencentCloud/Tsf/V20180326/Models/DescribeConfigRequest.cs
Normal 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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项ID
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigId")]
|
||||
public string ConfigId{ 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 + "ConfigId", this.ConfigId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Tsf/V20180326/Models/DescribeConfigResponse.cs
Normal file
51
TencentCloud/Tsf/V20180326/Models/DescribeConfigResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public Config Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigSummaryRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询关键字,模糊查询:应用名称,配置项名称,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("SearchWord")]
|
||||
public string SearchWord{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,默认为0
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 每页条数,默认为20
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigSummaryResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 配置项分页对象
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageConfig Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
TencentCloud/Tsf/V20180326/Models/DescribeConfigsRequest.cs
Normal file
85
TencentCloud/Tsf/V20180326/Models/DescribeConfigsRequest.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项ID,不传入时查询全量,高优先级
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigId")]
|
||||
public string ConfigId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 每页条数
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项ID列表,不传入时查询全量,低优先级
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigIdList")]
|
||||
public string[] ConfigIdList{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项名称,精确查询,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigName")]
|
||||
public string ConfigName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置项版本,精确查询,不传入时查询全量
|
||||
/// </summary>
|
||||
[JsonProperty("ConfigVersion")]
|
||||
public string ConfigVersion{ 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 + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "ConfigId", this.ConfigId);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamArraySimple(map, prefix + "ConfigIdList.", this.ConfigIdList);
|
||||
this.SetParamSimple(map, prefix + "ConfigName", this.ConfigName);
|
||||
this.SetParamSimple(map, prefix + "ConfigVersion", this.ConfigVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Tsf/V20180326/Models/DescribeConfigsResponse.cs
Normal file
51
TencentCloud/Tsf/V20180326/Models/DescribeConfigsResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeConfigsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 分页后的配置项列表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageConfig Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeContainerGroupDetailRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 分组ID
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ 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 + "GroupId", this.GroupId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeContainerGroupDetailResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 容器部署组详情
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public ContainerGroupDetail Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeContainerGroupsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 搜索字段,模糊搜索groupName字段
|
||||
/// </summary>
|
||||
[JsonProperty("SearchWord")]
|
||||
public string SearchWord{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组所属应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序字段,默认为 createTime字段,支持id, name, createTime
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序方式,默认为1:倒序排序,0:正序,1:倒序
|
||||
/// </summary>
|
||||
[JsonProperty("OrderType")]
|
||||
public long? OrderType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,取值从0开始
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页个数,默认为20, 取值应为1~50
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间 ID
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ 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 + "SearchWord", this.SearchWord);
|
||||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeContainerGroupsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 查询的权限数据对象
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public ContainGroupResult Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDownloadInfoRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序包ID
|
||||
/// </summary>
|
||||
[JsonProperty("PkgId")]
|
||||
public string PkgId{ 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 + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "PkgId", this.PkgId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeDownloadInfoResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// COS鉴权信息
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public CosDownloadInfo Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeGroupInstancesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 搜索字段
|
||||
/// </summary>
|
||||
[JsonProperty("SearchWord")]
|
||||
public string SearchWord{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序字段
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序类型
|
||||
/// </summary>
|
||||
[JsonProperty("OrderType")]
|
||||
public long? OrderType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页个数
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "GroupId", this.GroupId);
|
||||
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeGroupInstancesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组机器信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageInstance Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Tsf/V20180326/Models/DescribeGroupRequest.cs
Normal file
43
TencentCloud/Tsf/V20180326/Models/DescribeGroupRequest.cs
Normal 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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeGroupRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 部署组ID
|
||||
/// </summary>
|
||||
[JsonProperty("GroupId")]
|
||||
public string GroupId{ 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 + "GroupId", this.GroupId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Tsf/V20180326/Models/DescribeGroupResponse.cs
Normal file
51
TencentCloud/Tsf/V20180326/Models/DescribeGroupResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeGroupResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 虚拟机部署组详情
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public VmGroup Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
99
TencentCloud/Tsf/V20180326/Models/DescribeGroupsRequest.cs
Normal file
99
TencentCloud/Tsf/V20180326/Models/DescribeGroupsRequest.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeGroupsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 搜索字段
|
||||
/// </summary>
|
||||
[JsonProperty("SearchWord")]
|
||||
public string SearchWord{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序字段
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序方式
|
||||
/// </summary>
|
||||
[JsonProperty("OrderType")]
|
||||
public long? OrderType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页个数
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 集群ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClusterId")]
|
||||
public string ClusterId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署组资源类型列表
|
||||
/// </summary>
|
||||
[JsonProperty("GroupResourceTypeList")]
|
||||
public string[] GroupResourceTypeList{ 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 + "SearchWord", this.SearchWord);
|
||||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
|
||||
this.SetParamArraySimple(map, prefix + "GroupResourceTypeList.", this.GroupResourceTypeList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Tsf/V20180326/Models/DescribeGroupsResponse.cs
Normal file
51
TencentCloud/Tsf/V20180326/Models/DescribeGroupsResponse.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeGroupsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 虚拟机部署组分页信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageVmGroup Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeImageTagsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用Id
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量,取值从0开始
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页个数,默认为20, 取值应为1~100
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不填和0:查询 1:不查询
|
||||
/// </summary>
|
||||
[JsonProperty("QueryImageIdFlag")]
|
||||
public long? QueryImageIdFlag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用于搜索的 tag 名字
|
||||
/// </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 + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "QueryImageIdFlag", this.QueryImageIdFlag);
|
||||
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeImageTagsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 查询的权限数据对象
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public ImageTagsResult Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeMicroserviceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 微服务ID
|
||||
/// </summary>
|
||||
[JsonProperty("MicroserviceId")]
|
||||
public string MicroserviceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页个数
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "MicroserviceId", this.MicroserviceId);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeMicroserviceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 微服务详情实例列表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageMsInstance Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeMicroservicesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间ID
|
||||
/// </summary>
|
||||
[JsonProperty("NamespaceId")]
|
||||
public string NamespaceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 搜索字段
|
||||
/// </summary>
|
||||
[JsonProperty("SearchWord")]
|
||||
public string SearchWord{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序字段
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序类型
|
||||
/// </summary>
|
||||
[JsonProperty("OrderType")]
|
||||
public long? OrderType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页个数
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "NamespaceId", this.NamespaceId);
|
||||
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeMicroservicesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 微服务分页列表信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public TsfPageMicroservice Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
TencentCloud/Tsf/V20180326/Models/DescribePkgsRequest.cs
Normal file
78
TencentCloud/Tsf/V20180326/Models/DescribePkgsRequest.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribePkgsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 应用ID(只传入应用ID,返回该应用下所有软件包信息)
|
||||
/// </summary>
|
||||
[JsonProperty("ApplicationId")]
|
||||
public string ApplicationId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询关键字(支持根据包ID,包名,包版本号搜索)
|
||||
/// </summary>
|
||||
[JsonProperty("SearchWord")]
|
||||
public string SearchWord{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序关键字(默认为"UploadTime":上传时间)
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 升序:0/降序:1(默认降序)
|
||||
/// </summary>
|
||||
[JsonProperty("OrderType")]
|
||||
public ulong? OrderType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询起始偏移
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public ulong? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数量限制
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public ulong? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ApplicationId", this.ApplicationId);
|
||||
this.SetParamSimple(map, prefix + "SearchWord", this.SearchWord);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
this.SetParamSimple(map, prefix + "OrderType", this.OrderType);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Tsf/V20180326/Models/DescribePkgsResponse.cs
Normal file
50
TencentCloud/Tsf/V20180326/Models/DescribePkgsResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Tsf.V20180326.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribePkgsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 符合查询程序包信息列表
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public PkgList Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user