Skip to content

Commit 04785f1

Browse files
release 3.0.358
1 parent b8a5c1d commit 04785f1

File tree

56 files changed

+3728
-694
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+3728
-694
lines changed

CHANGELOG.md

Lines changed: 305 additions & 6 deletions
Large diffs are not rendered by default.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.357
1+
3.0.358

as/include/tencentcloud/as/v20180419/AsClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ namespace TencentCloud
687687
/**
688688
*本接口(ModifyLoadBalancers)用于修改伸缩组的负载均衡器。
689689
690-
* 本接口用于为伸缩组指定新的负载均衡器配置,采用完全覆盖风格,无论之前配置如何,统一按照接口参数配置为新的负载均衡器。
690+
* 本接口用于为伸缩组指定新的负载均衡器配置,采用`完全覆盖`风格,无论之前配置如何,`统一按照接口参数配置为新的负载均衡器`
691691
* 如果要为伸缩组清空负载均衡器,则在调用本接口时仅指定伸缩组ID,不指定具体负载均衡器。
692692
* 本接口会立即修改伸缩组的负载均衡器,并生成一个伸缩活动,异步修改存量实例的负载均衡器。
693693
* @param req ModifyLoadBalancersRequest

as/include/tencentcloud/as/v20180419/model/ModifyLaunchConfigurationAttributesRequest.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <tencentcloud/as/v20180419/model/DataDisk.h>
2929
#include <tencentcloud/as/v20180419/model/HostNameSettings.h>
3030
#include <tencentcloud/as/v20180419/model/InstanceNameSettings.h>
31+
#include <tencentcloud/as/v20180419/model/EnhancedService.h>
3132

3233

3334
namespace TencentCloud
@@ -437,6 +438,24 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
437438
*/
438439
bool InstanceNameSettingsHasBeenSet() const;
439440

441+
/**
442+
* 获取增强服务。通过该参数可以指定是否开启云安全、云监控等服务。
443+
* @return EnhancedService 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。
444+
*/
445+
EnhancedService GetEnhancedService() const;
446+
447+
/**
448+
* 设置增强服务。通过该参数可以指定是否开启云安全、云监控等服务。
449+
* @param EnhancedService 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。
450+
*/
451+
void SetEnhancedService(const EnhancedService& _enhancedService);
452+
453+
/**
454+
* 判断参数 EnhancedService 是否已赋值
455+
* @return EnhancedService 是否已赋值
456+
*/
457+
bool EnhancedServiceHasBeenSet() const;
458+
440459
private:
441460

442461
/**
@@ -560,6 +579,12 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
560579
InstanceNameSettings m_instanceNameSettings;
561580
bool m_instanceNameSettingsHasBeenSet;
562581

582+
/**
583+
* 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。
584+
*/
585+
EnhancedService m_enhancedService;
586+
bool m_enhancedServiceHasBeenSet;
587+
563588
};
564589
}
565590
}

as/src/v20180419/model/ModifyLaunchConfigurationAttributesRequest.cpp

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ ModifyLaunchConfigurationAttributesRequest::ModifyLaunchConfigurationAttributesR
3838
m_systemDiskHasBeenSet(false),
3939
m_dataDisksHasBeenSet(false),
4040
m_hostNameSettingsHasBeenSet(false),
41-
m_instanceNameSettingsHasBeenSet(false)
41+
m_instanceNameSettingsHasBeenSet(false),
42+
m_enhancedServiceHasBeenSet(false)
4243
{
4344
}
4445

@@ -200,6 +201,15 @@ string ModifyLaunchConfigurationAttributesRequest::ToJsonString() const
200201
m_instanceNameSettings.ToJsonObject(d[key.c_str()], allocator);
201202
}
202203

204+
if (m_enhancedServiceHasBeenSet)
205+
{
206+
rapidjson::Value iKey(rapidjson::kStringType);
207+
string key = "EnhancedService";
208+
iKey.SetString(key.c_str(), allocator);
209+
d.AddMember(iKey, rapidjson::Value(rapidjson::kObjectType).Move(), allocator);
210+
m_enhancedService.ToJsonObject(d[key.c_str()], allocator);
211+
}
212+
203213

204214
rapidjson::StringBuffer buffer;
205215
rapidjson::Writer<rapidjson::StringBuffer> writer(buffer);
@@ -464,4 +474,20 @@ bool ModifyLaunchConfigurationAttributesRequest::InstanceNameSettingsHasBeenSet(
464474
return m_instanceNameSettingsHasBeenSet;
465475
}
466476

477+
EnhancedService ModifyLaunchConfigurationAttributesRequest::GetEnhancedService() const
478+
{
479+
return m_enhancedService;
480+
}
481+
482+
void ModifyLaunchConfigurationAttributesRequest::SetEnhancedService(const EnhancedService& _enhancedService)
483+
{
484+
m_enhancedService = _enhancedService;
485+
m_enhancedServiceHasBeenSet = true;
486+
}
487+
488+
bool ModifyLaunchConfigurationAttributesRequest::EnhancedServiceHasBeenSet() const
489+
{
490+
return m_enhancedServiceHasBeenSet;
491+
}
492+
467493

cbs/include/tencentcloud/cbs/v20170312/model/Image.h

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,6 @@ namespace TencentCloud
4646
CoreInternalOutcome Deserialize(const rapidjson::Value &value);
4747

4848

49-
/**
50-
* 获取镜像实例ID。
51-
* @return ImageId 镜像实例ID。
52-
*/
53-
std::string GetImageId() const;
54-
55-
/**
56-
* 设置镜像实例ID。
57-
* @param ImageId 镜像实例ID。
58-
*/
59-
void SetImageId(const std::string& _imageId);
60-
61-
/**
62-
* 判断参数 ImageId 是否已赋值
63-
* @return ImageId 是否已赋值
64-
*/
65-
bool ImageIdHasBeenSet() const;
66-
6749
/**
6850
* 获取镜像名称。
6951
* @return ImageName 镜像名称。
@@ -82,20 +64,38 @@ namespace TencentCloud
8264
*/
8365
bool ImageNameHasBeenSet() const;
8466

85-
private:
67+
/**
68+
* 获取镜像实例ID。
69+
* @return ImageId 镜像实例ID。
70+
*/
71+
std::string GetImageId() const;
8672

8773
/**
88-
* 镜像实例ID。
74+
* 设置镜像实例ID。
75+
* @param ImageId 镜像实例ID。
8976
*/
90-
std::string m_imageId;
91-
bool m_imageIdHasBeenSet;
77+
void SetImageId(const std::string& _imageId);
78+
79+
/**
80+
* 判断参数 ImageId 是否已赋值
81+
* @return ImageId 是否已赋值
82+
*/
83+
bool ImageIdHasBeenSet() const;
84+
85+
private:
9286

9387
/**
9488
* 镜像名称。
9589
*/
9690
std::string m_imageName;
9791
bool m_imageNameHasBeenSet;
9892

93+
/**
94+
* 镜像实例ID。
95+
*/
96+
std::string m_imageId;
97+
bool m_imageIdHasBeenSet;
98+
9999
};
100100
}
101101
}

0 commit comments

Comments
 (0)