Skip to content

Commit 6a6cb55

Browse files
author
lishijun10
committed
update live renewal edcps zfs rds vm interface
1 parent c1101b2 commit 6a6cb55

File tree

281 files changed

+6018
-1762
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+6018
-1762
lines changed

sdk/JDCloudSDK.Linux.sln

Lines changed: 544 additions & 544 deletions
Large diffs are not rendered by default.

sdk/JDCloudSDK.sln

Lines changed: 544 additions & 544 deletions
Large diffs are not rendered by default.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*
2+
* Copyright 2018 JDCLOUD.COM
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http:#www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
* 分布式云物理服务器
17+
* 分布式云物理服务器别名IP操作相关的接口
18+
*
19+
* OpenAPI spec version: v1
20+
* Contact:
21+
*
22+
* NOTE: This class is auto generated by the jdcloud code generator program.
23+
*/
24+
25+
26+
using System;
27+
using System.Collections.Generic;
28+
using System.Text;
29+
using JDCloudSDK.Core.Service;
30+
31+
using JDCloudSDK.Edcps.Model;
32+
using JDCloudSDK.Core.Annotation;
33+
using Newtonsoft.Json;
34+
35+
namespace JDCloudSDK.Edcps.Apis
36+
{
37+
38+
/// <summary>
39+
/// 添加别名IP
40+
/// </summary>
41+
public class CreateAliasIpRequest : JdcloudRequest
42+
{
43+
///<summary>
44+
/// 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;&lt;br/&gt;
45+
/// 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果&lt;br/&gt;
46+
///
47+
///</summary>
48+
public string ClientToken{ get; set; }
49+
///<summary>
50+
/// 别名IP配置
51+
///Required:true
52+
///</summary>
53+
[Required]
54+
public AliasIpSpec AliasIpSpec{ get; set; }
55+
///<summary>
56+
/// 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域
57+
///Required:true
58+
///</summary>
59+
[Required]
60+
[JsonProperty("regionId")]
61+
public string RegionIdValue{ get; set; }
62+
}
63+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Copyright 2018 JDCLOUD.COM
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http:#www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
* 分布式云物理服务器
17+
* 分布式云物理服务器别名IP操作相关的接口
18+
*
19+
* OpenAPI spec version: v1
20+
* Contact:
21+
*
22+
* NOTE: This class is auto generated by the jdcloud code generator program.
23+
*/
24+
25+
26+
using System;
27+
using System.Collections.Generic;
28+
using System.Text;
29+
using JDCloudSDK.Core.Service;
30+
31+
32+
namespace JDCloudSDK.Edcps.Apis
33+
{
34+
35+
/// <summary>
36+
/// 添加别名IP
37+
/// </summary>
38+
public class CreateAliasIpResponse : JdcloudResponse<CreateAliasIpResult>
39+
{
40+
}
41+
}

sdk/src/Service/Renewal/Apis/DescribeExpiredResourcesResult.cs renamed to sdk/src/Service/Edcps/Apis/CreateAliasIpResult.cs

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*
16-
* Renew Management APIs
17-
* 续费管理相关接口
16+
* 分布式云物理服务器
17+
* 分布式云物理服务器别名IP操作相关的接口
1818
*
19-
* OpenAPI spec version: v2
19+
* OpenAPI spec version: v1
2020
* Contact:
2121
*
2222
* NOTE: This class is auto generated by the jdcloud code generator program.
@@ -28,24 +28,25 @@
2828
using System.Text;
2929
using JDCloudSDK.Core.Service;
3030

31-
using JDCloudSDK.Renewal.Model;
31+
using JDCloudSDK.Edcps.Model;
3232

33-
namespace JDCloudSDK.Renewal.Apis
33+
namespace JDCloudSDK.Edcps.Apis
3434
{
3535

3636
/// <summary>
37-
/// 查询已过期资源详情
37+
/// 添加别名IP
3838
/// </summary>
39-
public class DescribeExpiredResourcesResult : JdcloudResult
39+
public class CreateAliasIpResult : JdcloudResult
4040
{
4141
///<summary>
42-
/// 已过期资源列表
42+
/// SuccessList
4343
///</summary>
44-
public List<ResourceMapResult> ExpiredResourceList{ get; set; }
44+
public List<AliasIpSuccessInfo> SuccessList{ get; set; }
4545

4646
///<summary>
47-
/// 已过期资源总数
47+
/// ErrorList
4848
///</summary>
49-
public int? ExpiredNumber{ get; set; }
49+
public List<AliasIpErrorInfo> ErrorList{ get; set; }
50+
5051
}
5152
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*
2+
* Copyright 2018 JDCLOUD.COM
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http:#www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
* 分布式云物理服务器
17+
* 分布式云物理服务器次要cidr操作相关的接口
18+
*
19+
* OpenAPI spec version: v1
20+
* Contact:
21+
*
22+
* NOTE: This class is auto generated by the jdcloud code generator program.
23+
*/
24+
25+
26+
using System;
27+
using System.Collections.Generic;
28+
using System.Text;
29+
using JDCloudSDK.Core.Service;
30+
31+
using JDCloudSDK.Edcps.Model;
32+
using JDCloudSDK.Core.Annotation;
33+
using Newtonsoft.Json;
34+
35+
namespace JDCloudSDK.Edcps.Apis
36+
{
37+
38+
/// <summary>
39+
/// 添加次要CIDR
40+
/// </summary>
41+
public class CreateSecondaryCidrRequest : JdcloudRequest
42+
{
43+
///<summary>
44+
/// 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;&lt;br/&gt;
45+
/// 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果&lt;br/&gt;
46+
///
47+
///</summary>
48+
public string ClientToken{ get; set; }
49+
///<summary>
50+
/// 次要cidr配置
51+
///Required:true
52+
///</summary>
53+
[Required]
54+
public SecondaryCidrSpec SecondaryCidrSpec{ get; set; }
55+
///<summary>
56+
/// 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域
57+
///Required:true
58+
///</summary>
59+
[Required]
60+
[JsonProperty("regionId")]
61+
public string RegionIdValue{ get; set; }
62+
}
63+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Copyright 2018 JDCLOUD.COM
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http:#www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
* 分布式云物理服务器
17+
* 分布式云物理服务器次要cidr操作相关的接口
18+
*
19+
* OpenAPI spec version: v1
20+
* Contact:
21+
*
22+
* NOTE: This class is auto generated by the jdcloud code generator program.
23+
*/
24+
25+
26+
using System;
27+
using System.Collections.Generic;
28+
using System.Text;
29+
using JDCloudSDK.Core.Service;
30+
31+
32+
namespace JDCloudSDK.Edcps.Apis
33+
{
34+
35+
/// <summary>
36+
/// 添加次要CIDR
37+
/// </summary>
38+
public class CreateSecondaryCidrResponse : JdcloudResponse<CreateSecondaryCidrResult>
39+
{
40+
}
41+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* Copyright 2018 JDCLOUD.COM
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http:#www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
* 分布式云物理服务器
17+
* 分布式云物理服务器次要cidr操作相关的接口
18+
*
19+
* OpenAPI spec version: v1
20+
* Contact:
21+
*
22+
* NOTE: This class is auto generated by the jdcloud code generator program.
23+
*/
24+
25+
26+
using System;
27+
using System.Collections.Generic;
28+
using System.Text;
29+
using JDCloudSDK.Core.Service;
30+
31+
32+
namespace JDCloudSDK.Edcps.Apis
33+
{
34+
35+
/// <summary>
36+
/// 添加次要CIDR
37+
/// </summary>
38+
public class CreateSecondaryCidrResult : JdcloudResult
39+
{
40+
///<summary>
41+
/// 次要cidr的ID
42+
///</summary>
43+
public string SecondaryCidrId{ get; set; }
44+
}
45+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/*
2+
* Copyright 2018 JDCLOUD.COM
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http:#www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
* 分布式云物理服务器
17+
* 分布式云物理服务器别名IP操作相关的接口
18+
*
19+
* OpenAPI spec version: v1
20+
* Contact:
21+
*
22+
* NOTE: This class is auto generated by the jdcloud code generator program.
23+
*/
24+
25+
26+
using System;
27+
using System.Collections.Generic;
28+
using System.Text;
29+
using JDCloudSDK.Core.Service;
30+
31+
using JDCloudSDK.Core.Annotation;
32+
using Newtonsoft.Json;
33+
34+
namespace JDCloudSDK.Edcps.Apis
35+
{
36+
37+
/// <summary>
38+
/// 删除别名IP
39+
/// </summary>
40+
public class DeleteAliasIpRequest : JdcloudRequest
41+
{
42+
///<summary>
43+
/// 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;&lt;br/&gt;
44+
/// 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果&lt;br/&gt;
45+
///
46+
///</summary>
47+
public string ClientToken{ get; set; }
48+
///<summary>
49+
/// 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域
50+
///Required:true
51+
///</summary>
52+
[Required]
53+
[JsonProperty("regionId")]
54+
public string RegionIdValue{ get; set; }
55+
///<summary>
56+
/// 别名IP ID
57+
///Required:true
58+
///</summary>
59+
[Required]
60+
public string AliasIpId{ get; set; }
61+
}
62+
}

0 commit comments

Comments
 (0)