@alicloud/config20200907 3.0.11 → 3.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +801 -83
- package/dist/client.js +44 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +851 -83
package/src/client.ts
CHANGED
|
@@ -519,7 +519,25 @@ export class CreateAggregateCompliancePackRequestExcludeTagsScope extends $dara.
|
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
export class CreateAggregateCompliancePackRequestTag extends $dara.Model {
|
|
522
|
+
/**
|
|
523
|
+
* @remarks
|
|
524
|
+
* The key of the tag that is added to the resource.
|
|
525
|
+
*
|
|
526
|
+
* You can add up to 20 tag keys to a resource.
|
|
527
|
+
*
|
|
528
|
+
* @example
|
|
529
|
+
* key-1
|
|
530
|
+
*/
|
|
522
531
|
key?: string;
|
|
532
|
+
/**
|
|
533
|
+
* @remarks
|
|
534
|
+
* The value of the tag that is added to the resource.
|
|
535
|
+
*
|
|
536
|
+
* You can add up to 20 tag values to a resource.
|
|
537
|
+
*
|
|
538
|
+
* @example
|
|
539
|
+
* value-1
|
|
540
|
+
*/
|
|
523
541
|
value?: string;
|
|
524
542
|
static names(): { [key: string]: string } {
|
|
525
543
|
return {
|
|
@@ -705,7 +723,29 @@ export class CreateAggregateConfigRuleRequestExcludeTagsScope extends $dara.Mode
|
|
|
705
723
|
}
|
|
706
724
|
|
|
707
725
|
export class CreateAggregateConfigRuleRequestTag extends $dara.Model {
|
|
726
|
+
/**
|
|
727
|
+
* @remarks
|
|
728
|
+
* The tag key.
|
|
729
|
+
*
|
|
730
|
+
* The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
|
|
731
|
+
*
|
|
732
|
+
* You can specify at most 20 tag keys.
|
|
733
|
+
*
|
|
734
|
+
* @example
|
|
735
|
+
* key-1
|
|
736
|
+
*/
|
|
708
737
|
key?: string;
|
|
738
|
+
/**
|
|
739
|
+
* @remarks
|
|
740
|
+
* The tag values.
|
|
741
|
+
*
|
|
742
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
743
|
+
*
|
|
744
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
745
|
+
*
|
|
746
|
+
* @example
|
|
747
|
+
* value-1
|
|
748
|
+
*/
|
|
709
749
|
value?: string;
|
|
710
750
|
static names(): { [key: string]: string } {
|
|
711
751
|
return {
|
|
@@ -901,7 +941,27 @@ export class CreateAggregatorRequestAggregatorAccounts extends $dara.Model {
|
|
|
901
941
|
}
|
|
902
942
|
|
|
903
943
|
export class CreateAggregatorRequestTag extends $dara.Model {
|
|
944
|
+
/**
|
|
945
|
+
* @remarks
|
|
946
|
+
* The tag key of the resource. You can specify up to 20 tag keys.
|
|
947
|
+
*
|
|
948
|
+
* The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
|
|
949
|
+
*
|
|
950
|
+
* @example
|
|
951
|
+
* key-1
|
|
952
|
+
*/
|
|
904
953
|
key?: string;
|
|
954
|
+
/**
|
|
955
|
+
* @remarks
|
|
956
|
+
* The tag values.
|
|
957
|
+
*
|
|
958
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
959
|
+
*
|
|
960
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
961
|
+
*
|
|
962
|
+
* @example
|
|
963
|
+
* value-1
|
|
964
|
+
*/
|
|
905
965
|
value?: string;
|
|
906
966
|
static names(): { [key: string]: string } {
|
|
907
967
|
return {
|
|
@@ -1099,7 +1159,29 @@ export class CreateCompliancePackRequestExcludeTagsScope extends $dara.Model {
|
|
|
1099
1159
|
}
|
|
1100
1160
|
|
|
1101
1161
|
export class CreateCompliancePackRequestTag extends $dara.Model {
|
|
1162
|
+
/**
|
|
1163
|
+
* @remarks
|
|
1164
|
+
* The tag keys.
|
|
1165
|
+
*
|
|
1166
|
+
* The tag keys cannot be an empty string. The tag keys can be up to 64 characters in length. The tag keys cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
1167
|
+
*
|
|
1168
|
+
* You can specify at most 20 tag keys in each call.
|
|
1169
|
+
*
|
|
1170
|
+
* @example
|
|
1171
|
+
* key-1
|
|
1172
|
+
*/
|
|
1102
1173
|
key?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* @remarks
|
|
1176
|
+
* The tag values.
|
|
1177
|
+
*
|
|
1178
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
1179
|
+
*
|
|
1180
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
1181
|
+
*
|
|
1182
|
+
* @example
|
|
1183
|
+
* value-1
|
|
1184
|
+
*/
|
|
1103
1185
|
value?: string;
|
|
1104
1186
|
static names(): { [key: string]: string } {
|
|
1105
1187
|
return {
|
|
@@ -2925,7 +3007,27 @@ export class GetAggregateAdvancedSearchFileResponseBodyResourceSearch extends $d
|
|
|
2925
3007
|
}
|
|
2926
3008
|
|
|
2927
3009
|
export class GetAggregateCompliancePackRequestTag extends $dara.Model {
|
|
3010
|
+
/**
|
|
3011
|
+
* @remarks
|
|
3012
|
+
* The tag key of the resource. You can specify up to 20 tag keys.
|
|
3013
|
+
*
|
|
3014
|
+
* The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
|
|
3015
|
+
*
|
|
3016
|
+
* @example
|
|
3017
|
+
* key-1
|
|
3018
|
+
*/
|
|
2928
3019
|
key?: string;
|
|
3020
|
+
/**
|
|
3021
|
+
* @remarks
|
|
3022
|
+
* The tag values.
|
|
3023
|
+
*
|
|
3024
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
3025
|
+
*
|
|
3026
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
3027
|
+
*
|
|
3028
|
+
* @example
|
|
3029
|
+
* value-1
|
|
3030
|
+
*/
|
|
2929
3031
|
value?: string;
|
|
2930
3032
|
static names(): { [key: string]: string } {
|
|
2931
3033
|
return {
|
|
@@ -3298,7 +3400,21 @@ export class GetAggregateCompliancePackResponseBodyCompliancePackScope extends $
|
|
|
3298
3400
|
}
|
|
3299
3401
|
|
|
3300
3402
|
export class GetAggregateCompliancePackResponseBodyCompliancePackTags extends $dara.Model {
|
|
3403
|
+
/**
|
|
3404
|
+
* @remarks
|
|
3405
|
+
* The tag keys of the resource.
|
|
3406
|
+
*
|
|
3407
|
+
* @example
|
|
3408
|
+
* key-1
|
|
3409
|
+
*/
|
|
3301
3410
|
tagKey?: string;
|
|
3411
|
+
/**
|
|
3412
|
+
* @remarks
|
|
3413
|
+
* The tag values of the resource.
|
|
3414
|
+
*
|
|
3415
|
+
* @example
|
|
3416
|
+
* value-1
|
|
3417
|
+
*/
|
|
3302
3418
|
tagValue?: string;
|
|
3303
3419
|
static names(): { [key: string]: string } {
|
|
3304
3420
|
return {
|
|
@@ -3413,6 +3529,10 @@ export class GetAggregateCompliancePackResponseBodyCompliancePack extends $dara.
|
|
|
3413
3529
|
* ACTIVE
|
|
3414
3530
|
*/
|
|
3415
3531
|
status?: string;
|
|
3532
|
+
/**
|
|
3533
|
+
* @remarks
|
|
3534
|
+
* The tags.
|
|
3535
|
+
*/
|
|
3416
3536
|
tags?: GetAggregateCompliancePackResponseBodyCompliancePackTags[];
|
|
3417
3537
|
/**
|
|
3418
3538
|
* @remarks
|
|
@@ -4859,6 +4979,17 @@ export class GetAggregateConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
4859
4979
|
* eip-8vbf3x310fn56ijfd****
|
|
4860
4980
|
*/
|
|
4861
4981
|
resourceIdsScope?: string;
|
|
4982
|
+
/**
|
|
4983
|
+
* @remarks
|
|
4984
|
+
* The names of the resource groups to which the rule applies.
|
|
4985
|
+
*
|
|
4986
|
+
* @example
|
|
4987
|
+
* i-xxx
|
|
4988
|
+
*
|
|
4989
|
+
* **if can be null:**
|
|
4990
|
+
* true
|
|
4991
|
+
*/
|
|
4992
|
+
resourceNameScope?: string;
|
|
4862
4993
|
/**
|
|
4863
4994
|
* @remarks
|
|
4864
4995
|
* The type of the resource evaluated by the rule.
|
|
@@ -4886,29 +5017,41 @@ export class GetAggregateConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
4886
5017
|
source?: GetAggregateConfigRuleResponseBodyConfigRuleSource;
|
|
4887
5018
|
/**
|
|
4888
5019
|
* @remarks
|
|
4889
|
-
*
|
|
5020
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
5021
|
+
*
|
|
5022
|
+
* The logical relationship among the tag keys if you specify multiple tag keys for the `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and the TagKeyLogicScope parameter to `AND`, the rule applies to resources with both the `ECS` and `OSS` tag keys. Valid values:
|
|
4890
5023
|
*
|
|
4891
|
-
* * AND
|
|
4892
|
-
* * OR
|
|
5024
|
+
* * AND
|
|
5025
|
+
* * OR
|
|
4893
5026
|
*
|
|
4894
5027
|
* @example
|
|
4895
5028
|
* AND
|
|
5029
|
+
*
|
|
5030
|
+
* @deprecated
|
|
4896
5031
|
*/
|
|
4897
5032
|
tagKeyLogicScope?: string;
|
|
4898
5033
|
/**
|
|
4899
5034
|
* @remarks
|
|
5035
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
5036
|
+
*
|
|
4900
5037
|
* The tag key used to filter resources. The rule applies only to the resources with the specified tag key.
|
|
4901
5038
|
*
|
|
4902
5039
|
* @example
|
|
4903
5040
|
* RAM
|
|
5041
|
+
*
|
|
5042
|
+
* @deprecated
|
|
4904
5043
|
*/
|
|
4905
5044
|
tagKeyScope?: string;
|
|
4906
5045
|
/**
|
|
4907
5046
|
* @remarks
|
|
5047
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
5048
|
+
*
|
|
4908
5049
|
* The tag value used to filter resources. The rule applies only to the resources with the specified tag value.
|
|
4909
5050
|
*
|
|
4910
5051
|
* @example
|
|
4911
5052
|
* MFA
|
|
5053
|
+
*
|
|
5054
|
+
* @deprecated
|
|
4912
5055
|
*/
|
|
4913
5056
|
tagValueScope?: string;
|
|
4914
5057
|
/**
|
|
@@ -4950,6 +5093,7 @@ export class GetAggregateConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
4950
5093
|
regionIdsScope: 'RegionIdsScope',
|
|
4951
5094
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
4952
5095
|
resourceIdsScope: 'ResourceIdsScope',
|
|
5096
|
+
resourceNameScope: 'ResourceNameScope',
|
|
4953
5097
|
resourceTypesScope: 'ResourceTypesScope',
|
|
4954
5098
|
riskLevel: 'RiskLevel',
|
|
4955
5099
|
source: 'Source',
|
|
@@ -4990,6 +5134,7 @@ export class GetAggregateConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
4990
5134
|
regionIdsScope: 'string',
|
|
4991
5135
|
resourceGroupIdsScope: 'string',
|
|
4992
5136
|
resourceIdsScope: 'string',
|
|
5137
|
+
resourceNameScope: 'string',
|
|
4993
5138
|
resourceTypesScope: 'string',
|
|
4994
5139
|
riskLevel: 'number',
|
|
4995
5140
|
source: GetAggregateConfigRuleResponseBodyConfigRuleSource,
|
|
@@ -5243,8 +5388,8 @@ export class GetAggregateConfigRulesReportResponseBodyConfigRulesReport extends
|
|
|
5243
5388
|
* @remarks
|
|
5244
5389
|
* The status of the compliance evaluation report. Valid values:
|
|
5245
5390
|
*
|
|
5246
|
-
* * NONE: The compliance evaluation report
|
|
5247
|
-
* * CREATING: The compliance evaluation report
|
|
5391
|
+
* * NONE: The compliance evaluation report is not generated.
|
|
5392
|
+
* * CREATING: The compliance evaluation report is being generated.
|
|
5248
5393
|
* * COMPLETE: The compliance evaluation report was generated.
|
|
5249
5394
|
*
|
|
5250
5395
|
* @example
|
|
@@ -5253,7 +5398,7 @@ export class GetAggregateConfigRulesReportResponseBodyConfigRulesReport extends
|
|
|
5253
5398
|
reportStatus?: string;
|
|
5254
5399
|
/**
|
|
5255
5400
|
* @remarks
|
|
5256
|
-
* The URL
|
|
5401
|
+
* The URL used to download the compliance evaluation report.
|
|
5257
5402
|
*/
|
|
5258
5403
|
reportUrl?: string;
|
|
5259
5404
|
static names(): { [key: string]: string } {
|
|
@@ -6374,7 +6519,29 @@ export class GetAggregateResourceInventoryResponseBodyResourceInventory extends
|
|
|
6374
6519
|
}
|
|
6375
6520
|
|
|
6376
6521
|
export class GetAggregatorRequestTag extends $dara.Model {
|
|
6522
|
+
/**
|
|
6523
|
+
* @remarks
|
|
6524
|
+
* The tag key.
|
|
6525
|
+
*
|
|
6526
|
+
* The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
|
|
6527
|
+
*
|
|
6528
|
+
* You can specify at most 20 tag keys.
|
|
6529
|
+
*
|
|
6530
|
+
* @example
|
|
6531
|
+
* key-1
|
|
6532
|
+
*/
|
|
6377
6533
|
key?: string;
|
|
6534
|
+
/**
|
|
6535
|
+
* @remarks
|
|
6536
|
+
* The tag values.
|
|
6537
|
+
*
|
|
6538
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
6539
|
+
*
|
|
6540
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
6541
|
+
*
|
|
6542
|
+
* @example
|
|
6543
|
+
* value-1
|
|
6544
|
+
*/
|
|
6378
6545
|
value?: string;
|
|
6379
6546
|
static names(): { [key: string]: string } {
|
|
6380
6547
|
return {
|
|
@@ -6468,7 +6635,21 @@ export class GetAggregatorResponseBodyAggregatorAggregatorAccounts extends $dara
|
|
|
6468
6635
|
}
|
|
6469
6636
|
|
|
6470
6637
|
export class GetAggregatorResponseBodyAggregatorTags extends $dara.Model {
|
|
6638
|
+
/**
|
|
6639
|
+
* @remarks
|
|
6640
|
+
* The tag key.
|
|
6641
|
+
*
|
|
6642
|
+
* @example
|
|
6643
|
+
* key-1
|
|
6644
|
+
*/
|
|
6471
6645
|
tagKey?: string;
|
|
6646
|
+
/**
|
|
6647
|
+
* @remarks
|
|
6648
|
+
* The tag value.
|
|
6649
|
+
*
|
|
6650
|
+
* @example
|
|
6651
|
+
* value-1
|
|
6652
|
+
*/
|
|
6472
6653
|
tagValue?: string;
|
|
6473
6654
|
static names(): { [key: string]: string } {
|
|
6474
6655
|
return {
|
|
@@ -6580,6 +6761,10 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
|
|
|
6580
6761
|
* fd-brHdgv****
|
|
6581
6762
|
*/
|
|
6582
6763
|
folderId?: string;
|
|
6764
|
+
/**
|
|
6765
|
+
* @remarks
|
|
6766
|
+
* tags
|
|
6767
|
+
*/
|
|
6583
6768
|
tags?: GetAggregatorResponseBodyAggregatorTags[];
|
|
6584
6769
|
static names(): { [key: string]: string } {
|
|
6585
6770
|
return {
|
|
@@ -6629,7 +6814,25 @@ export class GetAggregatorResponseBodyAggregator extends $dara.Model {
|
|
|
6629
6814
|
}
|
|
6630
6815
|
|
|
6631
6816
|
export class GetCompliancePackRequestTag extends $dara.Model {
|
|
6817
|
+
/**
|
|
6818
|
+
* @remarks
|
|
6819
|
+
* The tag key.
|
|
6820
|
+
*
|
|
6821
|
+
* The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
|
|
6822
|
+
*
|
|
6823
|
+
* You can specify at most 20 tag keys.
|
|
6824
|
+
*
|
|
6825
|
+
* @example
|
|
6826
|
+
* key-1
|
|
6827
|
+
*/
|
|
6632
6828
|
key?: string;
|
|
6829
|
+
/**
|
|
6830
|
+
* @remarks
|
|
6831
|
+
* The tag value. The tag value can be up to 256 characters in length and cannot contain `http://` or `https://`.
|
|
6832
|
+
*
|
|
6833
|
+
* @example
|
|
6834
|
+
* value-1
|
|
6835
|
+
*/
|
|
6633
6836
|
value?: string;
|
|
6634
6837
|
static names(): { [key: string]: string } {
|
|
6635
6838
|
return {
|
|
@@ -6804,7 +7007,7 @@ export class GetCompliancePackResponseBodyCompliancePackConfigRules extends $dar
|
|
|
6804
7007
|
export class GetCompliancePackResponseBodyCompliancePackScopeExcludeTagsScope extends $dara.Model {
|
|
6805
7008
|
/**
|
|
6806
7009
|
* @remarks
|
|
6807
|
-
* The tag
|
|
7010
|
+
* The key of the tag.
|
|
6808
7011
|
*
|
|
6809
7012
|
* @example
|
|
6810
7013
|
* key-2
|
|
@@ -6812,7 +7015,7 @@ export class GetCompliancePackResponseBodyCompliancePackScopeExcludeTagsScope ex
|
|
|
6812
7015
|
tagKey?: string;
|
|
6813
7016
|
/**
|
|
6814
7017
|
* @remarks
|
|
6815
|
-
* The tag
|
|
7018
|
+
* The value of the tag.
|
|
6816
7019
|
*
|
|
6817
7020
|
* @example
|
|
6818
7021
|
* value-2
|
|
@@ -6844,7 +7047,7 @@ export class GetCompliancePackResponseBodyCompliancePackScopeExcludeTagsScope ex
|
|
|
6844
7047
|
export class GetCompliancePackResponseBodyCompliancePackScopeTagsScope extends $dara.Model {
|
|
6845
7048
|
/**
|
|
6846
7049
|
* @remarks
|
|
6847
|
-
* The tag
|
|
7050
|
+
* The key of the tag.
|
|
6848
7051
|
*
|
|
6849
7052
|
* @example
|
|
6850
7053
|
* key-1
|
|
@@ -6852,7 +7055,7 @@ export class GetCompliancePackResponseBodyCompliancePackScopeTagsScope extends $
|
|
|
6852
7055
|
tagKey?: string;
|
|
6853
7056
|
/**
|
|
6854
7057
|
* @remarks
|
|
6855
|
-
* The tag
|
|
7058
|
+
* The value of the tag.
|
|
6856
7059
|
*
|
|
6857
7060
|
* @example
|
|
6858
7061
|
* value-1
|
|
@@ -6884,7 +7087,7 @@ export class GetCompliancePackResponseBodyCompliancePackScopeTagsScope extends $
|
|
|
6884
7087
|
export class GetCompliancePackResponseBodyCompliancePackScope extends $dara.Model {
|
|
6885
7088
|
/**
|
|
6886
7089
|
* @remarks
|
|
6887
|
-
*
|
|
7090
|
+
* The IDs of regions that are excluded. Separate multiple region IDs with commas (,).
|
|
6888
7091
|
*
|
|
6889
7092
|
* @example
|
|
6890
7093
|
* cn-hangzhou
|
|
@@ -6892,7 +7095,7 @@ export class GetCompliancePackResponseBodyCompliancePackScope extends $dara.Mode
|
|
|
6892
7095
|
excludeRegionIdsScope?: string;
|
|
6893
7096
|
/**
|
|
6894
7097
|
* @remarks
|
|
6895
|
-
*
|
|
7098
|
+
* The IDs of the resource groups whose resources you do not want to evaluate by using the compliance package. Separate multiple resource group IDs with commas (,).
|
|
6896
7099
|
*
|
|
6897
7100
|
* @example
|
|
6898
7101
|
* rg-aekzc7r7rhx****
|
|
@@ -6908,7 +7111,7 @@ export class GetCompliancePackResponseBodyCompliancePackScope extends $dara.Mode
|
|
|
6908
7111
|
excludeResourceIdsScope?: string;
|
|
6909
7112
|
/**
|
|
6910
7113
|
* @remarks
|
|
6911
|
-
*
|
|
7114
|
+
* The scope of the tag that is excluded.
|
|
6912
7115
|
*
|
|
6913
7116
|
* This parameter is required.
|
|
6914
7117
|
*/
|
|
@@ -6931,7 +7134,7 @@ export class GetCompliancePackResponseBodyCompliancePackScope extends $dara.Mode
|
|
|
6931
7134
|
resourceGroupIdsScope?: string;
|
|
6932
7135
|
/**
|
|
6933
7136
|
* @remarks
|
|
6934
|
-
*
|
|
7137
|
+
* The IDs of the resources to which the rule applies. Separate multiple resource IDs with commas (,).
|
|
6935
7138
|
*
|
|
6936
7139
|
* @example
|
|
6937
7140
|
* eip-8vbf3x310fn56ijfd****
|
|
@@ -6955,7 +7158,7 @@ export class GetCompliancePackResponseBodyCompliancePackScope extends $dara.Mode
|
|
|
6955
7158
|
tagValueScope?: string;
|
|
6956
7159
|
/**
|
|
6957
7160
|
* @remarks
|
|
6958
|
-
*
|
|
7161
|
+
* The tag scope.
|
|
6959
7162
|
*
|
|
6960
7163
|
* This parameter is required.
|
|
6961
7164
|
*/
|
|
@@ -7006,7 +7209,21 @@ export class GetCompliancePackResponseBodyCompliancePackScope extends $dara.Mode
|
|
|
7006
7209
|
}
|
|
7007
7210
|
|
|
7008
7211
|
export class GetCompliancePackResponseBodyCompliancePackTags extends $dara.Model {
|
|
7212
|
+
/**
|
|
7213
|
+
* @remarks
|
|
7214
|
+
* The tag keys of the resource.
|
|
7215
|
+
*
|
|
7216
|
+
* @example
|
|
7217
|
+
* key-1
|
|
7218
|
+
*/
|
|
7009
7219
|
tagKey?: string;
|
|
7220
|
+
/**
|
|
7221
|
+
* @remarks
|
|
7222
|
+
* The tag values of the resource.
|
|
7223
|
+
*
|
|
7224
|
+
* @example
|
|
7225
|
+
* value-1
|
|
7226
|
+
*/
|
|
7010
7227
|
tagValue?: string;
|
|
7011
7228
|
static names(): { [key: string]: string } {
|
|
7012
7229
|
return {
|
|
@@ -7113,6 +7330,10 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
|
|
|
7113
7330
|
* ACTIVE
|
|
7114
7331
|
*/
|
|
7115
7332
|
status?: string;
|
|
7333
|
+
/**
|
|
7334
|
+
* @remarks
|
|
7335
|
+
* The list of tags.
|
|
7336
|
+
*/
|
|
7116
7337
|
tags?: GetCompliancePackResponseBodyCompliancePackTags[];
|
|
7117
7338
|
/**
|
|
7118
7339
|
* @remarks
|
|
@@ -7120,35 +7341,55 @@ export class GetCompliancePackResponseBodyCompliancePack extends $dara.Model {
|
|
|
7120
7341
|
*
|
|
7121
7342
|
* @example
|
|
7122
7343
|
* {
|
|
7123
|
-
*
|
|
7344
|
+
* "configRuleTemplates": [
|
|
7124
7345
|
* {
|
|
7125
|
-
*
|
|
7126
|
-
*
|
|
7127
|
-
*
|
|
7128
|
-
*
|
|
7129
|
-
*
|
|
7130
|
-
*
|
|
7131
|
-
*
|
|
7132
|
-
*
|
|
7133
|
-
*
|
|
7134
|
-
*
|
|
7135
|
-
*
|
|
7136
|
-
*
|
|
7137
|
-
*
|
|
7138
|
-
*
|
|
7139
|
-
*
|
|
7140
|
-
*
|
|
7141
|
-
*
|
|
7142
|
-
*
|
|
7143
|
-
*
|
|
7346
|
+
* "configRuleName": "rule-example",
|
|
7347
|
+
* "scope": {
|
|
7348
|
+
* "complianceResourceTypes": [
|
|
7349
|
+
* "ACS::ECS::Instance"
|
|
7350
|
+
* ]
|
|
7351
|
+
* },
|
|
7352
|
+
* "description": "",
|
|
7353
|
+
* "source": {
|
|
7354
|
+
* "owner": "CUSTOM_CONFIGURATION",
|
|
7355
|
+
* "identifier": "acs-config-configuration",
|
|
7356
|
+
* "sourceDetails": [
|
|
7357
|
+
* {
|
|
7358
|
+
* "messageType": "ScheduledNotification",
|
|
7359
|
+
* "maximumExecutionFrequency": "Twelve_Hours"
|
|
7360
|
+
* },
|
|
7361
|
+
* {
|
|
7362
|
+
* "messageType": "ConfigurationItemChangeNotification"
|
|
7363
|
+
* }
|
|
7364
|
+
* ],
|
|
7365
|
+
* "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"
|
|
7366
|
+
* },
|
|
7367
|
+
* "inputParameters": {}
|
|
7368
|
+
* },
|
|
7369
|
+
* {
|
|
7370
|
+
* "configRuleName": "name",
|
|
7371
|
+
* "scope": {
|
|
7372
|
+
* "complianceResourceTypes": [
|
|
7373
|
+
* "ACS::OSS::Bucket"
|
|
7374
|
+
* ]
|
|
7375
|
+
* },
|
|
7376
|
+
* "description": "description-1",
|
|
7377
|
+
* "source": {
|
|
7378
|
+
* "owner": "ALIYUN",
|
|
7379
|
+
* "identifier": "oss-bucket-referer-limit",
|
|
7380
|
+
* "sourceDetails": [
|
|
7381
|
+
* {
|
|
7382
|
+
* "messageType": "ConfigurationItemChangeNotification"
|
|
7383
|
+
* }
|
|
7384
|
+
* ]
|
|
7385
|
+
* },
|
|
7386
|
+
* "inputParameters": {
|
|
7387
|
+
* "allowEmptyReferer": "true",
|
|
7388
|
+
* "allowReferers": "http://www.aliyun.com"
|
|
7389
|
+
* }
|
|
7144
7390
|
* }
|
|
7145
|
-
*
|
|
7146
|
-
*
|
|
7147
|
-
* "riskLevel": 2,
|
|
7148
|
-
* "compliancePackName": "gy-test",
|
|
7149
|
-
* "description": ""
|
|
7150
|
-
* }
|
|
7151
|
-
* }
|
|
7391
|
+
* ]
|
|
7392
|
+
* }
|
|
7152
7393
|
*/
|
|
7153
7394
|
templateContent?: string;
|
|
7154
7395
|
static names(): { [key: string]: string } {
|
|
@@ -8513,6 +8754,11 @@ export class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
8513
8754
|
* eip-8vbf3x310fn56ijfd****
|
|
8514
8755
|
*/
|
|
8515
8756
|
resourceIdsScope?: string;
|
|
8757
|
+
/**
|
|
8758
|
+
* **if can be null:**
|
|
8759
|
+
* true
|
|
8760
|
+
*/
|
|
8761
|
+
resourceNameScope?: string;
|
|
8516
8762
|
/**
|
|
8517
8763
|
* @remarks
|
|
8518
8764
|
* The type of the resource to be evaluated by the rule.
|
|
@@ -8551,6 +8797,8 @@ export class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
8551
8797
|
*
|
|
8552
8798
|
* @example
|
|
8553
8799
|
* 120886317861****
|
|
8800
|
+
*
|
|
8801
|
+
* @deprecated
|
|
8554
8802
|
*/
|
|
8555
8803
|
tagKeyLogicScope?: string;
|
|
8556
8804
|
/**
|
|
@@ -8561,6 +8809,8 @@ export class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
8561
8809
|
*
|
|
8562
8810
|
* @example
|
|
8563
8811
|
* RAM
|
|
8812
|
+
*
|
|
8813
|
+
* @deprecated
|
|
8564
8814
|
*/
|
|
8565
8815
|
tagKeyScope?: string;
|
|
8566
8816
|
/**
|
|
@@ -8571,6 +8821,8 @@ export class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
8571
8821
|
*
|
|
8572
8822
|
* @example
|
|
8573
8823
|
* MFA
|
|
8824
|
+
*
|
|
8825
|
+
* @deprecated
|
|
8574
8826
|
*/
|
|
8575
8827
|
tagValueScope?: string;
|
|
8576
8828
|
/**
|
|
@@ -8608,6 +8860,7 @@ export class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
8608
8860
|
regionIdsScope: 'RegionIdsScope',
|
|
8609
8861
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
8610
8862
|
resourceIdsScope: 'ResourceIdsScope',
|
|
8863
|
+
resourceNameScope: 'ResourceNameScope',
|
|
8611
8864
|
resourceTypesScope: 'ResourceTypesScope',
|
|
8612
8865
|
riskLevel: 'RiskLevel',
|
|
8613
8866
|
scope: 'Scope',
|
|
@@ -8645,6 +8898,7 @@ export class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
8645
8898
|
regionIdsScope: 'string',
|
|
8646
8899
|
resourceGroupIdsScope: 'string',
|
|
8647
8900
|
resourceIdsScope: 'string',
|
|
8901
|
+
resourceNameScope: 'string',
|
|
8648
8902
|
resourceTypesScope: 'string',
|
|
8649
8903
|
riskLevel: 'number',
|
|
8650
8904
|
scope: GetConfigRuleResponseBodyConfigRuleScope,
|
|
@@ -10545,7 +10799,27 @@ export class IgnoreEvaluationResultsRequestResources extends $dara.Model {
|
|
|
10545
10799
|
}
|
|
10546
10800
|
|
|
10547
10801
|
export class ListAggregateCompliancePacksRequestTag extends $dara.Model {
|
|
10802
|
+
/**
|
|
10803
|
+
* @remarks
|
|
10804
|
+
* The tag key of the resource. You can specify up to 20 tag keys.
|
|
10805
|
+
*
|
|
10806
|
+
* The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
|
|
10807
|
+
*
|
|
10808
|
+
* @example
|
|
10809
|
+
* key-1
|
|
10810
|
+
*/
|
|
10548
10811
|
key?: string;
|
|
10812
|
+
/**
|
|
10813
|
+
* @remarks
|
|
10814
|
+
* The tag values.
|
|
10815
|
+
*
|
|
10816
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
10817
|
+
*
|
|
10818
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
10819
|
+
*
|
|
10820
|
+
* @example
|
|
10821
|
+
* value-1
|
|
10822
|
+
*/
|
|
10549
10823
|
value?: string;
|
|
10550
10824
|
static names(): { [key: string]: string } {
|
|
10551
10825
|
return {
|
|
@@ -10571,7 +10845,21 @@ export class ListAggregateCompliancePacksRequestTag extends $dara.Model {
|
|
|
10571
10845
|
}
|
|
10572
10846
|
|
|
10573
10847
|
export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags extends $dara.Model {
|
|
10848
|
+
/**
|
|
10849
|
+
* @remarks
|
|
10850
|
+
* The tag key.
|
|
10851
|
+
*
|
|
10852
|
+
* @example
|
|
10853
|
+
* key-1
|
|
10854
|
+
*/
|
|
10574
10855
|
tagKey?: string;
|
|
10856
|
+
/**
|
|
10857
|
+
* @remarks
|
|
10858
|
+
* The tag value.
|
|
10859
|
+
*
|
|
10860
|
+
* @example
|
|
10861
|
+
* value-1
|
|
10862
|
+
*/
|
|
10575
10863
|
tagValue?: string;
|
|
10576
10864
|
static names(): { [key: string]: string } {
|
|
10577
10865
|
return {
|
|
@@ -10676,6 +10964,10 @@ export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompli
|
|
|
10676
10964
|
* ACTIVE
|
|
10677
10965
|
*/
|
|
10678
10966
|
status?: string;
|
|
10967
|
+
/**
|
|
10968
|
+
* @remarks
|
|
10969
|
+
* The tags.
|
|
10970
|
+
*/
|
|
10679
10971
|
tags?: ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags[];
|
|
10680
10972
|
static names(): { [key: string]: string } {
|
|
10681
10973
|
return {
|
|
@@ -10722,7 +11014,7 @@ export class ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompli
|
|
|
10722
11014
|
export class ListAggregateCompliancePacksResponseBodyCompliancePacksResult extends $dara.Model {
|
|
10723
11015
|
/**
|
|
10724
11016
|
* @remarks
|
|
10725
|
-
* The
|
|
11017
|
+
* The compliance packages.
|
|
10726
11018
|
*/
|
|
10727
11019
|
compliancePacks?: ListAggregateCompliancePacksResponseBodyCompliancePacksResultCompliancePacks[];
|
|
10728
11020
|
/**
|
|
@@ -11419,7 +11711,27 @@ export class ListAggregateConfigRuleEvaluationStatisticsResponseBodyEvaluationRe
|
|
|
11419
11711
|
}
|
|
11420
11712
|
|
|
11421
11713
|
export class ListAggregateConfigRulesRequestTag extends $dara.Model {
|
|
11714
|
+
/**
|
|
11715
|
+
* @remarks
|
|
11716
|
+
* The tag key.
|
|
11717
|
+
*
|
|
11718
|
+
* The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
|
|
11719
|
+
*
|
|
11720
|
+
* You can specify at most 20 tag keys.
|
|
11721
|
+
*
|
|
11722
|
+
* @example
|
|
11723
|
+
* key-1
|
|
11724
|
+
*/
|
|
11422
11725
|
key?: string;
|
|
11726
|
+
/**
|
|
11727
|
+
* @remarks
|
|
11728
|
+
* The value of the tag. You can specify up to 20 tag values. The tag value can be an empty string.
|
|
11729
|
+
*
|
|
11730
|
+
* The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. The tag value cannot contain `http://` or `https://`.
|
|
11731
|
+
*
|
|
11732
|
+
* @example
|
|
11733
|
+
* value-1
|
|
11734
|
+
*/
|
|
11423
11735
|
value?: string;
|
|
11424
11736
|
static names(): { [key: string]: string } {
|
|
11425
11737
|
return {
|
|
@@ -12879,7 +13191,27 @@ export class ListAggregateResourcesByAdvancedSearchResponseBodyQueryResults exte
|
|
|
12879
13191
|
}
|
|
12880
13192
|
|
|
12881
13193
|
export class ListAggregatorsRequestTag extends $dara.Model {
|
|
13194
|
+
/**
|
|
13195
|
+
* @remarks
|
|
13196
|
+
* The tag key of the resource. You can specify up to 20 tag keys.
|
|
13197
|
+
*
|
|
13198
|
+
* The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
|
|
13199
|
+
*
|
|
13200
|
+
* @example
|
|
13201
|
+
* key-1
|
|
13202
|
+
*/
|
|
12882
13203
|
key?: string;
|
|
13204
|
+
/**
|
|
13205
|
+
* @remarks
|
|
13206
|
+
* The tag values.
|
|
13207
|
+
*
|
|
13208
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
13209
|
+
*
|
|
13210
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
13211
|
+
*
|
|
13212
|
+
* @example
|
|
13213
|
+
* value-1
|
|
13214
|
+
*/
|
|
12883
13215
|
value?: string;
|
|
12884
13216
|
static names(): { [key: string]: string } {
|
|
12885
13217
|
return {
|
|
@@ -12905,7 +13237,21 @@ export class ListAggregatorsRequestTag extends $dara.Model {
|
|
|
12905
13237
|
}
|
|
12906
13238
|
|
|
12907
13239
|
export class ListAggregatorsResponseBodyAggregatorsResultAggregatorsTags extends $dara.Model {
|
|
13240
|
+
/**
|
|
13241
|
+
* @remarks
|
|
13242
|
+
* The tag keys of the resource.
|
|
13243
|
+
*
|
|
13244
|
+
* @example
|
|
13245
|
+
* key-1
|
|
13246
|
+
*/
|
|
12908
13247
|
tagKey?: string;
|
|
13248
|
+
/**
|
|
13249
|
+
* @remarks
|
|
13250
|
+
* The tag values of the resource.
|
|
13251
|
+
*
|
|
13252
|
+
* @example
|
|
13253
|
+
* value-1
|
|
13254
|
+
*/
|
|
12909
13255
|
tagValue?: string;
|
|
12910
13256
|
static names(): { [key: string]: string } {
|
|
12911
13257
|
return {
|
|
@@ -13010,6 +13356,10 @@ export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $da
|
|
|
13010
13356
|
* r-BU****
|
|
13011
13357
|
*/
|
|
13012
13358
|
folderId?: string;
|
|
13359
|
+
/**
|
|
13360
|
+
* @remarks
|
|
13361
|
+
* tags
|
|
13362
|
+
*/
|
|
13013
13363
|
tags?: ListAggregatorsResponseBodyAggregatorsResultAggregatorsTags[];
|
|
13014
13364
|
static names(): { [key: string]: string } {
|
|
13015
13365
|
return {
|
|
@@ -13420,7 +13770,27 @@ export class ListCompliancePackTemplatesResponseBodyCompliancePackTemplatesResul
|
|
|
13420
13770
|
}
|
|
13421
13771
|
|
|
13422
13772
|
export class ListCompliancePacksRequestTag extends $dara.Model {
|
|
13773
|
+
/**
|
|
13774
|
+
* @remarks
|
|
13775
|
+
* The tag key of the resource. You can specify up to 20 tag keys.
|
|
13776
|
+
*
|
|
13777
|
+
* The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
|
|
13778
|
+
*
|
|
13779
|
+
* @example
|
|
13780
|
+
* key-1
|
|
13781
|
+
*/
|
|
13423
13782
|
key?: string;
|
|
13783
|
+
/**
|
|
13784
|
+
* @remarks
|
|
13785
|
+
* The tag values.
|
|
13786
|
+
*
|
|
13787
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
13788
|
+
*
|
|
13789
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
13790
|
+
*
|
|
13791
|
+
* @example
|
|
13792
|
+
* value-1
|
|
13793
|
+
*/
|
|
13424
13794
|
value?: string;
|
|
13425
13795
|
static names(): { [key: string]: string } {
|
|
13426
13796
|
return {
|
|
@@ -13446,7 +13816,21 @@ export class ListCompliancePacksRequestTag extends $dara.Model {
|
|
|
13446
13816
|
}
|
|
13447
13817
|
|
|
13448
13818
|
export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags extends $dara.Model {
|
|
13819
|
+
/**
|
|
13820
|
+
* @remarks
|
|
13821
|
+
* tag key
|
|
13822
|
+
*
|
|
13823
|
+
* @example
|
|
13824
|
+
* key-1
|
|
13825
|
+
*/
|
|
13449
13826
|
tagKey?: string;
|
|
13827
|
+
/**
|
|
13828
|
+
* @remarks
|
|
13829
|
+
* tag value
|
|
13830
|
+
*
|
|
13831
|
+
* @example
|
|
13832
|
+
* value-1
|
|
13833
|
+
*/
|
|
13450
13834
|
tagValue?: string;
|
|
13451
13835
|
static names(): { [key: string]: string } {
|
|
13452
13836
|
return {
|
|
@@ -13543,6 +13927,10 @@ export class ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacks
|
|
|
13543
13927
|
* ACTIVE
|
|
13544
13928
|
*/
|
|
13545
13929
|
status?: string;
|
|
13930
|
+
/**
|
|
13931
|
+
* @remarks
|
|
13932
|
+
* The tags.
|
|
13933
|
+
*/
|
|
13546
13934
|
tags?: ListCompliancePacksResponseBodyCompliancePacksResultCompliancePacksTags[];
|
|
13547
13935
|
static names(): { [key: string]: string } {
|
|
13548
13936
|
return {
|
|
@@ -14067,6 +14455,7 @@ export class ListConfigRuleEvaluationResultsResponseBodyEvaluationResultsEvaluat
|
|
|
14067
14455
|
*
|
|
14068
14456
|
* * ConfigurationItemChangeNotification: The rule is triggered by configuration changes.
|
|
14069
14457
|
* * ScheduledNotification: The rule is periodically triggered.
|
|
14458
|
+
* * Manual: The rule is manually triggered.
|
|
14070
14459
|
*
|
|
14071
14460
|
* @example
|
|
14072
14461
|
* ConfigurationItemChangeNotification
|
|
@@ -15832,6 +16221,7 @@ export class ListResourceEvaluationResultsResponseBodyEvaluationResultsEvaluatio
|
|
|
15832
16221
|
*
|
|
15833
16222
|
* * ConfigurationItemChangeNotification: The managed rule is triggered by configuration changes.
|
|
15834
16223
|
* * ScheduledNotification: The managed rule is periodically triggered.
|
|
16224
|
+
* * Manual: The rule is manually triggered.
|
|
15835
16225
|
*
|
|
15836
16226
|
* @example
|
|
15837
16227
|
* ScheduledNotification
|
|
@@ -17257,7 +17647,27 @@ export class UpdateAggregatorRequestAggregatorAccounts extends $dara.Model {
|
|
|
17257
17647
|
}
|
|
17258
17648
|
|
|
17259
17649
|
export class UpdateAggregatorRequestTag extends $dara.Model {
|
|
17650
|
+
/**
|
|
17651
|
+
* @remarks
|
|
17652
|
+
* The tag key of the resource. You can specify up to 20 tag keys.
|
|
17653
|
+
*
|
|
17654
|
+
* The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
|
|
17655
|
+
*
|
|
17656
|
+
* @example
|
|
17657
|
+
* key-1
|
|
17658
|
+
*/
|
|
17260
17659
|
key?: string;
|
|
17660
|
+
/**
|
|
17661
|
+
* @remarks
|
|
17662
|
+
* The tag values.
|
|
17663
|
+
*
|
|
17664
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
17665
|
+
*
|
|
17666
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
17667
|
+
*
|
|
17668
|
+
* @example
|
|
17669
|
+
* value-1
|
|
17670
|
+
*/
|
|
17261
17671
|
value?: string;
|
|
17262
17672
|
static names(): { [key: string]: string } {
|
|
17263
17673
|
return {
|
|
@@ -17455,7 +17865,29 @@ export class UpdateCompliancePackRequestExcludeTagsScope extends $dara.Model {
|
|
|
17455
17865
|
}
|
|
17456
17866
|
|
|
17457
17867
|
export class UpdateCompliancePackRequestTag extends $dara.Model {
|
|
17868
|
+
/**
|
|
17869
|
+
* @remarks
|
|
17870
|
+
* The tag keys.
|
|
17871
|
+
*
|
|
17872
|
+
* The tag keys cannot be an empty string. The tag keys can be up to 64 characters in length. The tag keys cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
17873
|
+
*
|
|
17874
|
+
* You can specify at most 20 tag keys in each call.
|
|
17875
|
+
*
|
|
17876
|
+
* @example
|
|
17877
|
+
* key-1
|
|
17878
|
+
*/
|
|
17458
17879
|
key?: string;
|
|
17880
|
+
/**
|
|
17881
|
+
* @remarks
|
|
17882
|
+
* The tag values.
|
|
17883
|
+
*
|
|
17884
|
+
* The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
|
|
17885
|
+
*
|
|
17886
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
17887
|
+
*
|
|
17888
|
+
* @example
|
|
17889
|
+
* value-1
|
|
17890
|
+
*/
|
|
17459
17891
|
value?: string;
|
|
17460
17892
|
static names(): { [key: string]: string } {
|
|
17461
17893
|
return {
|
|
@@ -19004,6 +19436,12 @@ export class CreateAggregateCompliancePackRequest extends $dara.Model {
|
|
|
19004
19436
|
* 1
|
|
19005
19437
|
*/
|
|
19006
19438
|
riskLevel?: number;
|
|
19439
|
+
/**
|
|
19440
|
+
* @remarks
|
|
19441
|
+
* The tags of the resource.
|
|
19442
|
+
*
|
|
19443
|
+
* You can add up to 20 tags to a resource.
|
|
19444
|
+
*/
|
|
19007
19445
|
tag?: CreateAggregateCompliancePackRequestTag[];
|
|
19008
19446
|
/**
|
|
19009
19447
|
* @remarks
|
|
@@ -19241,6 +19679,12 @@ export class CreateAggregateCompliancePackShrinkRequest extends $dara.Model {
|
|
|
19241
19679
|
* 1
|
|
19242
19680
|
*/
|
|
19243
19681
|
riskLevel?: number;
|
|
19682
|
+
/**
|
|
19683
|
+
* @remarks
|
|
19684
|
+
* The tags of the resource.
|
|
19685
|
+
*
|
|
19686
|
+
* You can add up to 20 tags to a resource.
|
|
19687
|
+
*/
|
|
19244
19688
|
tagShrink?: string;
|
|
19245
19689
|
/**
|
|
19246
19690
|
* @remarks
|
|
@@ -19891,6 +20335,14 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
19891
20335
|
* lb-5cmbowstbkss9ta03****
|
|
19892
20336
|
*/
|
|
19893
20337
|
resourceIdsScope?: string;
|
|
20338
|
+
/**
|
|
20339
|
+
* @example
|
|
20340
|
+
* i-xxx
|
|
20341
|
+
*
|
|
20342
|
+
* **if can be null:**
|
|
20343
|
+
* true
|
|
20344
|
+
*/
|
|
20345
|
+
resourceNameScope?: string;
|
|
19894
20346
|
/**
|
|
19895
20347
|
* @remarks
|
|
19896
20348
|
* The type of the resource evaluated by the rule. Separate multiple resource types with commas (,).
|
|
@@ -19943,9 +20395,15 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
19943
20395
|
* ALIYUN
|
|
19944
20396
|
*/
|
|
19945
20397
|
sourceOwner?: string;
|
|
20398
|
+
/**
|
|
20399
|
+
* @remarks
|
|
20400
|
+
* The tags.
|
|
20401
|
+
*/
|
|
19946
20402
|
tag?: CreateAggregateConfigRuleRequestTag[];
|
|
19947
20403
|
/**
|
|
19948
20404
|
* @remarks
|
|
20405
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
20406
|
+
*
|
|
19949
20407
|
* The logical relationship among the tag keys if you specify multiple tag keys for the `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and the TagKeyLogicScope parameter to `AND`, the rule applies to resources with both the `ECS` and `OSS` tag keys. Valid values:
|
|
19950
20408
|
*
|
|
19951
20409
|
* * AND
|
|
@@ -19953,26 +20411,36 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
19953
20411
|
*
|
|
19954
20412
|
* @example
|
|
19955
20413
|
* AND
|
|
20414
|
+
*
|
|
20415
|
+
* @deprecated
|
|
19956
20416
|
*/
|
|
19957
20417
|
tagKeyLogicScope?: string;
|
|
19958
20418
|
/**
|
|
19959
20419
|
* @remarks
|
|
20420
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
20421
|
+
*
|
|
19960
20422
|
* The tag key used to filter resources. The rule applies only to the resources with the specified tag key. Separate multiple parameter values with commas (,).
|
|
19961
20423
|
*
|
|
19962
|
-
* >
|
|
20424
|
+
* > This parameter applies only to a managed rule. You must configure the `TagKeyScope` and `TagValueScope` parameters at the same time.
|
|
19963
20425
|
*
|
|
19964
20426
|
* @example
|
|
19965
20427
|
* ECS
|
|
20428
|
+
*
|
|
20429
|
+
* @deprecated
|
|
19966
20430
|
*/
|
|
19967
20431
|
tagKeyScope?: string;
|
|
19968
20432
|
/**
|
|
19969
20433
|
* @remarks
|
|
19970
|
-
*
|
|
20434
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
19971
20435
|
*
|
|
19972
|
-
*
|
|
20436
|
+
* The tag value used to filter resources. The rule applies only to the resources that use the specified tag value.
|
|
20437
|
+
*
|
|
20438
|
+
* > This parameter applies only to a managed rule. You must configure the `TagKeyScope` and `TagValueScope` parameters at the same time.
|
|
19973
20439
|
*
|
|
19974
20440
|
* @example
|
|
19975
20441
|
* test
|
|
20442
|
+
*
|
|
20443
|
+
* @deprecated
|
|
19976
20444
|
*/
|
|
19977
20445
|
tagValueScope?: string;
|
|
19978
20446
|
/**
|
|
@@ -20001,6 +20469,7 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
20001
20469
|
regionIdsScope: 'RegionIdsScope',
|
|
20002
20470
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
20003
20471
|
resourceIdsScope: 'ResourceIdsScope',
|
|
20472
|
+
resourceNameScope: 'ResourceNameScope',
|
|
20004
20473
|
resourceTypesScope: 'ResourceTypesScope',
|
|
20005
20474
|
riskLevel: 'RiskLevel',
|
|
20006
20475
|
sourceIdentifier: 'SourceIdentifier',
|
|
@@ -20034,6 +20503,7 @@ export class CreateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
20034
20503
|
regionIdsScope: 'string',
|
|
20035
20504
|
resourceGroupIdsScope: 'string',
|
|
20036
20505
|
resourceIdsScope: 'string',
|
|
20506
|
+
resourceNameScope: 'string',
|
|
20037
20507
|
resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
|
|
20038
20508
|
riskLevel: 'number',
|
|
20039
20509
|
sourceIdentifier: 'string',
|
|
@@ -20259,6 +20729,14 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
20259
20729
|
* lb-5cmbowstbkss9ta03****
|
|
20260
20730
|
*/
|
|
20261
20731
|
resourceIdsScope?: string;
|
|
20732
|
+
/**
|
|
20733
|
+
* @example
|
|
20734
|
+
* i-xxx
|
|
20735
|
+
*
|
|
20736
|
+
* **if can be null:**
|
|
20737
|
+
* true
|
|
20738
|
+
*/
|
|
20739
|
+
resourceNameScope?: string;
|
|
20262
20740
|
/**
|
|
20263
20741
|
* @remarks
|
|
20264
20742
|
* The type of the resource evaluated by the rule. Separate multiple resource types with commas (,).
|
|
@@ -20311,9 +20789,15 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
20311
20789
|
* ALIYUN
|
|
20312
20790
|
*/
|
|
20313
20791
|
sourceOwner?: string;
|
|
20792
|
+
/**
|
|
20793
|
+
* @remarks
|
|
20794
|
+
* The tags.
|
|
20795
|
+
*/
|
|
20314
20796
|
tagShrink?: string;
|
|
20315
20797
|
/**
|
|
20316
20798
|
* @remarks
|
|
20799
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
20800
|
+
*
|
|
20317
20801
|
* The logical relationship among the tag keys if you specify multiple tag keys for the `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and the TagKeyLogicScope parameter to `AND`, the rule applies to resources with both the `ECS` and `OSS` tag keys. Valid values:
|
|
20318
20802
|
*
|
|
20319
20803
|
* * AND
|
|
@@ -20321,26 +20805,36 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
20321
20805
|
*
|
|
20322
20806
|
* @example
|
|
20323
20807
|
* AND
|
|
20808
|
+
*
|
|
20809
|
+
* @deprecated
|
|
20324
20810
|
*/
|
|
20325
20811
|
tagKeyLogicScope?: string;
|
|
20326
20812
|
/**
|
|
20327
20813
|
* @remarks
|
|
20814
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
20815
|
+
*
|
|
20328
20816
|
* The tag key used to filter resources. The rule applies only to the resources with the specified tag key. Separate multiple parameter values with commas (,).
|
|
20329
20817
|
*
|
|
20330
|
-
* >
|
|
20818
|
+
* > This parameter applies only to a managed rule. You must configure the `TagKeyScope` and `TagValueScope` parameters at the same time.
|
|
20331
20819
|
*
|
|
20332
20820
|
* @example
|
|
20333
20821
|
* ECS
|
|
20822
|
+
*
|
|
20823
|
+
* @deprecated
|
|
20334
20824
|
*/
|
|
20335
20825
|
tagKeyScope?: string;
|
|
20336
20826
|
/**
|
|
20337
20827
|
* @remarks
|
|
20338
|
-
*
|
|
20828
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
20339
20829
|
*
|
|
20340
|
-
*
|
|
20830
|
+
* The tag value used to filter resources. The rule applies only to the resources that use the specified tag value.
|
|
20831
|
+
*
|
|
20832
|
+
* > This parameter applies only to a managed rule. You must configure the `TagKeyScope` and `TagValueScope` parameters at the same time.
|
|
20341
20833
|
*
|
|
20342
20834
|
* @example
|
|
20343
20835
|
* test
|
|
20836
|
+
*
|
|
20837
|
+
* @deprecated
|
|
20344
20838
|
*/
|
|
20345
20839
|
tagValueScope?: string;
|
|
20346
20840
|
/**
|
|
@@ -20369,6 +20863,7 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
20369
20863
|
regionIdsScope: 'RegionIdsScope',
|
|
20370
20864
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
20371
20865
|
resourceIdsScope: 'ResourceIdsScope',
|
|
20866
|
+
resourceNameScope: 'ResourceNameScope',
|
|
20372
20867
|
resourceTypesScopeShrink: 'ResourceTypesScope',
|
|
20373
20868
|
riskLevel: 'RiskLevel',
|
|
20374
20869
|
sourceIdentifier: 'SourceIdentifier',
|
|
@@ -20402,6 +20897,7 @@ export class CreateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
20402
20897
|
regionIdsScope: 'string',
|
|
20403
20898
|
resourceGroupIdsScope: 'string',
|
|
20404
20899
|
resourceIdsScope: 'string',
|
|
20900
|
+
resourceNameScope: 'string',
|
|
20405
20901
|
resourceTypesScopeShrink: 'string',
|
|
20406
20902
|
riskLevel: 'number',
|
|
20407
20903
|
sourceIdentifier: 'string',
|
|
@@ -20775,12 +21271,18 @@ export class CreateAggregatorRequest extends $dara.Model {
|
|
|
20775
21271
|
description?: string;
|
|
20776
21272
|
/**
|
|
20777
21273
|
* @remarks
|
|
20778
|
-
* The ID of the folder to which the account group is attached. You must specify this parameter if `AggregatorType` is set to `FOLDER`.
|
|
21274
|
+
* The ID of the folder to which the account group is attached. You must specify this parameter if `AggregatorType` is set to `FOLDER`. Multiple resource folder IDs should be separated by commas (,).
|
|
20779
21275
|
*
|
|
20780
21276
|
* @example
|
|
20781
|
-
* fd-brHdgv****
|
|
21277
|
+
* fd-brHdgv****,fd-brHdgk****
|
|
20782
21278
|
*/
|
|
20783
21279
|
folderId?: string;
|
|
21280
|
+
/**
|
|
21281
|
+
* @remarks
|
|
21282
|
+
* The tags of the resource.
|
|
21283
|
+
*
|
|
21284
|
+
* You can add up to 20 tags to a resource.
|
|
21285
|
+
*/
|
|
20784
21286
|
tag?: CreateAggregatorRequestTag[];
|
|
20785
21287
|
static names(): { [key: string]: string } {
|
|
20786
21288
|
return {
|
|
@@ -20884,12 +21386,18 @@ export class CreateAggregatorShrinkRequest extends $dara.Model {
|
|
|
20884
21386
|
description?: string;
|
|
20885
21387
|
/**
|
|
20886
21388
|
* @remarks
|
|
20887
|
-
* The ID of the folder to which the account group is attached. You must specify this parameter if `AggregatorType` is set to `FOLDER`.
|
|
21389
|
+
* The ID of the folder to which the account group is attached. You must specify this parameter if `AggregatorType` is set to `FOLDER`. Multiple resource folder IDs should be separated by commas (,).
|
|
20888
21390
|
*
|
|
20889
21391
|
* @example
|
|
20890
|
-
* fd-brHdgv****
|
|
21392
|
+
* fd-brHdgv****,fd-brHdgk****
|
|
20891
21393
|
*/
|
|
20892
21394
|
folderId?: string;
|
|
21395
|
+
/**
|
|
21396
|
+
* @remarks
|
|
21397
|
+
* The tags of the resource.
|
|
21398
|
+
*
|
|
21399
|
+
* You can add up to 20 tags to a resource.
|
|
21400
|
+
*/
|
|
20893
21401
|
tagShrink?: string;
|
|
20894
21402
|
static names(): { [key: string]: string } {
|
|
20895
21403
|
return {
|
|
@@ -21120,6 +21628,12 @@ export class CreateCompliancePackRequest extends $dara.Model {
|
|
|
21120
21628
|
* 1
|
|
21121
21629
|
*/
|
|
21122
21630
|
riskLevel?: number;
|
|
21631
|
+
/**
|
|
21632
|
+
* @remarks
|
|
21633
|
+
* The tags of the resource.
|
|
21634
|
+
*
|
|
21635
|
+
* You can add up to 20 tags to a resource.
|
|
21636
|
+
*/
|
|
21123
21637
|
tag?: CreateCompliancePackRequestTag[];
|
|
21124
21638
|
/**
|
|
21125
21639
|
* @remarks
|
|
@@ -21342,6 +21856,12 @@ export class CreateCompliancePackShrinkRequest extends $dara.Model {
|
|
|
21342
21856
|
* 1
|
|
21343
21857
|
*/
|
|
21344
21858
|
riskLevel?: number;
|
|
21859
|
+
/**
|
|
21860
|
+
* @remarks
|
|
21861
|
+
* The tags of the resource.
|
|
21862
|
+
*
|
|
21863
|
+
* You can add up to 20 tags to a resource.
|
|
21864
|
+
*/
|
|
21345
21865
|
tagShrink?: string;
|
|
21346
21866
|
/**
|
|
21347
21867
|
* @remarks
|
|
@@ -21560,25 +22080,34 @@ export class CreateConfigDeliveryChannelRequest extends $dara.Model {
|
|
|
21560
22080
|
configurationSnapshot?: boolean;
|
|
21561
22081
|
/**
|
|
21562
22082
|
* @remarks
|
|
21563
|
-
* The rule that you want to attach to the delivery channel
|
|
22083
|
+
* The rule that you want to attach to the delivery channel, used to specify subscription content filtering conditions.
|
|
21564
22084
|
*
|
|
21565
|
-
* * If
|
|
22085
|
+
* * If you specify the minimum risk level and resource types for compliance events, it should be as follows:
|
|
21566
22086
|
*
|
|
21567
22087
|
* * The setting of the lowest risk level for the events to which you want to subscribe is in the following format: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.
|
|
21568
22088
|
*
|
|
21569
22089
|
* The `value` field indicates the lowest risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level.
|
|
21570
22090
|
*
|
|
22091
|
+
* The `multiple` field indicates whether multiple values are supported for this group of filters. Risk levels only support single-value filtering, so the multiple field for compliance event type content can only be set to `false`.
|
|
22092
|
+
*
|
|
21571
22093
|
* * The setting of the resource types of the events to which you want to subscribe is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.
|
|
21572
22094
|
*
|
|
21573
|
-
* The `values` field indicates the resource types of the events to which you want to subscribe.
|
|
22095
|
+
* The `values` field indicates the resource types of the events to which you want to subscribe.
|
|
21574
22096
|
*
|
|
21575
|
-
* `
|
|
22097
|
+
* The `multiple` field indicates whether multiple values are supported for this group of filters. Resource types support multi-value filtering; when selecting multiple resource types, the multiple field can be set to true.
|
|
22098
|
+
* The value of the field is a JSON array. Examples:
|
|
21576
22099
|
*
|
|
21577
|
-
*
|
|
22100
|
+
* `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`
|
|
22101
|
+
*
|
|
22102
|
+
* * You can also simultaneously specify both risk levels and resource types, such as:
|
|
22103
|
+
*
|
|
22104
|
+
* `[{"filterType":"RuleRiskLevel","value":"2","multiple":false},{"filterType":"ResourceType","values":["ACS::CDN::Domain","ACS::ActionTrail::Trail"],"multiple":true}]`
|
|
22105
|
+
*
|
|
22106
|
+
* * If you specify the resource types for delivering configurations, the resource types are specified by: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.
|
|
21578
22107
|
*
|
|
21579
22108
|
* The `values` field specifies the resource types of the snapshots to which you want to deliver. The value of the field is a JSON array. Examples:
|
|
21580
22109
|
*
|
|
21581
|
-
*
|
|
22110
|
+
* `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`
|
|
21582
22111
|
*
|
|
21583
22112
|
* @example
|
|
21584
22113
|
* [{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]
|
|
@@ -21918,6 +22447,11 @@ export class CreateConfigRuleRequest extends $dara.Model {
|
|
|
21918
22447
|
* lb-5cmbowstbkss9ta03****
|
|
21919
22448
|
*/
|
|
21920
22449
|
resourceIdsScope?: string;
|
|
22450
|
+
/**
|
|
22451
|
+
* **if can be null:**
|
|
22452
|
+
* true
|
|
22453
|
+
*/
|
|
22454
|
+
resourceNameScope?: string;
|
|
21921
22455
|
/**
|
|
21922
22456
|
* @remarks
|
|
21923
22457
|
* The type of the resource to be evaluated by the rule. Separate multiple resource types with commas (,).
|
|
@@ -21984,6 +22518,8 @@ export class CreateConfigRuleRequest extends $dara.Model {
|
|
|
21984
22518
|
*
|
|
21985
22519
|
* @example
|
|
21986
22520
|
* AND
|
|
22521
|
+
*
|
|
22522
|
+
* @deprecated
|
|
21987
22523
|
*/
|
|
21988
22524
|
tagKeyLogicScope?: string;
|
|
21989
22525
|
/**
|
|
@@ -21994,6 +22530,8 @@ export class CreateConfigRuleRequest extends $dara.Model {
|
|
|
21994
22530
|
*
|
|
21995
22531
|
* @example
|
|
21996
22532
|
* ECS
|
|
22533
|
+
*
|
|
22534
|
+
* @deprecated
|
|
21997
22535
|
*/
|
|
21998
22536
|
tagKeyScope?: string;
|
|
21999
22537
|
/**
|
|
@@ -22004,6 +22542,8 @@ export class CreateConfigRuleRequest extends $dara.Model {
|
|
|
22004
22542
|
*
|
|
22005
22543
|
* @example
|
|
22006
22544
|
* test
|
|
22545
|
+
*
|
|
22546
|
+
* @deprecated
|
|
22007
22547
|
*/
|
|
22008
22548
|
tagValueScope?: string;
|
|
22009
22549
|
/**
|
|
@@ -22027,6 +22567,7 @@ export class CreateConfigRuleRequest extends $dara.Model {
|
|
|
22027
22567
|
regionIdsScope: 'RegionIdsScope',
|
|
22028
22568
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
22029
22569
|
resourceIdsScope: 'ResourceIdsScope',
|
|
22570
|
+
resourceNameScope: 'ResourceNameScope',
|
|
22030
22571
|
resourceTypesScope: 'ResourceTypesScope',
|
|
22031
22572
|
riskLevel: 'RiskLevel',
|
|
22032
22573
|
sourceIdentifier: 'SourceIdentifier',
|
|
@@ -22055,6 +22596,7 @@ export class CreateConfigRuleRequest extends $dara.Model {
|
|
|
22055
22596
|
regionIdsScope: 'string',
|
|
22056
22597
|
resourceGroupIdsScope: 'string',
|
|
22057
22598
|
resourceIdsScope: 'string',
|
|
22599
|
+
resourceNameScope: 'string',
|
|
22058
22600
|
resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
|
|
22059
22601
|
riskLevel: 'number',
|
|
22060
22602
|
sourceIdentifier: 'string',
|
|
@@ -22224,6 +22766,11 @@ export class CreateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
22224
22766
|
* lb-5cmbowstbkss9ta03****
|
|
22225
22767
|
*/
|
|
22226
22768
|
resourceIdsScope?: string;
|
|
22769
|
+
/**
|
|
22770
|
+
* **if can be null:**
|
|
22771
|
+
* true
|
|
22772
|
+
*/
|
|
22773
|
+
resourceNameScope?: string;
|
|
22227
22774
|
/**
|
|
22228
22775
|
* @remarks
|
|
22229
22776
|
* The type of the resource to be evaluated by the rule. Separate multiple resource types with commas (,).
|
|
@@ -22290,6 +22837,8 @@ export class CreateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
22290
22837
|
*
|
|
22291
22838
|
* @example
|
|
22292
22839
|
* AND
|
|
22840
|
+
*
|
|
22841
|
+
* @deprecated
|
|
22293
22842
|
*/
|
|
22294
22843
|
tagKeyLogicScope?: string;
|
|
22295
22844
|
/**
|
|
@@ -22300,6 +22849,8 @@ export class CreateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
22300
22849
|
*
|
|
22301
22850
|
* @example
|
|
22302
22851
|
* ECS
|
|
22852
|
+
*
|
|
22853
|
+
* @deprecated
|
|
22303
22854
|
*/
|
|
22304
22855
|
tagKeyScope?: string;
|
|
22305
22856
|
/**
|
|
@@ -22310,6 +22861,8 @@ export class CreateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
22310
22861
|
*
|
|
22311
22862
|
* @example
|
|
22312
22863
|
* test
|
|
22864
|
+
*
|
|
22865
|
+
* @deprecated
|
|
22313
22866
|
*/
|
|
22314
22867
|
tagValueScope?: string;
|
|
22315
22868
|
/**
|
|
@@ -22333,6 +22886,7 @@ export class CreateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
22333
22886
|
regionIdsScope: 'RegionIdsScope',
|
|
22334
22887
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
22335
22888
|
resourceIdsScope: 'ResourceIdsScope',
|
|
22889
|
+
resourceNameScope: 'ResourceNameScope',
|
|
22336
22890
|
resourceTypesScopeShrink: 'ResourceTypesScope',
|
|
22337
22891
|
riskLevel: 'RiskLevel',
|
|
22338
22892
|
sourceIdentifier: 'SourceIdentifier',
|
|
@@ -22361,6 +22915,7 @@ export class CreateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
22361
22915
|
regionIdsScope: 'string',
|
|
22362
22916
|
resourceGroupIdsScope: 'string',
|
|
22363
22917
|
resourceIdsScope: 'string',
|
|
22918
|
+
resourceNameScope: 'string',
|
|
22364
22919
|
resourceTypesScopeShrink: 'string',
|
|
22365
22920
|
riskLevel: 'number',
|
|
22366
22921
|
sourceIdentifier: 'string',
|
|
@@ -25916,6 +26471,12 @@ export class GetAggregateCompliancePackRequest extends $dara.Model {
|
|
|
25916
26471
|
* cp-fdc8626622af00f9****
|
|
25917
26472
|
*/
|
|
25918
26473
|
compliancePackId?: string;
|
|
26474
|
+
/**
|
|
26475
|
+
* @remarks
|
|
26476
|
+
* The tags of the resource.
|
|
26477
|
+
*
|
|
26478
|
+
* You can add up to 20 tags to a resource.
|
|
26479
|
+
*/
|
|
25919
26480
|
tag?: GetAggregateCompliancePackRequestTag[];
|
|
25920
26481
|
static names(): { [key: string]: string } {
|
|
25921
26482
|
return {
|
|
@@ -25970,6 +26531,12 @@ export class GetAggregateCompliancePackShrinkRequest extends $dara.Model {
|
|
|
25970
26531
|
* cp-fdc8626622af00f9****
|
|
25971
26532
|
*/
|
|
25972
26533
|
compliancePackId?: string;
|
|
26534
|
+
/**
|
|
26535
|
+
* @remarks
|
|
26536
|
+
* The tags of the resource.
|
|
26537
|
+
*
|
|
26538
|
+
* You can add up to 20 tags to a resource.
|
|
26539
|
+
*/
|
|
25973
26540
|
tagShrink?: string;
|
|
25974
26541
|
static names(): { [key: string]: string } {
|
|
25975
26542
|
return {
|
|
@@ -26547,7 +27114,7 @@ export class GetAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
26547
27114
|
export class GetAggregateConfigRuleResponseBody extends $dara.Model {
|
|
26548
27115
|
/**
|
|
26549
27116
|
* @remarks
|
|
26550
|
-
* The rules.
|
|
27117
|
+
* The information about the rules.
|
|
26551
27118
|
*/
|
|
26552
27119
|
configRule?: GetAggregateConfigRuleResponseBodyConfigRule;
|
|
26553
27120
|
/**
|
|
@@ -26898,7 +27465,7 @@ export class GetAggregateConfigRulesReportRequest extends $dara.Model {
|
|
|
26898
27465
|
export class GetAggregateConfigRulesReportResponseBody extends $dara.Model {
|
|
26899
27466
|
/**
|
|
26900
27467
|
* @remarks
|
|
26901
|
-
* The
|
|
27468
|
+
* The compliance evaluation report.
|
|
26902
27469
|
*/
|
|
26903
27470
|
configRulesReport?: GetAggregateConfigRulesReportResponseBodyConfigRulesReport;
|
|
26904
27471
|
/**
|
|
@@ -28497,6 +29064,12 @@ export class GetAggregatorRequest extends $dara.Model {
|
|
|
28497
29064
|
* ca-88ea626622af0055****
|
|
28498
29065
|
*/
|
|
28499
29066
|
aggregatorId?: string;
|
|
29067
|
+
/**
|
|
29068
|
+
* @remarks
|
|
29069
|
+
* The tags of the resource.
|
|
29070
|
+
*
|
|
29071
|
+
* You can add up to 20 tags to a resource.
|
|
29072
|
+
*/
|
|
28500
29073
|
tag?: GetAggregatorRequestTag[];
|
|
28501
29074
|
static names(): { [key: string]: string } {
|
|
28502
29075
|
return {
|
|
@@ -28535,6 +29108,12 @@ export class GetAggregatorShrinkRequest extends $dara.Model {
|
|
|
28535
29108
|
* ca-88ea626622af0055****
|
|
28536
29109
|
*/
|
|
28537
29110
|
aggregatorId?: string;
|
|
29111
|
+
/**
|
|
29112
|
+
* @remarks
|
|
29113
|
+
* The tags of the resource.
|
|
29114
|
+
*
|
|
29115
|
+
* You can add up to 20 tags to a resource.
|
|
29116
|
+
*/
|
|
28538
29117
|
tagShrink?: string;
|
|
28539
29118
|
static names(): { [key: string]: string } {
|
|
28540
29119
|
return {
|
|
@@ -28647,6 +29226,12 @@ export class GetCompliancePackRequest extends $dara.Model {
|
|
|
28647
29226
|
* cp-a8a8626622af0082****
|
|
28648
29227
|
*/
|
|
28649
29228
|
compliancePackId?: string;
|
|
29229
|
+
/**
|
|
29230
|
+
* @remarks
|
|
29231
|
+
* The tags of the resource.
|
|
29232
|
+
*
|
|
29233
|
+
* You can add up to 20 tags to a resource.
|
|
29234
|
+
*/
|
|
28650
29235
|
tag?: GetCompliancePackRequestTag[];
|
|
28651
29236
|
static names(): { [key: string]: string } {
|
|
28652
29237
|
return {
|
|
@@ -28687,6 +29272,12 @@ export class GetCompliancePackShrinkRequest extends $dara.Model {
|
|
|
28687
29272
|
* cp-a8a8626622af0082****
|
|
28688
29273
|
*/
|
|
28689
29274
|
compliancePackId?: string;
|
|
29275
|
+
/**
|
|
29276
|
+
* @remarks
|
|
29277
|
+
* The tags of the resource.
|
|
29278
|
+
*
|
|
29279
|
+
* You can add up to 20 tags to a resource.
|
|
29280
|
+
*/
|
|
28690
29281
|
tagShrink?: string;
|
|
28691
29282
|
static names(): { [key: string]: string } {
|
|
28692
29283
|
return {
|
|
@@ -31766,6 +32357,10 @@ export class ListAggregateCompliancePacksRequest extends $dara.Model {
|
|
|
31766
32357
|
* ACTIVE
|
|
31767
32358
|
*/
|
|
31768
32359
|
status?: string;
|
|
32360
|
+
/**
|
|
32361
|
+
* @remarks
|
|
32362
|
+
* The tags.
|
|
32363
|
+
*/
|
|
31769
32364
|
tag?: ListAggregateCompliancePacksRequestTag[];
|
|
31770
32365
|
static names(): { [key: string]: string } {
|
|
31771
32366
|
return {
|
|
@@ -31843,6 +32438,10 @@ export class ListAggregateCompliancePacksShrinkRequest extends $dara.Model {
|
|
|
31843
32438
|
* ACTIVE
|
|
31844
32439
|
*/
|
|
31845
32440
|
status?: string;
|
|
32441
|
+
/**
|
|
32442
|
+
* @remarks
|
|
32443
|
+
* The tags.
|
|
32444
|
+
*/
|
|
31846
32445
|
tagShrink?: string;
|
|
31847
32446
|
static names(): { [key: string]: string } {
|
|
31848
32447
|
return {
|
|
@@ -31876,7 +32475,7 @@ export class ListAggregateCompliancePacksShrinkRequest extends $dara.Model {
|
|
|
31876
32475
|
export class ListAggregateCompliancePacksResponseBody extends $dara.Model {
|
|
31877
32476
|
/**
|
|
31878
32477
|
* @remarks
|
|
31879
|
-
* The
|
|
32478
|
+
* The compliance packages returned.
|
|
31880
32479
|
*/
|
|
31881
32480
|
compliancePacksResult?: ListAggregateCompliancePacksResponseBodyCompliancePacksResult;
|
|
31882
32481
|
/**
|
|
@@ -32496,6 +33095,12 @@ export class ListAggregateConfigRulesRequest extends $dara.Model {
|
|
|
32496
33095
|
* 1
|
|
32497
33096
|
*/
|
|
32498
33097
|
riskLevel?: number;
|
|
33098
|
+
/**
|
|
33099
|
+
* @remarks
|
|
33100
|
+
* The tags of the resource.
|
|
33101
|
+
*
|
|
33102
|
+
* You can add up to 20 tags to a resource.
|
|
33103
|
+
*/
|
|
32499
33104
|
tag?: ListAggregateConfigRulesRequestTag[];
|
|
32500
33105
|
static names(): { [key: string]: string } {
|
|
32501
33106
|
return {
|
|
@@ -32646,6 +33251,12 @@ export class ListAggregateConfigRulesShrinkRequest extends $dara.Model {
|
|
|
32646
33251
|
* 1
|
|
32647
33252
|
*/
|
|
32648
33253
|
riskLevel?: number;
|
|
33254
|
+
/**
|
|
33255
|
+
* @remarks
|
|
33256
|
+
* The tags of the resource.
|
|
33257
|
+
*
|
|
33258
|
+
* You can add up to 20 tags to a resource.
|
|
33259
|
+
*/
|
|
32649
33260
|
tagShrink?: string;
|
|
32650
33261
|
static names(): { [key: string]: string } {
|
|
32651
33262
|
return {
|
|
@@ -33785,6 +34396,12 @@ export class ListAggregatorsRequest extends $dara.Model {
|
|
|
33785
34396
|
* TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0
|
|
33786
34397
|
*/
|
|
33787
34398
|
nextToken?: string;
|
|
34399
|
+
/**
|
|
34400
|
+
* @remarks
|
|
34401
|
+
* The tags of the resource.
|
|
34402
|
+
*
|
|
34403
|
+
* You can add up to 20 tags to a resource.
|
|
34404
|
+
*/
|
|
33788
34405
|
tag?: ListAggregatorsRequestTag[];
|
|
33789
34406
|
static names(): { [key: string]: string } {
|
|
33790
34407
|
return {
|
|
@@ -33833,6 +34450,12 @@ export class ListAggregatorsShrinkRequest extends $dara.Model {
|
|
|
33833
34450
|
* TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0
|
|
33834
34451
|
*/
|
|
33835
34452
|
nextToken?: string;
|
|
34453
|
+
/**
|
|
34454
|
+
* @remarks
|
|
34455
|
+
* The tags of the resource.
|
|
34456
|
+
*
|
|
34457
|
+
* You can add up to 20 tags to a resource.
|
|
34458
|
+
*/
|
|
33836
34459
|
tagShrink?: string;
|
|
33837
34460
|
static names(): { [key: string]: string } {
|
|
33838
34461
|
return {
|
|
@@ -34105,6 +34728,12 @@ export class ListCompliancePacksRequest extends $dara.Model {
|
|
|
34105
34728
|
* ACTIVE
|
|
34106
34729
|
*/
|
|
34107
34730
|
status?: string;
|
|
34731
|
+
/**
|
|
34732
|
+
* @remarks
|
|
34733
|
+
* The tags of the resource.
|
|
34734
|
+
*
|
|
34735
|
+
* You can add up to 20 tags to a resource.
|
|
34736
|
+
*/
|
|
34108
34737
|
tag?: ListCompliancePacksRequestTag[];
|
|
34109
34738
|
static names(): { [key: string]: string } {
|
|
34110
34739
|
return {
|
|
@@ -34168,6 +34797,12 @@ export class ListCompliancePacksShrinkRequest extends $dara.Model {
|
|
|
34168
34797
|
* ACTIVE
|
|
34169
34798
|
*/
|
|
34170
34799
|
status?: string;
|
|
34800
|
+
/**
|
|
34801
|
+
* @remarks
|
|
34802
|
+
* The tags of the resource.
|
|
34803
|
+
*
|
|
34804
|
+
* You can add up to 20 tags to a resource.
|
|
34805
|
+
*/
|
|
34171
34806
|
tagShrink?: string;
|
|
34172
34807
|
static names(): { [key: string]: string } {
|
|
34173
34808
|
return {
|
|
@@ -34416,7 +35051,7 @@ export class ListConfigRuleEvaluationResultsRequest extends $dara.Model {
|
|
|
34416
35051
|
configRuleId?: string;
|
|
34417
35052
|
/**
|
|
34418
35053
|
* @remarks
|
|
34419
|
-
* The maximum number of entries to return
|
|
35054
|
+
* The maximum number of entries to return in a request. Valid values: 1 to 100.
|
|
34420
35055
|
*
|
|
34421
35056
|
* @example
|
|
34422
35057
|
* 10
|
|
@@ -35251,6 +35886,7 @@ export class ListIntegratedServiceResponse extends $dara.Model {
|
|
|
35251
35886
|
}
|
|
35252
35887
|
|
|
35253
35888
|
export class ListManagedRulesRequest extends $dara.Model {
|
|
35889
|
+
filterType?: string;
|
|
35254
35890
|
/**
|
|
35255
35891
|
* @remarks
|
|
35256
35892
|
* The keyword of the managed rule.
|
|
@@ -35301,6 +35937,7 @@ export class ListManagedRulesRequest extends $dara.Model {
|
|
|
35301
35937
|
riskLevel?: number;
|
|
35302
35938
|
static names(): { [key: string]: string } {
|
|
35303
35939
|
return {
|
|
35940
|
+
filterType: 'FilterType',
|
|
35304
35941
|
keyword: 'Keyword',
|
|
35305
35942
|
pageNumber: 'PageNumber',
|
|
35306
35943
|
pageSize: 'PageSize',
|
|
@@ -35311,6 +35948,7 @@ export class ListManagedRulesRequest extends $dara.Model {
|
|
|
35311
35948
|
|
|
35312
35949
|
static types(): { [key: string]: any } {
|
|
35313
35950
|
return {
|
|
35951
|
+
filterType: 'string',
|
|
35314
35952
|
keyword: 'string',
|
|
35315
35953
|
pageNumber: 'number',
|
|
35316
35954
|
pageSize: 'number',
|
|
@@ -39421,13 +40059,13 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
39421
40059
|
inputParameters?: { [key: string]: any };
|
|
39422
40060
|
/**
|
|
39423
40061
|
* @remarks
|
|
39424
|
-
* The
|
|
40062
|
+
* The interval at which the rule is triggered. Valid values:
|
|
39425
40063
|
*
|
|
39426
|
-
* * One_Hour
|
|
39427
|
-
* * Three_Hours
|
|
39428
|
-
* * Six_Hours
|
|
39429
|
-
* * Twelve_Hours
|
|
39430
|
-
* * TwentyFour_Hours
|
|
40064
|
+
* * One_Hour
|
|
40065
|
+
* * Three_Hours
|
|
40066
|
+
* * Six_Hours
|
|
40067
|
+
* * Twelve_Hours
|
|
40068
|
+
* * TwentyFour_Hours
|
|
39431
40069
|
*
|
|
39432
40070
|
* > This parameter is required if the `ConfigRuleTriggerTypes` parameter is set to `ScheduledNotification`.
|
|
39433
40071
|
*
|
|
@@ -39463,6 +40101,17 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
39463
40101
|
* lb-5cmbowstbkss9ta03****
|
|
39464
40102
|
*/
|
|
39465
40103
|
resourceIdsScope?: string;
|
|
40104
|
+
/**
|
|
40105
|
+
* @remarks
|
|
40106
|
+
* The names of the resource groups to which the rule applies.
|
|
40107
|
+
*
|
|
40108
|
+
* @example
|
|
40109
|
+
* i-xxx
|
|
40110
|
+
*
|
|
40111
|
+
* **if can be null:**
|
|
40112
|
+
* true
|
|
40113
|
+
*/
|
|
40114
|
+
resourceNameScope?: string;
|
|
39466
40115
|
/**
|
|
39467
40116
|
* @remarks
|
|
39468
40117
|
* The type of the resource to be evaluated by the rule. Separate multiple resource types with commas (,).
|
|
@@ -39473,11 +40122,11 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
39473
40122
|
resourceTypesScope?: string[];
|
|
39474
40123
|
/**
|
|
39475
40124
|
* @remarks
|
|
39476
|
-
* The risk level of the resources that
|
|
40125
|
+
* The risk level of the resources that do not comply with the rule. Valid values:
|
|
39477
40126
|
*
|
|
39478
|
-
* * 1: high
|
|
39479
|
-
* * 2: medium
|
|
39480
|
-
* * 3: low
|
|
40127
|
+
* * 1: high
|
|
40128
|
+
* * 2: medium
|
|
40129
|
+
* * 3: low
|
|
39481
40130
|
*
|
|
39482
40131
|
* @example
|
|
39483
40132
|
* 3
|
|
@@ -39492,6 +40141,8 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
39492
40141
|
tag?: UpdateAggregateConfigRuleRequestTag[];
|
|
39493
40142
|
/**
|
|
39494
40143
|
* @remarks
|
|
40144
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
40145
|
+
*
|
|
39495
40146
|
* The logical relationship among the tag keys if you specify multiple tag keys for the `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and the TagKeyLogicScope parameter to `AND`, the rule applies to resources with both the `ECS` and `OSS` tag keys. Valid values:
|
|
39496
40147
|
*
|
|
39497
40148
|
* * AND
|
|
@@ -39499,26 +40150,36 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
39499
40150
|
*
|
|
39500
40151
|
* @example
|
|
39501
40152
|
* AND
|
|
40153
|
+
*
|
|
40154
|
+
* @deprecated
|
|
39502
40155
|
*/
|
|
39503
40156
|
tagKeyLogicScope?: string;
|
|
39504
40157
|
/**
|
|
39505
40158
|
* @remarks
|
|
40159
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
40160
|
+
*
|
|
39506
40161
|
* The tag key used to filter resources. The rule applies only to the resources with the specified tag key.
|
|
39507
40162
|
*
|
|
39508
40163
|
* > This parameter applies only to a managed rule. You must configure the `TagKeyScope` and `TagValueScope` parameters at the same time.
|
|
39509
40164
|
*
|
|
39510
40165
|
* @example
|
|
39511
40166
|
* ECS
|
|
40167
|
+
*
|
|
40168
|
+
* @deprecated
|
|
39512
40169
|
*/
|
|
39513
40170
|
tagKeyScope?: string;
|
|
39514
40171
|
/**
|
|
39515
40172
|
* @remarks
|
|
40173
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
40174
|
+
*
|
|
39516
40175
|
* The tag value used to filter resources. The rule applies only to the resources that use the specified tag value.
|
|
39517
40176
|
*
|
|
39518
40177
|
* > This parameter applies only to a managed rule. You must configure the `TagKeyScope` and `TagValueScope` parameters at the same time.
|
|
39519
40178
|
*
|
|
39520
40179
|
* @example
|
|
39521
40180
|
* test
|
|
40181
|
+
*
|
|
40182
|
+
* @deprecated
|
|
39522
40183
|
*/
|
|
39523
40184
|
tagValueScope?: string;
|
|
39524
40185
|
/**
|
|
@@ -39547,6 +40208,7 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
39547
40208
|
regionIdsScope: 'RegionIdsScope',
|
|
39548
40209
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
39549
40210
|
resourceIdsScope: 'ResourceIdsScope',
|
|
40211
|
+
resourceNameScope: 'ResourceNameScope',
|
|
39550
40212
|
resourceTypesScope: 'ResourceTypesScope',
|
|
39551
40213
|
riskLevel: 'RiskLevel',
|
|
39552
40214
|
tag: 'Tag',
|
|
@@ -39578,6 +40240,7 @@ export class UpdateAggregateConfigRuleRequest extends $dara.Model {
|
|
|
39578
40240
|
regionIdsScope: 'string',
|
|
39579
40241
|
resourceGroupIdsScope: 'string',
|
|
39580
40242
|
resourceIdsScope: 'string',
|
|
40243
|
+
resourceNameScope: 'string',
|
|
39581
40244
|
resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
|
|
39582
40245
|
riskLevel: 'number',
|
|
39583
40246
|
tag: { 'type': 'array', 'itemType': UpdateAggregateConfigRuleRequestTag },
|
|
@@ -39763,13 +40426,13 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
39763
40426
|
inputParametersShrink?: string;
|
|
39764
40427
|
/**
|
|
39765
40428
|
* @remarks
|
|
39766
|
-
* The
|
|
40429
|
+
* The interval at which the rule is triggered. Valid values:
|
|
39767
40430
|
*
|
|
39768
|
-
* * One_Hour
|
|
39769
|
-
* * Three_Hours
|
|
39770
|
-
* * Six_Hours
|
|
39771
|
-
* * Twelve_Hours
|
|
39772
|
-
* * TwentyFour_Hours
|
|
40431
|
+
* * One_Hour
|
|
40432
|
+
* * Three_Hours
|
|
40433
|
+
* * Six_Hours
|
|
40434
|
+
* * Twelve_Hours
|
|
40435
|
+
* * TwentyFour_Hours
|
|
39773
40436
|
*
|
|
39774
40437
|
* > This parameter is required if the `ConfigRuleTriggerTypes` parameter is set to `ScheduledNotification`.
|
|
39775
40438
|
*
|
|
@@ -39805,6 +40468,17 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
39805
40468
|
* lb-5cmbowstbkss9ta03****
|
|
39806
40469
|
*/
|
|
39807
40470
|
resourceIdsScope?: string;
|
|
40471
|
+
/**
|
|
40472
|
+
* @remarks
|
|
40473
|
+
* The names of the resource groups to which the rule applies.
|
|
40474
|
+
*
|
|
40475
|
+
* @example
|
|
40476
|
+
* i-xxx
|
|
40477
|
+
*
|
|
40478
|
+
* **if can be null:**
|
|
40479
|
+
* true
|
|
40480
|
+
*/
|
|
40481
|
+
resourceNameScope?: string;
|
|
39808
40482
|
/**
|
|
39809
40483
|
* @remarks
|
|
39810
40484
|
* The type of the resource to be evaluated by the rule. Separate multiple resource types with commas (,).
|
|
@@ -39815,11 +40489,11 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
39815
40489
|
resourceTypesScopeShrink?: string;
|
|
39816
40490
|
/**
|
|
39817
40491
|
* @remarks
|
|
39818
|
-
* The risk level of the resources that
|
|
40492
|
+
* The risk level of the resources that do not comply with the rule. Valid values:
|
|
39819
40493
|
*
|
|
39820
|
-
* * 1: high
|
|
39821
|
-
* * 2: medium
|
|
39822
|
-
* * 3: low
|
|
40494
|
+
* * 1: high
|
|
40495
|
+
* * 2: medium
|
|
40496
|
+
* * 3: low
|
|
39823
40497
|
*
|
|
39824
40498
|
* @example
|
|
39825
40499
|
* 3
|
|
@@ -39834,6 +40508,8 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
39834
40508
|
tagShrink?: string;
|
|
39835
40509
|
/**
|
|
39836
40510
|
* @remarks
|
|
40511
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
40512
|
+
*
|
|
39837
40513
|
* The logical relationship among the tag keys if you specify multiple tag keys for the `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and the TagKeyLogicScope parameter to `AND`, the rule applies to resources with both the `ECS` and `OSS` tag keys. Valid values:
|
|
39838
40514
|
*
|
|
39839
40515
|
* * AND
|
|
@@ -39841,26 +40517,36 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
39841
40517
|
*
|
|
39842
40518
|
* @example
|
|
39843
40519
|
* AND
|
|
40520
|
+
*
|
|
40521
|
+
* @deprecated
|
|
39844
40522
|
*/
|
|
39845
40523
|
tagKeyLogicScope?: string;
|
|
39846
40524
|
/**
|
|
39847
40525
|
* @remarks
|
|
40526
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
40527
|
+
*
|
|
39848
40528
|
* The tag key used to filter resources. The rule applies only to the resources with the specified tag key.
|
|
39849
40529
|
*
|
|
39850
40530
|
* > This parameter applies only to a managed rule. You must configure the `TagKeyScope` and `TagValueScope` parameters at the same time.
|
|
39851
40531
|
*
|
|
39852
40532
|
* @example
|
|
39853
40533
|
* ECS
|
|
40534
|
+
*
|
|
40535
|
+
* @deprecated
|
|
39854
40536
|
*/
|
|
39855
40537
|
tagKeyScope?: string;
|
|
39856
40538
|
/**
|
|
39857
40539
|
* @remarks
|
|
40540
|
+
* This parameter is deprecated. We recommend that you use the `TagsScope` parameter.
|
|
40541
|
+
*
|
|
39858
40542
|
* The tag value used to filter resources. The rule applies only to the resources that use the specified tag value.
|
|
39859
40543
|
*
|
|
39860
40544
|
* > This parameter applies only to a managed rule. You must configure the `TagKeyScope` and `TagValueScope` parameters at the same time.
|
|
39861
40545
|
*
|
|
39862
40546
|
* @example
|
|
39863
40547
|
* test
|
|
40548
|
+
*
|
|
40549
|
+
* @deprecated
|
|
39864
40550
|
*/
|
|
39865
40551
|
tagValueScope?: string;
|
|
39866
40552
|
/**
|
|
@@ -39889,6 +40575,7 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
39889
40575
|
regionIdsScope: 'RegionIdsScope',
|
|
39890
40576
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
39891
40577
|
resourceIdsScope: 'ResourceIdsScope',
|
|
40578
|
+
resourceNameScope: 'ResourceNameScope',
|
|
39892
40579
|
resourceTypesScopeShrink: 'ResourceTypesScope',
|
|
39893
40580
|
riskLevel: 'RiskLevel',
|
|
39894
40581
|
tagShrink: 'Tag',
|
|
@@ -39920,6 +40607,7 @@ export class UpdateAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
39920
40607
|
regionIdsScope: 'string',
|
|
39921
40608
|
resourceGroupIdsScope: 'string',
|
|
39922
40609
|
resourceIdsScope: 'string',
|
|
40610
|
+
resourceNameScope: 'string',
|
|
39923
40611
|
resourceTypesScopeShrink: 'string',
|
|
39924
40612
|
riskLevel: 'number',
|
|
39925
40613
|
tagShrink: 'string',
|
|
@@ -40258,6 +40946,13 @@ export class UpdateAggregatorRequest extends $dara.Model {
|
|
|
40258
40946
|
* Test_Aggregator_Description
|
|
40259
40947
|
*/
|
|
40260
40948
|
description?: string;
|
|
40949
|
+
folderId?: string;
|
|
40950
|
+
/**
|
|
40951
|
+
* @remarks
|
|
40952
|
+
* The tags of the resource.
|
|
40953
|
+
*
|
|
40954
|
+
* You can add up to 20 tags to a resource.
|
|
40955
|
+
*/
|
|
40261
40956
|
tag?: UpdateAggregatorRequestTag[];
|
|
40262
40957
|
static names(): { [key: string]: string } {
|
|
40263
40958
|
return {
|
|
@@ -40266,6 +40961,7 @@ export class UpdateAggregatorRequest extends $dara.Model {
|
|
|
40266
40961
|
aggregatorName: 'AggregatorName',
|
|
40267
40962
|
clientToken: 'ClientToken',
|
|
40268
40963
|
description: 'Description',
|
|
40964
|
+
folderId: 'FolderId',
|
|
40269
40965
|
tag: 'Tag',
|
|
40270
40966
|
};
|
|
40271
40967
|
}
|
|
@@ -40277,6 +40973,7 @@ export class UpdateAggregatorRequest extends $dara.Model {
|
|
|
40277
40973
|
aggregatorName: 'string',
|
|
40278
40974
|
clientToken: 'string',
|
|
40279
40975
|
description: 'string',
|
|
40976
|
+
folderId: 'string',
|
|
40280
40977
|
tag: { 'type': 'array', 'itemType': UpdateAggregatorRequestTag },
|
|
40281
40978
|
};
|
|
40282
40979
|
}
|
|
@@ -40347,6 +41044,13 @@ export class UpdateAggregatorShrinkRequest extends $dara.Model {
|
|
|
40347
41044
|
* Test_Aggregator_Description
|
|
40348
41045
|
*/
|
|
40349
41046
|
description?: string;
|
|
41047
|
+
folderId?: string;
|
|
41048
|
+
/**
|
|
41049
|
+
* @remarks
|
|
41050
|
+
* The tags of the resource.
|
|
41051
|
+
*
|
|
41052
|
+
* You can add up to 20 tags to a resource.
|
|
41053
|
+
*/
|
|
40350
41054
|
tagShrink?: string;
|
|
40351
41055
|
static names(): { [key: string]: string } {
|
|
40352
41056
|
return {
|
|
@@ -40355,6 +41059,7 @@ export class UpdateAggregatorShrinkRequest extends $dara.Model {
|
|
|
40355
41059
|
aggregatorName: 'AggregatorName',
|
|
40356
41060
|
clientToken: 'ClientToken',
|
|
40357
41061
|
description: 'Description',
|
|
41062
|
+
folderId: 'FolderId',
|
|
40358
41063
|
tagShrink: 'Tag',
|
|
40359
41064
|
};
|
|
40360
41065
|
}
|
|
@@ -40366,6 +41071,7 @@ export class UpdateAggregatorShrinkRequest extends $dara.Model {
|
|
|
40366
41071
|
aggregatorName: 'string',
|
|
40367
41072
|
clientToken: 'string',
|
|
40368
41073
|
description: 'string',
|
|
41074
|
+
folderId: 'string',
|
|
40369
41075
|
tagShrink: 'string',
|
|
40370
41076
|
};
|
|
40371
41077
|
}
|
|
@@ -40565,6 +41271,12 @@ export class UpdateCompliancePackRequest extends $dara.Model {
|
|
|
40565
41271
|
* 1
|
|
40566
41272
|
*/
|
|
40567
41273
|
riskLevel?: number;
|
|
41274
|
+
/**
|
|
41275
|
+
* @remarks
|
|
41276
|
+
* The tags of the resource.
|
|
41277
|
+
*
|
|
41278
|
+
* You can add up to 20 tags to a resource.
|
|
41279
|
+
*/
|
|
40568
41280
|
tag?: UpdateCompliancePackRequestTag[];
|
|
40569
41281
|
/**
|
|
40570
41282
|
* @remarks
|
|
@@ -40765,6 +41477,12 @@ export class UpdateCompliancePackShrinkRequest extends $dara.Model {
|
|
|
40765
41477
|
* 1
|
|
40766
41478
|
*/
|
|
40767
41479
|
riskLevel?: number;
|
|
41480
|
+
/**
|
|
41481
|
+
* @remarks
|
|
41482
|
+
* The tags of the resource.
|
|
41483
|
+
*
|
|
41484
|
+
* You can add up to 20 tags to a resource.
|
|
41485
|
+
*/
|
|
40768
41486
|
tagShrink?: string;
|
|
40769
41487
|
/**
|
|
40770
41488
|
* @remarks
|
|
@@ -41361,6 +42079,11 @@ export class UpdateConfigRuleRequest extends $dara.Model {
|
|
|
41361
42079
|
* lb-5cmbowstbkss9ta03****
|
|
41362
42080
|
*/
|
|
41363
42081
|
resourceIdsScope?: string;
|
|
42082
|
+
/**
|
|
42083
|
+
* **if can be null:**
|
|
42084
|
+
* true
|
|
42085
|
+
*/
|
|
42086
|
+
resourceNameScope?: string;
|
|
41364
42087
|
/**
|
|
41365
42088
|
* @remarks
|
|
41366
42089
|
* The type of the resource to be evaluated by the rule. Separate multiple resource types with commas (,).
|
|
@@ -41397,6 +42120,8 @@ export class UpdateConfigRuleRequest extends $dara.Model {
|
|
|
41397
42120
|
*
|
|
41398
42121
|
* @example
|
|
41399
42122
|
* AND
|
|
42123
|
+
*
|
|
42124
|
+
* @deprecated
|
|
41400
42125
|
*/
|
|
41401
42126
|
tagKeyLogicScope?: string;
|
|
41402
42127
|
/**
|
|
@@ -41407,6 +42132,8 @@ export class UpdateConfigRuleRequest extends $dara.Model {
|
|
|
41407
42132
|
*
|
|
41408
42133
|
* @example
|
|
41409
42134
|
* ECS
|
|
42135
|
+
*
|
|
42136
|
+
* @deprecated
|
|
41410
42137
|
*/
|
|
41411
42138
|
tagKeyScope?: string;
|
|
41412
42139
|
/**
|
|
@@ -41417,6 +42144,8 @@ export class UpdateConfigRuleRequest extends $dara.Model {
|
|
|
41417
42144
|
*
|
|
41418
42145
|
* @example
|
|
41419
42146
|
* test
|
|
42147
|
+
*
|
|
42148
|
+
* @deprecated
|
|
41420
42149
|
*/
|
|
41421
42150
|
tagValueScope?: string;
|
|
41422
42151
|
/**
|
|
@@ -41441,6 +42170,7 @@ export class UpdateConfigRuleRequest extends $dara.Model {
|
|
|
41441
42170
|
regionIdsScope: 'RegionIdsScope',
|
|
41442
42171
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
41443
42172
|
resourceIdsScope: 'ResourceIdsScope',
|
|
42173
|
+
resourceNameScope: 'ResourceNameScope',
|
|
41444
42174
|
resourceTypesScope: 'ResourceTypesScope',
|
|
41445
42175
|
riskLevel: 'RiskLevel',
|
|
41446
42176
|
tag: 'Tag',
|
|
@@ -41468,6 +42198,7 @@ export class UpdateConfigRuleRequest extends $dara.Model {
|
|
|
41468
42198
|
regionIdsScope: 'string',
|
|
41469
42199
|
resourceGroupIdsScope: 'string',
|
|
41470
42200
|
resourceIdsScope: 'string',
|
|
42201
|
+
resourceNameScope: 'string',
|
|
41471
42202
|
resourceTypesScope: { 'type': 'array', 'itemType': 'string' },
|
|
41472
42203
|
riskLevel: 'number',
|
|
41473
42204
|
tag: { 'type': 'array', 'itemType': UpdateConfigRuleRequestTag },
|
|
@@ -41648,6 +42379,11 @@ export class UpdateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
41648
42379
|
* lb-5cmbowstbkss9ta03****
|
|
41649
42380
|
*/
|
|
41650
42381
|
resourceIdsScope?: string;
|
|
42382
|
+
/**
|
|
42383
|
+
* **if can be null:**
|
|
42384
|
+
* true
|
|
42385
|
+
*/
|
|
42386
|
+
resourceNameScope?: string;
|
|
41651
42387
|
/**
|
|
41652
42388
|
* @remarks
|
|
41653
42389
|
* The type of the resource to be evaluated by the rule. Separate multiple resource types with commas (,).
|
|
@@ -41684,6 +42420,8 @@ export class UpdateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
41684
42420
|
*
|
|
41685
42421
|
* @example
|
|
41686
42422
|
* AND
|
|
42423
|
+
*
|
|
42424
|
+
* @deprecated
|
|
41687
42425
|
*/
|
|
41688
42426
|
tagKeyLogicScope?: string;
|
|
41689
42427
|
/**
|
|
@@ -41694,6 +42432,8 @@ export class UpdateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
41694
42432
|
*
|
|
41695
42433
|
* @example
|
|
41696
42434
|
* ECS
|
|
42435
|
+
*
|
|
42436
|
+
* @deprecated
|
|
41697
42437
|
*/
|
|
41698
42438
|
tagKeyScope?: string;
|
|
41699
42439
|
/**
|
|
@@ -41704,6 +42444,8 @@ export class UpdateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
41704
42444
|
*
|
|
41705
42445
|
* @example
|
|
41706
42446
|
* test
|
|
42447
|
+
*
|
|
42448
|
+
* @deprecated
|
|
41707
42449
|
*/
|
|
41708
42450
|
tagValueScope?: string;
|
|
41709
42451
|
/**
|
|
@@ -41728,6 +42470,7 @@ export class UpdateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
41728
42470
|
regionIdsScope: 'RegionIdsScope',
|
|
41729
42471
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
41730
42472
|
resourceIdsScope: 'ResourceIdsScope',
|
|
42473
|
+
resourceNameScope: 'ResourceNameScope',
|
|
41731
42474
|
resourceTypesScopeShrink: 'ResourceTypesScope',
|
|
41732
42475
|
riskLevel: 'RiskLevel',
|
|
41733
42476
|
tagShrink: 'Tag',
|
|
@@ -41755,6 +42498,7 @@ export class UpdateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
41755
42498
|
regionIdsScope: 'string',
|
|
41756
42499
|
resourceGroupIdsScope: 'string',
|
|
41757
42500
|
resourceIdsScope: 'string',
|
|
42501
|
+
resourceNameScope: 'string',
|
|
41758
42502
|
resourceTypesScopeShrink: 'string',
|
|
41759
42503
|
riskLevel: 'number',
|
|
41760
42504
|
tagShrink: 'string',
|
|
@@ -43303,6 +44047,10 @@ export default class Client extends OpenApi {
|
|
|
43303
44047
|
}
|
|
43304
44048
|
|
|
43305
44049
|
let query = { };
|
|
44050
|
+
if (!$dara.isNull(request.resourceNameScope)) {
|
|
44051
|
+
query["ResourceNameScope"] = request.resourceNameScope;
|
|
44052
|
+
}
|
|
44053
|
+
|
|
43306
44054
|
if (!$dara.isNull(request.tagShrink)) {
|
|
43307
44055
|
query["Tag"] = request.tagShrink;
|
|
43308
44056
|
}
|
|
@@ -43974,6 +44722,10 @@ export default class Client extends OpenApi {
|
|
|
43974
44722
|
body["ResourceIdsScope"] = request.resourceIdsScope;
|
|
43975
44723
|
}
|
|
43976
44724
|
|
|
44725
|
+
if (!$dara.isNull(request.resourceNameScope)) {
|
|
44726
|
+
body["ResourceNameScope"] = request.resourceNameScope;
|
|
44727
|
+
}
|
|
44728
|
+
|
|
43977
44729
|
if (!$dara.isNull(request.resourceTypesScopeShrink)) {
|
|
43978
44730
|
body["ResourceTypesScope"] = request.resourceTypesScopeShrink;
|
|
43979
44731
|
}
|
|
@@ -49444,6 +50196,10 @@ export default class Client extends OpenApi {
|
|
|
49444
50196
|
async listManagedRulesWithOptions(request: ListManagedRulesRequest, runtime: $dara.RuntimeOptions): Promise<ListManagedRulesResponse> {
|
|
49445
50197
|
request.validate();
|
|
49446
50198
|
let query = { };
|
|
50199
|
+
if (!$dara.isNull(request.filterType)) {
|
|
50200
|
+
query["FilterType"] = request.filterType;
|
|
50201
|
+
}
|
|
50202
|
+
|
|
49447
50203
|
if (!$dara.isNull(request.keyword)) {
|
|
49448
50204
|
query["Keyword"] = request.keyword;
|
|
49449
50205
|
}
|
|
@@ -51117,6 +51873,10 @@ export default class Client extends OpenApi {
|
|
|
51117
51873
|
body["ResourceIdsScope"] = request.resourceIdsScope;
|
|
51118
51874
|
}
|
|
51119
51875
|
|
|
51876
|
+
if (!$dara.isNull(request.resourceNameScope)) {
|
|
51877
|
+
body["ResourceNameScope"] = request.resourceNameScope;
|
|
51878
|
+
}
|
|
51879
|
+
|
|
51120
51880
|
if (!$dara.isNull(request.resourceTypesScopeShrink)) {
|
|
51121
51881
|
body["ResourceTypesScope"] = request.resourceTypesScopeShrink;
|
|
51122
51882
|
}
|
|
@@ -51307,6 +52067,10 @@ export default class Client extends OpenApi {
|
|
|
51307
52067
|
body["Description"] = request.description;
|
|
51308
52068
|
}
|
|
51309
52069
|
|
|
52070
|
+
if (!$dara.isNull(request.folderId)) {
|
|
52071
|
+
body["FolderId"] = request.folderId;
|
|
52072
|
+
}
|
|
52073
|
+
|
|
51310
52074
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
51311
52075
|
query: OpenApiUtil.query(query),
|
|
51312
52076
|
body: OpenApiUtil.parseToMap(body),
|
|
@@ -51672,6 +52436,10 @@ export default class Client extends OpenApi {
|
|
|
51672
52436
|
body["ResourceIdsScope"] = request.resourceIdsScope;
|
|
51673
52437
|
}
|
|
51674
52438
|
|
|
52439
|
+
if (!$dara.isNull(request.resourceNameScope)) {
|
|
52440
|
+
body["ResourceNameScope"] = request.resourceNameScope;
|
|
52441
|
+
}
|
|
52442
|
+
|
|
51675
52443
|
if (!$dara.isNull(request.resourceTypesScopeShrink)) {
|
|
51676
52444
|
body["ResourceTypesScope"] = request.resourceTypesScopeShrink;
|
|
51677
52445
|
}
|