1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'acc', 'version' => '2024-04-02'],
'directories' => [
[
'children' => ['CreateImageCache', 'DeleteImageCache', 'ListImageCaches', 'GetImageCache'],
'type' => 'directory',
'title' => 'Image cache',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'CreateImageCache' => [
'path' => '',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeNodes' => ['FEATUREacsLAMYBV', 'FEATUREacs7TVY7Q'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ClientToken',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['title' => '', 'description' => 'The idempotency token.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => '*****'],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ImageCacheName',
'in' => 'query',
'schema' => ['description' => 'The name of the image cache.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'example' => 'my-imc', 'title' => ''],
],
[
'name' => 'Images',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The container images used to create the image cache. Currently, only one image is supported.',
'type' => 'array',
'items' => ['description' => 'The container image name.', 'type' => 'string', 'required' => false, 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1', 'title' => ''],
'required' => true,
'maxItems' => 1,
'minItems' => 1,
'title' => '',
'example' => '',
],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzh43v*****', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The tag information of the image cache. A maximum of 20 tags are supported.',
'type' => 'array',
'items' => [
'description' => 'The image cache tag object.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the image cache.', 'type' => 'string', 'example' => 'imc', 'required' => false, 'title' => ''],
'Value' => ['description' => 'The tag value of the image cache.', 'type' => 'string', 'maxLength' => 256, 'required' => false, 'example' => 'test', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'NetworkConfig',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The network configuration for pulling images when creating the image cache.',
'type' => 'object',
'properties' => [
'VSwitchIds' => [
'description' => 'The vSwitch IDs. A maximum of 10 vSwitches are supported. One of them is selected for image pulling.',
'type' => 'array',
'items' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-0jlqxyfxgdw4tzqy*****', 'title' => ''],
'required' => true,
'maxItems' => 10,
'minItems' => 1,
'title' => '',
'example' => '',
],
'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => true, 'example' => 'sg-0jlgektkddwa42n*****', 'title' => ''],
'EipInstance' => [
'description' => 'The elastic IP address (EIP) instance configuration.',
'type' => 'object',
'properties' => [
'InstanceId' => ['description' => 'The EIP instance ID. This parameter takes priority. If this parameter is specified, other parameters do not take effect.', 'type' => 'string', 'required' => false, 'example' => 'eip-0jl0bx3fnpnjc9i4*****', 'title' => ''],
'AutoCreate' => [
'description' => 'Indicates whether automatic creation of an EIP is enabled.',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'type' => 'boolean',
'required' => false,
'example' => 'true',
'title' => '',
],
'Bandwidth' => ['description' => 'The bandwidth for automatic creation of an EIP. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'ImageRegistryCredentials',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The image registry credential information.',
'type' => 'array',
'items' => [
'description' => 'The image registry credential object.',
'type' => 'object',
'properties' => [
'Server' => ['description' => 'The image registry address without the http:// or https:// prefix.', 'type' => 'string', 'required' => false, 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', 'title' => ''],
'Username' => ['title' => '', 'description' => 'The username of the image registry.', 'type' => 'string', 'example' => 'myusername', 'required' => false],
'Password' => ['description' => 'The password of the image registry.', 'type' => 'string', 'required' => false, 'example' => 'mypassword', 'title' => ''],
'UsePlainHttp' => [
'description' => 'Specifies whether to use HTTP to pull images, which prevents image pull failures caused by protocol mismatch.'."\n"
.'Default value: `false`.',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'type' => 'boolean',
'required' => false,
'example' => 'false',
'title' => '',
],
'SkipCertVerification' => [
'description' => 'Specifies whether to skip certificate verification when creating an image cache from a self-managed image registry that uses a self-signed certificate. This prevents image pull failures caused by certificate verification failures.'."\n"
.'Default value: `false`.',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'type' => 'boolean',
'required' => false,
'example' => 'false',
'title' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'AcrRegistryInfos',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The Container Registry Enterprise instance information.',
'type' => 'array',
'items' => [
'description' => 'The Container Registry Enterprise instance object.',
'type' => 'object',
'properties' => [
'InstanceId' => ['description' => 'The Container Registry Enterprise instance ID.', 'type' => 'string', 'required' => false, 'example' => 'cri-nwj395hgf6f*****', 'title' => ''],
'RegionId' => ['description' => 'The region where the Container Registry Enterprise instance resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'Platform',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0E234675-3465-4CC3-9D0F-9A864BC*****'],
'ImageCacheId' => ['description' => 'The image cache ID.', 'type' => 'string', 'example' => 'imc-bp1dj*****', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s.', 'description' => 'Invalid parameter'],
['errorCode' => 'InvalidParameter.LengthExceeded', 'errorMessage' => '%s.', 'description' => 'Array parameter exceeds maximum length'],
['errorCode' => 'MissingParameter', 'errorMessage' => '%s.', 'description' => 'Missing parameter'],
['errorCode' => 'Idempotence.Failed', 'errorMessage' => 'An error occurred while processing your request. Use the new Token and try again.', 'description' => 'idempotent failure'],
['errorCode' => 'Idempotence.Processing', 'errorMessage' => 'The request is being processed. Please try again.', 'description' => 'The request is being processed'],
['errorCode' => 'Idempotence.SignatureMismatch', 'errorMessage' => 'The idempotence signature of the specified request does not match the previous request.', 'description' => 'The idempotence signature of the specified request does not match the previous request'],
['errorCode' => 'InvalidParameter.NotFound', 'errorMessage' => '%s.', 'description' => 'The specific parameter does not exist.'],
],
403 => [
['errorCode' => 'CreateServiceLinkedRoleDenied', 'errorMessage' => 'Please make sure the account has ram:CreateServiceLinkedRole permission.', 'description' => 'Please make sure the account has ram:CreateServiceLinkedRole permission'],
['errorCode' => 'Forbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.', 'description' => 'User not authorized to operate on the specified resource'],
['errorCode' => 'Ram.NoPermission', 'errorMessage' => '%s.', 'description' => 'RAM User has no permission'],
['errorCode' => 'EntityNotExist.ResourceId', 'errorMessage' => 'The resource does not exist.', 'description' => 'The resource does not exist'],
['errorCode' => 'EntityNotExist.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => 'The resource group does not exist'],
['errorCode' => 'Acr.UserNotExist', 'errorMessage' => 'ACR user is not exist.', 'description' => 'ACR user is not exist'],
['errorCode' => 'Acr.AuthenticationFailed', 'errorMessage' => 'ACR user is not authorized to perform this action.', 'description' => 'ACR user is not authorized to perform this action'],
['errorCode' => 'ImageCache.NotSupport', 'errorMessage' => 'Image cache is not available for all users. If you want to enable this function, please contact us.', 'description' => 'Image cache is not available for all users. If you want to enable this function, please contact us.'],
['errorCode' => 'IncorrectOperation', 'errorMessage' => '%s.', 'description' => 'Operation is forbidden, this resource does not support this operation'],
['errorCode' => 'IncorrectStatus', 'errorMessage' => '%s.', 'description' => 'Operation is forbidden, resource status is incorrect'],
['errorCode' => 'QuotaExceeded', 'errorMessage' => 'Your current account quota is insufficient.', 'description' => 'The user quota for this resource is insufficient.'],
['errorCode' => 'RegionNotSupport', 'errorMessage' => 'The specified Region is not supported.', 'description' => 'The specified Region is not supported'],
['errorCode' => 'NoResourceAvailable', 'errorMessage' => '%s.', 'description' => 'No resource available'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Create an image cache',
'summary' => 'Creates an image cache to accelerate container image pulling when you create ACS pods.',
'changeSet' => [
['createdAt' => '2025-09-22T06:29:25.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2025-09-17T04:32:11.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2025-09-10T11:56:22.000Z', 'description' => 'Error codes changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateImageCache'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'acc:CreateImageCache',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'ACC', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0E234675-3465-4CC3-9D0F-9A864BC*****\\",\\n \\"ImageCacheId\\": \\"imc-bp1dj*****\\"\\n}","type":"json"}]',
],
'DeleteImageCache' => [
'summary' => 'Deletes an image cache.',
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeNodes' => ['FEATUREacsLAMYBV', 'FEATUREacs7TVY7Q'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ImageCacheId',
'in' => 'query',
'schema' => ['description' => 'The image cache ID.', 'type' => 'string', 'required' => true, 'example' => 'imc-bp1dj*****', 'title' => ''],
],
[
'name' => 'Force',
'in' => 'query',
'schema' => [
'description' => 'Specifies whether to force delete the image cache. Default value: `false`.',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'type' => 'boolean',
'required' => false,
'example' => 'false',
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0E234675-3465-4CC3-9D0F-9A864BC*****'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s.', 'description' => 'Invalid parameter'],
['errorCode' => 'MissingParameter', 'errorMessage' => '%s.', 'description' => 'Missing parameter'],
],
403 => [
['errorCode' => 'ImageCache.NotExist', 'errorMessage' => 'The specified image cache does not exist.', 'description' => 'The specified image cache does not exist'],
['errorCode' => 'RegionNotSupport', 'errorMessage' => 'The specified Region is not supported.', 'description' => 'The specified Region is not supported'],
['errorCode' => 'IncorrectStatus', 'errorMessage' => '%s.', 'description' => 'Operation is forbidden, resource status is incorrect'],
['errorCode' => 'IncorrectOperation', 'errorMessage' => '%s.', 'description' => 'Operation is forbidden, this resource does not support this operation'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0E234675-3465-4CC3-9D0F-9A864BC*****\\"\\n}","type":"json"}]',
'title' => 'Delete an image cache',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'DeleteImageCache'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'acc:DeleteImageCache',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'ACC', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/{#ImageCacheId}'],
],
],
],
],
],
'GetImageCache' => [
'summary' => 'Queries the details of an image cache.',
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREacsLAMYBV', 'FEATUREacs7TVY7Q'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ImageCacheId',
'in' => 'query',
'schema' => ['description' => 'The image cache ID.', 'type' => 'string', 'required' => true, 'example' => 'imc-bp1dj*****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0E234675-3465-4CC3-9D0F-9A864BC*****'],
'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''],
'ImageCacheId' => ['description' => 'The image cache ID.', 'type' => 'string', 'example' => 'imc-bp1dj*****', 'title' => ''],
'ImageCacheName' => ['description' => 'The image cache name.', 'type' => 'string', 'example' => 'my-imc', 'title' => ''],
'Status' => ['description' => 'The image cache status.', 'type' => 'string', 'example' => 'Ready', 'title' => ''],
'Images' => [
'description' => 'The container image names in the image cache.',
'type' => 'array',
'items' => ['description' => 'The container image name.', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1', 'title' => ''],
'title' => '',
'example' => '',
],
'Size' => ['description' => 'The image cache size. Unit: GiB. Minimum value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''],
'CreateTime' => ['description' => 'The time when the image cache was created.', 'type' => 'string', 'example' => '2025-**-**T07:55:25Z', 'title' => ''],
'ReadyTime' => ['description' => 'The available time of the image cache, indicating when the image cache became active.', 'type' => 'string', 'example' => '2025-**-**T07:58:25Z', 'title' => ''],
'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekzh43v*****', 'title' => ''],
'Tags' => [
'description' => 'The image cache tags. A maximum of 20 tags are supported.',
'type' => 'array',
'items' => [
'description' => 'The image cache tag object.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key of the image cache.', 'type' => 'string', 'example' => 'imc', 'title' => ''],
'Value' => ['description' => 'The tag value of the image cache.', 'type' => 'string', 'example' => 'test', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'Events' => [
'description' => 'The image cache event information.',
'type' => 'array',
'items' => [
'description' => 'The image cache event object.',
'type' => 'object',
'properties' => [
'Count' => ['description' => 'The number of times the event was triggered.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'Type' => ['description' => 'The event type.', 'type' => 'string', 'example' => 'Normal', 'title' => ''],
'Name' => ['description' => 'The event name.', 'type' => 'string', 'example' => 'imagetest.1661f31f851*****', 'title' => ''],
'Reason' => ['description' => 'The event reason.', 'type' => 'string', 'example' => 'ImageCacheCreated', 'title' => ''],
'Message' => ['description' => 'The event message.', 'type' => 'string', 'example' => 'Image cache [my-imc] has been created successfully', 'title' => ''],
'FirstTimestamp' => ['description' => 'The time when the event first occurred.', 'type' => 'string', 'example' => '2025-**-**T02:24:48Z', 'title' => ''],
'LastTimestamp' => ['description' => 'The time when the event last occurred.', 'type' => 'string', 'example' => '2025-**-**T02:24:48Z', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'PaymentType' => ['description' => 'The billing method.', 'type' => 'string', 'example' => 'PayAsYouGo', 'title' => ''],
'NetworkConfig' => [
'description' => 'The network configuration for pulling images when creating the image cache.',
'type' => 'object',
'properties' => [
'VSwitchIds' => [
'description' => 'The vSwitch ID information.',
'type' => 'array',
'items' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-0jlqxyfxgdw4tzqy*****', 'title' => ''],
'title' => '',
'example' => '',
],
'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-0jlgektkddwa42n*****', 'title' => ''],
'EipInstance' => [
'description' => 'The elastic IP address (EIP) instance configuration.',
'type' => 'object',
'properties' => [
'InstanceId' => ['description' => 'The EIP instance ID.', 'type' => 'string', 'example' => 'eip-0jl0bx3fnpnjc9i4*****', 'title' => ''],
'AutoCreate' => ['description' => 'Indicates whether automatic creation of the EIP is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Bandwidth' => ['description' => 'The bandwidth of the EIP created through automatic creation. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'Platform' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s.', 'description' => 'Invalid parameter'],
['errorCode' => 'InvalidParameter.LengthExceeded', 'errorMessage' => '%s.', 'description' => 'Array parameter exceeds maximum length'],
['errorCode' => 'InvalidParameter.ValueExceeded', 'errorMessage' => '%s.', 'description' => 'Parameter exceeds upper value limit'],
['errorCode' => 'MissingParameter', 'errorMessage' => '%s.', 'description' => 'Missing parameter'],
['errorCode' => 'InvalidParameter.NotFound', 'errorMessage' => '%s.', 'description' => 'The specific parameter does not exist.'],
],
403 => [
['errorCode' => 'EntityNotExist.ResourceId', 'errorMessage' => 'The resource does not exist.', 'description' => 'The resource does not exist'],
['errorCode' => 'EntityNotExist.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => 'The resource group does not exist'],
['errorCode' => 'RegionNotSupport', 'errorMessage' => 'The specified Region is not supported.', 'description' => 'The specified Region is not supported'],
['errorCode' => 'ImageCache.NotExist', 'errorMessage' => 'The specified image cache does not exist.', 'description' => 'The specified image cache does not exist'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query image cache details',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 5, 'regionId' => '*', 'api' => 'GetImageCache'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'acc:GetImageCache',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'ACC', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/{#ImageCacheId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0E234675-3465-4CC3-9D0F-9A864BC*****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ImageCacheId\\": \\"imc-bp1dj*****\\",\\n \\"ImageCacheName\\": \\"my-imc\\",\\n \\"Status\\": \\"Ready\\",\\n \\"Images\\": [\\n \\"registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1\\"\\n ],\\n \\"Size\\": 8,\\n \\"CreateTime\\": \\"2025-**-**T07:55:25Z\\",\\n \\"ReadyTime\\": \\"2025-**-**T07:58:25Z\\",\\n \\"ResourceGroupId\\": \\"rg-aekzh43v*****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"imc\\",\\n \\"Value\\": \\"test\\"\\n }\\n ],\\n \\"Events\\": [\\n {\\n \\"Count\\": 1,\\n \\"Type\\": \\"Normal\\",\\n \\"Name\\": \\"imagetest.1661f31f851*****\\",\\n \\"Reason\\": \\"ImageCacheCreated\\",\\n \\"Message\\": \\"Image cache [my-imc] has been created successfully\\",\\n \\"FirstTimestamp\\": \\"2025-**-**T02:24:48Z\\",\\n \\"LastTimestamp\\": \\"2025-**-**T02:24:48Z\\"\\n }\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"NetworkConfig\\": {\\n \\"VSwitchIds\\": [\\n \\"vsw-0jlqxyfxgdw4tzqy*****\\"\\n ],\\n \\"SecurityGroupId\\": \\"sg-0jlgektkddwa42n*****\\",\\n \\"EipInstance\\": {\\n \\"InstanceId\\": \\"eip-0jl0bx3fnpnjc9i4*****\\",\\n \\"AutoCreate\\": true,\\n \\"Bandwidth\\": 100\\n }\\n },\\n \\"Platform\\": \\"\\"\\n}","type":"json"}]',
],
'ListImageCaches' => [
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREacsLAMYBV', 'FEATUREacs7TVY7Q'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'ImageCacheName',
'in' => 'query',
'schema' => ['description' => 'The image cache name.', 'type' => 'string', 'required' => false, 'maxLength' => 128, 'example' => 'my-imc', 'title' => ''],
],
[
'name' => 'Image',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => [
'description' => 'The image cache status.',
'enumValueTitles' => ['Ready' => 'Ready', 'Failed' => 'Failed', 'Pending' => 'Pending'],
'type' => 'string',
'required' => false,
'example' => 'Ready',
'title' => '',
],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzh43v*****', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'description' => 'The image cache tags. A maximum of 20 tags are supported.',
'type' => 'array',
'items' => [
'description' => 'The image cache tag object.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The key of the image cache tag.', 'type' => 'string', 'maxLength' => 128, 'required' => false, 'example' => 'imc', 'title' => ''],
'Value' => ['description' => 'The value of the image cache tag.', 'type' => 'string', 'example' => 'test', 'required' => false, 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token. Set this parameter to the NextToken value returned in the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF*****', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of results to return in a single request.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0E234675-3465-4CC3-9D0F-9A864BC*****'],
'ImageCaches' => [
'description' => 'The image cache information.',
'type' => 'array',
'items' => [
'description' => 'The image cache object.',
'type' => 'object',
'properties' => [
'ImageCacheId' => ['description' => 'The image cache ID.', 'type' => 'string', 'example' => 'imc-bp1dj*****', 'title' => ''],
'ImageCacheName' => ['description' => 'The image cache name.', 'type' => 'string', 'example' => 'my-imc', 'title' => ''],
'Status' => ['description' => 'The image cache status.', 'type' => 'string', 'example' => 'Ready', 'title' => ''],
'Images' => [
'description' => 'The container image information in the image cache.',
'type' => 'array',
'items' => ['description' => 'The container image name.', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1', 'title' => ''],
'title' => '',
'example' => '',
],
'Size' => ['description' => 'The image cache size. Unit: GiB. Minimum value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''],
'CreateTime' => ['description' => 'The time when the image cache was created.', 'type' => 'string', 'example' => '2025-**-**T07:55:25Z', 'title' => ''],
'ReadyTime' => ['description' => 'The available time of the image cache, which indicates when the image cache became active.', 'type' => 'string', 'example' => '2025-**-**T07:58:25Z', 'title' => ''],
'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aekzh43v*****', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'NextToken' => ['description' => 'The pagination token returned in this call.', 'type' => 'string', 'example' => 'AAAAAdDWBF*****', 'title' => ''],
'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
'MaxResults' => ['description' => 'The maximum number of results to return in a single request.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => '%s.', 'description' => 'Invalid parameter'],
['errorCode' => 'InvalidParameter.LengthExceeded', 'errorMessage' => '%s.', 'description' => 'Array parameter exceeds maximum length'],
['errorCode' => 'InvalidParameter.ValueExceeded', 'errorMessage' => '%s.', 'description' => 'Parameter exceeds upper value limit'],
['errorCode' => 'MissingParameter', 'errorMessage' => '%s.', 'description' => 'Missing parameter'],
['errorCode' => 'InvalidParameter.NotFound', 'errorMessage' => '%s.', 'description' => 'The specific parameter does not exist.'],
],
403 => [
['errorCode' => 'EntityNotExist.ResourceId', 'errorMessage' => 'The resource does not exist.', 'description' => 'The resource does not exist'],
['errorCode' => 'EntityNotExist.ResourceGroup', 'errorMessage' => 'The resource group does not exist.', 'description' => 'The resource group does not exist'],
['errorCode' => 'RegionNotSupport', 'errorMessage' => 'The specified Region is not supported.', 'description' => 'The specified Region is not supported'],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'Query image cache',
'summary' => 'Queries image cache information.',
'changeSet' => [
['createdAt' => '2025-09-22T06:29:25.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListImageCaches'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'acc:ListImageCaches',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'ACC', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0E234675-3465-4CC3-9D0F-9A864BC*****\\",\\n \\"ImageCaches\\": [\\n {\\n \\"ImageCacheId\\": \\"imc-bp1dj*****\\",\\n \\"ImageCacheName\\": \\"my-imc\\",\\n \\"Status\\": \\"Ready\\",\\n \\"Images\\": [\\n \\"registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1\\"\\n ],\\n \\"Size\\": 8,\\n \\"CreateTime\\": \\"2025-**-**T07:55:25Z\\",\\n \\"ReadyTime\\": \\"2025-**-**T07:58:25Z\\",\\n \\"ResourceGroupId\\": \\"rg-aekzh43v*****\\"\\n }\\n ],\\n \\"NextToken\\": \\"AAAAAdDWBF*****\\",\\n \\"TotalCount\\": 20,\\n \\"MaxResults\\": 30\\n}","type":"json"}]',
],
],
'endpoints' => [
['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'acc.cn-wulanchabu.aliyuncs.com', 'vpc' => 'acc-vpc.cn-wulanchabu.aliyuncs.com'],
['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.cn-beijing.aliyuncs.com', 'endpoint' => 'acc.cn-beijing.aliyuncs.com', 'vpc' => 'acc-vpc.cn-beijing.aliyuncs.com'],
['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.cn-qingdao.aliyuncs.com', 'endpoint' => 'acc.cn-qingdao.aliyuncs.com', 'vpc' => 'acc-vpc.cn-qingdao.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.cn-shanghai.aliyuncs.com', 'endpoint' => 'acc.cn-shanghai.aliyuncs.com', 'vpc' => 'acc-vpc.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.cn-hongkong.aliyuncs.com', 'endpoint' => 'acc.cn-hongkong.aliyuncs.com', 'vpc' => 'acc-vpc.cn-hongkong.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'acc.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'acc-vpc.cn-zhangjiakou.aliyuncs.com'],
['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.cn-shenzhen.aliyuncs.com', 'endpoint' => 'acc.cn-shenzhen.aliyuncs.com', 'vpc' => 'acc-vpc.cn-shenzhen.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.ap-southeast-1.aliyuncs.com', 'endpoint' => 'acc.ap-southeast-1.aliyuncs.com', 'vpc' => 'acc-vpc.ap-southeast-1.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.cn-hangzhou.aliyuncs.com', 'endpoint' => 'acc.cn-hangzhou.aliyuncs.com', 'vpc' => 'acc-vpc.cn-hangzhou.aliyuncs.com'],
['regionId' => 'ap-southeast-8', 'regionName' => 'Malaysia (Johor)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'acc.ap-southeast-8.aliyuncs.com', 'endpoint' => 'acc.ap-southeast-8.aliyuncs.com', 'vpc' => 'acc-vpc.ap-southeast-8.aliyuncs.com'],
['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'acc.us-east-1.aliyuncs.com', 'endpoint' => 'acc.us-east-1.aliyuncs.com', 'vpc' => 'acc-vpc.us-east-1.aliyuncs.com'],
['regionId' => 'us-southeast-1', 'regionName' => 'US(Atlanta)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'acc.us-southeast-1.aliyuncs.com', 'endpoint' => 'acc.us-southeast-1.aliyuncs.com', 'vpc' => 'acc-vpc.us-southeast-1.aliyuncs.com'],
],
'errorCodes' => [
['code' => 'AccountForbidden.AuthorizationRequired', 'message' => 'Your account commodity is not activated, Please activate this service again.', 'http_code' => 403, 'description' => 'Your account product is not activated ,please reactivate this service.'],
['code' => 'Acr.AuthenticationFailed', 'message' => 'ACR user is not authorized to perform this action.', 'http_code' => 403, 'description' => 'ACR user is not authorized to perform this action'],
['code' => 'Acr.UserNotExist', 'message' => 'ACR user is not exist.', 'http_code' => 403, 'description' => 'ACR user is not exist'],
['code' => 'CreateServiceLinkedRoleDenied', 'message' => 'Please make sure the account has ram:CreateServiceLinkedRole permission.', 'http_code' => 403, 'description' => 'Please make sure the account has ram:CreateServiceLinkedRole permission'],
['code' => 'EntityNotExist.ResourceGroup', 'message' => 'The resource group does not exist.', 'http_code' => 403, 'description' => 'The resource group does not exist'],
['code' => 'EntityNotExist.ResourceId', 'message' => 'The resource does not exist.', 'http_code' => 403, 'description' => 'The resource does not exist'],
['code' => 'Forbidden', 'message' => 'User not authorized to operate on the specified resource.', 'http_code' => 403, 'description' => 'User not authorized to operate on the specified resource'],
['code' => 'Forbidden.AccessDenied', 'message' => 'Request was denied due to isolation policy.', 'http_code' => 403, 'description' => 'Request was denied due to isolation policy.'],
['code' => 'Idempotence.Failed', 'message' => 'An error occurred while processing your request. Use the new Token and try again.', 'http_code' => 400, 'description' => 'idempotent failure'],
['code' => 'Idempotence.Processing', 'message' => 'The request is being processed. Please try again.', 'http_code' => 400, 'description' => 'The request is being processed'],
['code' => 'Idempotence.SignatureMismatch', 'message' => 'The idempotence signature of the specified request does not match the previous request.', 'http_code' => 400, 'description' => 'The idempotence signature of the specified request does not match the previous request'],
['code' => 'ImageCache.NotExist', 'message' => 'The specified image cache does not exist.', 'http_code' => 403, 'description' => 'The specified image cache does not exist'],
['code' => 'ImageCache.NotSupport', 'message' => 'Image cache is not available for all users. If you want to enable this function, please contact us.', 'http_code' => 403, 'description' => 'Image cache is not available for all users. If you want to enable this function, please contact us.'],
['code' => 'IncorrectOperation', 'message' => '%s.', 'http_code' => 403, 'description' => 'Operation is forbidden, this resource does not support this operation'],
['code' => 'IncorrectStatus', 'message' => '%s.', 'http_code' => 403, 'description' => 'Operation is forbidden, resource status is incorrect'],
['code' => 'InvalidParameter', 'message' => '%s.', 'http_code' => 400, 'description' => 'Invalid parameter'],
['code' => 'InvalidParameter.LengthExceeded', 'message' => '%s.', 'http_code' => 400, 'description' => 'Array parameter exceeds maximum length'],
['code' => 'InvalidParameter.NotFound', 'message' => '%s.', 'http_code' => 400, 'description' => 'The specific parameter does not exist.'],
['code' => 'InvalidParameter.ValueExceeded', 'message' => '%s.', 'http_code' => 400, 'description' => 'Parameter exceeds upper value limit'],
['code' => 'MissingParameter', 'message' => '%s.', 'http_code' => 400, 'description' => 'Missing parameter'],
['code' => 'NoResourceAvailable', 'message' => '%s.', 'http_code' => 403, 'description' => 'No resource available'],
['code' => 'QuotaExceeded', 'message' => 'Your current account quota is insufficient.', 'http_code' => 403, 'description' => 'The user quota for this resource is insufficient.'],
['code' => 'Ram.NoPermission', 'message' => '%s.', 'http_code' => 403, 'description' => 'RAM User has no permission'],
['code' => 'RegionNotSupport', 'message' => 'The specified Region is not supported.', 'http_code' => 403, 'description' => 'The specified Region is not supported'],
['code' => 'Throttling', 'message' => 'Request was denied due to request throttling.', 'http_code' => 400, 'description' => 'Request was denied due to request throttling.'],
['code' => 'OperationConflict', 'message' => 'Request was denied due to conflict with a previous request.', 'http_code' => 409, 'description' => 'Request was denied due to conflict with a previous request.'],
['code' => 'InvalidOperation', 'message' => '%s.', 'http_code' => 400, 'description' => 'Operation not allowed'],
['code' => 'SandboxTemplate.NotSupport', 'message' => 'Sandbox template is not available for all users. If you want to enable this function, please contact us.', 'http_code' => 403, 'description' => 'The current user does not support sandbox templates, please contact us.'],
],
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 5, 'regionId' => '*', 'api' => 'GetImageCache'],
['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateImageCache'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListImageCaches'],
['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'DeleteImageCache'],
],
],
'ram' => [
'productCode' => 'ACC',
'productName' => 'Container Compute Service',
'ramCodes' => ['acc'],
'ramLevel' => 'RESOURCE',
'ramConditions' => [
[
'name' => 'acs:ResourceGroupId',
'schema' => ['type' => 'String', 'description' => 'ResourceGroupId'],
],
],
'ramActions' => [
[
'apiName' => 'ListImageCaches',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'acc:ListImageCaches',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'ACC', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/*'],
],
],
],
[
'apiName' => 'GetImageCache',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'acc:GetImageCache',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'ACC', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/{#ImageCacheId}'],
],
],
],
[
'apiName' => 'CreateImageCache',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'acc:CreateImageCache',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'ACC', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/*'],
],
],
],
[
'apiName' => 'DeleteImageCache',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'acc:DeleteImageCache',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'ACC', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/{#ImageCacheId}'],
],
],
],
],
'resourceTypes' => [
['validationType' => 'always', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/*'],
['validationType' => 'always', 'resourceType' => 'ImageCache', 'arn' => 'acs:acc:{#regionId}:{#accountId}:imagecache/{#ImageCacheId}'],
],
],
];
|