1getObject = { 2 'id': 100, 3 'hostname': 'vs-test1', 4 'domain': 'test.sftlyr.ws', 5 'fullyQualifiedDomainName': 'vs-test1.test.sftlyr.ws', 6 'status': {'keyName': 'ACTIVE', 'name': 'Active'}, 7 'billingItem': { 8 'id': 6327, 9 'nextInvoiceTotalRecurringAmount': 1.54, 10 'children': [ 11 {'categoryCode': 'port_speed', 12 'nextInvoiceTotalRecurringAmount': 1}, 13 {'categoryCode': 'guest_core', 14 'nextInvoiceTotalRecurringAmount': 1}, 15 {'categoryCode': 'ram', 16 'nextInvoiceTotalRecurringAmount': 1}, 17 {'categoryCode': 'guest_core', 18 'nextInvoiceTotalRecurringAmount': 1}, 19 {'categoryCode': 'guest_disk1', 20 'nextInvoiceTotalRecurringAmount': 1}, 21 ], 22 'package': { 23 "id": 835, 24 "keyName": "PUBLIC_CLOUD_SERVER" 25 }, 26 'orderItem': { 27 'order': { 28 'userRecord': { 29 'username': 'chechu', 30 } 31 }, 32 'preset': {'keyName': 'B1_8X16X100'} 33 } 34 }, 35 'datacenter': {'id': 50, 'name': 'TEST00', 36 'description': 'Test Data Center'}, 37 'powerState': {'keyName': 'RUNNING', 'name': 'Running'}, 38 'maxCpu': 2, 39 'maxMemory': 1024, 40 'primaryIpAddress': '172.16.240.2', 41 'globalIdentifier': '1a2b3c-1701', 42 'primaryBackendIpAddress': '10.45.19.37', 43 'primaryNetworkComponent': {'speed': 10, 'maxSpeed': 100}, 44 'hourlyBillingFlag': False, 45 'createDate': '2013-08-01 15:23:45', 46 'blockDevices': [{'device': 0, 'mountType': 'Disk', 'uuid': 1}, 47 {'device': 1, 'mountType': 'Disk', 48 'diskImage': {'type': {'keyName': 'SWAP'}}}, 49 {'device': 2, 'mountType': 'CD'}, 50 {'device': 3, 'mountType': 'Disk', 'uuid': 3}, 51 {'device': 4, 'mountType': 'Disk', 'uuid': 4, 52 'diskImage': {'metadataFlag': True}}], 53 'notes': 'notes', 54 'networkVlans': [{'networkSpace': 'PUBLIC', 55 'vlanNumber': 23, 56 'id': 1}], 57 'dedicatedHost': {'id': 37401}, 58 'transientGuestFlag': False, 59 'operatingSystem': { 60 'passwords': [{'username': 'user', 'password': 'pass'}], 61 'softwareLicense': { 62 'softwareDescription': {'version': '12.04-64 Minimal for VSI', 63 'name': 'Ubuntu'}} 64 }, 65 'softwareComponents': [{ 66 'passwords': [{'username': 'user', 'password': 'pass'}], 67 'softwareLicense': { 68 'softwareDescription': {'name': 'Ubuntu'}} 69 }], 70 'tagReferences': [{'tag': {'name': 'production'}}], 71} 72getCreateObjectOptions = { 73 'flavors': [ 74 { 75 'flavor': { 76 'keyName': 'B1_1X2X25', 77 'name': 'B1-1X2X25' 78 }, 79 'template': { 80 'supplementalCreateObjectOptions': { 81 'flavorKeyName': 'B1_1X2X25' 82 } 83 } 84 }, 85 { 86 'flavor': { 87 'keyName': 'B1_1X2X25_TRANSIENT', 88 'name': 'B1-1X2X25_TRANSIENT' 89 }, 90 'template': { 91 'supplementalCreateObjectOptions': { 92 'flavorKeyName': 'B1_1X2X25_TRANSIENT' 93 }, 94 'transientGuestFlag': True 95 } 96 }, 97 { 98 'flavor': { 99 'keyName': 'B1_1X2X100', 100 'name': 'B1-1X2X100' 101 }, 102 'template': { 103 'supplementalCreateObjectOptions': { 104 'flavorKeyName': 'B1_1X2X100' 105 } 106 } 107 }, 108 { 109 'flavor': { 110 'keyName': 'BL1_1X2X100', 111 'name': 'BL1_1X2X100' 112 }, 113 'template': { 114 'supplementalCreateObjectOptions': { 115 'flavorKeyName': 'BL1_1X2X100' 116 } 117 } 118 }, 119 { 120 'flavor': { 121 'keyName': 'BL2_1X2X100', 122 'name': 'BL2-1X2X100' 123 }, 124 'template': { 125 'supplementalCreateObjectOptions': { 126 'flavorKeyName': 'BL2_1X2X100' 127 } 128 } 129 }, 130 { 131 'flavor': { 132 'keyName': 'C1_1X2X25', 133 'name': 'C1-1X2X25' 134 }, 135 'template': { 136 'supplementalCreateObjectOptions': { 137 'flavorKeyName': 'C1_1X2X25' 138 } 139 } 140 }, 141 { 142 'flavor': { 143 'keyName': 'M1_1X2X100', 144 'name': 'M1_1X2X100' 145 }, 146 'template': { 147 'supplementalCreateObjectOptions': { 148 'flavorKeyName': 'M1_1X2X100' 149 } 150 } 151 }, 152 { 153 'flavor': { 154 'keyName': 'AC1_1X2X100', 155 'name': 'AC1_1X2X100' 156 }, 157 'template': { 158 'supplementalCreateObjectOptions': { 159 'flavorKeyName': 'AC1_1X2X100' 160 } 161 } 162 }, 163 { 164 'flavor': { 165 'keyName': 'ACL1_1X2X100', 166 'name': 'ACL1_1X2X100' 167 }, 168 'template': { 169 'supplementalCreateObjectOptions': { 170 'flavorKeyName': 'ACL1_1X2X100' 171 } 172 } 173 }, 174 ], 175 'processors': [ 176 { 177 'itemPrice': { 178 'item': {'description': '1 x 2.0 GHz Core'}, 179 'hourlyRecurringFee': '.07', 180 'recurringFee': '29' 181 }, 182 'template': {'startCpus': 1} 183 }, 184 { 185 'itemPrice': { 186 'item': {'description': '2 x 2.0 GHz Cores'}, 187 'hourlyRecurringFee': '.14', 188 'recurringFee': '78' 189 }, 190 'template': {'startCpus': 2} 191 }, 192 { 193 'itemPrice': { 194 'item': {'description': '3 x 2.0 GHz Cores'}, 195 'hourlyRecurringFee': '.205', 196 'recurringFee': '123.5' 197 }, 198 'template': {'startCpus': 3} 199 }, 200 { 201 'itemPrice': { 202 'item': {'description': '4 x 2.0 GHz Cores'}, 203 'hourlyRecurringFee': '.265', 204 'recurringFee': '165.5' 205 }, 206 'template': {'startCpus': 4} 207 }, 208 { 209 'itemPrice': { 210 'hourlyRecurringFee': '.209', 211 'recurringFee': '139', 212 'dedicatedHostInstanceFlag': False, 213 'item': { 214 'description': '1 x 2.0 GHz Cores (Dedicated)' 215 } 216 }, 217 'template': { 218 'dedicatedAccountHostOnlyFlag': True, 219 'startCpus': 1 220 } 221 }, 222 { 223 'itemPrice': { 224 'hourlyRecurringFee': '0', 225 'recurringFee': '0', 226 'dedicatedHostInstanceFlag': True, 227 'item': { 228 'description': '56 x 2.0 GHz Cores (Dedicated Host)' 229 } 230 }, 231 'template': { 232 'startCpus': 56, 233 'dedicatedHost': { 234 'id': None 235 } 236 } 237 }, 238 { 239 'itemPrice': { 240 'hourlyRecurringFee': '0', 241 'recurringFee': '0', 242 'dedicatedHostInstanceFlag': True, 243 'item': { 244 'description': '4 x 2.0 GHz Cores (Dedicated Host)' 245 } 246 }, 247 'template': { 248 'startCpus': 4, 249 'dedicatedHost': { 250 'id': None 251 } 252 } 253 }, 254 ], 255 'memory': [ 256 { 257 "description": "1 GB ", 258 "attributes": [], 259 "itemCategory": { 260 "categoryCode": "ram", 261 "id": 4 262 }, 263 'itemPrice': { 264 'item': {'description': '1 GB'}, 265 'hourlyRecurringFee': '.03', 266 'recurringFee': '21' 267 }, 268 'template': {'maxMemory': 1024} 269 }, 270 { 271 "description": "2 GB ", 272 "attributes": [], 273 "itemCategory": { 274 "categoryCode": "ram", 275 "id": 5 276 }, 277 'itemPrice': 278 { 279 'item': {'description': '2 GB'}, 280 'hourlyRecurringFee': '.06', 281 'recurringFee': '42' 282 }, 283 'template': {'maxMemory': 2048} 284 }, 285 { 286 "description": "3 GB", 287 "attributes": [], 288 "itemCategory": { 289 "categoryCode": "ram", 290 "id": 65 291 }, 292 'itemPrice': { 293 'item': {'description': '3 GB'}, 294 'hourlyRecurringFee': '.085', 295 'recurringFee': '59.5'}, 296 'template': {'maxMemory': 3072} 297 }, 298 { 299 "description": "4 GB", 300 "attributes": [], 301 "itemCategory": { 302 "categoryCode": "ram", 303 "id": 35 304 }, 305 'itemPrice': { 306 'item': {'description': '4 GB'}, 307 'hourlyRecurringFee': '.11', 308 'recurringFee': '77' 309 }, 310 'template': {'maxMemory': 4096} 311 }, 312 { 313 "description": "64 GB (Dedicated Host)", 314 "attributes": [], 315 "itemCategory": { 316 "categoryCode": "ram", 317 "id": 3 318 }, 319 'itemPrice': { 320 'hourlyRecurringFee': '0', 321 'recurringFee': '0', 322 'dedicatedHostInstanceFlag': True, 323 'item': { 324 'description': '64 GB (Dedicated Host)' 325 } 326 }, 327 'template': { 328 'maxMemory': 65536 329 } 330 }, 331 { 332 "description": "8 GB (Dedicated Host)", 333 "attributes": [], 334 "itemCategory": { 335 "categoryCode": "ram", 336 "id": 36 337 }, 338 'itemPrice': { 339 'hourlyRecurringFee': '0', 340 'recurringFee': '0', 341 'dedicatedHostInstanceFlag': True, 342 'item': { 343 'description': '8 GB (Dedicated Host)' 344 } 345 }, 346 'template': { 347 'maxMemory': 8192 348 } 349 }, 350 ], 351 'blockDevices': [ 352 { 353 'itemPrice': { 354 'item': {'description': '25 GB (LOCAL)'}, 355 'hourlyRecurringFee': '0', 356 'recurringFee': '0'}, 357 'template': { 358 'blockDevices': [ 359 {'device': '0', 'diskImage': {'capacity': 25}} 360 ], 361 'localDiskFlag': True 362 } 363 }, 364 { 365 'itemPrice': { 366 'item': {'description': '100 GB (LOCAL)'}, 367 'hourlyRecurringFee': '.01', 368 'recurringFee': '7' 369 }, 370 'template': { 371 'blockDevices': [ 372 {'device': '0', 'diskImage': {'capacity': 100}} 373 ], 374 'localDiskFlag': True 375 } 376 }, 377 ], 378 'operatingSystems': [ 379 { 380 'itemPrice': { 381 'item': { 382 'description': 'CentOS 6.0 - Minimal Install (64 bit)' 383 }, 384 'hourlyRecurringFee': '0', 385 'recurringFee': '0' 386 }, 387 'template': { 388 'operatingSystemReferenceCode': 'CENTOS_6_64' 389 } 390 }, 391 { 392 'itemPrice': { 393 'item': { 394 'description': 'Debian GNU/Linux 7.0 Wheezy/Stable -' 395 ' Minimal Install (64 bit)' 396 }, 397 'hourlyRecurringFee': '0', 398 'recurringFee': '0' 399 }, 400 'template': { 401 'operatingSystemReferenceCode': 'DEBIAN_7_64' 402 } 403 }, 404 { 405 'itemPrice': { 406 'item': { 407 'description': 'Ubuntu Linux 12.04 LTS Precise' 408 ' Pangolin - Minimal Install (64 bit)' 409 }, 410 'hourlyRecurringFee': '0', 411 'recurringFee': '0' 412 }, 413 'template': { 414 'operatingSystemReferenceCode': 'UBUNTU_12_64' 415 } 416 }, 417 ], 418 'networkComponents': [ 419 { 420 'itemPrice': { 421 'item': { 422 'description': '10 Mbps Public & Private Networks' 423 }, 424 'hourlyRecurringFee': '0', 425 'recurringFee': '0'}, 426 'template': { 427 'networkComponents': [{'maxSpeed': 10}] 428 } 429 }, 430 { 431 'itemPrice': { 432 'item': {'description': '100 Mbps Private Network'}, 433 'hourlyRecurringFee': '0', 434 'recurringFee': '0'}, 435 'template': { 436 'networkComponents': [{'maxSpeed': 100}] 437 } 438 }, 439 { 440 'itemPrice': { 441 'item': {'description': '1 Gbps Private Network'}, 442 'hourlyRecurringFee': '.02', 443 'recurringFee': '10' 444 }, 445 'template': { 446 'networkComponents': [{'maxSpeed': 1000}] 447 } 448 }, 449 { 450 'itemPrice': { 451 'hourlyRecurringFee': '0', 452 'recurringFee': '0', 453 'dedicatedHostInstanceFlag': True, 454 'item': { 455 'description': '1 Gbps Public & Private Network Uplinks (Dedicated Host)' 456 } 457 }, 458 'template': { 459 'networkComponents': [ 460 { 461 'maxSpeed': 1000 462 } 463 ], 464 'privateNetworkOnlyFlag': False 465 } 466 }, 467 ], 468 'datacenters': [ 469 {'template': {'datacenter': {'name': 'ams01'}}}, 470 {'template': {'datacenter': {'name': 'dal05'}}}, 471 ], 472 'guest_disk': [{ 473 "description": "25 GB (SAN)", 474 "attributes": [ 475 { 476 "id": 197, 477 "attributeTypeKeyName": "SAN_DISK" 478 } 479 ], 480 "itemCategory": { 481 "categoryCode": "guest_disk0", 482 "id": 81 483 }}, { 484 "description": "250 GB (SAN)", 485 "attributes": [ 486 { 487 "id": 198, 488 "attributeTypeKeyName": "SAN_DISK" 489 }], 490 "itemCategory": { 491 "categoryCode": "guest_disk0", 492 "id": 89 493 }}], 494 'guest_core': [{ 495 "description": "4 x 2.0 GHz or higher Cores (Dedicated)", 496 "attributes": [], 497 "itemCategory": { 498 "categoryCode": "guest_core", 499 "id": 80 500 }}, 501 { 502 "description": "8 x 2.0 GHz or higher Cores", 503 "attributes": [], 504 "itemCategory": { 505 "categoryCode": "guest_core", 506 "id": 90 507 }}] 508} 509 510getReverseDomainRecords = [{ 511 'networkAddress': '12.34.56.78', 512 'name': '12.34.56.78.in-addr.arpa', 513 'resourceRecords': [{'data': 'test.softlayer.com.', 'id': 987654}], 514 'updateDate': '2013-09-11T14:36:57-07:00', 515 'serial': 1234665663, 516 'id': 123456, 517}] 518 519editObject = True 520deleteObject = True 521setPrivateNetworkInterfaceSpeed = True 522setPublicNetworkInterfaceSpeed = True 523createObject = getObject 524createObjects = [getObject] 525generateOrderTemplate = { 526 "imageTemplateId": None, 527 "location": "1854895", 528 "packageId": 835, 529 "presetId": 405, 530 "prices": [ 531 { 532 "hourlyRecurringFee": "0", 533 "id": 45466, 534 "recurringFee": "0", 535 "item": { 536 "description": "CentOS 7.x - Minimal Install (64 bit)" 537 } 538 }, 539 { 540 "hourlyRecurringFee": "0", 541 "id": 2202, 542 "recurringFee": "0", 543 "item": { 544 "description": "25 GB (SAN)" 545 } 546 }, 547 { 548 "hourlyRecurringFee": "0", 549 "id": 905, 550 "recurringFee": "0", 551 "item": { 552 "description": "Reboot / Remote Console" 553 } 554 }, 555 { 556 "hourlyRecurringFee": ".02", 557 "id": 899, 558 "recurringFee": "10", 559 "item": { 560 "description": "1 Gbps Private Network Uplink" 561 } 562 }, 563 { 564 "hourlyRecurringFee": "0", 565 "id": 1800, 566 "item": { 567 "description": "0 GB Bandwidth Allotment" 568 } 569 }, 570 { 571 "hourlyRecurringFee": "0", 572 "id": 21, 573 "recurringFee": "0", 574 "item": { 575 "description": "1 IP Address" 576 } 577 }, 578 { 579 "hourlyRecurringFee": "0", 580 "id": 55, 581 "recurringFee": "0", 582 "item": { 583 "description": "Host Ping" 584 } 585 }, 586 { 587 "hourlyRecurringFee": "0", 588 "id": 57, 589 "recurringFee": "0", 590 "item": { 591 "description": "Email and Ticket" 592 } 593 }, 594 { 595 "hourlyRecurringFee": "0", 596 "id": 58, 597 "recurringFee": "0", 598 "item": { 599 "description": "Automated Notification" 600 } 601 }, 602 { 603 "hourlyRecurringFee": "0", 604 "id": 420, 605 "recurringFee": "0", 606 "item": { 607 "description": "Unlimited SSL VPN Users & 1 PPTP VPN User per account" 608 } 609 }, 610 ], 611 "quantity": 1, 612 "sourceVirtualGuestId": None, 613 "sshKeys": [], 614 "useHourlyPricing": True, 615 "virtualGuests": [ 616 { 617 "domain": "test.local", 618 "hostname": "test" 619 } 620 ], 621 "complexType": "SoftLayer_Container_Product_Order_Virtual_Guest" 622} 623 624setUserMetadata = ['meta'] 625reloadOperatingSystem = 'OK' 626setTags = True 627createArchiveTransaction = { 628 'createDate': '2018-12-10T17:29:18-06:00', 629 'elapsedSeconds': 0, 630 'guestId': 12345678, 631 'hardwareId': None, 632 'id': 12345, 633 'modifyDate': '2018-12-10T17:29:18-06:00', 634 'statusChangeDate': '2018-12-10T17:29:18-06:00' 635} 636 637executeRescueLayer = True 638 639getUpgradeItemPrices = [ 640 { 641 'id': 1007, 642 'categories': [{'id': 80, 643 'name': 'Computing Instance', 644 'categoryCode': 'guest_core'}], 645 'item': { 646 'capacity': '4', 647 'units': 'PRIVATE_CORE', 648 'description': 'Computing Instance (Dedicated)', 649 } 650 }, 651 { 652 'id': 1144, 653 'locationGroupId': None, 654 'categories': [{'id': 80, 655 'name': 'Computing Instance', 656 'categoryCode': 'guest_core'}], 657 'item': { 658 'capacity': '4', 659 'units': 'CORE', 660 'description': 'Computing Instance', 661 } 662 }, 663 { 664 'id': 332211, 665 'locationGroupId': 1, 666 'categories': [{'id': 80, 667 'name': 'Computing Instance', 668 'categoryCode': 'guest_core'}], 669 'item': { 670 'capacity': '4', 671 'units': 'CORE', 672 'description': 'Computing Instance', 673 } 674 }, 675 { 676 'id': 1122, 677 'categories': [{'id': 26, 678 'name': 'Uplink Port Speeds', 679 'categoryCode': 'port_speed'}], 680 'item': { 681 'capacity': '1000', 682 'description': 'Public & Private Networks', 683 } 684 }, 685 { 686 'id': 1144, 687 'categories': [{'id': 26, 688 'name': 'Uplink Port Speeds', 689 'categoryCode': 'port_speed'}], 690 'item': { 691 'capacity': '1000', 692 'description': 'Private Networks', 693 } 694 }, 695 { 696 'id': 1133, 697 'categories': [{'id': 3, 698 'name': 'RAM', 699 'categoryCode': 'ram'}], 700 'item': { 701 'capacity': '2', 702 'description': 'RAM', 703 } 704 }, { 705 "id": 2255, 706 "categories": [ 707 { 708 "categoryCode": "guest_disk1", 709 "id": 82, 710 "name": "Second Disk" 711 }, 712 { 713 "categoryCode": "guest_disk2", 714 "id": 92, 715 "name": "Third Disk" 716 }, 717 { 718 "categoryCode": "guest_disk3", 719 "id": 93, 720 "name": "Fourth Disk" 721 }, 722 { 723 "categoryCode": "guest_disk4", 724 "id": 116, 725 "name": "Fifth Disk" 726 } 727 ], 728 "item": { 729 "capacity": "10", 730 "description": "10 GB (SAN)" 731 } 732 } 733] 734 735DEDICATED_GET_UPGRADE_ITEM_PRICES = [ 736 { 737 'id': 115566, 738 'categories': [{'id': 80, 739 'name': 'Computing Instance', 740 'categoryCode': 'guest_core'}], 741 'item': { 742 'capacity': '4', 743 'units': 'DEDICATED_CORE', 744 'description': 'Computing Instance (Dedicated Host)', 745 } 746 }, 747] 748 749getMetricTrackingObjectId = 1000 750 751getBandwidthAllotmentDetail = { 752 'allocationId': 25465663, 753 'bandwidthAllotmentId': 138442, 754 'effectiveDate': '2019-04-03T23:00:00-06:00', 755 'endEffectiveDate': None, 756 'id': 25888247, 757 'serviceProviderId': 1, 758 'allocation': { 759 'amount': '250' 760 } 761} 762 763getBillingCycleBandwidthUsage = [ 764 { 765 'amountIn': '.448', 766 'amountOut': '.52157', 767 'type': { 768 'alias': 'PUBLIC_SERVER_BW' 769 } 770 }, 771 { 772 'amountIn': '.03842', 773 'amountOut': '.01822', 774 'type': { 775 'alias': 'PRIVATE_SERVER_BW' 776 } 777 } 778] 779 780getAttachedNetworkStorages = [ 781 { 782 "accountId": 11111, 783 "capacityGb": 20, 784 "createDate": "2018-04-05T05:15:49-06:00", 785 "id": 22222, 786 "nasType": "NAS", 787 "serviceProviderId": 1, 788 "storageTypeId": "13", 789 "username": "SL02SEV311111_11", 790 "allowedVirtualGuests": [ 791 { 792 "id": 12345, 793 "datacenter": { 794 "id": 449506, 795 "longName": "Frankfurt 2", 796 "name": "fra02", 797 "statusId": 2 798 } 799 } 800 ], 801 "serviceResourceBackendIpAddress": "fsn-fra0201a-fz.service.softlayer.com", 802 "serviceResourceName": "Storage Type 02 File Aggregate stfm-fra0201a" 803 }, 804 { 805 "accountId": 11111, 806 "capacityGb": 12000, 807 "createDate": "2018-01-28T04:57:30-06:00", 808 "id": 3777111, 809 "nasType": "ISCSI", 810 "notes": "BlockStorage12T", 811 "password": "", 812 "serviceProviderId": 1, 813 "storageTypeId": "7", 814 "username": "SL02SEL32222-9", 815 "allowedVirtualGuests": [ 816 { 817 "id": 629222, 818 "datacenter": { 819 "id": 449506, 820 "longName": "Frankfurt 2", 821 "name": "fra02", 822 "statusId": 2 823 } 824 } 825 ], 826 "serviceResourceBackendIpAddress": "10.31.95.152", 827 "serviceResourceName": "Storage Type 02 Block Aggregate stbm-fra0201a" 828 } 829] 830 831getAllowedHost = { 832 "accountId": 11111, 833 "credentialId": 22222, 834 "id": 33333, 835 "name": "iqn.2020-03.com.ibm:sl02su11111-v62941551", 836 "resourceTableId": 6291111, 837 "resourceTableName": "VIRTUAL_GUEST", 838 "credential": { 839 "accountId": "11111", 840 "createDate": "2020-03-20T13:35:47-06:00", 841 "id": 44444, 842 "nasCredentialTypeId": 2, 843 "password": "SjFDCpHrjskfj", 844 "username": "SL02SU11111-V62941551" 845 } 846} 847 848getBlockDevices = [ 849 { 850 "createDate": "2018-10-06T04:27:35-06:00", 851 "device": "0", 852 "id": 11111, 853 "mountType": "Disk", 854 "diskImage": { 855 "capacity": 100, 856 "description": "adns.vmware.com", 857 "id": 72222, 858 "name": "adns.vmware.com", 859 "units": "GB", 860 } 861 }, 862 { 863 "device": "1", 864 "id": 22222, 865 "mountType": "Disk", 866 "statusId": 1, 867 "diskImage": { 868 "capacity": 2, 869 "description": "6211111-SWAP", 870 "id": 33333, 871 "name": "6211111-SWAP", 872 "units": "GB", 873 } 874 } 875] 876 877migrate = True 878migrateDedicatedHost = True 879allowAccessToNetworkStorageList = True 880 881attachDiskImage = { 882 "createDate": "2021-03-22T13:15:31-06:00", 883 "id": 1234567 884 } 885