Generated 2020-01-11 for servicemesh.

This commit is contained in:
sdk-team
2021-02-19 08:11:59 +00:00
parent a009cbcc4f
commit 82cfdabb16
26 changed files with 919 additions and 9 deletions

View File

@@ -50,6 +50,8 @@
#include "model/DescribeServiceMeshesResult.h"
#include "model/DescribeUpgradeVersionRequest.h"
#include "model/DescribeUpgradeVersionResult.h"
#include "model/GetAutoInjectionLabelSyncStatusRequest.h"
#include "model/GetAutoInjectionLabelSyncStatusResult.h"
#include "model/GetDiagnosisRequest.h"
#include "model/GetDiagnosisResult.h"
#include "model/GetRegisteredServiceEndpointsRequest.h"
@@ -60,6 +62,8 @@
#include "model/GetRegisteredServicesResult.h"
#include "model/GetServiceMeshSlbRequest.h"
#include "model/GetServiceMeshSlbResult.h"
#include "model/GetServiceRegistrySourceRequest.h"
#include "model/GetServiceRegistrySourceResult.h"
#include "model/GetVmAppMeshInfoRequest.h"
#include "model/GetVmAppMeshInfoResult.h"
#include "model/GetVmMetaRequest.h"
@@ -70,6 +74,8 @@
#include "model/RemoveVmAppFromMeshResult.h"
#include "model/RunDiagnosisRequest.h"
#include "model/RunDiagnosisResult.h"
#include "model/SetServiceRegistrySourceRequest.h"
#include "model/SetServiceRegistrySourceResult.h"
#include "model/UpdateIstioInjectionConfigRequest.h"
#include "model/UpdateIstioInjectionConfigResult.h"
#include "model/UpdateMeshFeatureRequest.h"
@@ -127,6 +133,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeUpgradeVersionResult> DescribeUpgradeVersionOutcome;
typedef std::future<DescribeUpgradeVersionOutcome> DescribeUpgradeVersionOutcomeCallable;
typedef std::function<void(const ServicemeshClient*, const Model::DescribeUpgradeVersionRequest&, const DescribeUpgradeVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUpgradeVersionAsyncHandler;
typedef Outcome<Error, Model::GetAutoInjectionLabelSyncStatusResult> GetAutoInjectionLabelSyncStatusOutcome;
typedef std::future<GetAutoInjectionLabelSyncStatusOutcome> GetAutoInjectionLabelSyncStatusOutcomeCallable;
typedef std::function<void(const ServicemeshClient*, const Model::GetAutoInjectionLabelSyncStatusRequest&, const GetAutoInjectionLabelSyncStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAutoInjectionLabelSyncStatusAsyncHandler;
typedef Outcome<Error, Model::GetDiagnosisResult> GetDiagnosisOutcome;
typedef std::future<GetDiagnosisOutcome> GetDiagnosisOutcomeCallable;
typedef std::function<void(const ServicemeshClient*, const Model::GetDiagnosisRequest&, const GetDiagnosisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDiagnosisAsyncHandler;
@@ -142,6 +151,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetServiceMeshSlbResult> GetServiceMeshSlbOutcome;
typedef std::future<GetServiceMeshSlbOutcome> GetServiceMeshSlbOutcomeCallable;
typedef std::function<void(const ServicemeshClient*, const Model::GetServiceMeshSlbRequest&, const GetServiceMeshSlbOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceMeshSlbAsyncHandler;
typedef Outcome<Error, Model::GetServiceRegistrySourceResult> GetServiceRegistrySourceOutcome;
typedef std::future<GetServiceRegistrySourceOutcome> GetServiceRegistrySourceOutcomeCallable;
typedef std::function<void(const ServicemeshClient*, const Model::GetServiceRegistrySourceRequest&, const GetServiceRegistrySourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceRegistrySourceAsyncHandler;
typedef Outcome<Error, Model::GetVmAppMeshInfoResult> GetVmAppMeshInfoOutcome;
typedef std::future<GetVmAppMeshInfoOutcome> GetVmAppMeshInfoOutcomeCallable;
typedef std::function<void(const ServicemeshClient*, const Model::GetVmAppMeshInfoRequest&, const GetVmAppMeshInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVmAppMeshInfoAsyncHandler;
@@ -157,6 +169,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RunDiagnosisResult> RunDiagnosisOutcome;
typedef std::future<RunDiagnosisOutcome> RunDiagnosisOutcomeCallable;
typedef std::function<void(const ServicemeshClient*, const Model::RunDiagnosisRequest&, const RunDiagnosisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunDiagnosisAsyncHandler;
typedef Outcome<Error, Model::SetServiceRegistrySourceResult> SetServiceRegistrySourceOutcome;
typedef std::future<SetServiceRegistrySourceOutcome> SetServiceRegistrySourceOutcomeCallable;
typedef std::function<void(const ServicemeshClient*, const Model::SetServiceRegistrySourceRequest&, const SetServiceRegistrySourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetServiceRegistrySourceAsyncHandler;
typedef Outcome<Error, Model::UpdateIstioInjectionConfigResult> UpdateIstioInjectionConfigOutcome;
typedef std::future<UpdateIstioInjectionConfigOutcome> UpdateIstioInjectionConfigOutcomeCallable;
typedef std::function<void(const ServicemeshClient*, const Model::UpdateIstioInjectionConfigRequest&, const UpdateIstioInjectionConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateIstioInjectionConfigAsyncHandler;
@@ -213,6 +228,9 @@ namespace AlibabaCloud
DescribeUpgradeVersionOutcome describeUpgradeVersion(const Model::DescribeUpgradeVersionRequest &request)const;
void describeUpgradeVersionAsync(const Model::DescribeUpgradeVersionRequest& request, const DescribeUpgradeVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUpgradeVersionOutcomeCallable describeUpgradeVersionCallable(const Model::DescribeUpgradeVersionRequest& request) const;
GetAutoInjectionLabelSyncStatusOutcome getAutoInjectionLabelSyncStatus(const Model::GetAutoInjectionLabelSyncStatusRequest &request)const;
void getAutoInjectionLabelSyncStatusAsync(const Model::GetAutoInjectionLabelSyncStatusRequest& request, const GetAutoInjectionLabelSyncStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAutoInjectionLabelSyncStatusOutcomeCallable getAutoInjectionLabelSyncStatusCallable(const Model::GetAutoInjectionLabelSyncStatusRequest& request) const;
GetDiagnosisOutcome getDiagnosis(const Model::GetDiagnosisRequest &request)const;
void getDiagnosisAsync(const Model::GetDiagnosisRequest& request, const GetDiagnosisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDiagnosisOutcomeCallable getDiagnosisCallable(const Model::GetDiagnosisRequest& request) const;
@@ -228,6 +246,9 @@ namespace AlibabaCloud
GetServiceMeshSlbOutcome getServiceMeshSlb(const Model::GetServiceMeshSlbRequest &request)const;
void getServiceMeshSlbAsync(const Model::GetServiceMeshSlbRequest& request, const GetServiceMeshSlbAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceMeshSlbOutcomeCallable getServiceMeshSlbCallable(const Model::GetServiceMeshSlbRequest& request) const;
GetServiceRegistrySourceOutcome getServiceRegistrySource(const Model::GetServiceRegistrySourceRequest &request)const;
void getServiceRegistrySourceAsync(const Model::GetServiceRegistrySourceRequest& request, const GetServiceRegistrySourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceRegistrySourceOutcomeCallable getServiceRegistrySourceCallable(const Model::GetServiceRegistrySourceRequest& request) const;
GetVmAppMeshInfoOutcome getVmAppMeshInfo(const Model::GetVmAppMeshInfoRequest &request)const;
void getVmAppMeshInfoAsync(const Model::GetVmAppMeshInfoRequest& request, const GetVmAppMeshInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVmAppMeshInfoOutcomeCallable getVmAppMeshInfoCallable(const Model::GetVmAppMeshInfoRequest& request) const;
@@ -243,6 +264,9 @@ namespace AlibabaCloud
RunDiagnosisOutcome runDiagnosis(const Model::RunDiagnosisRequest &request)const;
void runDiagnosisAsync(const Model::RunDiagnosisRequest& request, const RunDiagnosisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunDiagnosisOutcomeCallable runDiagnosisCallable(const Model::RunDiagnosisRequest& request) const;
SetServiceRegistrySourceOutcome setServiceRegistrySource(const Model::SetServiceRegistrySourceRequest &request)const;
void setServiceRegistrySourceAsync(const Model::SetServiceRegistrySourceRequest& request, const SetServiceRegistrySourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetServiceRegistrySourceOutcomeCallable setServiceRegistrySourceCallable(const Model::SetServiceRegistrySourceRequest& request) const;
UpdateIstioInjectionConfigOutcome updateIstioInjectionConfig(const Model::UpdateIstioInjectionConfigRequest &request)const;
void updateIstioInjectionConfigAsync(const Model::UpdateIstioInjectionConfigRequest& request, const UpdateIstioInjectionConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateIstioInjectionConfigOutcomeCallable updateIstioInjectionConfigCallable(const Model::UpdateIstioInjectionConfigRequest& request) const;

View File

@@ -45,8 +45,12 @@ namespace AlibabaCloud
void setOpaEnabled(bool opaEnabled);
std::string getProxyLimitMemory()const;
void setProxyLimitMemory(const std::string& proxyLimitMemory);
bool getCustomizedPrometheus()const;
void setCustomizedPrometheus(bool customizedPrometheus);
bool getStrictMTLS()const;
void setStrictMTLS(bool strictMTLS);
bool getAccessLogEnabled()const;
void setAccessLogEnabled(bool accessLogEnabled);
std::string getOPALogLevel()const;
void setOPALogLevel(const std::string& oPALogLevel);
std::string getExcludeIPRanges()const;
@@ -61,6 +65,8 @@ namespace AlibabaCloud
void setExcludeInboundPorts(const std::string& excludeInboundPorts);
std::string getOPALimitMemory()const;
void setOPALimitMemory(const std::string& oPALimitMemory);
std::string getPrometheusUrl()const;
void setPrometheusUrl(const std::string& prometheusUrl);
std::string getVSwitches()const;
void setVSwitches(const std::string& vSwitches);
bool getCADisableSecretAutoGeneration()const;
@@ -93,6 +99,8 @@ namespace AlibabaCloud
void setTraceSampling(float traceSampling);
std::string getAppNamespaces()const;
void setAppNamespaces(const std::string& appNamespaces);
bool getKialiEnabled()const;
void setKialiEnabled(bool kialiEnabled);
bool getPilotPublicEip()const;
void setPilotPublicEip(bool pilotPublicEip);
std::string getAuditProject()const;
@@ -110,7 +118,9 @@ namespace AlibabaCloud
bool openAgentPolicy_;
bool opaEnabled_;
std::string proxyLimitMemory_;
bool customizedPrometheus_;
bool strictMTLS_;
bool accessLogEnabled_;
std::string oPALogLevel_;
std::string excludeIPRanges_;
std::string istioVersion_;
@@ -118,6 +128,7 @@ namespace AlibabaCloud
std::string includeIPRanges_;
std::string excludeInboundPorts_;
std::string oPALimitMemory_;
std::string prometheusUrl_;
std::string vSwitches_;
bool cADisableSecretAutoGeneration_;
std::string cAListenedNamespaces_;
@@ -134,6 +145,7 @@ namespace AlibabaCloud
bool apiServerPublicEip_;
float traceSampling_;
std::string appNamespaces_;
bool kialiEnabled_;
bool pilotPublicEip_;
std::string auditProject_;
std::string outboundTrafficPolicy_;

View File

@@ -34,18 +34,24 @@ namespace AlibabaCloud
public:
struct Cluster
{
std::string vpcId;
struct AccessLogDashboardInfo
{
std::string title;
std::string url;
};
std::string clusterId;
std::string version;
std::string state;
std::string clusterDomain;
std::string creationTime;
std::string updateTime;
std::string sgId;
std::string clusterType;
std::vector<Cluster::AccessLogDashboardInfo> accessLogDashboards;
std::string name;
std::string vpcId;
std::string version;
std::string state;
std::string creationTime;
std::string updateTime;
std::string regionId;
std::string errorMessage;
std::string name;
};

View File

@@ -106,16 +106,34 @@ namespace AlibabaCloud
std::string requestCPU;
std::string sidecarInjectorWebhookAsYaml;
};
struct Kiali
{
bool enabled;
std::string url;
};
struct Prometheus
{
bool useExternal;
std::string externalUrl;
};
struct AccessLog
{
bool enabled;
};
Pilot pilot;
SidecarInjector sidecarInjector;
AccessLog accessLog;
OPA oPA;
Prometheus prometheus;
bool telemetry;
std::string outboundTrafficPolicy;
std::string edition;
SidecarInjector sidecarInjector;
Audit audit;
Proxy proxy;
Kiali kiali;
std::string includeIPRanges;
bool enableLocalityLB;
bool tracing;
bool telemetry;
std::string outboundTrafficPolicy;
bool customizedZipkin;
};
struct Network

View File

@@ -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_SERVICEMESH_MODEL_GETAUTOINJECTIONLABELSYNCSTATUSREQUEST_H_
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETAUTOINJECTIONLABELSYNCSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/servicemesh/ServicemeshExport.h>
namespace AlibabaCloud
{
namespace Servicemesh
{
namespace Model
{
class ALIBABACLOUD_SERVICEMESH_EXPORT GetAutoInjectionLabelSyncStatusRequest : public RpcServiceRequest
{
public:
GetAutoInjectionLabelSyncStatusRequest();
~GetAutoInjectionLabelSyncStatusRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
private:
std::string serviceMeshId_;
};
}
}
}
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETAUTOINJECTIONLABELSYNCSTATUSREQUEST_H_

View 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_SERVICEMESH_MODEL_GETAUTOINJECTIONLABELSYNCSTATUSRESULT_H_
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETAUTOINJECTIONLABELSYNCSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/servicemesh/ServicemeshExport.h>
namespace AlibabaCloud
{
namespace Servicemesh
{
namespace Model
{
class ALIBABACLOUD_SERVICEMESH_EXPORT GetAutoInjectionLabelSyncStatusResult : public ServiceResult
{
public:
GetAutoInjectionLabelSyncStatusResult();
explicit GetAutoInjectionLabelSyncStatusResult(const std::string &payload);
~GetAutoInjectionLabelSyncStatusResult();
std::string getStatus()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETAUTOINJECTIONLABELSYNCSTATUSRESULT_H_

View File

@@ -37,12 +37,14 @@ namespace AlibabaCloud
GetDiagnosisResult();
explicit GetDiagnosisResult(const std::string &payload);
~GetDiagnosisResult();
std::string getStatus()const;
std::string getRunAt()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string runAt_;
std::string result_;

View File

@@ -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_SERVICEMESH_MODEL_GETSERVICEREGISTRYSOURCEREQUEST_H_
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETSERVICEREGISTRYSOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/servicemesh/ServicemeshExport.h>
namespace AlibabaCloud
{
namespace Servicemesh
{
namespace Model
{
class ALIBABACLOUD_SERVICEMESH_EXPORT GetServiceRegistrySourceRequest : public RpcServiceRequest
{
public:
GetServiceRegistrySourceRequest();
~GetServiceRegistrySourceRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
private:
std::string serviceMeshId_;
};
}
}
}
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETSERVICEREGISTRYSOURCEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_SERVICEMESH_MODEL_GETSERVICEREGISTRYSOURCERESULT_H_
#define ALIBABACLOUD_SERVICEMESH_MODEL_GETSERVICEREGISTRYSOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/servicemesh/ServicemeshExport.h>
namespace AlibabaCloud
{
namespace Servicemesh
{
namespace Model
{
class ALIBABACLOUD_SERVICEMESH_EXPORT GetServiceRegistrySourceResult : public ServiceResult
{
public:
GetServiceRegistrySourceResult();
explicit GetServiceRegistrySourceResult(const std::string &payload);
~GetServiceRegistrySourceResult();
std::string getStatus()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_GETSERVICEREGISTRYSOURCERESULT_H_

View 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_SERVICEMESH_MODEL_SETSERVICEREGISTRYSOURCEREQUEST_H_
#define ALIBABACLOUD_SERVICEMESH_MODEL_SETSERVICEREGISTRYSOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/servicemesh/ServicemeshExport.h>
namespace AlibabaCloud
{
namespace Servicemesh
{
namespace Model
{
class ALIBABACLOUD_SERVICEMESH_EXPORT SetServiceRegistrySourceRequest : public RpcServiceRequest
{
public:
SetServiceRegistrySourceRequest();
~SetServiceRegistrySourceRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
std::string getConfig()const;
void setConfig(const std::string& config);
private:
std::string serviceMeshId_;
std::string config_;
};
}
}
}
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_SETSERVICEREGISTRYSOURCEREQUEST_H_

View 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_SERVICEMESH_MODEL_SETSERVICEREGISTRYSOURCERESULT_H_
#define ALIBABACLOUD_SERVICEMESH_MODEL_SETSERVICEREGISTRYSOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/servicemesh/ServicemeshExport.h>
namespace AlibabaCloud
{
namespace Servicemesh
{
namespace Model
{
class ALIBABACLOUD_SERVICEMESH_EXPORT SetServiceRegistrySourceResult : public ServiceResult
{
public:
SetServiceRegistrySourceResult();
explicit SetServiceRegistrySourceResult(const std::string &payload);
~SetServiceRegistrySourceResult();
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_SERVICEMESH_MODEL_SETSERVICEREGISTRYSOURCERESULT_H_

View File

@@ -45,8 +45,12 @@ namespace AlibabaCloud
void setOpaEnabled(bool opaEnabled);
std::string getProxyLimitMemory()const;
void setProxyLimitMemory(const std::string& proxyLimitMemory);
bool getCustomizedPrometheus()const;
void setCustomizedPrometheus(bool customizedPrometheus);
std::string getCniExcludeNamespaces()const;
void setCniExcludeNamespaces(const std::string& cniExcludeNamespaces);
bool getAccessLogEnabled()const;
void setAccessLogEnabled(bool accessLogEnabled);
std::string getOPALogLevel()const;
void setOPALogLevel(const std::string& oPALogLevel);
bool getCustomizedZipkin()const;
@@ -61,6 +65,8 @@ namespace AlibabaCloud
void setIncludeIPRanges(const std::string& includeIPRanges);
std::string getOPALimitMemory()const;
void setOPALimitMemory(const std::string& oPALimitMemory);
std::string getPrometheusUrl()const;
void setPrometheusUrl(const std::string& prometheusUrl);
bool getCADisableSecretAutoGeneration()const;
void setCADisableSecretAutoGeneration(bool cADisableSecretAutoGeneration);
std::string getCAListenedNamespaces()const;
@@ -99,6 +105,8 @@ namespace AlibabaCloud
void setHttp10Enabled(bool http10Enabled);
std::string getAppNamespaces()const;
void setAppNamespaces(const std::string& appNamespaces);
bool getKialiEnabled()const;
void setKialiEnabled(bool kialiEnabled);
bool getPilotPublicEip()const;
void setPilotPublicEip(bool pilotPublicEip);
std::string getAuditProject()const;
@@ -114,7 +122,9 @@ namespace AlibabaCloud
bool openAgentPolicy_;
bool opaEnabled_;
std::string proxyLimitMemory_;
bool customizedPrometheus_;
std::string cniExcludeNamespaces_;
bool accessLogEnabled_;
std::string oPALogLevel_;
bool customizedZipkin_;
std::string sidecarInjectorRequestCPU_;
@@ -122,6 +132,7 @@ namespace AlibabaCloud
bool tracing_;
std::string includeIPRanges_;
std::string oPALimitMemory_;
std::string prometheusUrl_;
bool cADisableSecretAutoGeneration_;
std::string cAListenedNamespaces_;
std::string proxyLimitCPU_;
@@ -141,6 +152,7 @@ namespace AlibabaCloud
float traceSampling_;
bool http10Enabled_;
std::string appNamespaces_;
bool kialiEnabled_;
bool pilotPublicEip_;
std::string auditProject_;
std::string outboundTrafficPolicy_;