-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lishijun10
committed
Jul 27, 2018
1 parent
654883f
commit 388e75c
Showing
161 changed files
with
2,990 additions
and
834 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
/// 云主机挂载一块弹性网卡。<br> | ||
/// /// 云主机状态必须为<b>running</b>或<b>stopped</b>状态,并且没有正在进行中的任务才可操作。<br> | ||
/// /// 弹性网卡上如果绑定了公网IP,那么公网IP所在az需要与云主机的az保持一致,或者公网IP属于全可用区,才可挂载。<br> | ||
/// /// 云主机挂载弹性网卡的数量,不能超过实例规格的限制。可查询<a href="https://www.jdcloud.com/help/detail/2901/isCatalog/1">DescribeInstanceTypes</a>接口获得指定地域或可用区的规格信息。<br> | ||
/// /// 弹性网卡与云主机必须在相同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; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
/// 云主机挂载一块弹性网卡。<br> | ||
/// /// 云主机状态必须为<b>running</b>或<b>stopped</b>状态,并且没有正在进行中的任务才可操作。<br> | ||
/// /// 弹性网卡上如果绑定了公网IP,那么公网IP所在az需要与云主机的az保持一致,或者公网IP属于全可用区,才可挂载。<br> | ||
/// /// 云主机挂载弹性网卡的数量,不能超过实例规格的限制。可查询<a href="https://www.jdcloud.com/help/detail/2901/isCatalog/1">DescribeInstanceTypes</a>接口获得指定地域或可用区的规格信息。<br> | ||
/// /// 弹性网卡与云主机必须在相同vpc下。 | ||
/// /// | ||
/// </summary> | ||
public class AttachNetworkInterfaceResponse : JdcloudResponse<AttachNetworkInterfaceResult> | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
/// 云主机挂载一块弹性网卡。<br> | ||
/// /// 云主机状态必须为<b>running</b>或<b>stopped</b>状态,并且没有正在进行中的任务才可操作。<br> | ||
/// /// 弹性网卡上如果绑定了公网IP,那么公网IP所在az需要与云主机的az保持一致,或者公网IP属于全可用区,才可挂载。<br> | ||
/// /// 云主机挂载弹性网卡的数量,不能超过实例规格的限制。可查询<a href="https://www.jdcloud.com/help/detail/2901/isCatalog/1">DescribeInstanceTypes</a>接口获得指定地域或可用区的规格信息。<br> | ||
/// /// 弹性网卡与云主机必须在相同vpc下。 | ||
/// /// | ||
/// </summary> | ||
public class AttachNetworkInterfaceResult : JdcloudResult | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
/// 镜像跨区复制,将私有镜像复制到其它地域下,只允许操作您的个人私有镜像。<br> | ||
/// /// 只支持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; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
/// 镜像跨区复制,将私有镜像复制到其它地域下,只允许操作您的个人私有镜像。<br> | ||
/// /// 只支持cloudDisk云盘系统盘类型的镜像。 | ||
/// /// | ||
/// </summary> | ||
public class CopyImagesResponse : JdcloudResponse<CopyImagesResult> | ||
{ | ||
} | ||
} |
Oops, something went wrong.