Skip to content

Commit

Permalink
update vm ,detail see vm change log
Browse files Browse the repository at this point in the history
  • Loading branch information
lishijun10 committed Jul 27, 2018
1 parent 654883f commit 388e75c
Show file tree
Hide file tree
Showing 161 changed files with 2,990 additions and 834 deletions.
320 changes: 160 additions & 160 deletions sdk/JDCloudSDK.Linux.sln

Large diffs are not rendered by default.

320 changes: 160 additions & 160 deletions sdk/JDCloudSDK.sln

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions sdk/src/Service/Vm/Apis/AssociateElasticIpRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,27 @@ namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 云主机绑定公网IP 绑定的是主网卡、主内网IP对应的弹性IP
/// 云主机绑定弹性公网IP,绑定的是主网卡、内网主IP对应的弹性公网IP。&lt;br&gt;
/// /// 一台云主机只能绑定一个弹性公网IP(主网卡),若主网卡已存在弹性公网IP,会返回错误。&lt;br&gt;
/// /// 如果是黑名单中的用户,会返回错误。
/// ///
/// </summary>
public class AssociateElasticIpRequest : JdcloudRequest
{
///<summary>
/// 弹性IP ID
/// 弹性公网IP的ID
///Required:true
///</summary>
[Required]
public string ElasticIpId{ get; set; }
///<summary>
/// Region ID
/// 地域ID
///Required:true
///</summary>
[Required]
public override string RegionId{ get; set; }
///<summary>
/// Instance ID
/// 云主机ID
///Required:true
///</summary>
[Required]
Expand Down
5 changes: 4 additions & 1 deletion sdk/src/Service/Vm/Apis/AssociateElasticIpResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 云主机绑定公网IP 绑定的是主网卡、主内网IP对应的弹性IP
/// 云主机绑定弹性公网IP,绑定的是主网卡、内网主IP对应的弹性公网IP。&lt;br&gt;
/// /// 一台云主机只能绑定一个弹性公网IP(主网卡),若主网卡已存在弹性公网IP,会返回错误。&lt;br&gt;
/// /// 如果是黑名单中的用户,会返回错误。
/// ///
/// </summary>
public class AssociateElasticIpResponse : JdcloudResponse<AssociateElasticIpResult>
{
Expand Down
5 changes: 4 additions & 1 deletion sdk/src/Service/Vm/Apis/AssociateElasticIpResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 云主机绑定公网IP 绑定的是主网卡、主内网IP对应的弹性IP
/// 云主机绑定弹性公网IP,绑定的是主网卡、内网主IP对应的弹性公网IP。&lt;br&gt;
/// /// 一台云主机只能绑定一个弹性公网IP(主网卡),若主网卡已存在弹性公网IP,会返回错误。&lt;br&gt;
/// /// 如果是黑名单中的用户,会返回错误。
/// ///
/// </summary>
public class AssociateElasticIpResult : JdcloudResult
{
Expand Down
13 changes: 8 additions & 5 deletions sdk/src/Service/Vm/Apis/AttachDiskRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 云主机挂载硬盘,主机和云盘没有未完成的任务时才可挂载,一个主机上最多可挂载4块数据盘
/// 为一台云主机挂载一块数据盘(云硬盘),云主机和云硬盘没有正在进行中的的任务时才可挂载。&lt;br&gt;
/// /// 云主机状态必须是&lt;b&gt;running&lt;/b&gt;或&lt;b&gt;stopped&lt;/b&gt;状态。&lt;br&gt;
/// /// 本地盘(local类型)做系统盘的云主机可挂载8块数据盘,云硬盘(cloud类型)做系统盘的云主机可挂载7块数据盘。
/// ///
/// </summary>
public class AttachDiskRequest : JdcloudRequest
{
Expand All @@ -45,21 +48,21 @@ public class AttachDiskRequest : JdcloudRequest
[Required]
public string DiskId{ get; set; }
///<summary>
/// 逻辑挂载点[vdb,vdc,vdd,vde,vdf,vdg,vdh]
/// 数据盘的逻辑挂载点[vda,vdb,vdc,vdd,vde,vdf,vdg,vdh,vdi],挂载系统盘时vda必传
///</summary>
public string DeviceName{ get; set; }
///<summary>
/// 当删除主机时,是否自动关联删除此硬盘,默认False,只支持按配置计费
/// 自动随主机删除此云硬盘,默认为False,只支持按配置计费的云硬盘。如果是共享型云硬盘,此参数无效。
///</summary>
public bool AutoDelete{ get; set; }
///<summary>
/// Region ID
/// 地域ID
///Required:true
///</summary>
[Required]
public override string RegionId{ get; set; }
///<summary>
/// Instance ID
/// 云主机ID
///Required:true
///</summary>
[Required]
Expand Down
5 changes: 4 additions & 1 deletion sdk/src/Service/Vm/Apis/AttachDiskResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 云主机挂载硬盘,主机和云盘没有未完成的任务时才可挂载,一个主机上最多可挂载4块数据盘
/// 为一台云主机挂载一块数据盘(云硬盘),云主机和云硬盘没有正在进行中的的任务时才可挂载。&lt;br&gt;
/// /// 云主机状态必须是&lt;b&gt;running&lt;/b&gt;或&lt;b&gt;stopped&lt;/b&gt;状态。&lt;br&gt;
/// /// 本地盘(local类型)做系统盘的云主机可挂载8块数据盘,云硬盘(cloud类型)做系统盘的云主机可挂载7块数据盘。
/// ///
/// </summary>
public class AttachDiskResponse : JdcloudResponse<AttachDiskResult>
{
Expand Down
5 changes: 4 additions & 1 deletion sdk/src/Service/Vm/Apis/AttachDiskResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 云主机挂载硬盘,主机和云盘没有未完成的任务时才可挂载,一个主机上最多可挂载4块数据盘
/// 为一台云主机挂载一块数据盘(云硬盘),云主机和云硬盘没有正在进行中的的任务时才可挂载。&lt;br&gt;
/// /// 云主机状态必须是&lt;b&gt;running&lt;/b&gt;或&lt;b&gt;stopped&lt;/b&gt;状态。&lt;br&gt;
/// /// 本地盘(local类型)做系统盘的云主机可挂载8块数据盘,云硬盘(cloud类型)做系统盘的云主机可挂载7块数据盘。
/// ///
/// </summary>
public class AttachDiskResult : JdcloudResult
{
Expand Down
69 changes: 69 additions & 0 deletions sdk/src/Service/Vm/Apis/AttachNetworkInterfaceRequest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 云主机
* 与主机操作相关的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Core.Annotation;

namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 云主机挂载一块弹性网卡。&lt;br&gt;
/// /// 云主机状态必须为&lt;b&gt;running&lt;/b&gt;或&lt;b&gt;stopped&lt;/b&gt;状态,并且没有正在进行中的任务才可操作。&lt;br&gt;
/// /// 弹性网卡上如果绑定了公网IP,那么公网IP所在az需要与云主机的az保持一致,或者公网IP属于全可用区,才可挂载。&lt;br&gt;
/// /// 云主机挂载弹性网卡的数量,不能超过实例规格的限制。可查询&lt;a href&#x3D;&quot;https://www.jdcloud.com/help/detail/2901/isCatalog/1&quot;&gt;DescribeInstanceTypes&lt;/a&gt;接口获得指定地域或可用区的规格信息。&lt;br&gt;
/// /// 弹性网卡与云主机必须在相同vpc下。
/// ///
/// </summary>
public class AttachNetworkInterfaceRequest : JdcloudRequest
{
///<summary>
/// 弹性网卡ID
///Required:true
///</summary>
[Required]
public string NetworkInterfaceId{ get; set; }
///<summary>
/// 随主机自动删除,默认为False
///</summary>
public bool AutoDelete{ get; set; }
///<summary>
/// 地域ID
///Required:true
///</summary>
[Required]
public override string RegionId{ get; set; }
///<summary>
/// 云主机ID
///Required:true
///</summary>
[Required]
public string InstanceId{ get; set; }
}
}
46 changes: 46 additions & 0 deletions sdk/src/Service/Vm/Apis/AttachNetworkInterfaceResponse.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 云主机
* 与主机操作相关的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;


namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 云主机挂载一块弹性网卡。&lt;br&gt;
/// /// 云主机状态必须为&lt;b&gt;running&lt;/b&gt;或&lt;b&gt;stopped&lt;/b&gt;状态,并且没有正在进行中的任务才可操作。&lt;br&gt;
/// /// 弹性网卡上如果绑定了公网IP,那么公网IP所在az需要与云主机的az保持一致,或者公网IP属于全可用区,才可挂载。&lt;br&gt;
/// /// 云主机挂载弹性网卡的数量,不能超过实例规格的限制。可查询&lt;a href&#x3D;&quot;https://www.jdcloud.com/help/detail/2901/isCatalog/1&quot;&gt;DescribeInstanceTypes&lt;/a&gt;接口获得指定地域或可用区的规格信息。&lt;br&gt;
/// /// 弹性网卡与云主机必须在相同vpc下。
/// ///
/// </summary>
public class AttachNetworkInterfaceResponse : JdcloudResponse<AttachNetworkInterfaceResult>
{
}
}
46 changes: 46 additions & 0 deletions sdk/src/Service/Vm/Apis/AttachNetworkInterfaceResult.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 云主机
* 与主机操作相关的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;


namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 云主机挂载一块弹性网卡。&lt;br&gt;
/// /// 云主机状态必须为&lt;b&gt;running&lt;/b&gt;或&lt;b&gt;stopped&lt;/b&gt;状态,并且没有正在进行中的任务才可操作。&lt;br&gt;
/// /// 弹性网卡上如果绑定了公网IP,那么公网IP所在az需要与云主机的az保持一致,或者公网IP属于全可用区,才可挂载。&lt;br&gt;
/// /// 云主机挂载弹性网卡的数量,不能超过实例规格的限制。可查询&lt;a href&#x3D;&quot;https://www.jdcloud.com/help/detail/2901/isCatalog/1&quot;&gt;DescribeInstanceTypes&lt;/a&gt;接口获得指定地域或可用区的规格信息。&lt;br&gt;
/// /// 弹性网卡与云主机必须在相同vpc下。
/// ///
/// </summary>
public class AttachNetworkInterfaceResult : JdcloudResult
{
}
}
61 changes: 61 additions & 0 deletions sdk/src/Service/Vm/Apis/CopyImagesRequest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 镜像
* 关于主机镜像操作的相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Core.Annotation;

namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 镜像跨区复制,将私有镜像复制到其它地域下,只允许操作您的个人私有镜像。&lt;br&gt;
/// /// 只支持cloudDisk云盘系统盘类型的镜像。
/// ///
/// </summary>
public class CopyImagesRequest : JdcloudRequest
{
///<summary>
/// 源镜像ID
///</summary>
public List<string> SourceImageIds{ get; set; }

///<summary>
/// 目标区域
///Required:true
///</summary>
[Required]
public string DestinationRegion{ get; set; }
///<summary>
/// 地域ID
///Required:true
///</summary>
[Required]
public override string RegionId{ get; set; }
}
}
43 changes: 43 additions & 0 deletions sdk/src/Service/Vm/Apis/CopyImagesResponse.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 镜像
* 关于主机镜像操作的相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;


namespace JDCloudSDK.Vm.Apis
{

/// <summary>
/// 镜像跨区复制,将私有镜像复制到其它地域下,只允许操作您的个人私有镜像。&lt;br&gt;
/// /// 只支持cloudDisk云盘系统盘类型的镜像。
/// ///
/// </summary>
public class CopyImagesResponse : JdcloudResponse<CopyImagesResult>
{
}
}
Loading

0 comments on commit 388e75c

Please sign in to comment.