代码修改后的版本,全部提交
This commit is contained in:
1328
TencentCloud/Batch/V20170312/BatchClient.cs
Normal file
1328
TencentCloud/Batch/V20170312/BatchClient.cs
Normal file
File diff suppressed because it is too large
Load Diff
108
TencentCloud/Batch/V20170312/Models/Activity.cs
Normal file
108
TencentCloud/Batch/V20170312/Models/Activity.cs
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Activity : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 活动ID
|
||||
/// </summary>
|
||||
[JsonProperty("ActivityId")]
|
||||
public string ActivityId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点ID
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeNodeId")]
|
||||
public string ComputeNodeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点活动类型,创建或者销毁
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeNodeActivityType")]
|
||||
public string ComputeNodeActivityType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 起因
|
||||
/// </summary>
|
||||
[JsonProperty("Cause")]
|
||||
public string Cause{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 活动状态
|
||||
/// </summary>
|
||||
[JsonProperty("ActivityState")]
|
||||
public string ActivityState{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态原因
|
||||
/// </summary>
|
||||
[JsonProperty("StateReason")]
|
||||
public string StateReason{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 活动开始时间
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 活动结束时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTime")]
|
||||
public string EndTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 云服务器实例ID
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ActivityId", this.ActivityId);
|
||||
this.SetParamSimple(map, prefix + "ComputeNodeId", this.ComputeNodeId);
|
||||
this.SetParamSimple(map, prefix + "ComputeNodeActivityType", this.ComputeNodeActivityType);
|
||||
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
|
||||
this.SetParamSimple(map, prefix + "Cause", this.Cause);
|
||||
this.SetParamSimple(map, prefix + "ActivityState", this.ActivityState);
|
||||
this.SetParamSimple(map, prefix + "StateReason", this.StateReason);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||||
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Batch/V20170312/Models/AgentRunningMode.cs
Normal file
57
TencentCloud/Batch/V20170312/Models/AgentRunningMode.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AgentRunningMode : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 场景类型,支持WINDOWS
|
||||
/// </summary>
|
||||
[JsonProperty("Scene")]
|
||||
public string Scene{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运行Agent的User
|
||||
/// </summary>
|
||||
[JsonProperty("User")]
|
||||
public string User{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运行Agent的Session
|
||||
/// </summary>
|
||||
[JsonProperty("Session")]
|
||||
public string Session{ 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 + "Scene", this.Scene);
|
||||
this.SetParamSimple(map, prefix + "User", this.User);
|
||||
this.SetParamSimple(map, prefix + "Session", this.Session);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Batch/V20170312/Models/AnonymousComputeEnv.cs
Normal file
64
TencentCloud/Batch/V20170312/Models/AnonymousComputeEnv.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AnonymousComputeEnv : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境管理类型
|
||||
/// </summary>
|
||||
[JsonProperty("EnvType")]
|
||||
public string EnvType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境具体参数
|
||||
/// </summary>
|
||||
[JsonProperty("EnvData")]
|
||||
public EnvData EnvData{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘挂载选项
|
||||
/// </summary>
|
||||
[JsonProperty("MountDataDisks")]
|
||||
public MountDataDisk[] MountDataDisks{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent运行模式,适用于Windows系统
|
||||
/// </summary>
|
||||
[JsonProperty("AgentRunningMode")]
|
||||
public AgentRunningMode AgentRunningMode{ 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 + "EnvType", this.EnvType);
|
||||
this.SetParamObj(map, prefix + "EnvData.", this.EnvData);
|
||||
this.SetParamArrayObj(map, prefix + "MountDataDisks.", this.MountDataDisks);
|
||||
this.SetParamObj(map, prefix + "AgentRunningMode.", this.AgentRunningMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Batch/V20170312/Models/Application.cs
Normal file
64
TencentCloud/Batch/V20170312/Models/Application.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Application : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务执行命令
|
||||
/// </summary>
|
||||
[JsonProperty("Command")]
|
||||
public string Command{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用程序的交付方式,包括PACKAGE、LOCAL 两种取值,分别指远程存储的软件包、计算环境本地。
|
||||
/// </summary>
|
||||
[JsonProperty("DeliveryForm")]
|
||||
public string DeliveryForm{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用程序软件包的远程存储路径
|
||||
/// </summary>
|
||||
[JsonProperty("PackagePath")]
|
||||
public string PackagePath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。
|
||||
/// </summary>
|
||||
[JsonProperty("Docker")]
|
||||
public Docker Docker{ 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 + "Command", this.Command);
|
||||
this.SetParamSimple(map, prefix + "DeliveryForm", this.DeliveryForm);
|
||||
this.SetParamSimple(map, prefix + "PackagePath", this.PackagePath);
|
||||
this.SetParamObj(map, prefix + "Docker.", this.Docker);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AttachInstancesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 加入计算环境实例列表
|
||||
/// </summary>
|
||||
[JsonProperty("Instances")]
|
||||
public Instance[] Instances{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
|
||||
this.SetParamArrayObj(map, prefix + "Instances.", this.Instances);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AttachInstancesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Batch/V20170312/Models/Authentication.cs
Normal file
57
TencentCloud/Batch/V20170312/Models/Authentication.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Authentication : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 授权场景,例如COS
|
||||
/// </summary>
|
||||
[JsonProperty("Scene")]
|
||||
public string Scene{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// SecretId
|
||||
/// </summary>
|
||||
[JsonProperty("SecretId")]
|
||||
public string SecretId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// SecretKey
|
||||
/// </summary>
|
||||
[JsonProperty("SecretKey")]
|
||||
public string SecretKey{ 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 + "Scene", this.Scene);
|
||||
this.SetParamSimple(map, prefix + "SecretId", this.SecretId);
|
||||
this.SetParamSimple(map, prefix + "SecretKey", this.SecretKey);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
112
TencentCloud/Batch/V20170312/Models/ComputeEnvCreateInfo.cs
Normal file
112
TencentCloud/Batch/V20170312/Models/ComputeEnvCreateInfo.cs
Normal file
@@ -0,0 +1,112 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ComputeEnvCreateInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境 ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境名称
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("EnvName")]
|
||||
public string EnvName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("EnvDescription")]
|
||||
public string EnvDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境类型,仅支持“MANAGED”类型
|
||||
/// </summary>
|
||||
[JsonProperty("EnvType")]
|
||||
public string EnvType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境参数
|
||||
/// </summary>
|
||||
[JsonProperty("EnvData")]
|
||||
public EnvData EnvData{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘挂载选项
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("MountDataDisks")]
|
||||
public MountDataDisk[] MountDataDisks{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 输入映射
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("InputMappings")]
|
||||
public InputMapping[] InputMappings{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 授权信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Authentications")]
|
||||
public Authentication[] Authentications{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通知信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Notifications")]
|
||||
public Notification[] Notifications{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点期望个数
|
||||
/// </summary>
|
||||
[JsonProperty("DesiredComputeNodeCount")]
|
||||
public ulong? DesiredComputeNodeCount{ 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 + "EnvId", this.EnvId);
|
||||
this.SetParamSimple(map, prefix + "EnvName", this.EnvName);
|
||||
this.SetParamSimple(map, prefix + "EnvDescription", this.EnvDescription);
|
||||
this.SetParamSimple(map, prefix + "EnvType", this.EnvType);
|
||||
this.SetParamObj(map, prefix + "EnvData.", this.EnvData);
|
||||
this.SetParamArrayObj(map, prefix + "MountDataDisks.", this.MountDataDisks);
|
||||
this.SetParamArrayObj(map, prefix + "InputMappings.", this.InputMappings);
|
||||
this.SetParamArrayObj(map, prefix + "Authentications.", this.Authentications);
|
||||
this.SetParamArrayObj(map, prefix + "Notifications.", this.Notifications);
|
||||
this.SetParamSimple(map, prefix + "DesiredComputeNodeCount", this.DesiredComputeNodeCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Batch/V20170312/Models/ComputeEnvData.cs
Normal file
43
TencentCloud/Batch/V20170312/Models/ComputeEnvData.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ComputeEnvData : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// CVM实例类型列表
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceTypes")]
|
||||
public string[] InstanceTypes{ 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 + "InstanceTypes.", this.InstanceTypes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
106
TencentCloud/Batch/V20170312/Models/ComputeEnvView.cs
Normal file
106
TencentCloud/Batch/V20170312/Models/ComputeEnvView.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ComputeEnvView : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境名称
|
||||
/// </summary>
|
||||
[JsonProperty("EnvName")]
|
||||
public string EnvName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位置信息
|
||||
/// </summary>
|
||||
[JsonProperty("Placement")]
|
||||
public Placement Placement{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点统计指标
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeNodeMetrics")]
|
||||
public ComputeNodeMetrics ComputeNodeMetrics{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境类型
|
||||
/// </summary>
|
||||
[JsonProperty("EnvType")]
|
||||
public string EnvType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点期望个数
|
||||
/// </summary>
|
||||
[JsonProperty("DesiredComputeNodeCount")]
|
||||
public ulong? DesiredComputeNodeCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境资源类型,当前为CVM和CPM(黑石)
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceType")]
|
||||
public string ResourceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下一步动作
|
||||
/// </summary>
|
||||
[JsonProperty("NextAction")]
|
||||
public string NextAction{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户添加到计算环境中的计算节点个数
|
||||
/// </summary>
|
||||
[JsonProperty("AttachedComputeNodeCount")]
|
||||
public ulong? AttachedComputeNodeCount{ 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 + "EnvId", this.EnvId);
|
||||
this.SetParamSimple(map, prefix + "EnvName", this.EnvName);
|
||||
this.SetParamObj(map, prefix + "Placement.", this.Placement);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamObj(map, prefix + "ComputeNodeMetrics.", this.ComputeNodeMetrics);
|
||||
this.SetParamSimple(map, prefix + "EnvType", this.EnvType);
|
||||
this.SetParamSimple(map, prefix + "DesiredComputeNodeCount", this.DesiredComputeNodeCount);
|
||||
this.SetParamSimple(map, prefix + "ResourceType", this.ResourceType);
|
||||
this.SetParamSimple(map, prefix + "NextAction", this.NextAction);
|
||||
this.SetParamSimple(map, prefix + "AttachedComputeNodeCount", this.AttachedComputeNodeCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
121
TencentCloud/Batch/V20170312/Models/ComputeNode.cs
Normal file
121
TencentCloud/Batch/V20170312/Models/ComputeNode.cs
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ComputeNode : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点ID
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeNodeId")]
|
||||
public string ComputeNodeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点实例ID,对于CVM场景,即为CVM的InstanceId
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeNodeInstanceId")]
|
||||
public string ComputeNodeInstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点状态
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeNodeState")]
|
||||
public string ComputeNodeState{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CPU核数
|
||||
/// </summary>
|
||||
[JsonProperty("Cpu")]
|
||||
public ulong? Cpu{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内存容量,单位GiB
|
||||
/// </summary>
|
||||
[JsonProperty("Mem")]
|
||||
public ulong? Mem{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源创建完成时间
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceCreatedTime")]
|
||||
public string ResourceCreatedTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点运行 TaskInstance 可用容量。0表示计算节点忙碌。
|
||||
/// </summary>
|
||||
[JsonProperty("TaskInstanceNumAvailable")]
|
||||
public ulong? TaskInstanceNumAvailable{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Batch Agent 版本
|
||||
/// </summary>
|
||||
[JsonProperty("AgentVersion")]
|
||||
public string AgentVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例内网IP
|
||||
/// </summary>
|
||||
[JsonProperty("PrivateIpAddresses")]
|
||||
public string[] PrivateIpAddresses{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例公网IP
|
||||
/// </summary>
|
||||
[JsonProperty("PublicIpAddresses")]
|
||||
public string[] PublicIpAddresses{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境资源类型,当前为CVM和CPM(黑石)
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceType")]
|
||||
public string ResourceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境资源来源。<br>BATCH_CREATED:由批量计算创建的实例资源。<br>
|
||||
/// USER_ATTACHED:用户添加到计算环境中的实例资源。
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceOrigin")]
|
||||
public string ResourceOrigin{ 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 + "ComputeNodeId", this.ComputeNodeId);
|
||||
this.SetParamSimple(map, prefix + "ComputeNodeInstanceId", this.ComputeNodeInstanceId);
|
||||
this.SetParamSimple(map, prefix + "ComputeNodeState", this.ComputeNodeState);
|
||||
this.SetParamSimple(map, prefix + "Cpu", this.Cpu);
|
||||
this.SetParamSimple(map, prefix + "Mem", this.Mem);
|
||||
this.SetParamSimple(map, prefix + "ResourceCreatedTime", this.ResourceCreatedTime);
|
||||
this.SetParamSimple(map, prefix + "TaskInstanceNumAvailable", this.TaskInstanceNumAvailable);
|
||||
this.SetParamSimple(map, prefix + "AgentVersion", this.AgentVersion);
|
||||
this.SetParamArraySimple(map, prefix + "PrivateIpAddresses.", this.PrivateIpAddresses);
|
||||
this.SetParamArraySimple(map, prefix + "PublicIpAddresses.", this.PublicIpAddresses);
|
||||
this.SetParamSimple(map, prefix + "ResourceType", this.ResourceType);
|
||||
this.SetParamSimple(map, prefix + "ResourceOrigin", this.ResourceOrigin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
TencentCloud/Batch/V20170312/Models/ComputeNodeMetrics.cs
Normal file
85
TencentCloud/Batch/V20170312/Models/ComputeNodeMetrics.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ComputeNodeMetrics : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 已经完成提交的计算节点数量
|
||||
/// </summary>
|
||||
[JsonProperty("SubmittedCount")]
|
||||
public ulong? SubmittedCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建中的计算节点数量
|
||||
/// </summary>
|
||||
[JsonProperty("CreatingCount")]
|
||||
public ulong? CreatingCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建失败的计算节点数量
|
||||
/// </summary>
|
||||
[JsonProperty("CreationFailedCount")]
|
||||
public ulong? CreationFailedCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 完成创建的计算节点数量
|
||||
/// </summary>
|
||||
[JsonProperty("CreatedCount")]
|
||||
public ulong? CreatedCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运行中的计算节点数量
|
||||
/// </summary>
|
||||
[JsonProperty("RunningCount")]
|
||||
public ulong? RunningCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 销毁中的计算节点数量
|
||||
/// </summary>
|
||||
[JsonProperty("DeletingCount")]
|
||||
public ulong? DeletingCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 异常的计算节点数量
|
||||
/// </summary>
|
||||
[JsonProperty("AbnormalCount")]
|
||||
public ulong? AbnormalCount{ 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 + "SubmittedCount", this.SubmittedCount);
|
||||
this.SetParamSimple(map, prefix + "CreatingCount", this.CreatingCount);
|
||||
this.SetParamSimple(map, prefix + "CreationFailedCount", this.CreationFailedCount);
|
||||
this.SetParamSimple(map, prefix + "CreatedCount", this.CreatedCount);
|
||||
this.SetParamSimple(map, prefix + "RunningCount", this.RunningCount);
|
||||
this.SetParamSimple(map, prefix + "DeletingCount", this.DeletingCount);
|
||||
this.SetParamSimple(map, prefix + "AbnormalCount", this.AbnormalCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CpmVirtualPrivateCloud : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 黑石私有网络ID
|
||||
/// </summary>
|
||||
[JsonProperty("VpcId")]
|
||||
public string VpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 黑石子网ID
|
||||
/// </summary>
|
||||
[JsonProperty("SubnetId")]
|
||||
public string SubnetId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
|
||||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateComputeEnvRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境信息
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeEnv")]
|
||||
public NamedComputeEnv ComputeEnv{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位置信息
|
||||
/// </summary>
|
||||
[JsonProperty("Placement")]
|
||||
public Placement Placement{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用于保证请求幂等性的字符串。该字符串由用户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
||||
/// </summary>
|
||||
[JsonProperty("ClientToken")]
|
||||
public string ClientToken{ 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 + "ComputeEnv.", this.ComputeEnv);
|
||||
this.SetParamObj(map, prefix + "Placement.", this.Placement);
|
||||
this.SetParamSimple(map, prefix + "ClientToken", this.ClientToken);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateComputeEnvResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ 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 + "EnvId", this.EnvId);
|
||||
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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateCpmComputeEnvRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境信息
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeEnv")]
|
||||
public NamedCpmComputeEnv ComputeEnv{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位置信息
|
||||
/// </summary>
|
||||
[JsonProperty("Placement")]
|
||||
public Placement Placement{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用于保证请求幂等性的字符串。该字符串由用户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
||||
/// </summary>
|
||||
[JsonProperty("ClientToken")]
|
||||
public string ClientToken{ 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 + "ComputeEnv.", this.ComputeEnv);
|
||||
this.SetParamObj(map, prefix + "Placement.", this.Placement);
|
||||
this.SetParamSimple(map, prefix + "ClientToken", this.ClientToken);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateCpmComputeEnvResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ 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 + "EnvId", this.EnvId);
|
||||
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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateTaskTemplateRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板名称
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateName")]
|
||||
public string TaskTemplateName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板内容,参数要求与任务一致
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateInfo")]
|
||||
public Task TaskTemplateInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板描述
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateDescription")]
|
||||
public string TaskTemplateDescription{ 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 + "TaskTemplateName", this.TaskTemplateName);
|
||||
this.SetParamObj(map, prefix + "TaskTemplateInfo.", this.TaskTemplateInfo);
|
||||
this.SetParamSimple(map, prefix + "TaskTemplateDescription", this.TaskTemplateDescription);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateTaskTemplateResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板ID
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateId")]
|
||||
public string TaskTemplateId{ 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 + "TaskTemplateId", this.TaskTemplateId);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
89
TencentCloud/Batch/V20170312/Models/DataDisk.cs
Normal file
89
TencentCloud/Batch/V20170312/Models/DataDisk.cs
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DataDisk : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
||||
/// </summary>
|
||||
[JsonProperty("DiskSize")]
|
||||
public long? DiskSize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><br>默认取值:LOCAL_BASIC。<br><br>该参数对`ResizeInstanceDisk`接口无效。
|
||||
/// </summary>
|
||||
[JsonProperty("DiskType")]
|
||||
public string DiskType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID,暂时不支持该参数。
|
||||
/// </summary>
|
||||
[JsonProperty("DiskId")]
|
||||
public string DiskId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘是否随子机销毁。取值范围:
|
||||
/// <li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘
|
||||
/// <li>FALSE:子机销毁时,保留数据盘<br>
|
||||
/// 默认取值:TRUE<br>
|
||||
/// 该参数目前仅用于 `RunInstances` 接口。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("DeleteWithInstance")]
|
||||
public bool? DeleteWithInstance{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("SnapshotId")]
|
||||
public string SnapshotId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘是加密。取值范围:
|
||||
/// <li>TRUE:加密
|
||||
/// <li>FALSE:不加密<br>
|
||||
/// 默认取值:FALSE<br>
|
||||
/// 该参数目前仅用于 `RunInstances` 接口。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Encrypt")]
|
||||
public bool? Encrypt{ 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 + "DiskSize", this.DiskSize);
|
||||
this.SetParamSimple(map, prefix + "DiskType", this.DiskType);
|
||||
this.SetParamSimple(map, prefix + "DiskId", this.DiskId);
|
||||
this.SetParamSimple(map, prefix + "DeleteWithInstance", this.DeleteWithInstance);
|
||||
this.SetParamSimple(map, prefix + "SnapshotId", this.SnapshotId);
|
||||
this.SetParamSimple(map, prefix + "Encrypt", this.Encrypt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteComputeEnvRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ 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 + "EnvId", this.EnvId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteComputeEnvResponse : 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Batch/V20170312/Models/DeleteJobRequest.cs
Normal file
43
TencentCloud/Batch/V20170312/Models/DeleteJobRequest.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ 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 + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Batch/V20170312/Models/DeleteJobResponse.cs
Normal file
43
TencentCloud/Batch/V20170312/Models/DeleteJobResponse.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteJobResponse : 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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteTaskTemplatesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 用于删除任务模板信息
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateIds")]
|
||||
public string[] TaskTemplateIds{ 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 + "TaskTemplateIds.", this.TaskTemplateIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteTaskTemplatesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/Dependence.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/Dependence.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Dependence : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 依赖关系的起点任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("StartTask")]
|
||||
public string StartTask{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 依赖关系的终点任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("EndTask")]
|
||||
public string EndTask{ 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 + "StartTask", this.StartTask);
|
||||
this.SetParamSimple(map, prefix + "EndTask", this.EndTask);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAvailableCvmInstanceTypesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 过滤条件。
|
||||
/// <li> zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。</li>
|
||||
/// <li> instance-family String - 是否必填:否 -(过滤条件)按照机型系列过滤。实例机型系列形如:S1、I1、M1等。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Filters")]
|
||||
public Filter[] Filters{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeAvailableCvmInstanceTypesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 机型配置数组
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceTypeConfigSet")]
|
||||
public InstanceTypeConfig[] InstanceTypeConfigSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "InstanceTypeConfigSet.", this.InstanceTypeConfigSet);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvActivitiesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数量
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过滤条件
|
||||
/// <li> compute-node-id - String - 是否必填:否 -(过滤条件)按照计算节点ID过滤。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Filters")]
|
||||
public Filter Filters{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamObj(map, prefix + "Filters.", this.Filters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvActivitiesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境中的活动列表
|
||||
/// </summary>
|
||||
[JsonProperty("ActivitySet")]
|
||||
public Activity[] ActivitySet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 活动数量
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public ulong? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "ActivitySet.", this.ActivitySet);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvCreateInfoRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ 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 + "EnvId", this.EnvId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvCreateInfoResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境 ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境名称
|
||||
/// </summary>
|
||||
[JsonProperty("EnvName")]
|
||||
public string EnvName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("EnvDescription")]
|
||||
public string EnvDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境类型,仅支持“MANAGED”类型
|
||||
/// </summary>
|
||||
[JsonProperty("EnvType")]
|
||||
public string EnvType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境参数
|
||||
/// </summary>
|
||||
[JsonProperty("EnvData")]
|
||||
public EnvData EnvData{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘挂载选项
|
||||
/// </summary>
|
||||
[JsonProperty("MountDataDisks")]
|
||||
public MountDataDisk[] MountDataDisks{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 输入映射
|
||||
/// </summary>
|
||||
[JsonProperty("InputMappings")]
|
||||
public InputMapping[] InputMappings{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 授权信息
|
||||
/// </summary>
|
||||
[JsonProperty("Authentications")]
|
||||
public Authentication[] Authentications{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通知信息
|
||||
/// </summary>
|
||||
[JsonProperty("Notifications")]
|
||||
public Notification[] Notifications{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点期望个数
|
||||
/// </summary>
|
||||
[JsonProperty("DesiredComputeNodeCount")]
|
||||
public long? DesiredComputeNodeCount{ 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 + "EnvId", this.EnvId);
|
||||
this.SetParamSimple(map, prefix + "EnvName", this.EnvName);
|
||||
this.SetParamSimple(map, prefix + "EnvDescription", this.EnvDescription);
|
||||
this.SetParamSimple(map, prefix + "EnvType", this.EnvType);
|
||||
this.SetParamObj(map, prefix + "EnvData.", this.EnvData);
|
||||
this.SetParamArrayObj(map, prefix + "MountDataDisks.", this.MountDataDisks);
|
||||
this.SetParamArrayObj(map, prefix + "InputMappings.", this.InputMappings);
|
||||
this.SetParamArrayObj(map, prefix + "Authentications.", this.Authentications);
|
||||
this.SetParamArrayObj(map, prefix + "Notifications.", this.Notifications);
|
||||
this.SetParamSimple(map, prefix + "DesiredComputeNodeCount", this.DesiredComputeNodeCount);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvCreateInfosRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID列表,与Filters参数不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("EnvIds")]
|
||||
public string[] EnvIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过滤条件
|
||||
/// <li> zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。</li>
|
||||
/// <li> env-id - String - 是否必填:否 -(过滤条件)按照计算环境ID过滤。</li>
|
||||
/// <li> env-name - String - 是否必填:否 -(过滤条件)按照计算环境名称过滤。</li>
|
||||
/// 与EnvIds参数不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("Filters")]
|
||||
public Filter[] Filters{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public ulong? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数量
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public ulong? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArraySimple(map, prefix + "EnvIds.", this.EnvIds);
|
||||
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvCreateInfosResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境数量
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境创建信息列表
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeEnvCreateInfoSet")]
|
||||
public ComputeEnvCreateInfo[] ComputeEnvCreateInfoSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamArrayObj(map, prefix + "ComputeEnvCreateInfoSet.", this.ComputeEnvCreateInfoSet);
|
||||
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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ 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 + "EnvId", this.EnvId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境名称
|
||||
/// </summary>
|
||||
[JsonProperty("EnvName")]
|
||||
public string EnvName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位置信息
|
||||
/// </summary>
|
||||
[JsonProperty("Placement")]
|
||||
public Placement Placement{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点列表信息
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeNodeSet")]
|
||||
public ComputeNode[] ComputeNodeSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点统计指标
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeNodeMetrics")]
|
||||
public ComputeNodeMetrics ComputeNodeMetrics{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点期望个数
|
||||
/// </summary>
|
||||
[JsonProperty("DesiredComputeNodeCount")]
|
||||
public ulong? DesiredComputeNodeCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境类型
|
||||
/// </summary>
|
||||
[JsonProperty("EnvType")]
|
||||
public string EnvType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境资源类型,当前为CVM和CPM(黑石)
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceType")]
|
||||
public string ResourceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下一步动作
|
||||
/// </summary>
|
||||
[JsonProperty("NextAction")]
|
||||
public string NextAction{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户添加到计算环境中的计算节点个数
|
||||
/// </summary>
|
||||
[JsonProperty("AttachedComputeNodeCount")]
|
||||
public ulong? AttachedComputeNodeCount{ 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 + "EnvId", this.EnvId);
|
||||
this.SetParamSimple(map, prefix + "EnvName", this.EnvName);
|
||||
this.SetParamObj(map, prefix + "Placement.", this.Placement);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamArrayObj(map, prefix + "ComputeNodeSet.", this.ComputeNodeSet);
|
||||
this.SetParamObj(map, prefix + "ComputeNodeMetrics.", this.ComputeNodeMetrics);
|
||||
this.SetParamSimple(map, prefix + "DesiredComputeNodeCount", this.DesiredComputeNodeCount);
|
||||
this.SetParamSimple(map, prefix + "EnvType", this.EnvType);
|
||||
this.SetParamSimple(map, prefix + "ResourceType", this.ResourceType);
|
||||
this.SetParamSimple(map, prefix + "NextAction", this.NextAction);
|
||||
this.SetParamSimple(map, prefix + "AttachedComputeNodeCount", this.AttachedComputeNodeCount);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID列表,与Filters参数不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("EnvIds")]
|
||||
public string[] EnvIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过滤条件
|
||||
/// <li> zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。</li>
|
||||
/// <li> env-id - String - 是否必填:否 -(过滤条件)按照计算环境ID过滤。</li>
|
||||
/// <li> env-name - String - 是否必填:否 -(过滤条件)按照计算环境名称过滤。</li>
|
||||
/// <li> resource-type - String - 是否必填:否 -(过滤条件)按照计算资源类型过滤,取值CVM或者CPM(黑石)。</li>
|
||||
/// 与EnvIds参数不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("Filters")]
|
||||
public Filter[] Filters{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public ulong? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数量
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public ulong? Limit{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArraySimple(map, prefix + "EnvIds.", this.EnvIds);
|
||||
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeComputeEnvsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境列表
|
||||
/// </summary>
|
||||
[JsonProperty("ComputeEnvSet")]
|
||||
public ComputeEnvView[] ComputeEnvSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境数量
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "ComputeEnvSet.", this.ComputeEnvSet);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCpmOsInfoRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 黑石设备类型代号。 可以从[DescribeDeviceClass](https://cloud.tencent.com/document/api/386/32911)查询设备类型列表。
|
||||
/// </summary>
|
||||
[JsonProperty("DeviceClassCode")]
|
||||
public string DeviceClassCode{ 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 + "DeviceClassCode", this.DeviceClassCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCpmOsInfoResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统信息列表。
|
||||
/// </summary>
|
||||
[JsonProperty("OsInfoSet")]
|
||||
public OsInfo[] OsInfoSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "OsInfoSet.", this.OsInfoSet);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCvmZoneInstanceConfigInfosRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 过滤条件。
|
||||
/// <li> zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。</li>
|
||||
/// <li> instance-family String - 是否必填:否 -(过滤条件)按照机型系列过滤。实例机型系列形如:S1、I1、M1等。</li>
|
||||
/// <li> instance-type - String - 是否必填:否 - (过滤条件)按照机型过滤。</li>
|
||||
/// <li> instance-charge-type - String - 是否必填:否 -(过滤条件)按照实例计费模式过滤。 ( POSTPAID_BY_HOUR:表示后付费,即按量计费机型 | SPOTPAID:表示竞价付费机型。 ) </li>
|
||||
/// </summary>
|
||||
[JsonProperty("Filters")]
|
||||
public Filter[] Filters{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeCvmZoneInstanceConfigInfosResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 可用区机型配置列表。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceTypeQuotaSet")]
|
||||
public InstanceTypeQuotaItem[] InstanceTypeQuotaSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "InstanceTypeQuotaSet.", this.InstanceTypeQuotaSet);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeInstanceCategoriesRequest : AbstractModel
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeInstanceCategoriesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// CVM实例分类列表
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceCategorySet")]
|
||||
public InstanceCategoryItem[] InstanceCategorySet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "InstanceCategorySet.", this.InstanceCategorySet);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Batch/V20170312/Models/DescribeJobRequest.cs
Normal file
43
TencentCloud/Batch/V20170312/Models/DescribeJobRequest.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeJobRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业标识
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ 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 + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
127
TencentCloud/Batch/V20170312/Models/DescribeJobResponse.cs
Normal file
127
TencentCloud/Batch/V20170312/Models/DescribeJobResponse.cs
Normal file
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeJobResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业名称
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用区信息
|
||||
/// </summary>
|
||||
[JsonProperty("Zone")]
|
||||
public string Zone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业优先级
|
||||
/// </summary>
|
||||
[JsonProperty("Priority")]
|
||||
public long? Priority{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业状态
|
||||
/// </summary>
|
||||
[JsonProperty("JobState")]
|
||||
public string JobState{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[JsonProperty("EndTime")]
|
||||
public string EndTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务视图信息
|
||||
/// </summary>
|
||||
[JsonProperty("TaskSet")]
|
||||
public TaskView[] TaskSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务间依赖信息
|
||||
/// </summary>
|
||||
[JsonProperty("DependenceSet")]
|
||||
public Dependence[] DependenceSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务统计指标
|
||||
/// </summary>
|
||||
[JsonProperty("TaskMetrics")]
|
||||
public TaskMetrics TaskMetrics{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务实例统计指标
|
||||
/// </summary>
|
||||
[JsonProperty("TaskInstanceMetrics")]
|
||||
public TaskInstanceView TaskInstanceMetrics{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业失败原因
|
||||
/// </summary>
|
||||
[JsonProperty("StateReason")]
|
||||
public string StateReason{ 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 + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamSimple(map, prefix + "Zone", this.Zone);
|
||||
this.SetParamSimple(map, prefix + "Priority", this.Priority);
|
||||
this.SetParamSimple(map, prefix + "JobState", this.JobState);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||||
this.SetParamArrayObj(map, prefix + "TaskSet.", this.TaskSet);
|
||||
this.SetParamArrayObj(map, prefix + "DependenceSet.", this.DependenceSet);
|
||||
this.SetParamObj(map, prefix + "TaskMetrics.", this.TaskMetrics);
|
||||
this.SetParamObj(map, prefix + "TaskInstanceMetrics.", this.TaskInstanceMetrics);
|
||||
this.SetParamSimple(map, prefix + "StateReason", this.StateReason);
|
||||
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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeJobSubmitInfoRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ 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 + "JobId", this.JobId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeJobSubmitInfoResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业名称
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业描述
|
||||
/// </summary>
|
||||
[JsonProperty("JobDescription")]
|
||||
public string JobDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业优先级,任务(Task)和任务实例(TaskInstance)会继承作业优先级
|
||||
/// </summary>
|
||||
[JsonProperty("Priority")]
|
||||
public long? Priority{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务信息
|
||||
/// </summary>
|
||||
[JsonProperty("Tasks")]
|
||||
public Task[] Tasks{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 依赖信息
|
||||
/// </summary>
|
||||
[JsonProperty("Dependences")]
|
||||
public Dependence[] Dependences{ 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 + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamSimple(map, prefix + "JobDescription", this.JobDescription);
|
||||
this.SetParamSimple(map, prefix + "Priority", this.Priority);
|
||||
this.SetParamArrayObj(map, prefix + "Tasks.", this.Tasks);
|
||||
this.SetParamArrayObj(map, prefix + "Dependences.", this.Dependences);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
69
TencentCloud/Batch/V20170312/Models/DescribeJobsRequest.cs
Normal file
69
TencentCloud/Batch/V20170312/Models/DescribeJobsRequest.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeJobsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID列表,与Filters参数不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("JobIds")]
|
||||
public string[] JobIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过滤条件
|
||||
/// <li> job-id - String - 是否必填:否 -(过滤条件)按照作业ID过滤。</li>
|
||||
/// <li> job-name - String - 是否必填:否 -(过滤条件)按照作业名称过滤。</li>
|
||||
/// <li> job-state - String - 是否必填:否 -(过滤条件)按照作业状态过滤。</li>
|
||||
/// <li> zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。</li>
|
||||
/// 与JobIds参数不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("Filters")]
|
||||
public Filter[] Filters{ 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.SetParamArraySimple(map, prefix + "JobIds.", this.JobIds);
|
||||
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Batch/V20170312/Models/DescribeJobsResponse.cs
Normal file
57
TencentCloud/Batch/V20170312/Models/DescribeJobsResponse.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeJobsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业列表
|
||||
/// </summary>
|
||||
[JsonProperty("JobSet")]
|
||||
public JobView[] JobSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 符合条件的作业数量
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "JobSet.", this.JobSet);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeTaskLogsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("TaskName")]
|
||||
public string TaskName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务实例集合
|
||||
/// </summary>
|
||||
[JsonProperty("TaskInstanceIndexes")]
|
||||
public ulong?[] TaskInstanceIndexes{ 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 + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "TaskName", this.TaskName);
|
||||
this.SetParamArraySimple(map, prefix + "TaskInstanceIndexes.", this.TaskInstanceIndexes);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeTaskLogsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务实例总数
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public ulong? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务实例日志详情集合
|
||||
/// </summary>
|
||||
[JsonProperty("TaskInstanceLogSet")]
|
||||
public TaskInstanceLog[] TaskInstanceLogSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamArrayObj(map, prefix + "TaskInstanceLogSet.", this.TaskInstanceLogSet);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
72
TencentCloud/Batch/V20170312/Models/DescribeTaskRequest.cs
Normal file
72
TencentCloud/Batch/V20170312/Models/DescribeTaskRequest.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeTaskRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("TaskName")]
|
||||
public string TaskName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public ulong? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数量。默认取值100,最大取值1000。
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public ulong? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过滤条件,详情如下:
|
||||
/// <li> task-instance-type - String - 是否必填: 否 - 按照任务实例状态进行过滤(SUBMITTED:已提交;PENDING:等待中;RUNNABLE:可运行;STARTING:启动中;RUNNING:运行中;SUCCEED:成功;FAILED:失败;FAILED_INTERRUPTED:失败后保留实例)。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("Filters")]
|
||||
public Filter[] Filters{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "TaskName", this.TaskName);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
99
TencentCloud/Batch/V20170312/Models/DescribeTaskResponse.cs
Normal file
99
TencentCloud/Batch/V20170312/Models/DescribeTaskResponse.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeTaskResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务名称
|
||||
/// </summary>
|
||||
[JsonProperty("TaskName")]
|
||||
public string TaskName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态
|
||||
/// </summary>
|
||||
[JsonProperty("TaskState")]
|
||||
public string TaskState{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[JsonProperty("EndTime")]
|
||||
public string EndTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务实例总数
|
||||
/// </summary>
|
||||
[JsonProperty("TaskInstanceTotalCount")]
|
||||
public long? TaskInstanceTotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务实例信息
|
||||
/// </summary>
|
||||
[JsonProperty("TaskInstanceSet")]
|
||||
public TaskInstanceView[] TaskInstanceSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务实例统计指标
|
||||
/// </summary>
|
||||
[JsonProperty("TaskInstanceMetrics")]
|
||||
public TaskInstanceMetrics TaskInstanceMetrics{ 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 + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "TaskName", this.TaskName);
|
||||
this.SetParamSimple(map, prefix + "TaskState", this.TaskState);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||||
this.SetParamSimple(map, prefix + "TaskInstanceTotalCount", this.TaskInstanceTotalCount);
|
||||
this.SetParamArrayObj(map, prefix + "TaskInstanceSet.", this.TaskInstanceSet);
|
||||
this.SetParamObj(map, prefix + "TaskInstanceMetrics.", this.TaskInstanceMetrics);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeTaskTemplatesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板ID列表,与Filters参数不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateIds")]
|
||||
public string[] TaskTemplateIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过滤条件
|
||||
/// <li> task-template-name - String - 是否必填:否 -(过滤条件)按照任务模板名称过滤。</li>
|
||||
/// 与TaskTemplateIds参数不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("Filters")]
|
||||
public Filter[] Filters{ 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.SetParamArraySimple(map, prefix + "TaskTemplateIds.", this.TaskTemplateIds);
|
||||
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DescribeTaskTemplatesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板列表
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateSet")]
|
||||
public TaskTemplateView[] TaskTemplateSet{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板数量
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "TaskTemplateSet.", this.TaskTemplateSet);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DetachInstancesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例ID列表
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceIds")]
|
||||
public string[] InstanceIds{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DetachInstancesResponse : 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Batch/V20170312/Models/Docker.cs
Normal file
64
TencentCloud/Batch/V20170312/Models/Docker.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Docker : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Docker Hub 用户名或 Tencent Registry 用户名
|
||||
/// </summary>
|
||||
[JsonProperty("User")]
|
||||
public string User{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Docker Hub 密码或 Tencent Registry 密码
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Docker Hub填写“[user/repo]:[tag]”,Tencent Registry填写“ccr.ccs.tencentyun.com/[namespace/repo]:[tag]”
|
||||
/// </summary>
|
||||
[JsonProperty("Image")]
|
||||
public string Image{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Docker Hub 可以不填,但确保具有公网访问能力。或者是 Tencent Registry 服务地址“ccr.ccs.tencentyun.com”
|
||||
/// </summary>
|
||||
[JsonProperty("Server")]
|
||||
public string Server{ 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 + "User", this.User);
|
||||
this.SetParamSimple(map, prefix + "Password", this.Password);
|
||||
this.SetParamSimple(map, prefix + "Image", this.Image);
|
||||
this.SetParamSimple(map, prefix + "Server", this.Server);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/EnhancedService.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/EnhancedService.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class EnhancedService : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 开启云安全服务。若不指定该参数,则默认开启云安全服务。
|
||||
/// </summary>
|
||||
[JsonProperty("SecurityService")]
|
||||
public RunSecurityServiceEnabled SecurityService{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开启云监控服务。若不指定该参数,则默认开启云监控服务。
|
||||
/// </summary>
|
||||
[JsonProperty("MonitorService")]
|
||||
public RunMonitorServiceEnabled MonitorService{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "SecurityService.", this.SecurityService);
|
||||
this.SetParamObj(map, prefix + "MonitorService.", this.MonitorService);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
148
TencentCloud/Batch/V20170312/Models/EnvData.cs
Normal file
148
TencentCloud/Batch/V20170312/Models/EnvData.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class EnvData : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// CVM实例类型,不能与InstanceTypes和InstanceTypeOptions同时出现。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceType")]
|
||||
public string InstanceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CVM镜像ID
|
||||
/// </summary>
|
||||
[JsonProperty("ImageId")]
|
||||
public string ImageId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例系统盘配置信息
|
||||
/// </summary>
|
||||
[JsonProperty("SystemDisk")]
|
||||
public SystemDisk SystemDisk{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例数据盘配置信息
|
||||
/// </summary>
|
||||
[JsonProperty("DataDisks")]
|
||||
public DataDisk[] DataDisks{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络相关信息配置,与Zones和VirtualPrivateClouds不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("VirtualPrivateCloud")]
|
||||
public VirtualPrivateCloud VirtualPrivateCloud{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公网带宽相关信息设置
|
||||
/// </summary>
|
||||
[JsonProperty("InternetAccessible")]
|
||||
public InternetAccessible InternetAccessible{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CVM实例显示名称
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceName")]
|
||||
public string InstanceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例登录设置
|
||||
/// </summary>
|
||||
[JsonProperty("LoginSettings")]
|
||||
public LoginSettings LoginSettings{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例所属安全组
|
||||
/// </summary>
|
||||
[JsonProperty("SecurityGroupIds")]
|
||||
public string[] SecurityGroupIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
|
||||
/// </summary>
|
||||
[JsonProperty("EnhancedService")]
|
||||
public EnhancedService EnhancedService{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CVM实例计费类型<br><li>POSTPAID_BY_HOUR:按小时后付费<br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceChargeType")]
|
||||
public string InstanceChargeType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的市场相关选项,如竞价实例相关参数
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceMarketOptions")]
|
||||
public InstanceMarketOptionsRequest InstanceMarketOptions{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CVM实例类型列表,不能与InstanceType和InstanceTypeOptions同时出现。指定该字段后,计算节点按照机型先后顺序依次尝试创建,直到实例创建成功,结束遍历过程。最多支持10个机型。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceTypes")]
|
||||
public string[] InstanceTypes{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CVM实例机型配置。不能与InstanceType和InstanceTypes同时出现。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceTypeOptions")]
|
||||
public InstanceTypeOptions InstanceTypeOptions{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用区列表,支持跨可用区创建CVM实例。与VirtualPrivateCloud和VirtualPrivateClouds不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("Zones")]
|
||||
public string[] Zones{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络列表,支持跨私有网络创建CVM实例。与VirtualPrivateCloud和Zones不能同时指定。
|
||||
/// </summary>
|
||||
[JsonProperty("VirtualPrivateClouds")]
|
||||
public VirtualPrivateCloud[] VirtualPrivateClouds{ 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 + "InstanceType", this.InstanceType);
|
||||
this.SetParamSimple(map, prefix + "ImageId", this.ImageId);
|
||||
this.SetParamObj(map, prefix + "SystemDisk.", this.SystemDisk);
|
||||
this.SetParamArrayObj(map, prefix + "DataDisks.", this.DataDisks);
|
||||
this.SetParamObj(map, prefix + "VirtualPrivateCloud.", this.VirtualPrivateCloud);
|
||||
this.SetParamObj(map, prefix + "InternetAccessible.", this.InternetAccessible);
|
||||
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
|
||||
this.SetParamObj(map, prefix + "LoginSettings.", this.LoginSettings);
|
||||
this.SetParamArraySimple(map, prefix + "SecurityGroupIds.", this.SecurityGroupIds);
|
||||
this.SetParamObj(map, prefix + "EnhancedService.", this.EnhancedService);
|
||||
this.SetParamSimple(map, prefix + "InstanceChargeType", this.InstanceChargeType);
|
||||
this.SetParamObj(map, prefix + "InstanceMarketOptions.", this.InstanceMarketOptions);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceTypes.", this.InstanceTypes);
|
||||
this.SetParamObj(map, prefix + "InstanceTypeOptions.", this.InstanceTypeOptions);
|
||||
this.SetParamArraySimple(map, prefix + "Zones.", this.Zones);
|
||||
this.SetParamArrayObj(map, prefix + "VirtualPrivateClouds.", this.VirtualPrivateClouds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
183
TencentCloud/Batch/V20170312/Models/EnvDataCpm.cs
Normal file
183
TencentCloud/Batch/V20170312/Models/EnvDataCpm.cs
Normal file
@@ -0,0 +1,183 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class EnvDataCpm : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 黑石可用区名称列表。如ap-guangzhou-bls-1, 可通过黑石接口[DescribeRegions]( https://cloud.tencent.com/document/api/386/33564)接口获取。不是Batch可用区名称。目前仅支持一个可用区名称。
|
||||
/// </summary>
|
||||
[JsonProperty("Zones")]
|
||||
public string[] Zones{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 购买的机型ID。通过黑石接口[DescribeDeviceClass]( https://cloud.tencent.com/document/api/386/32911)查询设备型号,获取机型信息。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceTypes")]
|
||||
public string[] InstanceTypes{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 购买时长单位,取值:m(月)。
|
||||
/// </summary>
|
||||
[JsonProperty("TimeUnit")]
|
||||
public string TimeUnit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 购买时长。
|
||||
/// </summary>
|
||||
[JsonProperty("TimeSpan")]
|
||||
public ulong? TimeSpan{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// RAID类型ID。通过黑石接口[DescribeDeviceClassPartition]( https://cloud.tencent.com/document/api/386/32910)查询机型RAID方式以及系统盘大小,获取RAID信息。
|
||||
/// </summary>
|
||||
[JsonProperty("RaidId")]
|
||||
public long? RaidId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署服务器的操作系统ID。通过批量计算接口DescribeCpmOsInfo查询操作系统信息。
|
||||
/// </summary>
|
||||
[JsonProperty("OsTypeId")]
|
||||
public long? OsTypeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 黑石VPC列表,目前仅支持一个VPC。
|
||||
/// </summary>
|
||||
[JsonProperty("VirtualPrivateClouds")]
|
||||
public CpmVirtualPrivateCloud[] VirtualPrivateClouds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否安装安全Agent,取值:1(安装) 0(不安装),默认取值0。
|
||||
/// </summary>
|
||||
[JsonProperty("NeedSecurityAgent")]
|
||||
public long? NeedSecurityAgent{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否安装监控Agent,取值:1(安装) 0(不安装),默认取值0。
|
||||
/// </summary>
|
||||
[JsonProperty("NeedMonitorAgent")]
|
||||
public long? NeedMonitorAgent{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自动续费标志位,取值:1(自动续费) 0(不自动续费),默认取值0。
|
||||
/// </summary>
|
||||
[JsonProperty("AutoRenewFlag")]
|
||||
public long? AutoRenewFlag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘是否格式化,取值:1(格式化) 0(不格式化),默认取值为1。
|
||||
/// </summary>
|
||||
[JsonProperty("IsZoning")]
|
||||
public long? IsZoning{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 指定数据盘的文件系统格式,当前支持 ext4和xfs选项, 默认为ext4。 参数适用于数据盘和Linux, 且在IsZoning为1时生效。
|
||||
/// </summary>
|
||||
[JsonProperty("FileSystem")]
|
||||
public string FileSystem{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设置Linux root或Windows Administrator的密码。若不设置此参数,默认情况下会随机生成密码,并以站内信方式通知到用户。
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否分配弹性公网IP,取值:1(分配) 0(不分配),默认取值0。
|
||||
/// </summary>
|
||||
[JsonProperty("ApplyEip")]
|
||||
public long? ApplyEip{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 弹性公网IP计费模式,取值:flow(按流量计费) bandwidth(按带宽计费),默认取值flow。
|
||||
/// </summary>
|
||||
[JsonProperty("EipPayMode")]
|
||||
public string EipPayMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 弹性公网IP带宽限制,单位Mb。
|
||||
/// </summary>
|
||||
[JsonProperty("EipBandwidth")]
|
||||
public long? EipBandwidth{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自定义镜像ID,取值生效时用自定义镜像部署物理机。
|
||||
/// </summary>
|
||||
[JsonProperty("ImageId")]
|
||||
public string ImageId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统盘根分区大小,单位为G,默认取值10G。通过黑石接口[DescribeDeviceClassPartition]( https://cloud.tencent.com/document/api/386/32910)查询机型RAID方式以及系统盘大小,获取根分区信息。
|
||||
/// </summary>
|
||||
[JsonProperty("SysRootSpace")]
|
||||
public long? SysRootSpace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// /data分区大小,单位为G。如果系统盘还有剩余大小,会分配给/data分区。(特殊情况:如果剩余空间不足10G,并且没有指定/data分区,则剩余空间会分配给Root分区)。
|
||||
/// </summary>
|
||||
[JsonProperty("SysDataSpace")]
|
||||
public long? SysDataSpace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否开启超线程,取值:1(开启) 0(关闭),默认取值1。
|
||||
/// </summary>
|
||||
[JsonProperty("HyperThreading")]
|
||||
public long? HyperThreading{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 指定的内网IP列表,不指定时自动分配。
|
||||
/// </summary>
|
||||
[JsonProperty("LanIps")]
|
||||
public string[] LanIps{ 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 + "Zones.", this.Zones);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceTypes.", this.InstanceTypes);
|
||||
this.SetParamSimple(map, prefix + "TimeUnit", this.TimeUnit);
|
||||
this.SetParamSimple(map, prefix + "TimeSpan", this.TimeSpan);
|
||||
this.SetParamSimple(map, prefix + "RaidId", this.RaidId);
|
||||
this.SetParamSimple(map, prefix + "OsTypeId", this.OsTypeId);
|
||||
this.SetParamArrayObj(map, prefix + "VirtualPrivateClouds.", this.VirtualPrivateClouds);
|
||||
this.SetParamSimple(map, prefix + "NeedSecurityAgent", this.NeedSecurityAgent);
|
||||
this.SetParamSimple(map, prefix + "NeedMonitorAgent", this.NeedMonitorAgent);
|
||||
this.SetParamSimple(map, prefix + "AutoRenewFlag", this.AutoRenewFlag);
|
||||
this.SetParamSimple(map, prefix + "IsZoning", this.IsZoning);
|
||||
this.SetParamSimple(map, prefix + "FileSystem", this.FileSystem);
|
||||
this.SetParamSimple(map, prefix + "Password", this.Password);
|
||||
this.SetParamSimple(map, prefix + "ApplyEip", this.ApplyEip);
|
||||
this.SetParamSimple(map, prefix + "EipPayMode", this.EipPayMode);
|
||||
this.SetParamSimple(map, prefix + "EipBandwidth", this.EipBandwidth);
|
||||
this.SetParamSimple(map, prefix + "ImageId", this.ImageId);
|
||||
this.SetParamSimple(map, prefix + "SysRootSpace", this.SysRootSpace);
|
||||
this.SetParamSimple(map, prefix + "SysDataSpace", this.SysDataSpace);
|
||||
this.SetParamSimple(map, prefix + "HyperThreading", this.HyperThreading);
|
||||
this.SetParamArraySimple(map, prefix + "LanIps.", this.LanIps);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/EnvVar.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/EnvVar.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class EnvVar : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 环境变量名称
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 环境变量取值
|
||||
/// </summary>
|
||||
[JsonProperty("Value")]
|
||||
public string Value{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Value", this.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/EventConfig.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/EventConfig.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class EventConfig : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 事件类型,包括:<br/><li>“JOB_RUNNING”:作业运行,适用于"SubmitJob"。</li><li>“JOB_SUCCEED”:作业成功,适用于"SubmitJob"。</li><li>“JOB_FAILED”:作业失败,适用于"SubmitJob"。</li><li>“JOB_FAILED_INTERRUPTED”:作业失败,保留实例,适用于"SubmitJob"。</li><li>“TASK_RUNNING”:任务运行,适用于"SubmitJob"。</li><li>“TASK_SUCCEED”:任务成功,适用于"SubmitJob"。</li><li>“TASK_FAILED”:任务失败,适用于"SubmitJob"。</li><li>“TASK_FAILED_INTERRUPTED”:任务失败,保留实例,适用于"SubmitJob"。</li><li>“TASK_INSTANCE_RUNNING”:任务实例运行,适用于"SubmitJob"。</li><li>“TASK_INSTANCE_SUCCEED”:任务实例成功,适用于"SubmitJob"。</li><li>“TASK_INSTANCE_FAILED”:任务实例失败,适用于"SubmitJob"。</li><li>“TASK_INSTANCE_FAILED_INTERRUPTED”:任务实例失败,保留实例,适用于"SubmitJob"。</li><li>“COMPUTE_ENV_CREATED”:计算环境已创建,适用于"CreateComputeEnv"。</li><li>“COMPUTE_ENV_DELETED”:计算环境已删除,适用于"CreateComputeEnv"。</li><li>“COMPUTE_NODE_CREATED”:计算节点已创建,适用于"CreateComputeEnv"和"SubmitJob"。</li><li>“COMPUTE_NODE_CREATION_FAILED”:计算节点创建失败,适用于"CreateComputeEnv"和"SubmitJob"。</li><li>“COMPUTE_NODE_RUNNING”:计算节点运行中,适用于"CreateComputeEnv"和"SubmitJob"。</li><li>“COMPUTE_NODE_ABNORMAL”:计算节点异常,适用于"CreateComputeEnv"和"SubmitJob"。</li><li>“COMPUTE_NODE_DELETING”:计算节点已删除,适用于"CreateComputeEnv"和"SubmitJob"。</li>
|
||||
/// </summary>
|
||||
[JsonProperty("EventName")]
|
||||
public string EventName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自定义键值对
|
||||
/// </summary>
|
||||
[JsonProperty("EventVars")]
|
||||
public EventVar[] EventVars{ 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 + "EventName", this.EventName);
|
||||
this.SetParamArrayObj(map, prefix + "EventVars.", this.EventVars);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/EventVar.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/EventVar.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class EventVar : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自定义键
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自定义值
|
||||
/// </summary>
|
||||
[JsonProperty("Value")]
|
||||
public string Value{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Value", this.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
60
TencentCloud/Batch/V20170312/Models/Externals.cs
Normal file
60
TencentCloud/Batch/V20170312/Models/Externals.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Externals : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 释放地址
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ReleaseAddress")]
|
||||
public bool? ReleaseAddress{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不支持的网络类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UnsupportNetworks")]
|
||||
public string[] UnsupportNetworks{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// HDD本地存储属性
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("StorageBlockAttr")]
|
||||
public StorageBlock StorageBlockAttr{ 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 + "ReleaseAddress", this.ReleaseAddress);
|
||||
this.SetParamArraySimple(map, prefix + "UnsupportNetworks.", this.UnsupportNetworks);
|
||||
this.SetParamObj(map, prefix + "StorageBlockAttr.", this.StorageBlockAttr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/Filter.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/Filter.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Filter : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 需要过滤的字段。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字段的过滤值。
|
||||
/// </summary>
|
||||
[JsonProperty("Values")]
|
||||
public string[] Values{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamArraySimple(map, prefix + "Values.", this.Values);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Batch/V20170312/Models/InputMapping.cs
Normal file
57
TencentCloud/Batch/V20170312/Models/InputMapping.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class InputMapping : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 源端路径
|
||||
/// </summary>
|
||||
[JsonProperty("SourcePath")]
|
||||
public string SourcePath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目的端路径
|
||||
/// </summary>
|
||||
[JsonProperty("DestinationPath")]
|
||||
public string DestinationPath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 挂载配置项参数
|
||||
/// </summary>
|
||||
[JsonProperty("MountOptionParameter")]
|
||||
public string MountOptionParameter{ 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 + "SourcePath", this.SourcePath);
|
||||
this.SetParamSimple(map, prefix + "DestinationPath", this.DestinationPath);
|
||||
this.SetParamSimple(map, prefix + "MountOptionParameter", this.MountOptionParameter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Batch/V20170312/Models/Instance.cs
Normal file
57
TencentCloud/Batch/V20170312/Models/Instance.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Instance : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 镜像ID
|
||||
/// </summary>
|
||||
[JsonProperty("ImageId")]
|
||||
public string ImageId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例登录设置。
|
||||
/// </summary>
|
||||
[JsonProperty("LoginSettings")]
|
||||
public LoginSettings LoginSettings{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
||||
this.SetParamSimple(map, prefix + "ImageId", this.ImageId);
|
||||
this.SetParamObj(map, prefix + "LoginSettings.", this.LoginSettings);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/InstanceCategoryItem.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/InstanceCategoryItem.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class InstanceCategoryItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例类型名
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceCategory")]
|
||||
public string InstanceCategory{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例族列表
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceFamilySet")]
|
||||
public string[] InstanceFamilySet{ 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 + "InstanceCategory", this.InstanceCategory);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceFamilySet.", this.InstanceFamilySet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class InstanceMarketOptionsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 竞价相关选项
|
||||
/// </summary>
|
||||
[JsonProperty("SpotOptions")]
|
||||
public SpotMarketOptions SpotOptions{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 市场选项类型,当前只支持取值:spot
|
||||
/// </summary>
|
||||
[JsonProperty("MarketType")]
|
||||
public string MarketType{ 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 + "SpotOptions.", this.SpotOptions);
|
||||
this.SetParamSimple(map, prefix + "MarketType", this.MarketType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Batch/V20170312/Models/InstanceTypeConfig.cs
Normal file
71
TencentCloud/Batch/V20170312/Models/InstanceTypeConfig.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class InstanceTypeConfig : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 内存容量,单位:`GB`。
|
||||
/// </summary>
|
||||
[JsonProperty("Mem")]
|
||||
public long? Mem{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CPU核数,单位:核。
|
||||
/// </summary>
|
||||
[JsonProperty("Cpu")]
|
||||
public long? Cpu{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例机型。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceType")]
|
||||
public string InstanceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用区。
|
||||
/// </summary>
|
||||
[JsonProperty("Zone")]
|
||||
public string Zone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例机型系列。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceFamily")]
|
||||
public string InstanceFamily{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Mem", this.Mem);
|
||||
this.SetParamSimple(map, prefix + "Cpu", this.Cpu);
|
||||
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
|
||||
this.SetParamSimple(map, prefix + "Zone", this.Zone);
|
||||
this.SetParamSimple(map, prefix + "InstanceFamily", this.InstanceFamily);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Batch/V20170312/Models/InstanceTypeOptions.cs
Normal file
57
TencentCloud/Batch/V20170312/Models/InstanceTypeOptions.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class InstanceTypeOptions : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// CPU核数。
|
||||
/// </summary>
|
||||
[JsonProperty("CPU")]
|
||||
public ulong? CPU{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内存值,单位GB。
|
||||
/// </summary>
|
||||
[JsonProperty("Memory")]
|
||||
public ulong? Memory{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例机型类别,可选参数:“ALL”、“GENERAL”、“GENERAL_2”、“GENERAL_3”、“COMPUTE”、“COMPUTE_2”和“COMPUTE_3”。默认值“ALL”。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceCategories")]
|
||||
public string[] InstanceCategories{ 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 + "CPU", this.CPU);
|
||||
this.SetParamSimple(map, prefix + "Memory", this.Memory);
|
||||
this.SetParamArraySimple(map, prefix + "InstanceCategories.", this.InstanceCategories);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
129
TencentCloud/Batch/V20170312/Models/InstanceTypeQuotaItem.cs
Normal file
129
TencentCloud/Batch/V20170312/Models/InstanceTypeQuotaItem.cs
Normal file
@@ -0,0 +1,129 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class InstanceTypeQuotaItem : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 可用区。
|
||||
/// </summary>
|
||||
[JsonProperty("Zone")]
|
||||
public string Zone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例机型。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceType")]
|
||||
public string InstanceType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[CDH](https://cloud.tencent.com/document/product/416)付费,即只对CDH计费,不对CDH上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceChargeType")]
|
||||
public string InstanceChargeType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 网卡类型,例如:25代表25G网卡
|
||||
/// </summary>
|
||||
[JsonProperty("NetworkCard")]
|
||||
public long? NetworkCard{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展属性。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Externals")]
|
||||
public Externals Externals{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的CPU核数,单位:核。
|
||||
/// </summary>
|
||||
[JsonProperty("Cpu")]
|
||||
public long? Cpu{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例内存容量,单位:`GB`。
|
||||
/// </summary>
|
||||
[JsonProperty("Memory")]
|
||||
public long? Memory{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例机型系列。
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceFamily")]
|
||||
public string InstanceFamily{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型名称。
|
||||
/// </summary>
|
||||
[JsonProperty("TypeName")]
|
||||
public string TypeName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
|
||||
/// </summary>
|
||||
[JsonProperty("LocalDiskTypeList")]
|
||||
public LocalDiskType[] LocalDiskTypeList{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br><li>SOLD_OUT:表示实例已售罄。
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的售卖价格。
|
||||
/// </summary>
|
||||
[JsonProperty("Price")]
|
||||
public ItemPrice Price{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售罄原因。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("SoldOutReason")]
|
||||
public string SoldOutReason{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Zone", this.Zone);
|
||||
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
|
||||
this.SetParamSimple(map, prefix + "InstanceChargeType", this.InstanceChargeType);
|
||||
this.SetParamSimple(map, prefix + "NetworkCard", this.NetworkCard);
|
||||
this.SetParamObj(map, prefix + "Externals.", this.Externals);
|
||||
this.SetParamSimple(map, prefix + "Cpu", this.Cpu);
|
||||
this.SetParamSimple(map, prefix + "Memory", this.Memory);
|
||||
this.SetParamSimple(map, prefix + "InstanceFamily", this.InstanceFamily);
|
||||
this.SetParamSimple(map, prefix + "TypeName", this.TypeName);
|
||||
this.SetParamArrayObj(map, prefix + "LocalDiskTypeList.", this.LocalDiskTypeList);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamObj(map, prefix + "Price.", this.Price);
|
||||
this.SetParamSimple(map, prefix + "SoldOutReason", this.SoldOutReason);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Batch/V20170312/Models/InternetAccessible.cs
Normal file
64
TencentCloud/Batch/V20170312/Models/InternetAccessible.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class InternetAccessible : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 网络计费类型。取值范围:<br><li>BANDWIDTH_PREPAID:预付费按带宽结算<br><li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费<br><li>BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费<br><li>BANDWIDTH_PACKAGE:带宽包用户<br>默认取值:非带宽包用户默认与子机付费类型保持一致。
|
||||
/// </summary>
|
||||
[JsonProperty("InternetChargeType")]
|
||||
public string InternetChargeType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公网出带宽上限,单位:Mbps。默认值:0Mbps。不同机型带宽上限范围不一致,具体限制详见[购买网络带宽](https://cloud.tencent.com/document/product/213/12523)。
|
||||
/// </summary>
|
||||
[JsonProperty("InternetMaxBandwidthOut")]
|
||||
public long? InternetMaxBandwidthOut{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否分配公网IP。取值范围:<br><li>TRUE:表示分配公网IP<br><li>FALSE:表示不分配公网IP<br><br>当公网带宽大于0Mbps时,可自由选择开通与否,默认开通公网IP;当公网带宽为0,则不允许分配公网IP。该参数仅在RunInstances接口中作为入参使用。
|
||||
/// </summary>
|
||||
[JsonProperty("PublicIpAssigned")]
|
||||
public bool? PublicIpAssigned{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 带宽包ID。可通过[`DescribeBandwidthPackages`](https://cloud.tencent.com/document/api/215/19209)接口返回值中的`BandwidthPackageId`获取。该参数仅在RunInstances接口中作为入参使用。
|
||||
/// </summary>
|
||||
[JsonProperty("BandwidthPackageId")]
|
||||
public string BandwidthPackageId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "InternetChargeType", this.InternetChargeType);
|
||||
this.SetParamSimple(map, prefix + "InternetMaxBandwidthOut", this.InternetMaxBandwidthOut);
|
||||
this.SetParamSimple(map, prefix + "PublicIpAssigned", this.PublicIpAssigned);
|
||||
this.SetParamSimple(map, prefix + "BandwidthPackageId", this.BandwidthPackageId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
116
TencentCloud/Batch/V20170312/Models/ItemPrice.cs
Normal file
116
TencentCloud/Batch/V20170312/Models/ItemPrice.cs
Normal file
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ItemPrice : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 后续合计费用的原价,后付费模式使用,单位:元。<br><li>如返回了其他时间区间项,如UnitPriceSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UnitPrice")]
|
||||
public float? UnitPrice{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 后续计价单元,后付费模式使用,可取值范围: <br><li>HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR):<br><li>GB:表示计价单元是按每GB来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ChargeUnit")]
|
||||
public string ChargeUnit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 预支合计费用的原价,预付费模式使用,单位:元。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OriginalPrice")]
|
||||
public float? OriginalPrice{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 预支合计费用的折扣价,预付费模式使用,单位:元。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("DiscountPrice")]
|
||||
public float? DiscountPrice{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 折扣,如20代表2折
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Discount")]
|
||||
public ulong? Discount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 后续合计费用的折扣价,后付费模式使用,单位:元<br><li>如返回了其他时间区间项,如UnitPriceDiscountSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UnitPriceDiscount")]
|
||||
public float? UnitPriceDiscount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 使用时间区间在(96, 360)小时的后续合计费用的原价,后付费模式使用,单位:元。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UnitPriceSecondStep")]
|
||||
public float? UnitPriceSecondStep{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 使用时间区间在(96, 360)小时的后续合计费用的折扣价,后付费模式使用,单位:元
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UnitPriceDiscountSecondStep")]
|
||||
public float? UnitPriceDiscountSecondStep{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 使用时间区间在(360, ∞)小时的后续合计费用的原价,后付费模式使用,单位:元。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UnitPriceThirdStep")]
|
||||
public float? UnitPriceThirdStep{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 使用时间区间在(360, ∞)小时的后续合计费用的折扣价,后付费模式使用,单位:元
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("UnitPriceDiscountThirdStep")]
|
||||
public float? UnitPriceDiscountThirdStep{ 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 + "UnitPrice", this.UnitPrice);
|
||||
this.SetParamSimple(map, prefix + "ChargeUnit", this.ChargeUnit);
|
||||
this.SetParamSimple(map, prefix + "OriginalPrice", this.OriginalPrice);
|
||||
this.SetParamSimple(map, prefix + "DiscountPrice", this.DiscountPrice);
|
||||
this.SetParamSimple(map, prefix + "Discount", this.Discount);
|
||||
this.SetParamSimple(map, prefix + "UnitPriceDiscount", this.UnitPriceDiscount);
|
||||
this.SetParamSimple(map, prefix + "UnitPriceSecondStep", this.UnitPriceSecondStep);
|
||||
this.SetParamSimple(map, prefix + "UnitPriceDiscountSecondStep", this.UnitPriceDiscountSecondStep);
|
||||
this.SetParamSimple(map, prefix + "UnitPriceThirdStep", this.UnitPriceThirdStep);
|
||||
this.SetParamSimple(map, prefix + "UnitPriceDiscountThirdStep", this.UnitPriceDiscountThirdStep);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Batch/V20170312/Models/Job.cs
Normal file
92
TencentCloud/Batch/V20170312/Models/Job.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Job : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务信息
|
||||
/// </summary>
|
||||
[JsonProperty("Tasks")]
|
||||
public Task[] Tasks{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业名称
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业描述
|
||||
/// </summary>
|
||||
[JsonProperty("JobDescription")]
|
||||
public string JobDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业优先级,任务(Task)和任务实例(TaskInstance)会继承作业优先级
|
||||
/// </summary>
|
||||
[JsonProperty("Priority")]
|
||||
public ulong? Priority{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 依赖信息
|
||||
/// </summary>
|
||||
[JsonProperty("Dependences")]
|
||||
public Dependence[] Dependences{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通知信息
|
||||
/// </summary>
|
||||
[JsonProperty("Notifications")]
|
||||
public Notification[] Notifications{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对于存在依赖关系的任务中,后序任务执行对于前序任务的依赖条件。取值范围包括 PRE_TASK_SUCCEED,PRE_TASK_AT_LEAST_PARTLY_SUCCEED,PRE_TASK_FINISHED,默认值为PRE_TASK_SUCCEED。
|
||||
/// </summary>
|
||||
[JsonProperty("TaskExecutionDependOn")]
|
||||
public string TaskExecutionDependOn{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表示创建 CVM 失败按照何种策略处理。取值范围包括 FAILED,RUNNABLE。FAILED 表示创建 CVM 失败按照一次执行失败处理,RUNNABLE 表示创建 CVM 失败按照继续等待处理。默认值为FAILED。StateIfCreateCvmFailed对于提交的指定计算环境的作业无效。
|
||||
/// </summary>
|
||||
[JsonProperty("StateIfCreateCvmFailed")]
|
||||
public string StateIfCreateCvmFailed{ 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 + "Tasks.", this.Tasks);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamSimple(map, prefix + "JobDescription", this.JobDescription);
|
||||
this.SetParamSimple(map, prefix + "Priority", this.Priority);
|
||||
this.SetParamArrayObj(map, prefix + "Dependences.", this.Dependences);
|
||||
this.SetParamArrayObj(map, prefix + "Notifications.", this.Notifications);
|
||||
this.SetParamSimple(map, prefix + "TaskExecutionDependOn", this.TaskExecutionDependOn);
|
||||
this.SetParamSimple(map, prefix + "StateIfCreateCvmFailed", this.StateIfCreateCvmFailed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
94
TencentCloud/Batch/V20170312/Models/JobView.cs
Normal file
94
TencentCloud/Batch/V20170312/Models/JobView.cs
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class JobView : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID
|
||||
/// </summary>
|
||||
[JsonProperty("JobId")]
|
||||
public string JobId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业名称
|
||||
/// </summary>
|
||||
[JsonProperty("JobName")]
|
||||
public string JobName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业状态
|
||||
/// </summary>
|
||||
[JsonProperty("JobState")]
|
||||
public string JobState{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作业优先级
|
||||
/// </summary>
|
||||
[JsonProperty("Priority")]
|
||||
public long? Priority{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位置信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Placement")]
|
||||
public Placement Placement{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public string CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("EndTime")]
|
||||
public string EndTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务统计指标
|
||||
/// </summary>
|
||||
[JsonProperty("TaskMetrics")]
|
||||
public TaskMetrics TaskMetrics{ 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 + "JobId", this.JobId);
|
||||
this.SetParamSimple(map, prefix + "JobName", this.JobName);
|
||||
this.SetParamSimple(map, prefix + "JobState", this.JobState);
|
||||
this.SetParamSimple(map, prefix + "Priority", this.Priority);
|
||||
this.SetParamObj(map, prefix + "Placement.", this.Placement);
|
||||
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
||||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||||
this.SetParamObj(map, prefix + "TaskMetrics.", this.TaskMetrics);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Batch/V20170312/Models/LocalDiskType.cs
Normal file
71
TencentCloud/Batch/V20170312/Models/LocalDiskType.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class LocalDiskType : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 本地磁盘类型。
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本地磁盘属性。
|
||||
/// </summary>
|
||||
[JsonProperty("PartitionType")]
|
||||
public string PartitionType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本地磁盘最小值。
|
||||
/// </summary>
|
||||
[JsonProperty("MinSize")]
|
||||
public long? MinSize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本地磁盘最大值。
|
||||
/// </summary>
|
||||
[JsonProperty("MaxSize")]
|
||||
public long? MaxSize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 购买时本地盘是否为必选。取值范围:<br><li>REQUIRED:表示必选<br><li>OPTIONAL:表示可选。
|
||||
/// </summary>
|
||||
[JsonProperty("Required")]
|
||||
public string Required{ 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 + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "PartitionType", this.PartitionType);
|
||||
this.SetParamSimple(map, prefix + "MinSize", this.MinSize);
|
||||
this.SetParamSimple(map, prefix + "MaxSize", this.MaxSize);
|
||||
this.SetParamSimple(map, prefix + "Required", this.Required);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Batch/V20170312/Models/LoginSettings.cs
Normal file
57
TencentCloud/Batch/V20170312/Models/LoginSettings.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class LoginSettings : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到16位,至少包括两项[a-z,A-Z]、[0-9] 和 [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? \/ ]中的特殊符号。<br><li>Windows实例密码必须12到16位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) ` ~ ! @ # $ % ^ & * - + = { } [ ] : ; ' , . ? \/]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
||||
/// </summary>
|
||||
[JsonProperty("Password")]
|
||||
public string Password{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
|
||||
/// </summary>
|
||||
[JsonProperty("KeyIds")]
|
||||
public string[] KeyIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:<br><li>TRUE:表示保持镜像的登录设置<br><li>FALSE:表示不保持镜像的登录设置<br><br>默认取值:FALSE。
|
||||
/// </summary>
|
||||
[JsonProperty("KeepImageLogin")]
|
||||
public string KeepImageLogin{ 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 + "Password", this.Password);
|
||||
this.SetParamArraySimple(map, prefix + "KeyIds.", this.KeyIds);
|
||||
this.SetParamSimple(map, prefix + "KeepImageLogin", this.KeepImageLogin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifyComputeEnvRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境ID
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点期望个数
|
||||
/// </summary>
|
||||
[JsonProperty("DesiredComputeNodeCount")]
|
||||
public long? DesiredComputeNodeCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境名称
|
||||
/// </summary>
|
||||
[JsonProperty("EnvName")]
|
||||
public string EnvName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境描述
|
||||
/// </summary>
|
||||
[JsonProperty("EnvDescription")]
|
||||
public string EnvDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境属性数据
|
||||
/// </summary>
|
||||
[JsonProperty("EnvData")]
|
||||
public ComputeEnvData EnvData{ 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 + "EnvId", this.EnvId);
|
||||
this.SetParamSimple(map, prefix + "DesiredComputeNodeCount", this.DesiredComputeNodeCount);
|
||||
this.SetParamSimple(map, prefix + "EnvName", this.EnvName);
|
||||
this.SetParamSimple(map, prefix + "EnvDescription", this.EnvDescription);
|
||||
this.SetParamObj(map, prefix + "EnvData.", this.EnvData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifyComputeEnvResponse : 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,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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifyTaskTemplateRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板ID
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateId")]
|
||||
public string TaskTemplateId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板名称
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateName")]
|
||||
public string TaskTemplateName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板描述
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateDescription")]
|
||||
public string TaskTemplateDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板信息
|
||||
/// </summary>
|
||||
[JsonProperty("TaskTemplateInfo")]
|
||||
public Task TaskTemplateInfo{ 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 + "TaskTemplateId", this.TaskTemplateId);
|
||||
this.SetParamSimple(map, prefix + "TaskTemplateName", this.TaskTemplateName);
|
||||
this.SetParamSimple(map, prefix + "TaskTemplateDescription", this.TaskTemplateDescription);
|
||||
this.SetParamObj(map, prefix + "TaskTemplateInfo.", this.TaskTemplateInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ModifyTaskTemplateResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/MountDataDisk.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/MountDataDisk.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class MountDataDisk : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 挂载点,Linux系统合法路径,或Windows系统盘符,比如"H:\\"
|
||||
/// </summary>
|
||||
[JsonProperty("LocalPath")]
|
||||
public string LocalPath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件系统类型,Linux系统下支持"EXT3"和"EXT4"两种,默认"EXT3";Windows系统下仅支持"NTFS"
|
||||
/// </summary>
|
||||
[JsonProperty("FileSystemType")]
|
||||
public string FileSystemType{ 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 + "LocalPath", this.LocalPath);
|
||||
this.SetParamSimple(map, prefix + "FileSystemType", this.FileSystemType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
120
TencentCloud/Batch/V20170312/Models/NamedComputeEnv.cs
Normal file
120
TencentCloud/Batch/V20170312/Models/NamedComputeEnv.cs
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class NamedComputeEnv : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境名称
|
||||
/// </summary>
|
||||
[JsonProperty("EnvName")]
|
||||
public string EnvName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点期望个数
|
||||
/// </summary>
|
||||
[JsonProperty("DesiredComputeNodeCount")]
|
||||
public long? DesiredComputeNodeCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境描述
|
||||
/// </summary>
|
||||
[JsonProperty("EnvDescription")]
|
||||
public string EnvDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境管理类型
|
||||
/// </summary>
|
||||
[JsonProperty("EnvType")]
|
||||
public string EnvType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境具体参数
|
||||
/// </summary>
|
||||
[JsonProperty("EnvData")]
|
||||
public EnvData EnvData{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据盘挂载选项
|
||||
/// </summary>
|
||||
[JsonProperty("MountDataDisks")]
|
||||
public MountDataDisk[] MountDataDisks{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 授权信息
|
||||
/// </summary>
|
||||
[JsonProperty("Authentications")]
|
||||
public Authentication[] Authentications{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 输入映射信息
|
||||
/// </summary>
|
||||
[JsonProperty("InputMappings")]
|
||||
public InputMapping[] InputMappings{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agent运行模式,适用于Windows系统
|
||||
/// </summary>
|
||||
[JsonProperty("AgentRunningMode")]
|
||||
public AgentRunningMode AgentRunningMode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通知信息
|
||||
/// </summary>
|
||||
[JsonProperty("Notifications")]
|
||||
public Notification Notifications{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
||||
/// </summary>
|
||||
[JsonProperty("ActionIfComputeNodeInactive")]
|
||||
public string ActionIfComputeNodeInactive{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值11,如果不设置的话,系统会设置一个默认值,当前为7
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceMaxRetryCount")]
|
||||
public long? ResourceMaxRetryCount{ 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 + "EnvName", this.EnvName);
|
||||
this.SetParamSimple(map, prefix + "DesiredComputeNodeCount", this.DesiredComputeNodeCount);
|
||||
this.SetParamSimple(map, prefix + "EnvDescription", this.EnvDescription);
|
||||
this.SetParamSimple(map, prefix + "EnvType", this.EnvType);
|
||||
this.SetParamObj(map, prefix + "EnvData.", this.EnvData);
|
||||
this.SetParamArrayObj(map, prefix + "MountDataDisks.", this.MountDataDisks);
|
||||
this.SetParamArrayObj(map, prefix + "Authentications.", this.Authentications);
|
||||
this.SetParamArrayObj(map, prefix + "InputMappings.", this.InputMappings);
|
||||
this.SetParamObj(map, prefix + "AgentRunningMode.", this.AgentRunningMode);
|
||||
this.SetParamObj(map, prefix + "Notifications.", this.Notifications);
|
||||
this.SetParamSimple(map, prefix + "ActionIfComputeNodeInactive", this.ActionIfComputeNodeInactive);
|
||||
this.SetParamSimple(map, prefix + "ResourceMaxRetryCount", this.ResourceMaxRetryCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
106
TencentCloud/Batch/V20170312/Models/NamedCpmComputeEnv.cs
Normal file
106
TencentCloud/Batch/V20170312/Models/NamedCpmComputeEnv.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class NamedCpmComputeEnv : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境名称
|
||||
/// </summary>
|
||||
[JsonProperty("EnvName")]
|
||||
public string EnvName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境具体参数
|
||||
/// </summary>
|
||||
[JsonProperty("EnvData")]
|
||||
public EnvDataCpm EnvData{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算节点期望个数
|
||||
/// </summary>
|
||||
[JsonProperty("DesiredComputeNodeCount")]
|
||||
public long? DesiredComputeNodeCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境描述
|
||||
/// </summary>
|
||||
[JsonProperty("EnvDescription")]
|
||||
public string EnvDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计算环境管理类型, 取值MANAGED。
|
||||
/// </summary>
|
||||
[JsonProperty("EnvType")]
|
||||
public string EnvType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 授权信息
|
||||
/// </summary>
|
||||
[JsonProperty("Authentications")]
|
||||
public Authentication[] Authentications{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 输入映射信息
|
||||
/// </summary>
|
||||
[JsonProperty("InputMappings")]
|
||||
public InputMapping[] InputMappings{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 通知信息
|
||||
/// </summary>
|
||||
[JsonProperty("Notifications")]
|
||||
public Notification Notifications{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
||||
/// </summary>
|
||||
[JsonProperty("ActionIfComputeNodeInactive")]
|
||||
public string ActionIfComputeNodeInactive{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值11,如果不设置的话,系统会设置一个默认值,当前为7
|
||||
/// </summary>
|
||||
[JsonProperty("ResourceMaxRetryCount")]
|
||||
public long? ResourceMaxRetryCount{ 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 + "EnvName", this.EnvName);
|
||||
this.SetParamObj(map, prefix + "EnvData.", this.EnvData);
|
||||
this.SetParamSimple(map, prefix + "DesiredComputeNodeCount", this.DesiredComputeNodeCount);
|
||||
this.SetParamSimple(map, prefix + "EnvDescription", this.EnvDescription);
|
||||
this.SetParamSimple(map, prefix + "EnvType", this.EnvType);
|
||||
this.SetParamArrayObj(map, prefix + "Authentications.", this.Authentications);
|
||||
this.SetParamArrayObj(map, prefix + "InputMappings.", this.InputMappings);
|
||||
this.SetParamObj(map, prefix + "Notifications.", this.Notifications);
|
||||
this.SetParamSimple(map, prefix + "ActionIfComputeNodeInactive", this.ActionIfComputeNodeInactive);
|
||||
this.SetParamSimple(map, prefix + "ResourceMaxRetryCount", this.ResourceMaxRetryCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/Notification.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/Notification.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Notification : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// CMQ主题名字,要求主题名有效且关联订阅
|
||||
/// </summary>
|
||||
[JsonProperty("TopicName")]
|
||||
public string TopicName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 事件配置
|
||||
/// </summary>
|
||||
[JsonProperty("EventConfigs")]
|
||||
public EventConfig[] EventConfigs{ 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 + "TopicName", this.TopicName);
|
||||
this.SetParamArrayObj(map, prefix + "EventConfigs.", this.EventConfigs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
TencentCloud/Batch/V20170312/Models/OsInfo.cs
Normal file
85
TencentCloud/Batch/V20170312/Models/OsInfo.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class OsInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统ID。
|
||||
/// </summary>
|
||||
[JsonProperty("OsTypeId")]
|
||||
public ulong? OsTypeId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统名称。
|
||||
/// </summary>
|
||||
[JsonProperty("OsName")]
|
||||
public string OsName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统名称描述。
|
||||
/// </summary>
|
||||
[JsonProperty("OsDescription")]
|
||||
public string OsDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统英文名称。
|
||||
/// </summary>
|
||||
[JsonProperty("OsEnglishDescription")]
|
||||
public string OsEnglishDescription{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统的分类,如CentOs Debian。
|
||||
/// </summary>
|
||||
[JsonProperty("OsClass")]
|
||||
public string OsClass{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标识镜像分类。public:公共镜像; private: 专属镜像。
|
||||
/// </summary>
|
||||
[JsonProperty("ImageTag")]
|
||||
public string ImageTag{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作系统,ext4文件下所支持的最大的磁盘大小。单位为T。
|
||||
/// </summary>
|
||||
[JsonProperty("MaxPartitionSize")]
|
||||
public ulong? MaxPartitionSize{ 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 + "OsTypeId", this.OsTypeId);
|
||||
this.SetParamSimple(map, prefix + "OsName", this.OsName);
|
||||
this.SetParamSimple(map, prefix + "OsDescription", this.OsDescription);
|
||||
this.SetParamSimple(map, prefix + "OsEnglishDescription", this.OsEnglishDescription);
|
||||
this.SetParamSimple(map, prefix + "OsClass", this.OsClass);
|
||||
this.SetParamSimple(map, prefix + "ImageTag", this.ImageTag);
|
||||
this.SetParamSimple(map, prefix + "MaxPartitionSize", this.MaxPartitionSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Batch/V20170312/Models/OutputMapping.cs
Normal file
50
TencentCloud/Batch/V20170312/Models/OutputMapping.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class OutputMapping : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 源端路径
|
||||
/// </summary>
|
||||
[JsonProperty("SourcePath")]
|
||||
public string SourcePath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目的端路径
|
||||
/// </summary>
|
||||
[JsonProperty("DestinationPath")]
|
||||
public string DestinationPath{ 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 + "SourcePath", this.SourcePath);
|
||||
this.SetParamSimple(map, prefix + "DestinationPath", this.DestinationPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Batch/V20170312/Models/OutputMappingConfig.cs
Normal file
57
TencentCloud/Batch/V20170312/Models/OutputMappingConfig.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class OutputMappingConfig : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 存储类型,仅支持COS
|
||||
/// </summary>
|
||||
[JsonProperty("Scene")]
|
||||
public string Scene{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 并行worker数量
|
||||
/// </summary>
|
||||
[JsonProperty("WorkerNum")]
|
||||
public long? WorkerNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// worker分块大小,单位MB
|
||||
/// </summary>
|
||||
[JsonProperty("WorkerPartSize")]
|
||||
public long? WorkerPartSize{ 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 + "Scene", this.Scene);
|
||||
this.SetParamSimple(map, prefix + "WorkerNum", this.WorkerNum);
|
||||
this.SetParamSimple(map, prefix + "WorkerPartSize", this.WorkerPartSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Batch/V20170312/Models/Placement.cs
Normal file
71
TencentCloud/Batch/V20170312/Models/Placement.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Placement : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例所属的[可用区](https://cloud.tencent.com/document/product/213/15753#ZoneInfo)ID。该参数也可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
||||
/// </summary>
|
||||
[JsonProperty("Zone")]
|
||||
public string Zone{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例所属项目ID。该参数可以通过调用 [DescribeProject](/document/api/378/4400) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
||||
/// </summary>
|
||||
[JsonProperty("ProjectId")]
|
||||
public long? ProjectId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例所属的专用宿主机ID列表,仅用于入参。如果您有购买专用宿主机并且指定了该参数,则您购买的实例就会随机的部署在这些专用宿主机上。
|
||||
/// </summary>
|
||||
[JsonProperty("HostIds")]
|
||||
public string[] HostIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 指定母机ip生产子机
|
||||
/// </summary>
|
||||
[JsonProperty("HostIps")]
|
||||
public string[] HostIps{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例所属的专用宿主机ID,仅用于出参。
|
||||
/// </summary>
|
||||
[JsonProperty("HostId")]
|
||||
public string HostId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Zone", this.Zone);
|
||||
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
|
||||
this.SetParamArraySimple(map, prefix + "HostIds.", this.HostIds);
|
||||
this.SetParamArraySimple(map, prefix + "HostIps.", this.HostIps);
|
||||
this.SetParamSimple(map, prefix + "HostId", this.HostId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Batch/V20170312/Models/RedirectInfo.cs
Normal file
64
TencentCloud/Batch/V20170312/Models/RedirectInfo.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class RedirectInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 标准输出重定向路径
|
||||
/// </summary>
|
||||
[JsonProperty("StdoutRedirectPath")]
|
||||
public string StdoutRedirectPath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标准错误重定向路径
|
||||
/// </summary>
|
||||
[JsonProperty("StderrRedirectPath")]
|
||||
public string StderrRedirectPath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标准输出重定向文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
||||
/// </summary>
|
||||
[JsonProperty("StdoutRedirectFileName")]
|
||||
public string StdoutRedirectFileName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标准错误重定向文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
||||
/// </summary>
|
||||
[JsonProperty("StderrRedirectFileName")]
|
||||
public string StderrRedirectFileName{ 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 + "StdoutRedirectPath", this.StdoutRedirectPath);
|
||||
this.SetParamSimple(map, prefix + "StderrRedirectPath", this.StderrRedirectPath);
|
||||
this.SetParamSimple(map, prefix + "StdoutRedirectFileName", this.StdoutRedirectFileName);
|
||||
this.SetParamSimple(map, prefix + "StderrRedirectFileName", this.StderrRedirectFileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Batch/V20170312/Models/RedirectLocalInfo.cs
Normal file
64
TencentCloud/Batch/V20170312/Models/RedirectLocalInfo.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class RedirectLocalInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 标准输出重定向本地路径
|
||||
/// </summary>
|
||||
[JsonProperty("StdoutLocalPath")]
|
||||
public string StdoutLocalPath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标准错误重定向本地路径
|
||||
/// </summary>
|
||||
[JsonProperty("StderrLocalPath")]
|
||||
public string StderrLocalPath{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标准输出重定向本地文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
||||
/// </summary>
|
||||
[JsonProperty("StdoutLocalFileName")]
|
||||
public string StdoutLocalFileName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标准错误重定向本地文件名,支持三个占位符${BATCH_JOB_ID}、${BATCH_TASK_NAME}、${BATCH_TASK_INSTANCE_INDEX}
|
||||
/// </summary>
|
||||
[JsonProperty("StderrLocalFileName")]
|
||||
public string StderrLocalFileName{ 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 + "StdoutLocalPath", this.StdoutLocalPath);
|
||||
this.SetParamSimple(map, prefix + "StderrLocalPath", this.StderrLocalPath);
|
||||
this.SetParamSimple(map, prefix + "StdoutLocalFileName", this.StdoutLocalFileName);
|
||||
this.SetParamSimple(map, prefix + "StderrLocalFileName", this.StderrLocalFileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Batch/V20170312/Models/RetryJobsRequest.cs
Normal file
43
TencentCloud/Batch/V20170312/Models/RetryJobsRequest.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class RetryJobsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 作业ID列表。
|
||||
/// </summary>
|
||||
[JsonProperty("JobIds")]
|
||||
public string[] JobIds{ 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 + "JobIds.", this.JobIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Batch/V20170312/Models/RetryJobsResponse.cs
Normal file
43
TencentCloud/Batch/V20170312/Models/RetryJobsResponse.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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class RetryJobsResponse : 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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class RunMonitorServiceEnabled : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启云监控服务<br><li>FALSE:表示不开启云监控服务<br><br>默认取值:TRUE。
|
||||
/// </summary>
|
||||
[JsonProperty("Enabled")]
|
||||
public bool? Enabled{ 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 + "Enabled", this.Enabled);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.Batch.V20170312.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class RunSecurityServiceEnabled : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 是否开启[云安全](/document/product/296)服务。取值范围:<br><li>TRUE:表示开启云安全服务<br><li>FALSE:表示不开启云安全服务<br><br>默认取值:TRUE。
|
||||
/// </summary>
|
||||
[JsonProperty("Enabled")]
|
||||
public bool? Enabled{ 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 + "Enabled", this.Enabled);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user