Support Service name.
This commit is contained in:
@@ -150,6 +150,8 @@
|
||||
#include "model/UpdateListenerAttributeResult.h"
|
||||
#include "model/UpdateListenerLogConfigRequest.h"
|
||||
#include "model/UpdateListenerLogConfigResult.h"
|
||||
#include "model/UpdateLoadBalancerAddressTypeConfigRequest.h"
|
||||
#include "model/UpdateLoadBalancerAddressTypeConfigResult.h"
|
||||
#include "model/UpdateLoadBalancerAttributeRequest.h"
|
||||
#include "model/UpdateLoadBalancerAttributeResult.h"
|
||||
#include "model/UpdateLoadBalancerEditionRequest.h"
|
||||
@@ -367,6 +369,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateListenerLogConfigResult> UpdateListenerLogConfigOutcome;
|
||||
typedef std::future<UpdateListenerLogConfigOutcome> UpdateListenerLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlbClient*, const Model::UpdateListenerLogConfigRequest&, const UpdateListenerLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateListenerLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateLoadBalancerAddressTypeConfigResult> UpdateLoadBalancerAddressTypeConfigOutcome;
|
||||
typedef std::future<UpdateLoadBalancerAddressTypeConfigOutcome> UpdateLoadBalancerAddressTypeConfigOutcomeCallable;
|
||||
typedef std::function<void(const AlbClient*, const Model::UpdateLoadBalancerAddressTypeConfigRequest&, const UpdateLoadBalancerAddressTypeConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLoadBalancerAddressTypeConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateLoadBalancerAttributeResult> UpdateLoadBalancerAttributeOutcome;
|
||||
typedef std::future<UpdateLoadBalancerAttributeOutcome> UpdateLoadBalancerAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AlbClient*, const Model::UpdateLoadBalancerAttributeRequest&, const UpdateLoadBalancerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLoadBalancerAttributeAsyncHandler;
|
||||
@@ -588,6 +593,9 @@ namespace AlibabaCloud
|
||||
UpdateListenerLogConfigOutcome updateListenerLogConfig(const Model::UpdateListenerLogConfigRequest &request)const;
|
||||
void updateListenerLogConfigAsync(const Model::UpdateListenerLogConfigRequest& request, const UpdateListenerLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateListenerLogConfigOutcomeCallable updateListenerLogConfigCallable(const Model::UpdateListenerLogConfigRequest& request) const;
|
||||
UpdateLoadBalancerAddressTypeConfigOutcome updateLoadBalancerAddressTypeConfig(const Model::UpdateLoadBalancerAddressTypeConfigRequest &request)const;
|
||||
void updateLoadBalancerAddressTypeConfigAsync(const Model::UpdateLoadBalancerAddressTypeConfigRequest& request, const UpdateLoadBalancerAddressTypeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateLoadBalancerAddressTypeConfigOutcomeCallable updateLoadBalancerAddressTypeConfigCallable(const Model::UpdateLoadBalancerAddressTypeConfigRequest& request) const;
|
||||
UpdateLoadBalancerAttributeOutcome updateLoadBalancerAttribute(const Model::UpdateLoadBalancerAttributeRequest &request)const;
|
||||
void updateLoadBalancerAttributeAsync(const Model::UpdateLoadBalancerAttributeRequest& request, const UpdateLoadBalancerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateLoadBalancerAttributeOutcomeCallable updateLoadBalancerAttributeCallable(const Model::UpdateLoadBalancerAttributeRequest& request) const;
|
||||
|
||||
@@ -68,6 +68,8 @@ public:
|
||||
void setProtocol(const std::string &protocol);
|
||||
bool getUpstreamKeepaliveEnabled() const;
|
||||
void setUpstreamKeepaliveEnabled(bool upstreamKeepaliveEnabled);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
StickySessionConfig getStickySessionConfig() const;
|
||||
void setStickySessionConfig(const StickySessionConfig &stickySessionConfig);
|
||||
bool getDryRun() const;
|
||||
@@ -87,6 +89,7 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
std::string protocol_;
|
||||
bool upstreamKeepaliveEnabled_;
|
||||
std::string serviceName_;
|
||||
StickySessionConfig stickySessionConfig_;
|
||||
bool dryRun_;
|
||||
bool ipv6Enabled_;
|
||||
|
||||
@@ -76,6 +76,7 @@ namespace AlibabaCloud
|
||||
bool ipv6Enabled;
|
||||
bool configManagedEnabled;
|
||||
std::string vpcId;
|
||||
std::string serviceName;
|
||||
std::string serviceManagedMode;
|
||||
HealthCheckConfig healthCheckConfig;
|
||||
std::string protocol;
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alb/AlbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALB_EXPORT UpdateLoadBalancerAddressTypeConfigRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct ZoneMappings {
|
||||
std::string vSwitchId;
|
||||
std::string zoneId;
|
||||
std::string allocationId;
|
||||
};
|
||||
UpdateLoadBalancerAddressTypeConfigRequest();
|
||||
~UpdateLoadBalancerAddressTypeConfigRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getAddressType() const;
|
||||
void setAddressType(const std::string &addressType);
|
||||
std::string getDryRun() const;
|
||||
void setDryRun(const std::string &dryRun);
|
||||
std::vector<ZoneMappings> getZoneMappings() const;
|
||||
void setZoneMappings(const std::vector<ZoneMappings> &zoneMappings);
|
||||
std::string getLoadBalancerId() const;
|
||||
void setLoadBalancerId(const std::string &loadBalancerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string addressType_;
|
||||
std::string dryRun_;
|
||||
std::vector<ZoneMappings> zoneMappings_;
|
||||
std::string loadBalancerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGREQUEST_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_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alb/AlbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALB_EXPORT UpdateLoadBalancerAddressTypeConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateLoadBalancerAddressTypeConfigResult();
|
||||
explicit UpdateLoadBalancerAddressTypeConfigResult(const std::string &payload);
|
||||
~UpdateLoadBalancerAddressTypeConfigResult();
|
||||
std::string getJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALB_MODEL_UPDATELOADBALANCERADDRESSTYPECONFIGRESULT_H_
|
||||
@@ -66,6 +66,8 @@ public:
|
||||
void setServerGroupId(const std::string &serverGroupId);
|
||||
bool getUpstreamKeepaliveEnabled() const;
|
||||
void setUpstreamKeepaliveEnabled(bool upstreamKeepaliveEnabled);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
StickySessionConfig getStickySessionConfig() const;
|
||||
void setStickySessionConfig(const StickySessionConfig &stickySessionConfig);
|
||||
bool getDryRun() const;
|
||||
@@ -78,6 +80,7 @@ private:
|
||||
std::string scheduler_;
|
||||
std::string serverGroupId_;
|
||||
bool upstreamKeepaliveEnabled_;
|
||||
std::string serviceName_;
|
||||
StickySessionConfig stickySessionConfig_;
|
||||
bool dryRun_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user