Supported DescribeLoadBalancers with DeleteProtection and so on.

This commit is contained in:
sdk-team
2021-05-21 12:36:23 +00:00
parent f613ffa984
commit 5d8e86e1a6
4 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2021-05-21 Version: 1.36.750
- Supported DescribeLoadBalancers with DeleteProtection and so on.
2021-05-21 Version: 1.36.749
- Support StrictResourceProvision in ApplyNodes.

View File

@@ -1 +1 @@
1.36.749
1.36.750

View File

@@ -60,6 +60,7 @@ namespace AlibabaCloud
std::string internetChargeTypeAlias;
std::string loadBalancerName;
std::string vpcId;
std::string deleteProtection;
std::string regionId;
std::string addressType;
std::string loadBalancerStatus;

View File

@@ -91,6 +91,8 @@ void DescribeLoadBalancersResult::parse(const std::string &payload)
loadBalancersObject.internetChargeTypeAlias = valueLoadBalancersLoadBalancer["InternetChargeTypeAlias"].asString();
if(!valueLoadBalancersLoadBalancer["LoadBalancerSpec"].isNull())
loadBalancersObject.loadBalancerSpec = valueLoadBalancersLoadBalancer["LoadBalancerSpec"].asString();
if(!valueLoadBalancersLoadBalancer["DeleteProtection"].isNull())
loadBalancersObject.deleteProtection = valueLoadBalancersLoadBalancer["DeleteProtection"].asString();
auto allTagsNode = valueLoadBalancersLoadBalancer["Tags"]["Tag"];
for (auto valueLoadBalancersLoadBalancerTagsTag : allTagsNode)
{