Skip to content

Commit 9c872be

Browse files
committed
Update API DescribeCloudCenterInstances: update response param.
1 parent cb0acd2 commit 9c872be

File tree

4 files changed

+136
-63
lines changed

4 files changed

+136
-63
lines changed

sas-20181203/ChangeLog.md

Lines changed: 5 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,8 @@
1-
2025-02-21 Version: 4.4.0
2-
- Support API AddCloudVendorTrialConfig.
3-
- Support API AddProtectVpcList.
4-
- Support API CreateBatchUploadUrl.
5-
- Support API DescribeCanAccessVpcSale.
6-
- Support API DescribeCloudVendorTrialConfig.
7-
- Support API DescribeDomainSecureSuggests.
8-
- Support API DescribeGraph4InvestigationOnline.
9-
- Support API DescribeIdcProbeList.
10-
- Support API DescribeImageRiskLevelStatistic.
11-
- Support API DescribeImageSecurityScanCount.
12-
- Support API DescribeSoarPlaybookTaskDetail.
13-
- Support API DescribeSoarStrategyTaskParams.
14-
- Support API DescribeSoarStrategyTaskResult.
15-
- Support API DescribeStrictEventName.
16-
- Support API GetCheckCountStatistic.
17-
- Support API GetCheckTimeDimensionStatistic.
18-
- Support API GetConsoleFuncGrayStatus.
19-
- Support API GetDockerhubImageRiskRankInfo.
20-
- Support API GetDockerhubImageRiskStatistic.
21-
- Support API GetFunctionTrialStatus.
22-
- Support API GetInstallCodeForUuid.
23-
- Support API GetInstanceAlarmStatistics.
24-
- Support API GetPublishCron.
25-
- Support API GetRegistryScanDayNum.
26-
- Support API GetSasContainerWebDefenseRule.
27-
- Support API GetServerlessAppAuthDetail.
28-
- Support API GetServerlessAuthSummary.
29-
- Support API GrantSwitchAgreement.
30-
- Support API HandleMaliciousFiles.
31-
- Support API ListAgentlessAsset.
32-
- Support API ListCheckRule.
33-
- Support API ListCheckRuleInstance.
34-
- Support API ListDockerhubImage.
35-
- Support API ListImageRegistryExtra.
36-
- Support API ListMachineApps.
37-
- Support API ListOperationCheck.
38-
- Support API ListOperationTask.
39-
- Support API ListTargetByBatch.
40-
- Support API ListUserVpc.
41-
- Support API ListUuidsByAppId.
42-
- Support API ModifyBinarySecurityPolicy.
43-
- Support API ModifyCheckRule.
44-
- Support API ModifyCloudVendorTrialConfig.
45-
- Support API ModifyHybridProxyCluster.
46-
- Support API ModifyHybridProxyPolicy.
47-
- Support API ModifyServerlessAuthToMachine.
48-
- Support API ProcessSoarStrategyTask.
49-
- Support API UpdateHybridProxy.
50-
- Support API UpdateStrictEventName.
51-
- Support API UpdateWhiteList.
52-
- Support API VerifyCheckCustomConfig.
53-
- Update API AddContainerDefenseRule: update param Whitelist.
54-
- Update API DescribeGroupedVul: update response param.
55-
- Update API DescribeImageEventOperationPage: update response param.
56-
- Update API DescribeVulWhitelist: add param Lang.
57-
- Update API GetContainerDefenseRuleDetail: update response param.
58-
- Update API GetImageEventOperation: update response param.
59-
- Update API ListVulAutoRepairConfig: add param Lang.
60-
- Update API ModifyBackupPolicyStatus: update param PolicyVersion.
61-
- Update API ModifyContainerDefenseRule: update param Whitelist.
1+
2025-02-26 Version: 4.4.1
2+
- Update API DescribeCloudCenterInstances: update response param.
3+
- Update API DescribeVersionConfig: update response param.
4+
- Update API GetAuthSummary: update response param.
5+
- Update API ListCheckResult: update response param.
626

637

648
2025-01-14 Version: 4.0.3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '4.4.0'
1+
__version__ = '4.4.1'

sas-20181203/alibabacloud_sas20181203/models.py

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37659,6 +37659,7 @@ def __init__(
3765937659
os: str = None,
3766037660
os_name: str = None,
3766137661
pod_count: int = None,
37662+
post_paid_flag: int = None,
3766237663
region: str = None,
3766337664
region_id: str = None,
3766437665
region_name: str = None,
@@ -37817,6 +37818,7 @@ def __init__(
3781737818
self.os_name = os_name
3781837819
# The number of pods.
3781937820
self.pod_count = pod_count
37821+
self.post_paid_flag = post_paid_flag
3782037822
# The region ID of the asset.
3782137823
self.region = region
3782237824
# The ID of the region in which the asset resides.
@@ -38004,6 +38006,8 @@ def to_map(self):
3800438006
result['OsName'] = self.os_name
3800538007
if self.pod_count is not None:
3800638008
result['PodCount'] = self.pod_count
38009+
if self.post_paid_flag is not None:
38010+
result['PostPaidFlag'] = self.post_paid_flag
3800738011
if self.region is not None:
3800838012
result['Region'] = self.region
3800938013
if self.region_id is not None:
@@ -38114,6 +38118,8 @@ def from_map(self, m: dict = None):
3811438118
self.os_name = m.get('OsName')
3811538119
if m.get('PodCount') is not None:
3811638120
self.pod_count = m.get('PodCount')
38121+
if m.get('PostPaidFlag') is not None:
38122+
self.post_paid_flag = m.get('PostPaidFlag')
3811738123
if m.get('Region') is not None:
3811838124
self.region = m.get('Region')
3811938125
if m.get('RegionId') is not None:
@@ -55021,6 +55027,7 @@ def __init__(
5502155027
self.alias_name = alias_name
5502255028
# The number of vulnerabilities that have the **high** priority.
5502355029
self.asap_count = asap_count
55030+
# The timestamp when the vulnerability was first detected. Unit: milliseconds.
5502455031
self.gmt_first = gmt_first
5502555032
# The timestamp when the vulnerability was last detected. Unit: milliseconds.
5502655033
self.gmt_last = gmt_last
@@ -95752,8 +95759,10 @@ def __init__(
9575295759
last_trail_end_time: int = None,
9575395760
mvauth_count: int = None,
9575495761
mvunused_auth_count: int = None,
95762+
merged_version: int = None,
9575595763
new_threat_analysis: int = None,
9575695764
open_time: int = None,
95765+
post_pay_host_version: int = None,
9575795766
post_pay_instance_id: str = None,
9575895767
post_pay_module_switch: str = None,
9575995768
post_pay_open_time: int = None,
@@ -95850,13 +95859,15 @@ def __init__(
9585095859
self.mvauth_count = mvauth_count
9585195860
# The total remaining quota in the Multi-version edition of purchased Security Center.
9585295861
self.mvunused_auth_count = mvunused_auth_count
95862+
self.merged_version = merged_version
9585395863
# Indicates whether the new version of the threat analysis and response feature is enabled. With the new version, you can purchase the amount of log data that you want to add to the feature and log storage capacity. Valid values:
9585495864
#
9585595865
# * **0**: no
9585695866
# * **1**: yes
9585795867
self.new_threat_analysis = new_threat_analysis
9585895868
# The timestamp when Security Center is purchased. Unit: milliseconds.
9585995869
self.open_time = open_time
95870+
self.post_pay_host_version = post_pay_host_version
9586095871
# The instance ID of Security Center that uses the pay-as-you-go billing method.
9586195872
self.post_pay_instance_id = post_pay_instance_id
9586295873
# The configuration of the pay-as-you-go module. Valid values:
@@ -95972,10 +95983,14 @@ def to_map(self):
9597295983
result['MVAuthCount'] = self.mvauth_count
9597395984
if self.mvunused_auth_count is not None:
9597495985
result['MVUnusedAuthCount'] = self.mvunused_auth_count
95986+
if self.merged_version is not None:
95987+
result['MergedVersion'] = self.merged_version
9597595988
if self.new_threat_analysis is not None:
9597695989
result['NewThreatAnalysis'] = self.new_threat_analysis
9597795990
if self.open_time is not None:
9597895991
result['OpenTime'] = self.open_time
95992+
if self.post_pay_host_version is not None:
95993+
result['PostPayHostVersion'] = self.post_pay_host_version
9597995994
if self.post_pay_instance_id is not None:
9598095995
result['PostPayInstanceId'] = self.post_pay_instance_id
9598195996
if self.post_pay_module_switch is not None:
@@ -96056,10 +96071,14 @@ def from_map(self, m: dict = None):
9605696071
self.mvauth_count = m.get('MVAuthCount')
9605796072
if m.get('MVUnusedAuthCount') is not None:
9605896073
self.mvunused_auth_count = m.get('MVUnusedAuthCount')
96074+
if m.get('MergedVersion') is not None:
96075+
self.merged_version = m.get('MergedVersion')
9605996076
if m.get('NewThreatAnalysis') is not None:
9606096077
self.new_threat_analysis = m.get('NewThreatAnalysis')
9606196078
if m.get('OpenTime') is not None:
9606296079
self.open_time = m.get('OpenTime')
96080+
if m.get('PostPayHostVersion') is not None:
96081+
self.post_pay_host_version = m.get('PostPayHostVersion')
9606396082
if m.get('PostPayInstanceId') is not None:
9606496083
self.post_pay_instance_id = m.get('PostPayInstanceId')
9606596084
if m.get('PostPayModuleSwitch') is not None:
@@ -100243,6 +100262,10 @@ def __init__(
100243100262
):
100244100263
# The number of the page to return. Pages start from page 1. Default value: 1.
100245100264
self.current_page = current_page
100265+
# The language of the content within the request and response. Valid values:
100266+
#
100267+
# * **zh**: Chinese
100268+
# * **en**: English
100246100269
self.lang = lang
100247100270
# The number of entries to return on each page. Default value: 10.
100248100271
self.page_size = page_size
@@ -111164,6 +111187,8 @@ def __init__(
111164111187
self,
111165111188
bind_core_count: int = None,
111166111189
bind_ecs_count: int = None,
111190+
post_paid_bind_core_count: int = None,
111191+
post_paid_bind_ecs_count: int = None,
111167111192
risk_core_count: int = None,
111168111193
risk_ecs_count: int = None,
111169111194
total_core_count: int = None,
@@ -111175,6 +111200,8 @@ def __init__(
111175111200
self.bind_core_count = bind_core_count
111176111201
# The number of the assets that are bound to Security Center.
111177111202
self.bind_ecs_count = bind_ecs_count
111203+
self.post_paid_bind_core_count = post_paid_bind_core_count
111204+
self.post_paid_bind_ecs_count = post_paid_bind_ecs_count
111178111205
# The number of cores of the assets that are at risk.
111179111206
self.risk_core_count = risk_core_count
111180111207
# The number of the assets that are at risk.
@@ -111201,6 +111228,10 @@ def to_map(self):
111201111228
result['BindCoreCount'] = self.bind_core_count
111202111229
if self.bind_ecs_count is not None:
111203111230
result['BindEcsCount'] = self.bind_ecs_count
111231+
if self.post_paid_bind_core_count is not None:
111232+
result['PostPaidBindCoreCount'] = self.post_paid_bind_core_count
111233+
if self.post_paid_bind_ecs_count is not None:
111234+
result['PostPaidBindEcsCount'] = self.post_paid_bind_ecs_count
111204111235
if self.risk_core_count is not None:
111205111236
result['RiskCoreCount'] = self.risk_core_count
111206111237
if self.risk_ecs_count is not None:
@@ -111221,6 +111252,10 @@ def from_map(self, m: dict = None):
111221111252
self.bind_core_count = m.get('BindCoreCount')
111222111253
if m.get('BindEcsCount') is not None:
111223111254
self.bind_ecs_count = m.get('BindEcsCount')
111255+
if m.get('PostPaidBindCoreCount') is not None:
111256+
self.post_paid_bind_core_count = m.get('PostPaidBindCoreCount')
111257+
if m.get('PostPaidBindEcsCount') is not None:
111258+
self.post_paid_bind_ecs_count = m.get('PostPaidBindEcsCount')
111224111259
if m.get('RiskCoreCount') is not None:
111225111260
self.risk_core_count = m.get('RiskCoreCount')
111226111261
if m.get('RiskEcsCount') is not None:
@@ -111236,6 +111271,57 @@ def from_map(self, m: dict = None):
111236111271
return self
111237111272

111238111273

111274+
class GetAuthSummaryResponseBodyPostPaidVersionSummary(TeaModel):
111275+
def __init__(
111276+
self,
111277+
auth_bind_type: str = None,
111278+
index: int = None,
111279+
used_core_count: int = None,
111280+
used_ecs_count: int = None,
111281+
version: int = None,
111282+
):
111283+
self.auth_bind_type = auth_bind_type
111284+
self.index = index
111285+
self.used_core_count = used_core_count
111286+
self.used_ecs_count = used_ecs_count
111287+
self.version = version
111288+
111289+
def validate(self):
111290+
pass
111291+
111292+
def to_map(self):
111293+
_map = super().to_map()
111294+
if _map is not None:
111295+
return _map
111296+
111297+
result = dict()
111298+
if self.auth_bind_type is not None:
111299+
result['AuthBindType'] = self.auth_bind_type
111300+
if self.index is not None:
111301+
result['Index'] = self.index
111302+
if self.used_core_count is not None:
111303+
result['UsedCoreCount'] = self.used_core_count
111304+
if self.used_ecs_count is not None:
111305+
result['UsedEcsCount'] = self.used_ecs_count
111306+
if self.version is not None:
111307+
result['Version'] = self.version
111308+
return result
111309+
111310+
def from_map(self, m: dict = None):
111311+
m = m or dict()
111312+
if m.get('AuthBindType') is not None:
111313+
self.auth_bind_type = m.get('AuthBindType')
111314+
if m.get('Index') is not None:
111315+
self.index = m.get('Index')
111316+
if m.get('UsedCoreCount') is not None:
111317+
self.used_core_count = m.get('UsedCoreCount')
111318+
if m.get('UsedEcsCount') is not None:
111319+
self.used_ecs_count = m.get('UsedEcsCount')
111320+
if m.get('Version') is not None:
111321+
self.version = m.get('Version')
111322+
return self
111323+
111324+
111239111325
class GetAuthSummaryResponseBodyVersionSummary(TeaModel):
111240111326
def __init__(
111241111327
self,
@@ -111374,6 +111460,10 @@ def __init__(
111374111460
highest_version: int = None,
111375111461
is_multi_version: int = None,
111376111462
machine: GetAuthSummaryResponseBodyMachine = None,
111463+
post_paid_highest_version: str = None,
111464+
post_paid_host_auto_bind: str = None,
111465+
post_paid_host_auto_bind_version: str = None,
111466+
post_paid_version_summary: List[GetAuthSummaryResponseBodyPostPaidVersionSummary] = None,
111377111467
request_id: str = None,
111378111468
version_summary: List[GetAuthSummaryResponseBodyVersionSummary] = None,
111379111469
):
@@ -111425,6 +111515,10 @@ def __init__(
111425111515
self.is_multi_version = is_multi_version
111426111516
# The statistics of the protection quota for assets.
111427111517
self.machine = machine
111518+
self.post_paid_highest_version = post_paid_highest_version
111519+
self.post_paid_host_auto_bind = post_paid_host_auto_bind
111520+
self.post_paid_host_auto_bind_version = post_paid_host_auto_bind_version
111521+
self.post_paid_version_summary = post_paid_version_summary
111428111522
# The request ID.
111429111523
self.request_id = request_id
111430111524
# The quota consumption statistics.
@@ -111433,6 +111527,10 @@ def __init__(
111433111527
def validate(self):
111434111528
if self.machine:
111435111529
self.machine.validate()
111530+
if self.post_paid_version_summary:
111531+
for k in self.post_paid_version_summary:
111532+
if k:
111533+
k.validate()
111436111534
if self.version_summary:
111437111535
for k in self.version_summary:
111438111536
if k:
@@ -111462,6 +111560,16 @@ def to_map(self):
111462111560
result['IsMultiVersion'] = self.is_multi_version
111463111561
if self.machine is not None:
111464111562
result['Machine'] = self.machine.to_map()
111563+
if self.post_paid_highest_version is not None:
111564+
result['PostPaidHighestVersion'] = self.post_paid_highest_version
111565+
if self.post_paid_host_auto_bind is not None:
111566+
result['PostPaidHostAutoBind'] = self.post_paid_host_auto_bind
111567+
if self.post_paid_host_auto_bind_version is not None:
111568+
result['PostPaidHostAutoBindVersion'] = self.post_paid_host_auto_bind_version
111569+
result['PostPaidVersionSummary'] = []
111570+
if self.post_paid_version_summary is not None:
111571+
for k in self.post_paid_version_summary:
111572+
result['PostPaidVersionSummary'].append(k.to_map() if k else None)
111465111573
if self.request_id is not None:
111466111574
result['RequestId'] = self.request_id
111467111575
result['VersionSummary'] = []
@@ -111491,6 +111599,17 @@ def from_map(self, m: dict = None):
111491111599
if m.get('Machine') is not None:
111492111600
temp_model = GetAuthSummaryResponseBodyMachine()
111493111601
self.machine = temp_model.from_map(m['Machine'])
111602+
if m.get('PostPaidHighestVersion') is not None:
111603+
self.post_paid_highest_version = m.get('PostPaidHighestVersion')
111604+
if m.get('PostPaidHostAutoBind') is not None:
111605+
self.post_paid_host_auto_bind = m.get('PostPaidHostAutoBind')
111606+
if m.get('PostPaidHostAutoBindVersion') is not None:
111607+
self.post_paid_host_auto_bind_version = m.get('PostPaidHostAutoBindVersion')
111608+
self.post_paid_version_summary = []
111609+
if m.get('PostPaidVersionSummary') is not None:
111610+
for k in m.get('PostPaidVersionSummary'):
111611+
temp_model = GetAuthSummaryResponseBodyPostPaidVersionSummary()
111612+
self.post_paid_version_summary.append(temp_model.from_map(k))
111494111613
if m.get('RequestId') is not None:
111495111614
self.request_id = m.get('RequestId')
111496111615
self.version_summary = []
@@ -142999,6 +143118,7 @@ def __init__(
142999143118
status_message: str = None,
143000143119
task_id: str = None,
143001143120
trial_permission: bool = None,
143121+
trial_permission_type: int = None,
143002143122
vendor: str = None,
143003143123
vendor_show_name: str = None,
143004143124
):
@@ -143114,6 +143234,7 @@ def __init__(
143114143234
self.task_id = task_id
143115143235
# Indicates whether the TRIAL permission is required.
143116143236
self.trial_permission = trial_permission
143237+
self.trial_permission_type = trial_permission_type
143117143238
# The cloud service provider.
143118143239
self.vendor = vendor
143119143240
# The name of the cloud service provider.
@@ -143165,6 +143286,8 @@ def to_map(self):
143165143286
result['TaskId'] = self.task_id
143166143287
if self.trial_permission is not None:
143167143288
result['TrialPermission'] = self.trial_permission
143289+
if self.trial_permission_type is not None:
143290+
result['TrialPermissionType'] = self.trial_permission_type
143168143291
if self.vendor is not None:
143169143292
result['Vendor'] = self.vendor
143170143293
if self.vendor_show_name is not None:
@@ -143208,6 +143331,8 @@ def from_map(self, m: dict = None):
143208143331
self.task_id = m.get('TaskId')
143209143332
if m.get('TrialPermission') is not None:
143210143333
self.trial_permission = m.get('TrialPermission')
143334+
if m.get('TrialPermissionType') is not None:
143335+
self.trial_permission_type = m.get('TrialPermissionType')
143211143336
if m.get('Vendor') is not None:
143212143337
self.vendor = m.get('Vendor')
143213143338
if m.get('VendorShowName') is not None:
@@ -165601,6 +165726,10 @@ def __init__(
165601165726
self.alias_name = alias_name
165602165727
# The number of the page to return. Default value: **1**.
165603165728
self.current_page = current_page
165729+
# The language of the content within the request and response. Default value: **zh**. Valid values:
165730+
#
165731+
# * **zh**: Chinese
165732+
# * **en**: English
165604165733
self.lang = lang
165605165734
# The number of entries per page. Default value: **10**.
165606165735
self.page_size = page_size

0 commit comments

Comments
 (0)