15
15
* @method CancelPromoteResourceAccount cancelPromoteResourceAccount(array $options = [])
16
16
* @method ChangeAccountEmail changeAccountEmail(array $options = [])
17
17
* @method CheckAccountDelete checkAccountDelete(array $options = [])
18
+ * @method CreateAutoGroupingRule createAutoGroupingRule(array $options = [])
18
19
* @method CreateCloudAccount createCloudAccount(array $options = [])
19
20
* @method CreateControlPolicy createControlPolicy(array $options = [])
20
21
* @method CreateFolder createFolder(array $options = [])
26
27
* @method CreateServiceLinkedRole createServiceLinkedRole(array $options = [])
27
28
* @method DeclineHandshake declineHandshake(array $options = [])
28
29
* @method DeleteAccount deleteAccount(array $options = [])
30
+ * @method DeleteAutoGroupingRule deleteAutoGroupingRule(array $options = [])
29
31
* @method DeleteControlPolicy deleteControlPolicy(array $options = [])
30
32
* @method DeleteFolder deleteFolder(array $options = [])
31
33
* @method DeletePolicy deletePolicy(array $options = [])
37
39
* @method DestroyResourceDirectory destroyResourceDirectory(array $options = [])
38
40
* @method DetachControlPolicy detachControlPolicy(array $options = [])
39
41
* @method DetachPolicy detachPolicy(array $options = [])
42
+ * @method DisableAssociatedTransfer disableAssociatedTransfer(array $options = [])
43
+ * @method DisableAutoGrouping disableAutoGrouping(array $options = [])
40
44
* @method DisableControlPolicy disableControlPolicy(array $options = [])
45
+ * @method EnableAssociatedTransfer enableAssociatedTransfer(array $options = [])
46
+ * @method EnableAutoGrouping enableAutoGrouping(array $options = [])
41
47
* @method EnableControlPolicy enableControlPolicy(array $options = [])
42
48
* @method EnableResourceDirectory enableResourceDirectory(array $options = [])
43
49
* @method GetAccount getAccount(array $options = [])
44
50
* @method GetAccountDeletionCheckResult getAccountDeletionCheckResult(array $options = [])
45
51
* @method GetAccountDeletionStatus getAccountDeletionStatus(array $options = [])
52
+ * @method GetAutoGroupingRule getAutoGroupingRule(array $options = [])
53
+ * @method GetAutoGroupingStatus getAutoGroupingStatus(array $options = [])
46
54
* @method GetControlPolicy getControlPolicy(array $options = [])
47
55
* @method GetControlPolicyEnablementStatus getControlPolicyEnablementStatus(array $options = [])
48
56
* @method GetFolder getFolder(array $options = [])
59
67
* @method ListAccounts listAccounts(array $options = [])
60
68
* @method ListAccountsForParent listAccountsForParent(array $options = [])
61
69
* @method ListAncestors listAncestors(array $options = [])
70
+ * @method ListAssociatedTransferSetting listAssociatedTransferSetting(array $options = [])
71
+ * @method ListAutoGroupingRules listAutoGroupingRules(array $options = [])
62
72
* @method ListControlPolicies listControlPolicies(array $options = [])
63
73
* @method ListControlPolicyAttachmentsForTarget listControlPolicyAttachmentsForTarget(array $options = [])
64
74
* @method ListDelegatedAdministrators listDelegatedAdministrators(array $options = [])
92
102
* @method TagResources tagResources(array $options = [])
93
103
* @method UntagResources untagResources(array $options = [])
94
104
* @method UpdateAccount updateAccount(array $options = [])
105
+ * @method UpdateAssociatedTransferSetting updateAssociatedTransferSetting(array $options = [])
106
+ * @method UpdateAutoGroupingConfig updateAutoGroupingConfig(array $options = [])
107
+ * @method UpdateAutoGroupingRule updateAutoGroupingRule(array $options = [])
95
108
* @method UpdateControlPolicy updateControlPolicy(array $options = [])
96
109
* @method UpdateFolder updateFolder(array $options = [])
97
110
* @method UpdateResourceGroup updateResourceGroup(array $options = [])
@@ -114,6 +127,9 @@ class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
114
127
115
128
/** @var string */
116
129
protected $ scheme = 'https ' ;
130
+
131
+ /** @var string */
132
+ public $ serviceCode = 'resourcemanager ' ;
117
133
}
118
134
119
135
/**
@@ -135,12 +151,12 @@ class AttachControlPolicy extends Rpc
135
151
}
136
152
137
153
/**
154
+ * @method string getResourceGroupId()
155
+ * @method $this withResourceGroupId($value)
138
156
* @method string getPolicyType()
139
157
* @method $this withPolicyType($value)
140
158
* @method string getPrincipalType()
141
159
* @method $this withPrincipalType($value)
142
- * @method string getResourceGroupId()
143
- * @method $this withResourceGroupId($value)
144
160
* @method string getPolicyName()
145
161
* @method $this withPolicyName($value)
146
162
* @method string getPrincipalName()
@@ -212,6 +228,55 @@ class CheckAccountDelete extends Rpc
212
228
{
213
229
}
214
230
231
+ /**
232
+ * @method string getRuleDesc()
233
+ * @method $this withRuleDesc($value)
234
+ * @method string getResourceTypesScope()
235
+ * @method $this withResourceTypesScope($value)
236
+ * @method string getRuleName()
237
+ * @method $this withRuleName($value)
238
+ * @method string getExcludeResourceGroupIdsScope()
239
+ * @method $this withExcludeResourceGroupIdsScope($value)
240
+ * @method string getRegionIdsScope()
241
+ * @method $this withRegionIdsScope($value)
242
+ * @method string getResourceIdsScope()
243
+ * @method $this withResourceIdsScope($value)
244
+ * @method array getRuleContents()
245
+ * @method string getExcludeResourceTypesScope()
246
+ * @method $this withExcludeResourceTypesScope($value)
247
+ * @method string getRuleType()
248
+ * @method $this withRuleType($value)
249
+ * @method string getResourceGroupIdsScope()
250
+ * @method $this withResourceGroupIdsScope($value)
251
+ * @method string getExcludeRegionIdsScope()
252
+ * @method $this withExcludeRegionIdsScope($value)
253
+ * @method string getExcludeResourceIdsScope()
254
+ * @method $this withExcludeResourceIdsScope($value)
255
+ */
256
+ class CreateAutoGroupingRule extends Rpc
257
+ {
258
+
259
+ /**
260
+ * @param array $ruleContents
261
+ *
262
+ * @return $this
263
+ */
264
+ public function withRuleContents (array $ ruleContents )
265
+ {
266
+ $ this ->data ['RuleContents ' ] = $ ruleContents ;
267
+ foreach ($ ruleContents as $ depth1 => $ depth1Value ) {
268
+ if (isset ($ depth1Value ['TargetResourceGroupCondition ' ])){
269
+ $ this ->options ['query ' ]['RuleContents. ' . ($ depth1 + 1 ) . '.TargetResourceGroupCondition ' ] = $ depth1Value ['TargetResourceGroupCondition ' ];
270
+ }
271
+ if (isset ($ depth1Value ['AutoGroupingScopeCondition ' ])){
272
+ $ this ->options ['query ' ]['RuleContents. ' . ($ depth1 + 1 ) . '.AutoGroupingScopeCondition ' ] = $ depth1Value ['AutoGroupingScopeCondition ' ];
273
+ }
274
+ }
275
+
276
+ return $ this ;
277
+ }
278
+ }
279
+
215
280
/**
216
281
* @method string getParentFolderId()
217
282
* @method $this withParentFolderId($value)
@@ -297,6 +362,8 @@ class CreateResourceAccount extends Rpc
297
362
* @method $this withDisplayName($value)
298
363
* @method string getName()
299
364
* @method $this withName($value)
365
+ * @method string getTag()
366
+ * @method $this withTag($value)
300
367
*/
301
368
class CreateResourceGroup extends Rpc
302
369
{
@@ -346,6 +413,14 @@ class DeleteAccount extends Rpc
346
413
{
347
414
}
348
415
416
+ /**
417
+ * @method string getRuleId()
418
+ * @method $this withRuleId($value)
419
+ */
420
+ class DeleteAutoGroupingRule extends Rpc
421
+ {
422
+ }
423
+
349
424
/**
350
425
* @method string getPolicyId()
351
426
* @method $this withPolicyId($value)
@@ -435,12 +510,12 @@ class DetachControlPolicy extends Rpc
435
510
}
436
511
437
512
/**
513
+ * @method string getResourceGroupId()
514
+ * @method $this withResourceGroupId($value)
438
515
* @method string getPolicyType()
439
516
* @method $this withPolicyType($value)
440
517
* @method string getPrincipalType()
441
518
* @method $this withPrincipalType($value)
442
- * @method string getResourceGroupId()
443
- * @method $this withResourceGroupId($value)
444
519
* @method string getPolicyName()
445
520
* @method $this withPolicyName($value)
446
521
* @method string getPrincipalName()
@@ -450,10 +525,26 @@ class DetachPolicy extends Rpc
450
525
{
451
526
}
452
527
528
+ class DisableAssociatedTransfer extends Rpc
529
+ {
530
+ }
531
+
532
+ class DisableAutoGrouping extends Rpc
533
+ {
534
+ }
535
+
453
536
class DisableControlPolicy extends Rpc
454
537
{
455
538
}
456
539
540
+ class EnableAssociatedTransfer extends Rpc
541
+ {
542
+ }
543
+
544
+ class EnableAutoGrouping extends Rpc
545
+ {
546
+ }
547
+
457
548
class EnableControlPolicy extends Rpc
458
549
{
459
550
}
@@ -498,6 +589,18 @@ class GetAccountDeletionStatus extends Rpc
498
589
{
499
590
}
500
591
592
+ /**
593
+ * @method string getRuleId()
594
+ * @method $this withRuleId($value)
595
+ */
596
+ class GetAutoGroupingRule extends Rpc
597
+ {
598
+ }
599
+
600
+ class GetAutoGroupingStatus extends Rpc
601
+ {
602
+ }
603
+
501
604
/**
502
605
* @method string getLanguage()
503
606
* @method $this withLanguage($value)
@@ -628,18 +731,18 @@ class ListAccounts extends Rpc
628
731
}
629
732
630
733
/**
631
- * @method string getQueryKeyword()
632
- * @method $this withQueryKeyword($value)
633
734
* @method string getPageNumber()
634
735
* @method $this withPageNumber($value)
635
- * @method string getParentFolderId()
636
- * @method $this withParentFolderId($value)
637
- * @method string getIncludeTags()
638
- * @method $this withIncludeTags($value)
639
736
* @method string getPageSize()
640
737
* @method $this withPageSize($value)
641
738
* @method string getTag()
642
739
* @method $this withTag($value)
740
+ * @method string getQueryKeyword()
741
+ * @method $this withQueryKeyword($value)
742
+ * @method string getParentFolderId()
743
+ * @method $this withParentFolderId($value)
744
+ * @method string getIncludeTags()
745
+ * @method $this withIncludeTags($value)
643
746
*/
644
747
class ListAccountsForParent extends Rpc
645
748
{
@@ -653,6 +756,26 @@ class ListAncestors extends Rpc
653
756
{
654
757
}
655
758
759
+ class ListAssociatedTransferSetting extends Rpc
760
+ {
761
+ }
762
+
763
+ /**
764
+ * @method string getRuleName()
765
+ * @method $this withRuleName($value)
766
+ * @method string getNextToken()
767
+ * @method $this withNextToken($value)
768
+ * @method string getRuleType()
769
+ * @method $this withRuleType($value)
770
+ * @method string getMaxResults()
771
+ * @method $this withMaxResults($value)
772
+ * @method string getRuleId()
773
+ * @method $this withRuleId($value)
774
+ */
775
+ class ListAutoGroupingRules extends Rpc
776
+ {
777
+ }
778
+
656
779
/**
657
780
* @method string getPolicyType()
658
781
* @method $this withPolicyType($value)
@@ -858,16 +981,16 @@ class ListTagKeys extends Rpc
858
981
}
859
982
860
983
/**
984
+ * @method string getNextToken()
985
+ * @method $this withNextToken($value)
986
+ * @method string getTag()
987
+ * @method $this withTag($value)
861
988
* @method string getResourceId()
862
989
* @method $this withResourceId($value)
863
990
* @method string getResourceType()
864
991
* @method $this withResourceType($value)
865
- * @method string getNextToken()
866
- * @method $this withNextToken($value)
867
992
* @method string getMaxResults()
868
993
* @method $this withMaxResults($value)
869
- * @method string getTag()
870
- * @method $this withTag($value)
871
994
*/
872
995
class ListTagResources extends Rpc
873
996
{
@@ -1065,6 +1188,76 @@ class UpdateAccount extends Rpc
1065
1188
{
1066
1189
}
1067
1190
1191
+ /**
1192
+ * @method string getRuleSettings()
1193
+ * @method $this withRuleSettings($value)
1194
+ * @method string getEnableExistingResourcesTransfer()
1195
+ * @method $this withEnableExistingResourcesTransfer($value)
1196
+ */
1197
+ class UpdateAssociatedTransferSetting extends Rpc
1198
+ {
1199
+ }
1200
+
1201
+ /**
1202
+ * @method string getEnableExistingResourcesTransfer()
1203
+ * @method $this withEnableExistingResourcesTransfer($value)
1204
+ */
1205
+ class UpdateAutoGroupingConfig extends Rpc
1206
+ {
1207
+ }
1208
+
1209
+ /**
1210
+ * @method string getRuleDesc()
1211
+ * @method $this withRuleDesc($value)
1212
+ * @method string getResourceTypesScope()
1213
+ * @method $this withResourceTypesScope($value)
1214
+ * @method string getRuleName()
1215
+ * @method $this withRuleName($value)
1216
+ * @method string getExcludeResourceGroupIdsScope()
1217
+ * @method $this withExcludeResourceGroupIdsScope($value)
1218
+ * @method string getRegionIdsScope()
1219
+ * @method $this withRegionIdsScope($value)
1220
+ * @method string getResourceIdsScope()
1221
+ * @method $this withResourceIdsScope($value)
1222
+ * @method array getRuleContents()
1223
+ * @method string getExcludeResourceTypesScope()
1224
+ * @method $this withExcludeResourceTypesScope($value)
1225
+ * @method string getResourceGroupIdsScope()
1226
+ * @method $this withResourceGroupIdsScope($value)
1227
+ * @method string getExcludeRegionIdsScope()
1228
+ * @method $this withExcludeRegionIdsScope($value)
1229
+ * @method string getExcludeResourceIdsScope()
1230
+ * @method $this withExcludeResourceIdsScope($value)
1231
+ * @method string getRuleId()
1232
+ * @method $this withRuleId($value)
1233
+ */
1234
+ class UpdateAutoGroupingRule extends Rpc
1235
+ {
1236
+
1237
+ /**
1238
+ * @param array $ruleContents
1239
+ *
1240
+ * @return $this
1241
+ */
1242
+ public function withRuleContents (array $ ruleContents )
1243
+ {
1244
+ $ this ->data ['RuleContents ' ] = $ ruleContents ;
1245
+ foreach ($ ruleContents as $ depth1 => $ depth1Value ) {
1246
+ if (isset ($ depth1Value ['RuleContentId ' ])){
1247
+ $ this ->options ['query ' ]['RuleContents. ' . ($ depth1 + 1 ) . '.RuleContentId ' ] = $ depth1Value ['RuleContentId ' ];
1248
+ }
1249
+ if (isset ($ depth1Value ['TargetResourceGroupCondition ' ])){
1250
+ $ this ->options ['query ' ]['RuleContents. ' . ($ depth1 + 1 ) . '.TargetResourceGroupCondition ' ] = $ depth1Value ['TargetResourceGroupCondition ' ];
1251
+ }
1252
+ if (isset ($ depth1Value ['AutoGroupingScopeCondition ' ])){
1253
+ $ this ->options ['query ' ]['RuleContents. ' . ($ depth1 + 1 ) . '.AutoGroupingScopeCondition ' ] = $ depth1Value ['AutoGroupingScopeCondition ' ];
1254
+ }
1255
+ }
1256
+
1257
+ return $ this ;
1258
+ }
1259
+ }
1260
+
1068
1261
/**
1069
1262
* @method string getNewPolicyName()
1070
1263
* @method $this withNewPolicyName($value)
0 commit comments