Skip to content

Commit

Permalink
update jdccs logs sts vqd
Browse files Browse the repository at this point in the history
  • Loading branch information
lishijun10 committed Jan 16, 2020
1 parent 91ddb3e commit b1bcf76
Show file tree
Hide file tree
Showing 90 changed files with 3,640 additions and 1,687 deletions.
736 changes: 728 additions & 8 deletions sdk/JDCloudSDK.Linux.sln

Large diffs are not rendered by default.

1,607 changes: 804 additions & 803 deletions sdk/JDCloudSDK.sln

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion sdk/src/Service/Jdccs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# 更新历史 #
API版本:1.0.5
API版本:1.0.6

|发布时间|版本号|更新|说明|
|---|---|---|---|
|2020-01-16|1.0.6|接口变更|报警规则列表、报警历史列表、IP列表返回字段优化|
|2020-01-09|1.0.5|新增接口|机柜详情<br>设备列表<br>设备详情<br>公网IP列表<br>带宽(出口)列表<br>带宽(出口)详情<br>工单列表<br>工单详情<br>报警规则列表<br>报警规则详情<br>报警历史列表|
|2019-12-23|1.0.4|接口变更|带宽(上、下行流量)监控项数据支持单端口查询|
|2019-10-17|1.0.3|新增接口|带宽(出口)流量列表<br>带宽(出口)流量(资源)详情<br>|
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/Service/Jdccs/JDCloudSDK.Jdccs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>JDCloud API Gateway</Authors>
<Company>JDCloud.com</Company>
<Version>1.0.5.1</Version>
<Version>1.0.6.1</Version>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Description>提供云托管服务的相关接口</Description>
<Copyright>Copyright © 2012-2018 JDCloud.com</Copyright>
Expand Down
4 changes: 2 additions & 2 deletions sdk/src/Service/Jdccs/Model/Alarm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public class Alarm
///</summary>
public string Status{ get; set; }
///<summary>
/// Switchboard
/// 交换机信息
///</summary>
public List<object> Switchboard{ get; set; }
public List<Switchboard> Switchboard{ get; set; }
}
}
10 changes: 7 additions & 3 deletions sdk/src/Service/Jdccs/Model/AlarmHistory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,13 @@ public class AlarmHistory
///</summary>
public string Status{ get; set; }
///<summary>
/// Switchboard
/// IP地址
///</summary>
public List<object> Switchboard{ get; set; }
public string ManagementIp{ get; set; }
///<summary>
/// 端口名称
///</summary>
public string IfName{ get; set; }
///<summary>
/// 报警状态 normal:正常 alarm:报警
///</summary>
Expand All @@ -114,7 +118,7 @@ public class AlarmHistory
///</summary>
public double? Value{ get; set; }
///<summary>
/// 报警时间 遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 报警时间 遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string NoticeTime{ get; set; }
}
Expand Down
6 changes: 3 additions & 3 deletions sdk/src/Service/Jdccs/Model/Bandwidth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class Bandwidth
///<summary>
/// 线路类型 bgp:BGP telecom:电信单线 unicom:联通单线 mobile:移动单线
///</summary>
public int? LineType{ get; set; }
public string LineType{ get; set; }
///<summary>
/// 合同带宽(Mbps)
///</summary>
Expand All @@ -70,10 +70,10 @@ public class Bandwidth
///<summary>
/// 关联的公网IP
///</summary>
public List<object> RelatedIp{ get; set; }
public List<RelatedIp> RelatedIp{ get; set; }
///<summary>
/// 交换机信息
///</summary>
public List<object> Switchboard{ get; set; }
public List<Switchboard> Switchboard{ get; set; }
}
}
6 changes: 3 additions & 3 deletions sdk/src/Service/Jdccs/Model/BandwidthTraffic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ public class BandwidthTraffic
///<summary>
/// 关联的公网IP
///</summary>
public List<object> RelatedIp{ get; set; }
public List<RelatedIp> RelatedIp{ get; set; }
///<summary>
/// Switchboard
/// 交换机信息
///</summary>
public List<object> Switchboard{ get; set; }
public List<DescribeSwitchboard> Switchboard{ get; set; }
}
}
10 changes: 5 additions & 5 deletions sdk/src/Service/Jdccs/Model/Cabinet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,23 @@ public class Cabinet
///</summary>
public string CabinetType{ get; set; }
///<summary>
/// 机柜开通状态 disabled:未开通 enabling:开通中 enabled:已开通 disabling:关闭中
/// 机柜开通状态 disabled:未开通 enabling:开通中 enabled:已开通 disabling:关电中
///</summary>
public string CabinetOpenStatus{ get; set; }
///<summary>
/// 开通时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 开通时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string CabinetOpenTime{ get; set; }
///<summary>
/// 到期时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 到期时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string ExpireTime{ get; set; }
///<summary>
/// 预留开始时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 预留开始时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string ReserveStartTime{ get; set; }
///<summary>
/// 预留结束时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 预留结束时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string ReserveEndTime{ get; set; }
///<summary>
Expand Down
4 changes: 0 additions & 4 deletions sdk/src/Service/Jdccs/Model/DescribeAlarm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,5 @@ public class DescribeAlarm
/// 规则状态 disabled:禁用 enabled:启用
///</summary>
public string Status{ get; set; }
///<summary>
/// Switchboard
///</summary>
public List<object> Switchboard{ get; set; }
}
}
4 changes: 2 additions & 2 deletions sdk/src/Service/Jdccs/Model/DescribeBandwidth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ public class DescribeBandwidth
///<summary>
/// 线路类型 bgp:BGP telecom:电信单线 unicom:联通单线 mobile:移动单线
///</summary>
public int? LineType{ get; set; }
public string LineType{ get; set; }
///<summary>
/// 合同带宽(Mbps)
///</summary>
public int? Bandwidth{ get; set; }
///<summary>
/// 关联的公网IP
///</summary>
public List<object> RelatedIp{ get; set; }
public List<RelatedIp> RelatedIp{ get; set; }
}
}
10 changes: 5 additions & 5 deletions sdk/src/Service/Jdccs/Model/DescribeCabinet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,23 @@ public class DescribeCabinet
///</summary>
public string CabinetType{ get; set; }
///<summary>
/// 机柜开通状态 disabled:未开通 enabling:开通中 enabled:已开通 disabling:关闭中
/// 机柜开通状态 disabled:未开通 enabling:开通中 enabled:已开通 disabling:关电中
///</summary>
public string CabinetOpenStatus{ get; set; }
///<summary>
/// 开通时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 开通时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string CabinetOpenTime{ get; set; }
///<summary>
/// 到期时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 到期时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string ExpireTime{ get; set; }
///<summary>
/// 预留开始时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 预留开始时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string ReserveStartTime{ get; set; }
///<summary>
/// 预留结束时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 预留结束时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string ReserveEndTime{ get; set; }
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/Service/Jdccs/Model/DescribeDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class DescribeDevice
///</summary>
public string AssetStatus{ get; set; }
///<summary>
/// 开通时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 开通时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string DeviceOpenTime{ get; set; }
}
Expand Down
61 changes: 61 additions & 0 deletions sdk/src/Service/Jdccs/Model/DescribeSwitchboard.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.
*
*
*
*
*
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Jdccs.Model
{

/// <summary>
/// 交换机信息(包含流量及报警状态)
/// </summary>
public class DescribeSwitchboard
{

///<summary>
/// IP
///</summary>
public string Ip{ get; set; }
///<summary>
/// 端口
///</summary>
public string Port{ get; set; }
///<summary>
/// 上行实时流量
///</summary>
public double? TrafficIn{ get; set; }
///<summary>
/// 下行实时流量
///</summary>
public double? TrafficOut{ get; set; }
///<summary>
/// 报警状态 normal:正常 alarm:报警
///</summary>
public string AlarmStatus{ get; set; }
}
}
2 changes: 1 addition & 1 deletion sdk/src/Service/Jdccs/Model/Device.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public class Device
///</summary>
public string AssetStatus{ get; set; }
///<summary>
/// 开通时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 开通时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string DeviceOpenTime{ get; set; }
///<summary>
Expand Down
4 changes: 2 additions & 2 deletions sdk/src/Service/Jdccs/Model/Ip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ public class Ip
///<summary>
/// 网关地址
///</summary>
public int? GatewayAddr{ get; set; }
public string GatewayAddr{ get; set; }
///<summary>
/// 广播地址
///</summary>
public int? BroadcastAddr{ get; set; }
public string BroadcastAddr{ get; set; }
///<summary>
/// 状态 normal:正常 abnormal:异常
///</summary>
Expand Down
49 changes: 49 additions & 0 deletions sdk/src/Service/Jdccs/Model/RelatedIp.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*
* 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.
*
*
*
*
*
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Jdccs.Model
{

/// <summary>
/// 关联的公网IP
/// </summary>
public class RelatedIp
{

///<summary>
/// IP地址段
///</summary>
public string CidrAddr{ get; set; }
///<summary>
/// 线路类型 bgp:BGP telecom:电信单线 unicom:联通单线 mobile:移动单线
///</summary>
public string LineType{ get; set; }
}
}
49 changes: 49 additions & 0 deletions sdk/src/Service/Jdccs/Model/Switchboard.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*
* 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.
*
*
*
*
*
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Jdccs.Model
{

/// <summary>
/// 交换机信息
/// </summary>
public class Switchboard
{

///<summary>
/// IP
///</summary>
public string Ip{ get; set; }
///<summary>
/// 端口
///</summary>
public string Port{ get; set; }
}
}
4 changes: 2 additions & 2 deletions sdk/src/Service/Jdccs/Model/Ticket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ public class Ticket
///</summary>
public string Description{ get; set; }
///<summary>
/// 创建时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 创建时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string CreatedTime{ get; set; }
///<summary>
/// 关闭时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ
/// 关闭时间,遵循ISO8601标准,使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ
///</summary>
public string ClosedTime{ get; set; }
///<summary>
Expand Down
Loading

0 comments on commit b1bcf76

Please sign in to comment.