summaryrefslogtreecommitdiff
path: root/data/acc/2024-04-02/api-docs.php
blob: 7c4b90c402f223daa76c510226247caffd36c693 (plain)
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
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'RPC', 'product' => 'acc', 'version' => '2024-04-02'],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'CreateImageCache' => [
            'path' => '',
            'methods' => ['post', 'get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'ClientToken',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 64],
                ],
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'ImageCacheName',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128],
                ],
                [
                    'name' => 'Images',
                    'in' => 'query',
                    'style' => 'repeatList',
                    'schema' => [
                        'type' => 'array',
                        'required' => true,
                        'items' => ['type' => 'string', 'required' => false],
                        'minItems' => 1,
                        'maxItems' => 1,
                    ],
                ],
                [
                    'name' => 'ResourceGroupId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Tags',
                    'in' => 'query',
                    'style' => 'repeatList',
                    'schema' => [
                        'type' => 'array',
                        'required' => false,
                        'items' => [
                            'type' => 'object',
                            'required' => false,
                            'properties' => [
                                'Key' => ['type' => 'string', 'required' => false],
                                'Value' => ['type' => 'string', 'required' => false, 'maxLength' => 256],
                            ],
                        ],
                        'maxItems' => 20,
                    ],
                ],
                [
                    'name' => 'NetworkConfig',
                    'in' => 'query',
                    'style' => 'json',
                    'schema' => [
                        'type' => 'object',
                        'required' => true,
                        'properties' => [
                            'VSwitchIds' => [
                                'type' => 'array',
                                'required' => true,
                                'items' => ['type' => 'string', 'required' => false],
                                'minItems' => 1,
                                'maxItems' => 10,
                            ],
                            'SecurityGroupId' => ['type' => 'string', 'required' => true],
                            'EipInstance' => [
                                'type' => 'object',
                                'required' => false,
                                'properties' => [
                                    'InstanceId' => ['type' => 'string', 'required' => false],
                                    'AutoCreate' => ['type' => 'boolean', 'required' => false],
                                    'Bandwidth' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                                ],
                            ],
                        ],
                    ],
                ],
                [
                    'name' => 'ImageRegistryCredentials',
                    'in' => 'query',
                    'style' => 'repeatList',
                    'schema' => [
                        'type' => 'array',
                        'required' => false,
                        'items' => [
                            'type' => 'object',
                            'required' => false,
                            'properties' => [
                                'Server' => ['type' => 'string', 'required' => false],
                                'Username' => ['type' => 'string', 'required' => false],
                                'Password' => ['type' => 'string', 'required' => false],
                                'UsePlainHttp' => ['type' => 'boolean', 'required' => false],
                                'SkipCertVerification' => ['type' => 'boolean', 'required' => false],
                            ],
                        ],
                        'maxItems' => 20,
                    ],
                ],
                [
                    'name' => 'AcrRegistryInfos',
                    'in' => 'query',
                    'style' => 'repeatList',
                    'schema' => [
                        'type' => 'array',
                        'required' => false,
                        'items' => [
                            'type' => 'object',
                            'required' => false,
                            'properties' => [
                                'InstanceId' => ['type' => 'string', 'required' => false],
                                'RegionId' => ['type' => 'string', 'required' => false],
                            ],
                        ],
                        'maxItems' => 20,
                    ],
                ],
                [
                    'name' => 'Platform',
                    'in' => 'query',
                    'schema' => ['type' => 'string'],
                ],
            ],
        ],
        'DeleteImageCache' => [
            'methods' => ['post', 'get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'ImageCacheId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'Force',
                    'in' => 'query',
                    'schema' => ['type' => 'boolean', 'required' => false],
                ],
            ],
        ],
        'GetImageCache' => [
            'methods' => ['get', 'post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'ImageCacheId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
            ],
        ],
        'ListImageCaches' => [
            'methods' => ['get', 'post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'parameters' => [
                [
                    'name' => 'RegionId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => true],
                ],
                [
                    'name' => 'ImageCacheName',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128],
                ],
                [
                    'name' => 'Image',
                    'in' => 'query',
                    'schema' => ['type' => 'string'],
                ],
                [
                    'name' => 'Status',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'ResourceGroupId',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'Tags',
                    'in' => 'query',
                    'style' => 'repeatList',
                    'schema' => [
                        'type' => 'array',
                        'required' => false,
                        'items' => [
                            'type' => 'object',
                            'required' => false,
                            'properties' => [
                                'Key' => ['type' => 'string', 'required' => false, 'maxLength' => 128],
                                'Value' => ['type' => 'string', 'required' => false],
                            ],
                        ],
                        'maxItems' => 20,
                    ],
                ],
                [
                    'name' => 'NextToken',
                    'in' => 'query',
                    'schema' => ['type' => 'string', 'required' => false],
                ],
                [
                    'name' => 'MaxResults',
                    'in' => 'query',
                    'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
                ],
            ],
        ],
    ],
    'endpoints' => [
        ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'acc.cn-wulanchabu.aliyuncs.com', 'vpc' => 'acc-vpc.cn-wulanchabu.aliyuncs.com'],
        ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-beijing.aliyuncs.com', 'endpoint' => 'acc.cn-beijing.aliyuncs.com', 'vpc' => 'acc-vpc.cn-beijing.aliyuncs.com'],
        ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-qingdao.aliyuncs.com', 'endpoint' => 'acc.cn-qingdao.aliyuncs.com', 'vpc' => 'acc-vpc.cn-qingdao.aliyuncs.com'],
        ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-shanghai.aliyuncs.com', 'endpoint' => 'acc.cn-shanghai.aliyuncs.com', 'vpc' => 'acc-vpc.cn-shanghai.aliyuncs.com'],
        ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-hongkong.aliyuncs.com', 'endpoint' => 'acc.cn-hongkong.aliyuncs.com', 'vpc' => 'acc-vpc.cn-hongkong.aliyuncs.com'],
        ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'acc.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'acc-vpc.cn-zhangjiakou.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-shenzhen.aliyuncs.com', 'endpoint' => 'acc.cn-shenzhen.aliyuncs.com', 'vpc' => 'acc-vpc.cn-shenzhen.aliyuncs.com'],
        ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-hangzhou.aliyuncs.com', 'endpoint' => 'acc.cn-hangzhou.aliyuncs.com', 'vpc' => 'acc-vpc.cn-hangzhou.aliyuncs.com'],
        ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '美国(亚特兰大)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'acc.us-southeast-1.aliyuncs.com', 'endpoint' => 'acc.us-southeast-1.aliyuncs.com', 'vpc' => 'acc-vpc.us-southeast-1.aliyuncs.com'],
    ],
];