|
29 | 29 | 'input' => [ 'shape' => 'DeleteImageRequestShape', ], |
30 | 30 | 'output' => [ 'shape' => 'DeleteImageResponseShape', ], |
31 | 31 | ], |
| 32 | + 'CreateImageFromSnapshots' => [ |
| 33 | + 'name' => 'CreateImageFromSnapshots', |
| 34 | + 'http' => [ |
| 35 | + 'method' => 'POST', |
| 36 | + 'requestUri' => '/v1/regions/{regionId}/images:createImageFromSnapshots', |
| 37 | + ], |
| 38 | + 'input' => [ 'shape' => 'CreateImageFromSnapshotsRequestShape', ], |
| 39 | + 'output' => [ 'shape' => 'CreateImageFromSnapshotsResponseShape', ], |
| 40 | + ], |
32 | 41 | 'DescribeImages' => [ |
33 | 42 | 'name' => 'DescribeImages', |
34 | 43 | 'http' => [ |
|
236 | 245 | 'input' => [ 'shape' => 'RebootInstanceRequestShape', ], |
237 | 246 | 'output' => [ 'shape' => 'RebootInstanceResponseShape', ], |
238 | 247 | ], |
| 248 | + 'RedeployInstance' => [ |
| 249 | + 'name' => 'RedeployInstance', |
| 250 | + 'http' => [ |
| 251 | + 'method' => 'POST', |
| 252 | + 'requestUri' => '/v1/regions/{regionId}/instances/{instanceId}:redeployInstance', |
| 253 | + ], |
| 254 | + 'input' => [ 'shape' => 'RedeployInstanceRequestShape', ], |
| 255 | + 'output' => [ 'shape' => 'RedeployInstanceResponseShape', ], |
| 256 | + ], |
239 | 257 | 'AttachNetworkInterface' => [ |
240 | 258 | 'name' => 'AttachNetworkInterface', |
241 | 259 | 'http' => [ |
|
619 | 637 | 'stopTime' => [ 'type' => 'string', 'locationName' => 'stopTime', ], |
620 | 638 | ], |
621 | 639 | ], |
| 640 | + 'CloudDiskSpec' => [ |
| 641 | + 'type' => 'structure', |
| 642 | + 'members' => [ |
| 643 | + 'snapshotId' => [ 'type' => 'string', 'locationName' => 'snapshotId', ], |
| 644 | + 'deviceName' => [ 'type' => 'string', 'locationName' => 'deviceName', ], |
| 645 | + 'diskType' => [ 'type' => 'string', 'locationName' => 'diskType', ], |
| 646 | + 'diskSizeGB' => [ 'type' => 'integer', 'locationName' => 'diskSizeGB', ], |
| 647 | + 'autoDelete' => [ 'type' => 'boolean', 'locationName' => 'autoDelete', ], |
| 648 | + ], |
| 649 | + ], |
622 | 650 | 'CopyImage' => [ |
623 | 651 | 'type' => 'structure', |
624 | 652 | 'members' => [ |
|
939 | 967 | 'az' => [ 'type' => 'string', 'locationName' => 'az', ], |
940 | 968 | 'keyNames' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ], |
941 | 969 | 'charge' => [ 'shape' => 'Charge', ], |
| 970 | + 'spotStatus' => [ 'type' => 'string', 'locationName' => 'spotStatus', ], |
942 | 971 | 'ag' => [ 'shape' => 'Ag', ], |
943 | 972 | 'faultDomain' => [ 'type' => 'string', 'locationName' => 'faultDomain', ], |
944 | 973 | 'tags' => [ 'type' => 'list', 'member' => [ 'shape' => 'Tag', ], ], |
|
950 | 979 | 'resourceGroupId' => [ 'type' => 'string', 'locationName' => 'resourceGroupId', ], |
951 | 980 | 'osType' => [ 'type' => 'string', 'locationName' => 'osType', ], |
952 | 981 | 'cpuTopology' => [ 'shape' => 'CpuTopology', ], |
| 982 | + 'osVersion' => [ 'type' => 'string', 'locationName' => 'osVersion', ], |
| 983 | + 'platform' => [ 'type' => 'string', 'locationName' => 'platform', ], |
| 984 | + 'architecture' => [ 'type' => 'string', 'locationName' => 'architecture', ], |
953 | 985 | ], |
954 | 986 | ], |
955 | 987 | 'Policy' => [ |
|
1392 | 1424 | 'imageId' => [ 'type' => 'string', 'locationName' => 'imageId', ], |
1393 | 1425 | 'ossUrl' => [ 'type' => 'string', 'locationName' => 'ossUrl', ], |
1394 | 1426 | 'ossObject' => [ 'type' => 'string', 'locationName' => 'ossObject', ], |
| 1427 | + 'ossObjects' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ], |
1395 | 1428 | 'imageName' => [ 'type' => 'string', 'locationName' => 'imageName', ], |
1396 | 1429 | 'imageUrl' => [ 'type' => 'string', 'locationName' => 'imageUrl', ], |
1397 | 1430 | ], |
|
1503 | 1536 | 'imageConstraints' => [ 'type' => 'list', 'member' => [ 'shape' => 'ImageConstraint', ], ], |
1504 | 1537 | ], |
1505 | 1538 | ], |
| 1539 | + 'CreateImageFromSnapshotsRequestShape' => [ |
| 1540 | + 'type' => 'structure', |
| 1541 | + 'members' => [ |
| 1542 | + 'name' => [ 'type' => 'string', 'locationName' => 'name', ], |
| 1543 | + 'description' => [ 'type' => 'string', 'locationName' => 'description', ], |
| 1544 | + 'platform' => [ 'type' => 'string', 'locationName' => 'platform', ], |
| 1545 | + 'osVersion' => [ 'type' => 'string', 'locationName' => 'osVersion', ], |
| 1546 | + 'architecture' => [ 'type' => 'string', 'locationName' => 'architecture', ], |
| 1547 | + 'cloudDisks' => [ 'type' => 'list', 'member' => [ 'shape' => 'CloudDiskSpec', ], ], |
| 1548 | + 'clientToken' => [ 'type' => 'string', 'locationName' => 'clientToken', ], |
| 1549 | + 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
| 1550 | + ], |
| 1551 | + ], |
1506 | 1552 | 'ReleaseImageRequestShape' => [ |
1507 | 1553 | 'type' => 'structure', |
1508 | 1554 | 'members' => [ |
|
1540 | 1586 | 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
1541 | 1587 | ], |
1542 | 1588 | ], |
| 1589 | + 'CreateImageFromSnapshotsResultShape' => [ |
| 1590 | + 'type' => 'structure', |
| 1591 | + 'members' => [ |
| 1592 | + 'imageId' => [ 'type' => 'string', 'locationName' => 'imageId', ], |
| 1593 | + ], |
| 1594 | + ], |
1543 | 1595 | 'UnShareImageRequestShape' => [ |
1544 | 1596 | 'type' => 'structure', |
1545 | 1597 | 'members' => [ |
|
1722 | 1774 | 'members' => [ |
1723 | 1775 | ], |
1724 | 1776 | ], |
| 1777 | + 'CreateImageFromSnapshotsResponseShape' => [ |
| 1778 | + 'type' => 'structure', |
| 1779 | + 'members' => [ |
| 1780 | + 'result' => [ 'shape' => 'CreateImageFromSnapshotsResultShape', ], |
| 1781 | + 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
| 1782 | + ], |
| 1783 | + ], |
1725 | 1784 | 'DescribeImageConstraintsRequestShape' => [ |
1726 | 1785 | 'type' => 'structure', |
1727 | 1786 | 'members' => [ |
|
1754 | 1813 | 'ossUrl' => [ 'type' => 'string', 'locationName' => 'ossUrl', ], |
1755 | 1814 | 'ossPrefix' => [ 'type' => 'string', 'locationName' => 'ossPrefix', ], |
1756 | 1815 | 'clientToken' => [ 'type' => 'string', 'locationName' => 'clientToken', ], |
| 1816 | + 'isAllDisk' => [ 'type' => 'boolean', 'locationName' => 'isAllDisk', ], |
1757 | 1817 | 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
1758 | 1818 | 'imageId' => [ 'type' => 'string', 'locationName' => 'imageId', ], |
1759 | 1819 | ], |
|
2183 | 2243 | 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
2184 | 2244 | ], |
2185 | 2245 | ], |
| 2246 | + 'RedeployInstanceResultShape' => [ |
| 2247 | + 'type' => 'structure', |
| 2248 | + 'members' => [ |
| 2249 | + ], |
| 2250 | + ], |
2186 | 2251 | 'ModifyInstanceVpcAttributeResultShape' => [ |
2187 | 2252 | 'type' => 'structure', |
2188 | 2253 | 'members' => [ |
|
2253 | 2318 | 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
2254 | 2319 | ], |
2255 | 2320 | ], |
| 2321 | + 'RedeployInstanceRequestShape' => [ |
| 2322 | + 'type' => 'structure', |
| 2323 | + 'members' => [ |
| 2324 | + 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
| 2325 | + 'instanceId' => [ 'type' => 'string', 'locationName' => 'instanceId', ], |
| 2326 | + ], |
| 2327 | + ], |
2256 | 2328 | 'AttachNetworkInterfaceResponseShape' => [ |
2257 | 2329 | 'type' => 'structure', |
2258 | 2330 | 'members' => [ |
|
2314 | 2386 | 'instanceId' => [ 'type' => 'string', 'locationName' => 'instanceId', ], |
2315 | 2387 | ], |
2316 | 2388 | ], |
| 2389 | + 'RedeployInstanceResponseShape' => [ |
| 2390 | + 'type' => 'structure', |
| 2391 | + 'members' => [ |
| 2392 | + 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
| 2393 | + ], |
| 2394 | + ], |
2317 | 2395 | 'ModifyInstanceDiskAttributeResponseShape' => [ |
2318 | 2396 | 'type' => 'structure', |
2319 | 2397 | 'members' => [ |
|
2476 | 2554 | 'type' => 'structure', |
2477 | 2555 | 'members' => [ |
2478 | 2556 | 'serviceName' => [ 'type' => 'string', 'locationName' => 'serviceName', ], |
| 2557 | + 'chargeMode' => [ 'type' => 'string', 'locationName' => 'chargeMode', ], |
2479 | 2558 | 'filters' => [ 'type' => 'list', 'member' => [ 'shape' => 'Filter', ], ], |
2480 | 2559 | 'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ], |
2481 | 2560 | ], |
|
0 commit comments