Browse Source

Edit GetTrace.

sdk-team 5 years ago
parent
commit
5e0a06b53b

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-06-09 Version: 1.36.774
+- Edit GetTrace.
+
 2021-06-08 Version: 1.36.773
 - Support Aliyun Workorder OpenAPI.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.773
+1.36.774

+ 8 - 0
arms/CMakeLists.txt

@@ -89,8 +89,12 @@ set(arms_public_header_model
 	include/alibabacloud/arms/model/GetAgentDownloadUrlResult.h
 	include/alibabacloud/arms/model/GetAppApiByPageRequest.h
 	include/alibabacloud/arms/model/GetAppApiByPageResult.h
+	include/alibabacloud/arms/model/GetArmsConsoleUrlRequest.h
+	include/alibabacloud/arms/model/GetArmsConsoleUrlResult.h
 	include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
 	include/alibabacloud/arms/model/GetConsistencySnapshotResult.h
+	include/alibabacloud/arms/model/GetExploreUrlRequest.h
+	include/alibabacloud/arms/model/GetExploreUrlResult.h
 	include/alibabacloud/arms/model/GetIntegrationTokenRequest.h
 	include/alibabacloud/arms/model/GetIntegrationTokenResult.h
 	include/alibabacloud/arms/model/GetMultipleTraceRequest.h
@@ -268,8 +272,12 @@ set(arms_src
 	src/model/GetAgentDownloadUrlResult.cc
 	src/model/GetAppApiByPageRequest.cc
 	src/model/GetAppApiByPageResult.cc
+	src/model/GetArmsConsoleUrlRequest.cc
+	src/model/GetArmsConsoleUrlResult.cc
 	src/model/GetConsistencySnapshotRequest.cc
 	src/model/GetConsistencySnapshotResult.cc
+	src/model/GetExploreUrlRequest.cc
+	src/model/GetExploreUrlResult.cc
 	src/model/GetIntegrationTokenRequest.cc
 	src/model/GetIntegrationTokenResult.cc
 	src/model/GetMultipleTraceRequest.cc

+ 16 - 0
arms/include/alibabacloud/arms/ARMSClient.h

@@ -90,8 +90,12 @@
 #include "model/GetAgentDownloadUrlResult.h"
 #include "model/GetAppApiByPageRequest.h"
 #include "model/GetAppApiByPageResult.h"
+#include "model/GetArmsConsoleUrlRequest.h"
+#include "model/GetArmsConsoleUrlResult.h"
 #include "model/GetConsistencySnapshotRequest.h"
 #include "model/GetConsistencySnapshotResult.h"
+#include "model/GetExploreUrlRequest.h"
+#include "model/GetExploreUrlResult.h"
 #include "model/GetIntegrationTokenRequest.h"
 #include "model/GetIntegrationTokenResult.h"
 #include "model/GetMultipleTraceRequest.h"
@@ -309,9 +313,15 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::GetAppApiByPageResult> GetAppApiByPageOutcome;
 			typedef std::future<GetAppApiByPageOutcome> GetAppApiByPageOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::GetAppApiByPageRequest&, const GetAppApiByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppApiByPageAsyncHandler;
+			typedef Outcome<Error, Model::GetArmsConsoleUrlResult> GetArmsConsoleUrlOutcome;
+			typedef std::future<GetArmsConsoleUrlOutcome> GetArmsConsoleUrlOutcomeCallable;
+			typedef std::function<void(const ARMSClient*, const Model::GetArmsConsoleUrlRequest&, const GetArmsConsoleUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetArmsConsoleUrlAsyncHandler;
 			typedef Outcome<Error, Model::GetConsistencySnapshotResult> GetConsistencySnapshotOutcome;
 			typedef std::future<GetConsistencySnapshotOutcome> GetConsistencySnapshotOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::GetConsistencySnapshotRequest&, const GetConsistencySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsistencySnapshotAsyncHandler;
+			typedef Outcome<Error, Model::GetExploreUrlResult> GetExploreUrlOutcome;
+			typedef std::future<GetExploreUrlOutcome> GetExploreUrlOutcomeCallable;
+			typedef std::function<void(const ARMSClient*, const Model::GetExploreUrlRequest&, const GetExploreUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetExploreUrlAsyncHandler;
 			typedef Outcome<Error, Model::GetIntegrationTokenResult> GetIntegrationTokenOutcome;
 			typedef std::future<GetIntegrationTokenOutcome> GetIntegrationTokenOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::GetIntegrationTokenRequest&, const GetIntegrationTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetIntegrationTokenAsyncHandler;
@@ -578,9 +588,15 @@ namespace AlibabaCloud
 			GetAppApiByPageOutcome getAppApiByPage(const Model::GetAppApiByPageRequest &request)const;
 			void getAppApiByPageAsync(const Model::GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetAppApiByPageOutcomeCallable getAppApiByPageCallable(const Model::GetAppApiByPageRequest& request) const;
+			GetArmsConsoleUrlOutcome getArmsConsoleUrl(const Model::GetArmsConsoleUrlRequest &request)const;
+			void getArmsConsoleUrlAsync(const Model::GetArmsConsoleUrlRequest& request, const GetArmsConsoleUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			GetArmsConsoleUrlOutcomeCallable getArmsConsoleUrlCallable(const Model::GetArmsConsoleUrlRequest& request) const;
 			GetConsistencySnapshotOutcome getConsistencySnapshot(const Model::GetConsistencySnapshotRequest &request)const;
 			void getConsistencySnapshotAsync(const Model::GetConsistencySnapshotRequest& request, const GetConsistencySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetConsistencySnapshotOutcomeCallable getConsistencySnapshotCallable(const Model::GetConsistencySnapshotRequest& request) const;
+			GetExploreUrlOutcome getExploreUrl(const Model::GetExploreUrlRequest &request)const;
+			void getExploreUrlAsync(const Model::GetExploreUrlRequest& request, const GetExploreUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			GetExploreUrlOutcomeCallable getExploreUrlCallable(const Model::GetExploreUrlRequest& request) const;
 			GetIntegrationTokenOutcome getIntegrationToken(const Model::GetIntegrationTokenRequest &request)const;
 			void getIntegrationTokenAsync(const Model::GetIntegrationTokenRequest& request, const GetIntegrationTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetIntegrationTokenOutcomeCallable getIntegrationTokenCallable(const Model::GetIntegrationTokenRequest& request) const;

+ 48 - 0
arms/include/alibabacloud/arms/model/GetArmsConsoleUrlRequest.h

@@ -0,0 +1,48 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud 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.
+ */
+
+#ifndef ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLREQUEST_H_
+#define ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT GetArmsConsoleUrlRequest : public RpcServiceRequest
+			{
+
+			public:
+				GetArmsConsoleUrlRequest();
+				~GetArmsConsoleUrlRequest();
+
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
+
+            private:
+				std::string regionId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLREQUEST_H_

+ 51 - 0
arms/include/alibabacloud/arms/model/GetArmsConsoleUrlResult.h

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud 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.
+ */
+
+#ifndef ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLRESULT_H_
+#define ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT GetArmsConsoleUrlResult : public ServiceResult
+			{
+			public:
+
+
+				GetArmsConsoleUrlResult();
+				explicit GetArmsConsoleUrlResult(const std::string &payload);
+				~GetArmsConsoleUrlResult();
+				std::string getArmsConsoleUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string armsConsoleUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_GETARMSCONSOLEURLRESULT_H_

+ 57 - 0
arms/include/alibabacloud/arms/model/GetExploreUrlRequest.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud 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.
+ */
+
+#ifndef ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLREQUEST_H_
+#define ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT GetExploreUrlRequest : public RpcServiceRequest
+			{
+
+			public:
+				GetExploreUrlRequest();
+				~GetExploreUrlRequest();
+
+				std::string getExpression()const;
+				void setExpression(const std::string& expression);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
+				std::string getClusterId()const;
+				void setClusterId(const std::string& clusterId);
+				std::string getType()const;
+				void setType(const std::string& type);
+
+            private:
+				std::string expression_;
+				std::string regionId_;
+				std::string clusterId_;
+				std::string type_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLREQUEST_H_

+ 51 - 0
arms/include/alibabacloud/arms/model/GetExploreUrlResult.h

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud 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.
+ */
+
+#ifndef ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLRESULT_H_
+#define ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT GetExploreUrlResult : public ServiceResult
+			{
+			public:
+
+
+				GetExploreUrlResult();
+				explicit GetExploreUrlResult(const std::string &payload);
+				~GetExploreUrlResult();
+				std::string getData()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string data_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_GETEXPLOREURLRESULT_H_

+ 6 - 0
arms/include/alibabacloud/arms/model/GetTraceRequest.h

@@ -39,10 +39,16 @@ namespace AlibabaCloud
 				void setTraceID(const std::string& traceID);
 				std::string getRegionId()const;
 				void setRegionId(const std::string& regionId);
+				long getEndTime()const;
+				void setEndTime(long endTime);
+				long getStartTime()const;
+				void setStartTime(long startTime);
 
             private:
 				std::string traceID_;
 				std::string regionId_;
+				long endTime_;
+				long startTime_;
 
 			};
 		}

+ 2 - 0
arms/include/alibabacloud/arms/model/ListDashboardsResult.h

@@ -38,6 +38,7 @@ namespace AlibabaCloud
 					std::string time;
 					std::string exporter;
 					std::string url;
+					std::string httpUrl;
 					std::string name;
 					std::string uid;
 					std::string type;
@@ -46,6 +47,7 @@ namespace AlibabaCloud
 					std::string kind;
 					std::string id;
 					std::string dashboardType;
+					std::string httpsUrl;
 					std::vector<std::string> tags;
 					bool isArmsExporter;
 				};

+ 72 - 0
arms/src/ARMSClient.cc

@@ -1275,6 +1275,42 @@ ARMSClient::GetAppApiByPageOutcomeCallable ARMSClient::getAppApiByPageCallable(c
 	return task->get_future();
 }
 
+ARMSClient::GetArmsConsoleUrlOutcome ARMSClient::getArmsConsoleUrl(const GetArmsConsoleUrlRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return GetArmsConsoleUrlOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return GetArmsConsoleUrlOutcome(GetArmsConsoleUrlResult(outcome.result()));
+	else
+		return GetArmsConsoleUrlOutcome(outcome.error());
+}
+
+void ARMSClient::getArmsConsoleUrlAsync(const GetArmsConsoleUrlRequest& request, const GetArmsConsoleUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, getArmsConsoleUrl(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+ARMSClient::GetArmsConsoleUrlOutcomeCallable ARMSClient::getArmsConsoleUrlCallable(const GetArmsConsoleUrlRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<GetArmsConsoleUrlOutcome()>>(
+			[this, request]()
+			{
+			return this->getArmsConsoleUrl(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 ARMSClient::GetConsistencySnapshotOutcome ARMSClient::getConsistencySnapshot(const GetConsistencySnapshotRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1311,6 +1347,42 @@ ARMSClient::GetConsistencySnapshotOutcomeCallable ARMSClient::getConsistencySnap
 	return task->get_future();
 }
 
+ARMSClient::GetExploreUrlOutcome ARMSClient::getExploreUrl(const GetExploreUrlRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return GetExploreUrlOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return GetExploreUrlOutcome(GetExploreUrlResult(outcome.result()));
+	else
+		return GetExploreUrlOutcome(outcome.error());
+}
+
+void ARMSClient::getExploreUrlAsync(const GetExploreUrlRequest& request, const GetExploreUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, getExploreUrl(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+ARMSClient::GetExploreUrlOutcomeCallable ARMSClient::getExploreUrlCallable(const GetExploreUrlRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<GetExploreUrlOutcome()>>(
+			[this, request]()
+			{
+			return this->getExploreUrl(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 ARMSClient::GetIntegrationTokenOutcome ARMSClient::getIntegrationToken(const GetIntegrationTokenRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 40 - 0
arms/src/model/GetArmsConsoleUrlRequest.cc

@@ -0,0 +1,40 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud 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.
+ */
+
+#include <alibabacloud/arms/model/GetArmsConsoleUrlRequest.h>
+
+using AlibabaCloud::ARMS::Model::GetArmsConsoleUrlRequest;
+
+GetArmsConsoleUrlRequest::GetArmsConsoleUrlRequest() :
+	RpcServiceRequest("arms", "2019-08-08", "GetArmsConsoleUrl")
+{
+	setMethod(HttpRequest::Method::Get);
+}
+
+GetArmsConsoleUrlRequest::~GetArmsConsoleUrlRequest()
+{}
+
+std::string GetArmsConsoleUrlRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void GetArmsConsoleUrlRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+

+ 51 - 0
arms/src/model/GetArmsConsoleUrlResult.cc

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud 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.
+ */
+
+#include <alibabacloud/arms/model/GetArmsConsoleUrlResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::ARMS;
+using namespace AlibabaCloud::ARMS::Model;
+
+GetArmsConsoleUrlResult::GetArmsConsoleUrlResult() :
+	ServiceResult()
+{}
+
+GetArmsConsoleUrlResult::GetArmsConsoleUrlResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetArmsConsoleUrlResult::~GetArmsConsoleUrlResult()
+{}
+
+void GetArmsConsoleUrlResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["ArmsConsoleUrl"].isNull())
+		armsConsoleUrl_ = value["ArmsConsoleUrl"].asString();
+
+}
+
+std::string GetArmsConsoleUrlResult::getArmsConsoleUrl()const
+{
+	return armsConsoleUrl_;
+}
+

+ 73 - 0
arms/src/model/GetExploreUrlRequest.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud 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.
+ */
+
+#include <alibabacloud/arms/model/GetExploreUrlRequest.h>
+
+using AlibabaCloud::ARMS::Model::GetExploreUrlRequest;
+
+GetExploreUrlRequest::GetExploreUrlRequest() :
+	RpcServiceRequest("arms", "2019-08-08", "GetExploreUrl")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+GetExploreUrlRequest::~GetExploreUrlRequest()
+{}
+
+std::string GetExploreUrlRequest::getExpression()const
+{
+	return expression_;
+}
+
+void GetExploreUrlRequest::setExpression(const std::string& expression)
+{
+	expression_ = expression;
+	setParameter("Expression", expression);
+}
+
+std::string GetExploreUrlRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void GetExploreUrlRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
+std::string GetExploreUrlRequest::getClusterId()const
+{
+	return clusterId_;
+}
+
+void GetExploreUrlRequest::setClusterId(const std::string& clusterId)
+{
+	clusterId_ = clusterId;
+	setParameter("ClusterId", clusterId);
+}
+
+std::string GetExploreUrlRequest::getType()const
+{
+	return type_;
+}
+
+void GetExploreUrlRequest::setType(const std::string& type)
+{
+	type_ = type;
+	setParameter("Type", type);
+}
+

+ 51 - 0
arms/src/model/GetExploreUrlResult.cc

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud 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.
+ */
+
+#include <alibabacloud/arms/model/GetExploreUrlResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::ARMS;
+using namespace AlibabaCloud::ARMS::Model;
+
+GetExploreUrlResult::GetExploreUrlResult() :
+	ServiceResult()
+{}
+
+GetExploreUrlResult::GetExploreUrlResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetExploreUrlResult::~GetExploreUrlResult()
+{}
+
+void GetExploreUrlResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Data"].isNull())
+		data_ = value["Data"].asString();
+
+}
+
+std::string GetExploreUrlResult::getData()const
+{
+	return data_;
+}
+

+ 22 - 0
arms/src/model/GetTraceRequest.cc

@@ -49,3 +49,25 @@ void GetTraceRequest::setRegionId(const std::string& regionId)
 	setParameter("RegionId", regionId);
 }
 
+long GetTraceRequest::getEndTime()const
+{
+	return endTime_;
+}
+
+void GetTraceRequest::setEndTime(long endTime)
+{
+	endTime_ = endTime;
+	setParameter("EndTime", std::to_string(endTime));
+}
+
+long GetTraceRequest::getStartTime()const
+{
+	return startTime_;
+}
+
+void GetTraceRequest::setStartTime(long startTime)
+{
+	startTime_ = startTime;
+	setParameter("StartTime", std::to_string(startTime));
+}
+

+ 4 - 0
arms/src/model/ListDashboardsResult.cc

@@ -69,6 +69,10 @@ void ListDashboardsResult::parse(const std::string &payload)
 			dashboardVosObject.kind = valueDashboardVosDashboardVosItem["Kind"].asString();
 		if(!valueDashboardVosDashboardVosItem["NeedUpdate"].isNull())
 			dashboardVosObject.needUpdate = valueDashboardVosDashboardVosItem["NeedUpdate"].asString() == "true";
+		if(!valueDashboardVosDashboardVosItem["HttpUrl"].isNull())
+			dashboardVosObject.httpUrl = valueDashboardVosDashboardVosItem["HttpUrl"].asString();
+		if(!valueDashboardVosDashboardVosItem["HttpsUrl"].isNull())
+			dashboardVosObject.httpsUrl = valueDashboardVosDashboardVosItem["HttpsUrl"].asString();
 		auto allTags = value["Tags"]["Tags"];
 		for (auto value : allTags)
 			dashboardVosObject.tags.push_back(value.asString());