Add OpenArmsServiceSecondVersion.
This commit is contained in:
@@ -40,10 +40,16 @@
|
||||
#include "model/CreateAlertContactResult.h"
|
||||
#include "model/CreateAlertContactGroupRequest.h"
|
||||
#include "model/CreateAlertContactGroupResult.h"
|
||||
#include "model/CreateAlertTemplateRequest.h"
|
||||
#include "model/CreateAlertTemplateResult.h"
|
||||
#include "model/CreateDispatchRuleRequest.h"
|
||||
#include "model/CreateDispatchRuleResult.h"
|
||||
#include "model/CreatePrometheusAlertRuleRequest.h"
|
||||
#include "model/CreatePrometheusAlertRuleResult.h"
|
||||
#include "model/CreateRetcodeAppRequest.h"
|
||||
#include "model/CreateRetcodeAppResult.h"
|
||||
#include "model/CreateWebhookRequest.h"
|
||||
#include "model/CreateWebhookResult.h"
|
||||
#include "model/CreateWehookRequest.h"
|
||||
#include "model/CreateWehookResult.h"
|
||||
#include "model/DeleteAlertContactRequest.h"
|
||||
@@ -52,8 +58,14 @@
|
||||
#include "model/DeleteAlertContactGroupResult.h"
|
||||
#include "model/DeleteAlertRulesRequest.h"
|
||||
#include "model/DeleteAlertRulesResult.h"
|
||||
#include "model/DeleteAlertTemplateRequest.h"
|
||||
#include "model/DeleteAlertTemplateResult.h"
|
||||
#include "model/DeleteDispatchRuleRequest.h"
|
||||
#include "model/DeleteDispatchRuleResult.h"
|
||||
#include "model/DeleteGrafanaResourceRequest.h"
|
||||
#include "model/DeleteGrafanaResourceResult.h"
|
||||
#include "model/DeletePrometheusAlertRuleRequest.h"
|
||||
#include "model/DeletePrometheusAlertRuleResult.h"
|
||||
#include "model/DeleteRetcodeAppRequest.h"
|
||||
#include "model/DeleteRetcodeAppResult.h"
|
||||
#include "model/DeleteScenarioRequest.h"
|
||||
@@ -62,10 +74,16 @@
|
||||
#include "model/DeleteTraceAppResult.h"
|
||||
#include "model/DescribeDispatchRuleRequest.h"
|
||||
#include "model/DescribeDispatchRuleResult.h"
|
||||
#include "model/DescribePrometheusAlertRuleRequest.h"
|
||||
#include "model/DescribePrometheusAlertRuleResult.h"
|
||||
#include "model/DescribeTraceLicenseKeyRequest.h"
|
||||
#include "model/DescribeTraceLicenseKeyResult.h"
|
||||
#include "model/DescribeTraceLocationRequest.h"
|
||||
#include "model/DescribeTraceLocationResult.h"
|
||||
#include "model/DisableAlertTemplateRequest.h"
|
||||
#include "model/DisableAlertTemplateResult.h"
|
||||
#include "model/EnableAlertTemplateRequest.h"
|
||||
#include "model/EnableAlertTemplateResult.h"
|
||||
#include "model/ExportPrometheusRulesRequest.h"
|
||||
#include "model/ExportPrometheusRulesResult.h"
|
||||
#include "model/GetAgentDownloadUrlRequest.h"
|
||||
@@ -94,6 +112,10 @@
|
||||
#include "model/ImportCustomAlertRulesResult.h"
|
||||
#include "model/ImportPrometheusRulesRequest.h"
|
||||
#include "model/ImportPrometheusRulesResult.h"
|
||||
#include "model/ListActivatedAlertsRequest.h"
|
||||
#include "model/ListActivatedAlertsResult.h"
|
||||
#include "model/ListAlertTemplatesRequest.h"
|
||||
#include "model/ListAlertTemplatesResult.h"
|
||||
#include "model/ListClusterFromGrafanaRequest.h"
|
||||
#include "model/ListClusterFromGrafanaResult.h"
|
||||
#include "model/ListDashboardsRequest.h"
|
||||
@@ -102,6 +124,10 @@
|
||||
#include "model/ListDispatchRuleResult.h"
|
||||
#include "model/ListPromClustersRequest.h"
|
||||
#include "model/ListPromClustersResult.h"
|
||||
#include "model/ListPrometheusAlertRulesRequest.h"
|
||||
#include "model/ListPrometheusAlertRulesResult.h"
|
||||
#include "model/ListPrometheusAlertTemplatesRequest.h"
|
||||
#include "model/ListPrometheusAlertTemplatesResult.h"
|
||||
#include "model/ListRetcodeAppsRequest.h"
|
||||
#include "model/ListRetcodeAppsResult.h"
|
||||
#include "model/ListScenarioRequest.h"
|
||||
@@ -110,10 +136,16 @@
|
||||
#include "model/ListServerlessTopNAppsResult.h"
|
||||
#include "model/ListTraceAppsRequest.h"
|
||||
#include "model/ListTraceAppsResult.h"
|
||||
#include "model/OpenArmsDefaultSLRRequest.h"
|
||||
#include "model/OpenArmsDefaultSLRResult.h"
|
||||
#include "model/OpenArmsServiceRequest.h"
|
||||
#include "model/OpenArmsServiceResult.h"
|
||||
#include "model/OpenArmsServiceSecondVersionRequest.h"
|
||||
#include "model/OpenArmsServiceSecondVersionResult.h"
|
||||
#include "model/OpenVClusterRequest.h"
|
||||
#include "model/OpenVClusterResult.h"
|
||||
#include "model/OpenXtraceDefaultSLRRequest.h"
|
||||
#include "model/OpenXtraceDefaultSLRResult.h"
|
||||
#include "model/QueryDatasetRequest.h"
|
||||
#include "model/QueryDatasetResult.h"
|
||||
#include "model/QueryMetricRequest.h"
|
||||
@@ -158,8 +190,12 @@
|
||||
#include "model/UpdateAlertContactGroupResult.h"
|
||||
#include "model/UpdateAlertRuleRequest.h"
|
||||
#include "model/UpdateAlertRuleResult.h"
|
||||
#include "model/UpdateAlertTemplateRequest.h"
|
||||
#include "model/UpdateAlertTemplateResult.h"
|
||||
#include "model/UpdateDispatchRuleRequest.h"
|
||||
#include "model/UpdateDispatchRuleResult.h"
|
||||
#include "model/UpdatePrometheusAlertRuleRequest.h"
|
||||
#include "model/UpdatePrometheusAlertRuleResult.h"
|
||||
#include "model/UpdateWebhookRequest.h"
|
||||
#include "model/UpdateWebhookResult.h"
|
||||
|
||||
@@ -198,12 +234,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateAlertContactGroupResult> CreateAlertContactGroupOutcome;
|
||||
typedef std::future<CreateAlertContactGroupOutcome> CreateAlertContactGroupOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreateAlertContactGroupRequest&, const CreateAlertContactGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAlertContactGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAlertTemplateResult> CreateAlertTemplateOutcome;
|
||||
typedef std::future<CreateAlertTemplateOutcome> CreateAlertTemplateOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreateAlertTemplateRequest&, const CreateAlertTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAlertTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDispatchRuleResult> CreateDispatchRuleOutcome;
|
||||
typedef std::future<CreateDispatchRuleOutcome> CreateDispatchRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreateDispatchRuleRequest&, const CreateDispatchRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDispatchRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePrometheusAlertRuleResult> CreatePrometheusAlertRuleOutcome;
|
||||
typedef std::future<CreatePrometheusAlertRuleOutcome> CreatePrometheusAlertRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreatePrometheusAlertRuleRequest&, const CreatePrometheusAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePrometheusAlertRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateRetcodeAppResult> CreateRetcodeAppOutcome;
|
||||
typedef std::future<CreateRetcodeAppOutcome> CreateRetcodeAppOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreateRetcodeAppRequest&, const CreateRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRetcodeAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateWebhookResult> CreateWebhookOutcome;
|
||||
typedef std::future<CreateWebhookOutcome> CreateWebhookOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreateWebhookRequest&, const CreateWebhookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWebhookAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateWehookResult> CreateWehookOutcome;
|
||||
typedef std::future<CreateWehookOutcome> CreateWehookOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreateWehookRequest&, const CreateWehookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWehookAsyncHandler;
|
||||
@@ -216,9 +261,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteAlertRulesResult> DeleteAlertRulesOutcome;
|
||||
typedef std::future<DeleteAlertRulesOutcome> DeleteAlertRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeleteAlertRulesRequest&, const DeleteAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlertRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAlertTemplateResult> DeleteAlertTemplateOutcome;
|
||||
typedef std::future<DeleteAlertTemplateOutcome> DeleteAlertTemplateOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeleteAlertTemplateRequest&, const DeleteAlertTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlertTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDispatchRuleResult> DeleteDispatchRuleOutcome;
|
||||
typedef std::future<DeleteDispatchRuleOutcome> DeleteDispatchRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeleteDispatchRuleRequest&, const DeleteDispatchRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDispatchRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteGrafanaResourceResult> DeleteGrafanaResourceOutcome;
|
||||
typedef std::future<DeleteGrafanaResourceOutcome> DeleteGrafanaResourceOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeleteGrafanaResourceRequest&, const DeleteGrafanaResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteGrafanaResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePrometheusAlertRuleResult> DeletePrometheusAlertRuleOutcome;
|
||||
typedef std::future<DeletePrometheusAlertRuleOutcome> DeletePrometheusAlertRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeletePrometheusAlertRuleRequest&, const DeletePrometheusAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePrometheusAlertRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRetcodeAppResult> DeleteRetcodeAppOutcome;
|
||||
typedef std::future<DeleteRetcodeAppOutcome> DeleteRetcodeAppOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeleteRetcodeAppRequest&, const DeleteRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRetcodeAppAsyncHandler;
|
||||
@@ -231,12 +285,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDispatchRuleResult> DescribeDispatchRuleOutcome;
|
||||
typedef std::future<DescribeDispatchRuleOutcome> DescribeDispatchRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DescribeDispatchRuleRequest&, const DescribeDispatchRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDispatchRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePrometheusAlertRuleResult> DescribePrometheusAlertRuleOutcome;
|
||||
typedef std::future<DescribePrometheusAlertRuleOutcome> DescribePrometheusAlertRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DescribePrometheusAlertRuleRequest&, const DescribePrometheusAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePrometheusAlertRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTraceLicenseKeyResult> DescribeTraceLicenseKeyOutcome;
|
||||
typedef std::future<DescribeTraceLicenseKeyOutcome> DescribeTraceLicenseKeyOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DescribeTraceLicenseKeyRequest&, const DescribeTraceLicenseKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTraceLicenseKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTraceLocationResult> DescribeTraceLocationOutcome;
|
||||
typedef std::future<DescribeTraceLocationOutcome> DescribeTraceLocationOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DescribeTraceLocationRequest&, const DescribeTraceLocationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTraceLocationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableAlertTemplateResult> DisableAlertTemplateOutcome;
|
||||
typedef std::future<DisableAlertTemplateOutcome> DisableAlertTemplateOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DisableAlertTemplateRequest&, const DisableAlertTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableAlertTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableAlertTemplateResult> EnableAlertTemplateOutcome;
|
||||
typedef std::future<EnableAlertTemplateOutcome> EnableAlertTemplateOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::EnableAlertTemplateRequest&, const EnableAlertTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableAlertTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExportPrometheusRulesResult> ExportPrometheusRulesOutcome;
|
||||
typedef std::future<ExportPrometheusRulesOutcome> ExportPrometheusRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ExportPrometheusRulesRequest&, const ExportPrometheusRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportPrometheusRulesAsyncHandler;
|
||||
@@ -279,6 +342,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ImportPrometheusRulesResult> ImportPrometheusRulesOutcome;
|
||||
typedef std::future<ImportPrometheusRulesOutcome> ImportPrometheusRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ImportPrometheusRulesRequest&, const ImportPrometheusRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportPrometheusRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListActivatedAlertsResult> ListActivatedAlertsOutcome;
|
||||
typedef std::future<ListActivatedAlertsOutcome> ListActivatedAlertsOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListActivatedAlertsRequest&, const ListActivatedAlertsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListActivatedAlertsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAlertTemplatesResult> ListAlertTemplatesOutcome;
|
||||
typedef std::future<ListAlertTemplatesOutcome> ListAlertTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListAlertTemplatesRequest&, const ListAlertTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlertTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListClusterFromGrafanaResult> ListClusterFromGrafanaOutcome;
|
||||
typedef std::future<ListClusterFromGrafanaOutcome> ListClusterFromGrafanaOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListClusterFromGrafanaRequest&, const ListClusterFromGrafanaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListClusterFromGrafanaAsyncHandler;
|
||||
@@ -291,6 +360,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListPromClustersResult> ListPromClustersOutcome;
|
||||
typedef std::future<ListPromClustersOutcome> ListPromClustersOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListPromClustersRequest&, const ListPromClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPromClustersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrometheusAlertRulesResult> ListPrometheusAlertRulesOutcome;
|
||||
typedef std::future<ListPrometheusAlertRulesOutcome> ListPrometheusAlertRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListPrometheusAlertRulesRequest&, const ListPrometheusAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrometheusAlertRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrometheusAlertTemplatesResult> ListPrometheusAlertTemplatesOutcome;
|
||||
typedef std::future<ListPrometheusAlertTemplatesOutcome> ListPrometheusAlertTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListPrometheusAlertTemplatesRequest&, const ListPrometheusAlertTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrometheusAlertTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRetcodeAppsResult> ListRetcodeAppsOutcome;
|
||||
typedef std::future<ListRetcodeAppsOutcome> ListRetcodeAppsOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListRetcodeAppsRequest&, const ListRetcodeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRetcodeAppsAsyncHandler;
|
||||
@@ -303,12 +378,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListTraceAppsResult> ListTraceAppsOutcome;
|
||||
typedef std::future<ListTraceAppsOutcome> ListTraceAppsOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListTraceAppsRequest&, const ListTraceAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTraceAppsAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenArmsDefaultSLRResult> OpenArmsDefaultSLROutcome;
|
||||
typedef std::future<OpenArmsDefaultSLROutcome> OpenArmsDefaultSLROutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::OpenArmsDefaultSLRRequest&, const OpenArmsDefaultSLROutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenArmsDefaultSLRAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenArmsServiceResult> OpenArmsServiceOutcome;
|
||||
typedef std::future<OpenArmsServiceOutcome> OpenArmsServiceOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::OpenArmsServiceRequest&, const OpenArmsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenArmsServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenArmsServiceSecondVersionResult> OpenArmsServiceSecondVersionOutcome;
|
||||
typedef std::future<OpenArmsServiceSecondVersionOutcome> OpenArmsServiceSecondVersionOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::OpenArmsServiceSecondVersionRequest&, const OpenArmsServiceSecondVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenArmsServiceSecondVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenVClusterResult> OpenVClusterOutcome;
|
||||
typedef std::future<OpenVClusterOutcome> OpenVClusterOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::OpenVClusterRequest&, const OpenVClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenVClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenXtraceDefaultSLRResult> OpenXtraceDefaultSLROutcome;
|
||||
typedef std::future<OpenXtraceDefaultSLROutcome> OpenXtraceDefaultSLROutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::OpenXtraceDefaultSLRRequest&, const OpenXtraceDefaultSLROutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenXtraceDefaultSLRAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDatasetResult> QueryDatasetOutcome;
|
||||
typedef std::future<QueryDatasetOutcome> QueryDatasetOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::QueryDatasetRequest&, const QueryDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDatasetAsyncHandler;
|
||||
@@ -375,9 +459,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateAlertRuleResult> UpdateAlertRuleOutcome;
|
||||
typedef std::future<UpdateAlertRuleOutcome> UpdateAlertRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::UpdateAlertRuleRequest&, const UpdateAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlertRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAlertTemplateResult> UpdateAlertTemplateOutcome;
|
||||
typedef std::future<UpdateAlertTemplateOutcome> UpdateAlertTemplateOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::UpdateAlertTemplateRequest&, const UpdateAlertTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlertTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDispatchRuleResult> UpdateDispatchRuleOutcome;
|
||||
typedef std::future<UpdateDispatchRuleOutcome> UpdateDispatchRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::UpdateDispatchRuleRequest&, const UpdateDispatchRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDispatchRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdatePrometheusAlertRuleResult> UpdatePrometheusAlertRuleOutcome;
|
||||
typedef std::future<UpdatePrometheusAlertRuleOutcome> UpdatePrometheusAlertRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::UpdatePrometheusAlertRuleRequest&, const UpdatePrometheusAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePrometheusAlertRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateWebhookResult> UpdateWebhookOutcome;
|
||||
typedef std::future<UpdateWebhookOutcome> UpdateWebhookOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::UpdateWebhookRequest&, const UpdateWebhookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateWebhookAsyncHandler;
|
||||
@@ -413,12 +503,21 @@ namespace AlibabaCloud
|
||||
CreateAlertContactGroupOutcome createAlertContactGroup(const Model::CreateAlertContactGroupRequest &request)const;
|
||||
void createAlertContactGroupAsync(const Model::CreateAlertContactGroupRequest& request, const CreateAlertContactGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAlertContactGroupOutcomeCallable createAlertContactGroupCallable(const Model::CreateAlertContactGroupRequest& request) const;
|
||||
CreateAlertTemplateOutcome createAlertTemplate(const Model::CreateAlertTemplateRequest &request)const;
|
||||
void createAlertTemplateAsync(const Model::CreateAlertTemplateRequest& request, const CreateAlertTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAlertTemplateOutcomeCallable createAlertTemplateCallable(const Model::CreateAlertTemplateRequest& request) const;
|
||||
CreateDispatchRuleOutcome createDispatchRule(const Model::CreateDispatchRuleRequest &request)const;
|
||||
void createDispatchRuleAsync(const Model::CreateDispatchRuleRequest& request, const CreateDispatchRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDispatchRuleOutcomeCallable createDispatchRuleCallable(const Model::CreateDispatchRuleRequest& request) const;
|
||||
CreatePrometheusAlertRuleOutcome createPrometheusAlertRule(const Model::CreatePrometheusAlertRuleRequest &request)const;
|
||||
void createPrometheusAlertRuleAsync(const Model::CreatePrometheusAlertRuleRequest& request, const CreatePrometheusAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePrometheusAlertRuleOutcomeCallable createPrometheusAlertRuleCallable(const Model::CreatePrometheusAlertRuleRequest& request) const;
|
||||
CreateRetcodeAppOutcome createRetcodeApp(const Model::CreateRetcodeAppRequest &request)const;
|
||||
void createRetcodeAppAsync(const Model::CreateRetcodeAppRequest& request, const CreateRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRetcodeAppOutcomeCallable createRetcodeAppCallable(const Model::CreateRetcodeAppRequest& request) const;
|
||||
CreateWebhookOutcome createWebhook(const Model::CreateWebhookRequest &request)const;
|
||||
void createWebhookAsync(const Model::CreateWebhookRequest& request, const CreateWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateWebhookOutcomeCallable createWebhookCallable(const Model::CreateWebhookRequest& request) const;
|
||||
CreateWehookOutcome createWehook(const Model::CreateWehookRequest &request)const;
|
||||
void createWehookAsync(const Model::CreateWehookRequest& request, const CreateWehookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateWehookOutcomeCallable createWehookCallable(const Model::CreateWehookRequest& request) const;
|
||||
@@ -431,9 +530,18 @@ namespace AlibabaCloud
|
||||
DeleteAlertRulesOutcome deleteAlertRules(const Model::DeleteAlertRulesRequest &request)const;
|
||||
void deleteAlertRulesAsync(const Model::DeleteAlertRulesRequest& request, const DeleteAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAlertRulesOutcomeCallable deleteAlertRulesCallable(const Model::DeleteAlertRulesRequest& request) const;
|
||||
DeleteAlertTemplateOutcome deleteAlertTemplate(const Model::DeleteAlertTemplateRequest &request)const;
|
||||
void deleteAlertTemplateAsync(const Model::DeleteAlertTemplateRequest& request, const DeleteAlertTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAlertTemplateOutcomeCallable deleteAlertTemplateCallable(const Model::DeleteAlertTemplateRequest& request) const;
|
||||
DeleteDispatchRuleOutcome deleteDispatchRule(const Model::DeleteDispatchRuleRequest &request)const;
|
||||
void deleteDispatchRuleAsync(const Model::DeleteDispatchRuleRequest& request, const DeleteDispatchRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDispatchRuleOutcomeCallable deleteDispatchRuleCallable(const Model::DeleteDispatchRuleRequest& request) const;
|
||||
DeleteGrafanaResourceOutcome deleteGrafanaResource(const Model::DeleteGrafanaResourceRequest &request)const;
|
||||
void deleteGrafanaResourceAsync(const Model::DeleteGrafanaResourceRequest& request, const DeleteGrafanaResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteGrafanaResourceOutcomeCallable deleteGrafanaResourceCallable(const Model::DeleteGrafanaResourceRequest& request) const;
|
||||
DeletePrometheusAlertRuleOutcome deletePrometheusAlertRule(const Model::DeletePrometheusAlertRuleRequest &request)const;
|
||||
void deletePrometheusAlertRuleAsync(const Model::DeletePrometheusAlertRuleRequest& request, const DeletePrometheusAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePrometheusAlertRuleOutcomeCallable deletePrometheusAlertRuleCallable(const Model::DeletePrometheusAlertRuleRequest& request) const;
|
||||
DeleteRetcodeAppOutcome deleteRetcodeApp(const Model::DeleteRetcodeAppRequest &request)const;
|
||||
void deleteRetcodeAppAsync(const Model::DeleteRetcodeAppRequest& request, const DeleteRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRetcodeAppOutcomeCallable deleteRetcodeAppCallable(const Model::DeleteRetcodeAppRequest& request) const;
|
||||
@@ -446,12 +554,21 @@ namespace AlibabaCloud
|
||||
DescribeDispatchRuleOutcome describeDispatchRule(const Model::DescribeDispatchRuleRequest &request)const;
|
||||
void describeDispatchRuleAsync(const Model::DescribeDispatchRuleRequest& request, const DescribeDispatchRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDispatchRuleOutcomeCallable describeDispatchRuleCallable(const Model::DescribeDispatchRuleRequest& request) const;
|
||||
DescribePrometheusAlertRuleOutcome describePrometheusAlertRule(const Model::DescribePrometheusAlertRuleRequest &request)const;
|
||||
void describePrometheusAlertRuleAsync(const Model::DescribePrometheusAlertRuleRequest& request, const DescribePrometheusAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePrometheusAlertRuleOutcomeCallable describePrometheusAlertRuleCallable(const Model::DescribePrometheusAlertRuleRequest& request) const;
|
||||
DescribeTraceLicenseKeyOutcome describeTraceLicenseKey(const Model::DescribeTraceLicenseKeyRequest &request)const;
|
||||
void describeTraceLicenseKeyAsync(const Model::DescribeTraceLicenseKeyRequest& request, const DescribeTraceLicenseKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTraceLicenseKeyOutcomeCallable describeTraceLicenseKeyCallable(const Model::DescribeTraceLicenseKeyRequest& request) const;
|
||||
DescribeTraceLocationOutcome describeTraceLocation(const Model::DescribeTraceLocationRequest &request)const;
|
||||
void describeTraceLocationAsync(const Model::DescribeTraceLocationRequest& request, const DescribeTraceLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTraceLocationOutcomeCallable describeTraceLocationCallable(const Model::DescribeTraceLocationRequest& request) const;
|
||||
DisableAlertTemplateOutcome disableAlertTemplate(const Model::DisableAlertTemplateRequest &request)const;
|
||||
void disableAlertTemplateAsync(const Model::DisableAlertTemplateRequest& request, const DisableAlertTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableAlertTemplateOutcomeCallable disableAlertTemplateCallable(const Model::DisableAlertTemplateRequest& request) const;
|
||||
EnableAlertTemplateOutcome enableAlertTemplate(const Model::EnableAlertTemplateRequest &request)const;
|
||||
void enableAlertTemplateAsync(const Model::EnableAlertTemplateRequest& request, const EnableAlertTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableAlertTemplateOutcomeCallable enableAlertTemplateCallable(const Model::EnableAlertTemplateRequest& request) const;
|
||||
ExportPrometheusRulesOutcome exportPrometheusRules(const Model::ExportPrometheusRulesRequest &request)const;
|
||||
void exportPrometheusRulesAsync(const Model::ExportPrometheusRulesRequest& request, const ExportPrometheusRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExportPrometheusRulesOutcomeCallable exportPrometheusRulesCallable(const Model::ExportPrometheusRulesRequest& request) const;
|
||||
@@ -494,6 +611,12 @@ namespace AlibabaCloud
|
||||
ImportPrometheusRulesOutcome importPrometheusRules(const Model::ImportPrometheusRulesRequest &request)const;
|
||||
void importPrometheusRulesAsync(const Model::ImportPrometheusRulesRequest& request, const ImportPrometheusRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ImportPrometheusRulesOutcomeCallable importPrometheusRulesCallable(const Model::ImportPrometheusRulesRequest& request) const;
|
||||
ListActivatedAlertsOutcome listActivatedAlerts(const Model::ListActivatedAlertsRequest &request)const;
|
||||
void listActivatedAlertsAsync(const Model::ListActivatedAlertsRequest& request, const ListActivatedAlertsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListActivatedAlertsOutcomeCallable listActivatedAlertsCallable(const Model::ListActivatedAlertsRequest& request) const;
|
||||
ListAlertTemplatesOutcome listAlertTemplates(const Model::ListAlertTemplatesRequest &request)const;
|
||||
void listAlertTemplatesAsync(const Model::ListAlertTemplatesRequest& request, const ListAlertTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAlertTemplatesOutcomeCallable listAlertTemplatesCallable(const Model::ListAlertTemplatesRequest& request) const;
|
||||
ListClusterFromGrafanaOutcome listClusterFromGrafana(const Model::ListClusterFromGrafanaRequest &request)const;
|
||||
void listClusterFromGrafanaAsync(const Model::ListClusterFromGrafanaRequest& request, const ListClusterFromGrafanaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListClusterFromGrafanaOutcomeCallable listClusterFromGrafanaCallable(const Model::ListClusterFromGrafanaRequest& request) const;
|
||||
@@ -506,6 +629,12 @@ namespace AlibabaCloud
|
||||
ListPromClustersOutcome listPromClusters(const Model::ListPromClustersRequest &request)const;
|
||||
void listPromClustersAsync(const Model::ListPromClustersRequest& request, const ListPromClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPromClustersOutcomeCallable listPromClustersCallable(const Model::ListPromClustersRequest& request) const;
|
||||
ListPrometheusAlertRulesOutcome listPrometheusAlertRules(const Model::ListPrometheusAlertRulesRequest &request)const;
|
||||
void listPrometheusAlertRulesAsync(const Model::ListPrometheusAlertRulesRequest& request, const ListPrometheusAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrometheusAlertRulesOutcomeCallable listPrometheusAlertRulesCallable(const Model::ListPrometheusAlertRulesRequest& request) const;
|
||||
ListPrometheusAlertTemplatesOutcome listPrometheusAlertTemplates(const Model::ListPrometheusAlertTemplatesRequest &request)const;
|
||||
void listPrometheusAlertTemplatesAsync(const Model::ListPrometheusAlertTemplatesRequest& request, const ListPrometheusAlertTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrometheusAlertTemplatesOutcomeCallable listPrometheusAlertTemplatesCallable(const Model::ListPrometheusAlertTemplatesRequest& request) const;
|
||||
ListRetcodeAppsOutcome listRetcodeApps(const Model::ListRetcodeAppsRequest &request)const;
|
||||
void listRetcodeAppsAsync(const Model::ListRetcodeAppsRequest& request, const ListRetcodeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRetcodeAppsOutcomeCallable listRetcodeAppsCallable(const Model::ListRetcodeAppsRequest& request) const;
|
||||
@@ -518,12 +647,21 @@ namespace AlibabaCloud
|
||||
ListTraceAppsOutcome listTraceApps(const Model::ListTraceAppsRequest &request)const;
|
||||
void listTraceAppsAsync(const Model::ListTraceAppsRequest& request, const ListTraceAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTraceAppsOutcomeCallable listTraceAppsCallable(const Model::ListTraceAppsRequest& request) const;
|
||||
OpenArmsDefaultSLROutcome openArmsDefaultSLR(const Model::OpenArmsDefaultSLRRequest &request)const;
|
||||
void openArmsDefaultSLRAsync(const Model::OpenArmsDefaultSLRRequest& request, const OpenArmsDefaultSLRAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenArmsDefaultSLROutcomeCallable openArmsDefaultSLRCallable(const Model::OpenArmsDefaultSLRRequest& request) const;
|
||||
OpenArmsServiceOutcome openArmsService(const Model::OpenArmsServiceRequest &request)const;
|
||||
void openArmsServiceAsync(const Model::OpenArmsServiceRequest& request, const OpenArmsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenArmsServiceOutcomeCallable openArmsServiceCallable(const Model::OpenArmsServiceRequest& request) const;
|
||||
OpenArmsServiceSecondVersionOutcome openArmsServiceSecondVersion(const Model::OpenArmsServiceSecondVersionRequest &request)const;
|
||||
void openArmsServiceSecondVersionAsync(const Model::OpenArmsServiceSecondVersionRequest& request, const OpenArmsServiceSecondVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenArmsServiceSecondVersionOutcomeCallable openArmsServiceSecondVersionCallable(const Model::OpenArmsServiceSecondVersionRequest& request) const;
|
||||
OpenVClusterOutcome openVCluster(const Model::OpenVClusterRequest &request)const;
|
||||
void openVClusterAsync(const Model::OpenVClusterRequest& request, const OpenVClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenVClusterOutcomeCallable openVClusterCallable(const Model::OpenVClusterRequest& request) const;
|
||||
OpenXtraceDefaultSLROutcome openXtraceDefaultSLR(const Model::OpenXtraceDefaultSLRRequest &request)const;
|
||||
void openXtraceDefaultSLRAsync(const Model::OpenXtraceDefaultSLRRequest& request, const OpenXtraceDefaultSLRAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenXtraceDefaultSLROutcomeCallable openXtraceDefaultSLRCallable(const Model::OpenXtraceDefaultSLRRequest& request) const;
|
||||
QueryDatasetOutcome queryDataset(const Model::QueryDatasetRequest &request)const;
|
||||
void queryDatasetAsync(const Model::QueryDatasetRequest& request, const QueryDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDatasetOutcomeCallable queryDatasetCallable(const Model::QueryDatasetRequest& request) const;
|
||||
@@ -590,9 +728,15 @@ namespace AlibabaCloud
|
||||
UpdateAlertRuleOutcome updateAlertRule(const Model::UpdateAlertRuleRequest &request)const;
|
||||
void updateAlertRuleAsync(const Model::UpdateAlertRuleRequest& request, const UpdateAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAlertRuleOutcomeCallable updateAlertRuleCallable(const Model::UpdateAlertRuleRequest& request) const;
|
||||
UpdateAlertTemplateOutcome updateAlertTemplate(const Model::UpdateAlertTemplateRequest &request)const;
|
||||
void updateAlertTemplateAsync(const Model::UpdateAlertTemplateRequest& request, const UpdateAlertTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAlertTemplateOutcomeCallable updateAlertTemplateCallable(const Model::UpdateAlertTemplateRequest& request) const;
|
||||
UpdateDispatchRuleOutcome updateDispatchRule(const Model::UpdateDispatchRuleRequest &request)const;
|
||||
void updateDispatchRuleAsync(const Model::UpdateDispatchRuleRequest& request, const UpdateDispatchRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDispatchRuleOutcomeCallable updateDispatchRuleCallable(const Model::UpdateDispatchRuleRequest& request) const;
|
||||
UpdatePrometheusAlertRuleOutcome updatePrometheusAlertRule(const Model::UpdatePrometheusAlertRuleRequest &request)const;
|
||||
void updatePrometheusAlertRuleAsync(const Model::UpdatePrometheusAlertRuleRequest& request, const UpdatePrometheusAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdatePrometheusAlertRuleOutcomeCallable updatePrometheusAlertRuleCallable(const Model::UpdatePrometheusAlertRuleRequest& request) const;
|
||||
UpdateWebhookOutcome updateWebhook(const Model::UpdateWebhookRequest &request)const;
|
||||
void updateWebhookAsync(const Model::UpdateWebhookRequest& request, const UpdateWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateWebhookOutcomeCallable updateWebhookCallable(const Model::UpdateWebhookRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_CREATEALERTTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEALERTTEMPLATEREQUEST_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 CreateAlertTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateAlertTemplateRequest();
|
||||
~CreateAlertTemplateRequest();
|
||||
|
||||
std::string getTemplateProvider()const;
|
||||
void setTemplateProvider(const std::string& templateProvider);
|
||||
std::string getAnnotations()const;
|
||||
void setAnnotations(const std::string& annotations);
|
||||
std::string getRule()const;
|
||||
void setRule(const std::string& rule);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getMessage()const;
|
||||
void setMessage(const std::string& message);
|
||||
std::string getParentId()const;
|
||||
void setParentId(const std::string& parentId);
|
||||
std::string getLabels()const;
|
||||
void setLabels(const std::string& labels);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getMatchExpressions()const;
|
||||
void setMatchExpressions(const std::string& matchExpressions);
|
||||
|
||||
private:
|
||||
std::string templateProvider_;
|
||||
std::string annotations_;
|
||||
std::string rule_;
|
||||
std::string proxyUserId_;
|
||||
std::string type_;
|
||||
std::string message_;
|
||||
std::string parentId_;
|
||||
std::string labels_;
|
||||
std::string regionId_;
|
||||
std::string name_;
|
||||
std::string matchExpressions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEALERTTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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_CREATEALERTTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEALERTTEMPLATERESULT_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 CreateAlertTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AlertTemplate
|
||||
{
|
||||
struct LabelMatchExpressionGrid
|
||||
{
|
||||
struct LabelMatchExpressionGroup
|
||||
{
|
||||
struct LabelMatchExpression
|
||||
{
|
||||
std::string value;
|
||||
std::string _operator;
|
||||
std::string key;
|
||||
};
|
||||
std::vector<LabelMatchExpressionGroup::LabelMatchExpression> labelMatchExpressions;
|
||||
};
|
||||
std::vector<LabelMatchExpressionGroup> labelMatchExpressionGroups;
|
||||
};
|
||||
int parentId;
|
||||
bool status;
|
||||
std::string message;
|
||||
std::string templateProvider;
|
||||
LabelMatchExpressionGrid labelMatchExpressionGrid;
|
||||
std::string labels;
|
||||
std::string alertProvider;
|
||||
std::string name;
|
||||
std::string type;
|
||||
std::string annotations;
|
||||
std::string userId;
|
||||
bool _public;
|
||||
int id;
|
||||
std::string rule;
|
||||
};
|
||||
|
||||
|
||||
CreateAlertTemplateResult();
|
||||
explicit CreateAlertTemplateResult(const std::string &payload);
|
||||
~CreateAlertTemplateResult();
|
||||
AlertTemplate getAlertTemplate()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
AlertTemplate alertTemplate_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEALERTTEMPLATERESULT_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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_CREATEPROMETHEUSALERTRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSALERTRULEREQUEST_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 CreatePrometheusAlertRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePrometheusAlertRuleRequest();
|
||||
~CreatePrometheusAlertRuleRequest();
|
||||
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getExpression()const;
|
||||
void setExpression(const std::string& expression);
|
||||
std::string getAlertName()const;
|
||||
void setAlertName(const std::string& alertName);
|
||||
std::string getAnnotations()const;
|
||||
void setAnnotations(const std::string& annotations);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
long getDispatchRuleId()const;
|
||||
void setDispatchRuleId(long dispatchRuleId);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getMessage()const;
|
||||
void setMessage(const std::string& message);
|
||||
std::string getLabels()const;
|
||||
void setLabels(const std::string& labels);
|
||||
std::string getDuration()const;
|
||||
void setDuration(const std::string& duration);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNotifyType()const;
|
||||
void setNotifyType(const std::string& notifyType);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string expression_;
|
||||
std::string alertName_;
|
||||
std::string annotations_;
|
||||
std::string clusterId_;
|
||||
long dispatchRuleId_;
|
||||
std::string proxyUserId_;
|
||||
std::string type_;
|
||||
std::string message_;
|
||||
std::string labels_;
|
||||
std::string duration_;
|
||||
std::string regionId_;
|
||||
std::string notifyType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSALERTRULEREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* 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_CREATEPROMETHEUSALERTRULERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSALERTRULERESULT_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 CreatePrometheusAlertRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrometheusAlertRule
|
||||
{
|
||||
struct Label
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
struct Annotation
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
int status;
|
||||
std::string notifyType;
|
||||
long alertId;
|
||||
std::string type;
|
||||
std::vector<Annotation> annotations;
|
||||
std::string alertName;
|
||||
std::string message;
|
||||
std::string expression;
|
||||
std::string clusterId;
|
||||
long dispatchRuleId;
|
||||
std::vector<Label> labels;
|
||||
std::string duration;
|
||||
};
|
||||
|
||||
|
||||
CreatePrometheusAlertRuleResult();
|
||||
explicit CreatePrometheusAlertRuleResult(const std::string &payload);
|
||||
~CreatePrometheusAlertRuleResult();
|
||||
PrometheusAlertRule getPrometheusAlertRule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PrometheusAlertRule prometheusAlertRule_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSALERTRULERESULT_H_
|
||||
69
arms/include/alibabacloud/arms/model/CreateWebhookRequest.h
Normal file
69
arms/include/alibabacloud/arms/model/CreateWebhookRequest.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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_CREATEWEBHOOKREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEWEBHOOKREQUEST_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 CreateWebhookRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateWebhookRequest();
|
||||
~CreateWebhookRequest();
|
||||
|
||||
std::string getHttpHeaders()const;
|
||||
void setHttpHeaders(const std::string& httpHeaders);
|
||||
std::string getMethod()const;
|
||||
void setMethod(const std::string& method);
|
||||
std::string getHttpParams()const;
|
||||
void setHttpParams(const std::string& httpParams);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getUrl()const;
|
||||
void setUrl(const std::string& url);
|
||||
std::string getContactName()const;
|
||||
void setContactName(const std::string& contactName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string httpHeaders_;
|
||||
std::string method_;
|
||||
std::string httpParams_;
|
||||
std::string proxyUserId_;
|
||||
std::string body_;
|
||||
std::string url_;
|
||||
std::string contactName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEWEBHOOKREQUEST_H_
|
||||
51
arms/include/alibabacloud/arms/model/CreateWebhookResult.h
Normal file
51
arms/include/alibabacloud/arms/model/CreateWebhookResult.h
Normal file
@@ -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_CREATEWEBHOOKRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEWEBHOOKRESULT_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 CreateWebhookResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateWebhookResult();
|
||||
explicit CreateWebhookResult(const std::string &payload);
|
||||
~CreateWebhookResult();
|
||||
std::string getContactId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string contactId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEWEBHOOKRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_DELETEALERTTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEALERTTEMPLATEREQUEST_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 DeleteAlertTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteAlertTemplateRequest();
|
||||
~DeleteAlertTemplateRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long id_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEALERTTEMPLATEREQUEST_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_DELETEALERTTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEALERTTEMPLATERESULT_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 DeleteAlertTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAlertTemplateResult();
|
||||
explicit DeleteAlertTemplateResult(const std::string &payload);
|
||||
~DeleteAlertTemplateResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEALERTTEMPLATERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_DELETEGRAFANARESOURCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEGRAFANARESOURCEREQUEST_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 DeleteGrafanaResourceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteGrafanaResourceRequest();
|
||||
~DeleteGrafanaResourceRequest();
|
||||
|
||||
std::string getClusterName()const;
|
||||
void setClusterName(const std::string& clusterName);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string clusterName_;
|
||||
std::string clusterId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEGRAFANARESOURCEREQUEST_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_DELETEGRAFANARESOURCERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEGRAFANARESOURCERESULT_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 DeleteGrafanaResourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteGrafanaResourceResult();
|
||||
explicit DeleteGrafanaResourceResult(const std::string &payload);
|
||||
~DeleteGrafanaResourceResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEGRAFANARESOURCERESULT_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_DELETEPROMETHEUSALERTRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSALERTRULEREQUEST_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 DeletePrometheusAlertRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePrometheusAlertRuleRequest();
|
||||
~DeletePrometheusAlertRuleRequest();
|
||||
|
||||
long getAlertId()const;
|
||||
void setAlertId(long alertId);
|
||||
|
||||
private:
|
||||
long alertId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSALERTRULEREQUEST_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_DELETEPROMETHEUSALERTRULERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSALERTRULERESULT_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 DeletePrometheusAlertRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePrometheusAlertRuleResult();
|
||||
explicit DeletePrometheusAlertRuleResult(const std::string &payload);
|
||||
~DeletePrometheusAlertRuleResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSALERTRULERESULT_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_DESCRIBEPROMETHEUSALERTRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBEPROMETHEUSALERTRULEREQUEST_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 DescribePrometheusAlertRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePrometheusAlertRuleRequest();
|
||||
~DescribePrometheusAlertRuleRequest();
|
||||
|
||||
long getAlertId()const;
|
||||
void setAlertId(long alertId);
|
||||
|
||||
private:
|
||||
long alertId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBEPROMETHEUSALERTRULEREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* 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_DESCRIBEPROMETHEUSALERTRULERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBEPROMETHEUSALERTRULERESULT_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 DescribePrometheusAlertRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrometheusAlertRule
|
||||
{
|
||||
struct Label
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
struct Annotation
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
int status;
|
||||
std::string notifyType;
|
||||
long alertId;
|
||||
std::string type;
|
||||
std::vector<Annotation> annotations;
|
||||
std::string alertName;
|
||||
std::string message;
|
||||
std::string expression;
|
||||
std::string clusterId;
|
||||
long dispatchRuleId;
|
||||
std::vector<Label> labels;
|
||||
std::string duration;
|
||||
};
|
||||
|
||||
|
||||
DescribePrometheusAlertRuleResult();
|
||||
explicit DescribePrometheusAlertRuleResult(const std::string &payload);
|
||||
~DescribePrometheusAlertRuleResult();
|
||||
PrometheusAlertRule getPrometheusAlertRule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PrometheusAlertRule prometheusAlertRule_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBEPROMETHEUSALERTRULERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_DISABLEALERTTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DISABLEALERTTEMPLATEREQUEST_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 DisableAlertTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableAlertTemplateRequest();
|
||||
~DisableAlertTemplateRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long id_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DISABLEALERTTEMPLATEREQUEST_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_DISABLEALERTTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DISABLEALERTTEMPLATERESULT_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 DisableAlertTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableAlertTemplateResult();
|
||||
explicit DisableAlertTemplateResult(const std::string &payload);
|
||||
~DisableAlertTemplateResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DISABLEALERTTEMPLATERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_ENABLEALERTTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ENABLEALERTTEMPLATEREQUEST_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 EnableAlertTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableAlertTemplateRequest();
|
||||
~EnableAlertTemplateRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long id_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ENABLEALERTTEMPLATEREQUEST_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_ENABLEALERTTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ENABLEALERTTEMPLATERESULT_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 EnableAlertTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableAlertTemplateResult();
|
||||
explicit EnableAlertTemplateResult(const std::string &payload);
|
||||
~EnableAlertTemplateResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ENABLEALERTTEMPLATERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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_LISTACTIVATEDALERTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTACTIVATEDALERTSREQUEST_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 ListActivatedAlertsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListActivatedAlertsRequest();
|
||||
~ListActivatedAlertsRequest();
|
||||
|
||||
std::string getFilter()const;
|
||||
void setFilter(const std::string& filter);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string filter_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTACTIVATEDALERTSREQUEST_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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_LISTACTIVATEDALERTSRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTACTIVATEDALERTSRESULT_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 ListActivatedAlertsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Page
|
||||
{
|
||||
struct Alert
|
||||
{
|
||||
struct DispatchRule
|
||||
{
|
||||
int ruleId;
|
||||
std::string ruleName;
|
||||
};
|
||||
std::string status;
|
||||
std::string alertName;
|
||||
std::string message;
|
||||
std::string involvedObjectKind;
|
||||
std::vector<Alert::DispatchRule> dispatchRules;
|
||||
long createTime;
|
||||
std::string severity;
|
||||
int count;
|
||||
std::string expandFields;
|
||||
std::string involvedObjectName;
|
||||
long endsAt;
|
||||
std::string alertType;
|
||||
std::string alertId;
|
||||
std::string integrationName;
|
||||
long startsAt;
|
||||
std::string integrationType;
|
||||
};
|
||||
int pageSize;
|
||||
int total;
|
||||
int page;
|
||||
std::vector<Alert> alerts;
|
||||
};
|
||||
|
||||
|
||||
ListActivatedAlertsResult();
|
||||
explicit ListActivatedAlertsResult(const std::string &payload);
|
||||
~ListActivatedAlertsResult();
|
||||
Page getPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Page page_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTACTIVATEDALERTSRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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_LISTALERTTEMPLATESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTALERTTEMPLATESREQUEST_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 ListAlertTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListAlertTemplatesRequest();
|
||||
~ListAlertTemplatesRequest();
|
||||
|
||||
std::string getAlertProvider()const;
|
||||
void setAlertProvider(const std::string& alertProvider);
|
||||
std::string getTemplateProvider()const;
|
||||
void setTemplateProvider(const std::string& templateProvider);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getLabels()const;
|
||||
void setLabels(const std::string& labels);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
bool getStatus()const;
|
||||
void setStatus(bool status);
|
||||
|
||||
private:
|
||||
std::string alertProvider_;
|
||||
std::string templateProvider_;
|
||||
std::string proxyUserId_;
|
||||
std::string type_;
|
||||
std::string labels_;
|
||||
std::string regionId_;
|
||||
std::string name_;
|
||||
bool status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTALERTTEMPLATESREQUEST_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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_LISTALERTTEMPLATESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTALERTTEMPLATESRESULT_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 ListAlertTemplatesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AlertTemplate
|
||||
{
|
||||
struct LabelMatchExpressionGrid
|
||||
{
|
||||
struct LabelMatchExpressionGroup
|
||||
{
|
||||
struct LabelMatchExpression
|
||||
{
|
||||
std::string value;
|
||||
std::string _operator;
|
||||
std::string key;
|
||||
};
|
||||
std::vector<LabelMatchExpressionGroup::LabelMatchExpression> labelMatchExpressions;
|
||||
};
|
||||
std::vector<LabelMatchExpressionGroup> labelMatchExpressionGroups;
|
||||
};
|
||||
int parentId;
|
||||
bool status;
|
||||
std::string message;
|
||||
std::string templateProvider;
|
||||
LabelMatchExpressionGrid labelMatchExpressionGrid;
|
||||
std::string labels;
|
||||
std::string alertProvider;
|
||||
std::string name;
|
||||
std::string type;
|
||||
std::string annotations;
|
||||
std::string userId;
|
||||
bool _public;
|
||||
int id;
|
||||
std::string rule;
|
||||
};
|
||||
|
||||
|
||||
ListAlertTemplatesResult();
|
||||
explicit ListAlertTemplatesResult(const std::string &payload);
|
||||
~ListAlertTemplatesResult();
|
||||
std::vector<AlertTemplate> getAlertTemplates()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AlertTemplate> alertTemplates_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTALERTTEMPLATESRESULT_H_
|
||||
@@ -35,20 +35,29 @@ namespace AlibabaCloud
|
||||
ListDashboardsRequest();
|
||||
~ListDashboardsRequest();
|
||||
|
||||
std::string getClusterType()const;
|
||||
void setClusterType(const std::string& clusterType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDashboardName()const;
|
||||
void setDashboardName(const std::string& dashboardName);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
bool getRecreateSwitch()const;
|
||||
void setRecreateSwitch(bool recreateSwitch);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getClusterType()const;
|
||||
void setClusterType(const std::string& clusterType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string clusterType_;
|
||||
std::string regionId_;
|
||||
std::string dashboardName_;
|
||||
std::string product_;
|
||||
bool recreateSwitch_;
|
||||
std::string clusterId_;
|
||||
std::string title_;
|
||||
std::string clusterType_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,13 +34,18 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct DashboardVosItem
|
||||
{
|
||||
std::string uid;
|
||||
std::string type;
|
||||
std::string title;
|
||||
std::string time;
|
||||
std::string id;
|
||||
std::string exporter;
|
||||
std::string url;
|
||||
std::string name;
|
||||
std::string uid;
|
||||
std::string type;
|
||||
bool needUpdate;
|
||||
std::string version;
|
||||
std::string kind;
|
||||
std::string id;
|
||||
std::string dashboardType;
|
||||
std::vector<std::string> tags;
|
||||
bool isArmsExporter;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_LISTPROMETHEUSALERTRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTPROMETHEUSALERTRULESREQUEST_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 ListPrometheusAlertRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPrometheusAlertRulesRequest();
|
||||
~ListPrometheusAlertRulesRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getMatchExpressions()const;
|
||||
void setMatchExpressions(const std::string& matchExpressions);
|
||||
int getStatus()const;
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string proxyUserId_;
|
||||
std::string type_;
|
||||
std::string regionId_;
|
||||
std::string name_;
|
||||
std::string matchExpressions_;
|
||||
int status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTPROMETHEUSALERTRULESREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* 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_LISTPROMETHEUSALERTRULESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTPROMETHEUSALERTRULESRESULT_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 ListPrometheusAlertRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrometheusAlertRule
|
||||
{
|
||||
struct Label
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
struct Annotation
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
int status;
|
||||
std::string notifyType;
|
||||
long alertId;
|
||||
std::string type;
|
||||
std::vector<PrometheusAlertRule::Annotation> annotations;
|
||||
std::string alertName;
|
||||
std::string message;
|
||||
std::string expression;
|
||||
std::string clusterId;
|
||||
long dispatchRuleId;
|
||||
std::vector<PrometheusAlertRule::Label> labels;
|
||||
std::string duration;
|
||||
};
|
||||
|
||||
|
||||
ListPrometheusAlertRulesResult();
|
||||
explicit ListPrometheusAlertRulesResult(const std::string &payload);
|
||||
~ListPrometheusAlertRulesResult();
|
||||
std::vector<PrometheusAlertRule> getPrometheusAlertRules()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PrometheusAlertRule> prometheusAlertRules_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTPROMETHEUSALERTRULESRESULT_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_LISTPROMETHEUSALERTTEMPLATESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTPROMETHEUSALERTTEMPLATESREQUEST_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 ListPrometheusAlertTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPrometheusAlertTemplatesRequest();
|
||||
~ListPrometheusAlertTemplatesRequest();
|
||||
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTPROMETHEUSALERTTEMPLATESREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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_LISTPROMETHEUSALERTTEMPLATESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTPROMETHEUSALERTTEMPLATESRESULT_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 ListPrometheusAlertTemplatesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrometheusAlertTemplate
|
||||
{
|
||||
struct Label
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
struct Annotation
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
std::string type;
|
||||
std::vector<PrometheusAlertTemplate::Annotation> annotations;
|
||||
std::string alertName;
|
||||
std::string description;
|
||||
std::string expression;
|
||||
std::string version;
|
||||
std::vector<PrometheusAlertTemplate::Label> labels;
|
||||
std::string duration;
|
||||
};
|
||||
|
||||
|
||||
ListPrometheusAlertTemplatesResult();
|
||||
explicit ListPrometheusAlertTemplatesResult(const std::string &payload);
|
||||
~ListPrometheusAlertTemplatesResult();
|
||||
std::vector<PrometheusAlertTemplate> getPrometheusAlertTemplates()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PrometheusAlertTemplate> prometheusAlertTemplates_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTPROMETHEUSALERTTEMPLATESRESULT_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_OPENARMSDEFAULTSLRREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_OPENARMSDEFAULTSLRREQUEST_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 OpenArmsDefaultSLRRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OpenArmsDefaultSLRRequest();
|
||||
~OpenArmsDefaultSLRRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSDEFAULTSLRREQUEST_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_OPENARMSDEFAULTSLRRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_OPENARMSDEFAULTSLRRESULT_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 OpenArmsDefaultSLRResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OpenArmsDefaultSLRResult();
|
||||
explicit OpenArmsDefaultSLRResult(const std::string &payload);
|
||||
~OpenArmsDefaultSLRResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSDEFAULTSLRRESULT_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_OPENARMSSERVICESECONDVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICESECONDVERSIONREQUEST_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 OpenArmsServiceSecondVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OpenArmsServiceSecondVersionRequest();
|
||||
~OpenArmsServiceSecondVersionRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICESECONDVERSIONREQUEST_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_OPENARMSSERVICESECONDVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICESECONDVERSIONRESULT_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 OpenArmsServiceSecondVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OpenArmsServiceSecondVersionResult();
|
||||
explicit OpenArmsServiceSecondVersionResult(const std::string &payload);
|
||||
~OpenArmsServiceSecondVersionResult();
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICESECONDVERSIONRESULT_H_
|
||||
@@ -37,6 +37,10 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getClusterType()const;
|
||||
void setClusterType(const std::string& clusterType);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
bool getRecreateSwitch()const;
|
||||
void setRecreateSwitch(bool recreateSwitch);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getLength()const;
|
||||
@@ -44,6 +48,8 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string clusterType_;
|
||||
std::string product_;
|
||||
bool recreateSwitch_;
|
||||
std::string regionId_;
|
||||
int length_;
|
||||
|
||||
|
||||
@@ -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_OPENXTRACEDEFAULTSLRREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_OPENXTRACEDEFAULTSLRREQUEST_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 OpenXtraceDefaultSLRRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OpenXtraceDefaultSLRRequest();
|
||||
~OpenXtraceDefaultSLRRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENXTRACEDEFAULTSLRREQUEST_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_OPENXTRACEDEFAULTSLRRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_OPENXTRACEDEFAULTSLRRESULT_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 OpenXtraceDefaultSLRResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OpenXtraceDefaultSLRResult();
|
||||
explicit OpenXtraceDefaultSLRResult(const std::string &payload);
|
||||
~OpenXtraceDefaultSLRResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENXTRACEDEFAULTSLRRESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_UPDATEALERTTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEALERTTEMPLATEREQUEST_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 UpdateAlertTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateAlertTemplateRequest();
|
||||
~UpdateAlertTemplateRequest();
|
||||
|
||||
std::string getAnnotations()const;
|
||||
void setAnnotations(const std::string& annotations);
|
||||
std::string getRule()const;
|
||||
void setRule(const std::string& rule);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getMessage()const;
|
||||
void setMessage(const std::string& message);
|
||||
std::string getLabels()const;
|
||||
void setLabels(const std::string& labels);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
std::string getMatchExpressions()const;
|
||||
void setMatchExpressions(const std::string& matchExpressions);
|
||||
bool getStatus()const;
|
||||
void setStatus(bool status);
|
||||
|
||||
private:
|
||||
std::string annotations_;
|
||||
std::string rule_;
|
||||
std::string proxyUserId_;
|
||||
std::string type_;
|
||||
std::string message_;
|
||||
std::string labels_;
|
||||
std::string regionId_;
|
||||
std::string name_;
|
||||
long id_;
|
||||
std::string matchExpressions_;
|
||||
bool status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEALERTTEMPLATEREQUEST_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_UPDATEALERTTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEALERTTEMPLATERESULT_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 UpdateAlertTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateAlertTemplateResult();
|
||||
explicit UpdateAlertTemplateResult(const std::string &payload);
|
||||
~UpdateAlertTemplateResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEALERTTEMPLATERESULT_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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_UPDATEPROMETHEUSALERTRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEPROMETHEUSALERTRULEREQUEST_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 UpdatePrometheusAlertRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdatePrometheusAlertRuleRequest();
|
||||
~UpdatePrometheusAlertRuleRequest();
|
||||
|
||||
std::string getExpression()const;
|
||||
void setExpression(const std::string& expression);
|
||||
std::string getAlertName()const;
|
||||
void setAlertName(const std::string& alertName);
|
||||
std::string getAnnotations()const;
|
||||
void setAnnotations(const std::string& annotations);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
long getDispatchRuleId()const;
|
||||
void setDispatchRuleId(long dispatchRuleId);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getMessage()const;
|
||||
void setMessage(const std::string& message);
|
||||
std::string getLabels()const;
|
||||
void setLabels(const std::string& labels);
|
||||
std::string getDuration()const;
|
||||
void setDuration(const std::string& duration);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getAlertId()const;
|
||||
void setAlertId(long alertId);
|
||||
std::string getNotifyType()const;
|
||||
void setNotifyType(const std::string& notifyType);
|
||||
|
||||
private:
|
||||
std::string expression_;
|
||||
std::string alertName_;
|
||||
std::string annotations_;
|
||||
std::string clusterId_;
|
||||
long dispatchRuleId_;
|
||||
std::string proxyUserId_;
|
||||
std::string type_;
|
||||
std::string message_;
|
||||
std::string labels_;
|
||||
std::string duration_;
|
||||
std::string regionId_;
|
||||
long alertId_;
|
||||
std::string notifyType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEPROMETHEUSALERTRULEREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* 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_UPDATEPROMETHEUSALERTRULERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEPROMETHEUSALERTRULERESULT_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 UpdatePrometheusAlertRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrometheusAlertRule
|
||||
{
|
||||
struct Label
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
struct Annotation
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
int status;
|
||||
std::string notifyType;
|
||||
long alertId;
|
||||
std::string type;
|
||||
std::vector<Annotation> annotations;
|
||||
std::string alertName;
|
||||
std::string message;
|
||||
std::string expression;
|
||||
std::string clusterId;
|
||||
long dispatchRuleId;
|
||||
std::vector<Label> labels;
|
||||
std::string duration;
|
||||
};
|
||||
|
||||
|
||||
UpdatePrometheusAlertRuleResult();
|
||||
explicit UpdatePrometheusAlertRuleResult(const std::string &payload);
|
||||
~UpdatePrometheusAlertRuleResult();
|
||||
PrometheusAlertRule getPrometheusAlertRule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PrometheusAlertRule prometheusAlertRule_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEPROMETHEUSALERTRULERESULT_H_
|
||||
Reference in New Issue
Block a user