|
704 | 704 | 'metricTrackingObjectId': 10, |
705 | 705 | }] |
706 | 706 |
|
707 | | -getDedicatedHosts = [{ |
708 | | - 'datacenter': { |
709 | | - 'name': 'dal05' |
710 | | - }, |
711 | | - 'memoryCapacity': 242, |
712 | | - 'name': 'test-dedicated', |
713 | | - 'diskCapacity': 1200, |
714 | | - 'guestCount': 1, |
715 | | - 'cpuCount': 56, |
716 | | - 'id': 12345 |
717 | | -}] |
| 707 | +getDedicatedHosts = [ |
| 708 | + { |
| 709 | + "cpuCount": 56, |
| 710 | + "createDate": "2021-11-18T15:13:57-06:00", |
| 711 | + "diskCapacity": 1200, |
| 712 | + "id": 656700, |
| 713 | + "memoryCapacity": 242, |
| 714 | + "name": "dedicatedhost01", |
| 715 | + "guestCount": 0, |
| 716 | + "allocationStatus": { |
| 717 | + "cpuAllocated": 0, |
| 718 | + "cpuAvailable": 56, |
| 719 | + "cpuCount": 56, |
| 720 | + "diskAllocated": 0, |
| 721 | + "diskAvailable": 1200, |
| 722 | + "diskCapacity": 1200, |
| 723 | + "guestCount": 0, |
| 724 | + "memoryAllocated": 0, |
| 725 | + "memoryAvailable": 242, |
| 726 | + "memoryCapacity": 242 |
| 727 | + }, |
| 728 | + "backendRouter": { |
| 729 | + "accountId": 1, |
| 730 | + "bareMetalInstanceFlag": 0, |
| 731 | + "domain": "softlayer.com", |
| 732 | + "fullyQualifiedDomainName": "bcr01a.dal13.softlayer.com", |
| 733 | + "hardwareStatusId": 5, |
| 734 | + "hostname": "bcr01a.dal13", |
| 735 | + "id": 1883692, |
| 736 | + "notes": "", |
| 737 | + "provisionDate": None, |
| 738 | + "serviceProviderId": 1, |
| 739 | + "serviceProviderResourceId": None |
| 740 | + }, |
| 741 | + "billingItem": { |
| 742 | + "allowCancellationFlag": 1, |
| 743 | + "cancellationDate": None, |
| 744 | + "categoryCode": "dedicated_virtual_hosts", |
| 745 | + "createDate": "2021-11-18T15:13:59-06:00", |
| 746 | + "currentHourlyCharge": "0", |
| 747 | + "cycleStartDate": "2023-01-04T00:07:36-06:00", |
| 748 | + "description": "56 Cores X 242 RAM X 1.2 TB", |
| 749 | + "hostName": "dedicatedhost01", |
| 750 | + "hourlyRecurringFee": "0", |
| 751 | + "hoursUsed": "465", |
| 752 | + "id": 910104016, |
| 753 | + "laborFee": "0", |
| 754 | + "laborFeeTaxRate": "0", |
| 755 | + "lastBillDate": "2023-01-04T00:07:36-06:00", |
| 756 | + "modifyDate": "2023-01-04T00:07:36-06:00", |
| 757 | + "nextBillDate": "2023-02-04T00:00:00-06:00", |
| 758 | + "oneTimeFee": "0", |
| 759 | + "oneTimeFeeTaxRate": "0", |
| 760 | + "orderItemId": 874370304, |
| 761 | + "parentId": None, |
| 762 | + "recurringFee": "0", |
| 763 | + "recurringFeeTaxRate": "0", |
| 764 | + "recurringMonths": 1, |
| 765 | + "serviceProviderId": 1, |
| 766 | + "setupFee": "0", |
| 767 | + "setupFeeTaxRate": "0", |
| 768 | + "orderItem": { |
| 769 | + "categoryCode": "dedicated_virtual_hosts", |
| 770 | + "description": "56 Cores X 242 RAM X 1.2 TB", |
| 771 | + "hostName": "dedicatedhost01", |
| 772 | + "hourlyRecurringFee": "0", |
| 773 | + "id": 874370304, |
| 774 | + "itemId": 10195, |
| 775 | + "itemPriceId": "200269", |
| 776 | + "laborAfterTaxAmount": "0", |
| 777 | + "laborFee": "0", |
| 778 | + "laborFeeTaxRate": "0", |
| 779 | + "laborTaxAmount": "0", |
| 780 | + "oneTimeAfterTaxAmount": "0", |
| 781 | + "oneTimeFee": "0", |
| 782 | + "oneTimeFeeTaxRate": "0", |
| 783 | + "oneTimeTaxAmount": "0", |
| 784 | + "parentId": None, |
| 785 | + "presetId": None, |
| 786 | + "promoCodeId": None, |
| 787 | + "quantity": None, |
| 788 | + "recurringAfterTaxAmount": "0", |
| 789 | + "recurringFee": "0", |
| 790 | + "recurringTaxAmount": "0", |
| 791 | + "setupAfterTaxAmount": "0", |
| 792 | + "setupFee": "0", |
| 793 | + "setupFeeDeferralMonths": None, |
| 794 | + "setupFeeTaxRate": "0", |
| 795 | + "setupTaxAmount": "0", |
| 796 | + "order": { |
| 797 | + "accountId": 307608, |
| 798 | + "createDate": "2021-11-18T15:13:57-06:00", |
| 799 | + "id": 85857762, |
| 800 | + "impersonatingUserRecordId": None, |
| 801 | + "modifyDate": "2021-11-18T15:14:00-06:00", |
| 802 | + "orderQuoteId": None, |
| 803 | + "orderTypeId": 11, |
| 804 | + "presaleEventId": None, |
| 805 | + "privateCloudOrderFlag": False, |
| 806 | + "status": "APPROVED", |
| 807 | + "userRecordId": 7650493, |
| 808 | + "userRecord": { |
| 809 | + "accountId": 307608, |
| 810 | + "address1": "4849 Alpha Rd", |
| 811 | + "city": "Dallas", |
| 812 | + "companyName": "SoftLayer Internal - Development Community", |
| 813 | + "country": "US", |
| 814 | + "createDate": "2019-06-10T15:21:33-07:00", |
| 815 | + "daylightSavingsTimeFlag": False, |
| 816 | + "denyAllResourceAccessOnCreateFlag": False, |
| 817 | + "displayName": "danielc", |
| 818 | + "email": "daniel.cabero@jalasoft.com", |
| 819 | + "firstName": "daniel", |
| 820 | + "forumPasswordHash": "unused", |
| 821 | + "iamAuthorizationStatus": 1, |
| 822 | + "iamId": "IBMid-550003CUGT", |
| 823 | + "id": 7650493, |
| 824 | + "isMasterUserFlag": False, |
| 825 | + "lastName": "cabero", |
| 826 | + "localeId": 1, |
| 827 | + "managedByFederationFlag": False, |
| 828 | + "managedByOpenIdConnectFlag": True, |
| 829 | + "minimumPasswordLifeHours": 0, |
| 830 | + "modifyDate": "2019-12-13T07:29:07-06:00", |
| 831 | + "openIdConnectUserName": "daniel.cabero@jalasoft.com", |
| 832 | + "parentId": 167758, |
| 833 | + "passwordExpireDate": None, |
| 834 | + "permissionCheckLikeMasterUserFlag": 0, |
| 835 | + "postalCode": "75244-4608", |
| 836 | + "pptpVpnAllowedFlag": False, |
| 837 | + "preventPreviousPasswords": 0, |
| 838 | + "savedId": "7650493", |
| 839 | + "secondaryLoginManagementFlag": True, |
| 840 | + "secondaryLoginRequiredFlag": None, |
| 841 | + "secondaryPasswordModifyDate": "2019-06-10T15:21:33-07:00", |
| 842 | + "secondaryPasswordTimeoutDays": 0, |
| 843 | + "sslVpnAllowedFlag": False, |
| 844 | + "state": "TX", |
| 845 | + "statusDate": None, |
| 846 | + "timezoneId": 113, |
| 847 | + "userStatusId": 1001, |
| 848 | + "username": "sl307608-dcabero", |
| 849 | + "vpnManualConfig": False, |
| 850 | + "ibmIdLink": { |
| 851 | + "createDate": "2019-06-10T15:21:34-07:00", |
| 852 | + "defaultFlag": 1, |
| 853 | + "destinationUserAlphanumericId": "daniel%2ecabero@jalasoft%2ecom", |
| 854 | + "destinationUserId": None, |
| 855 | + "iamIdVerificationFlag": 2, |
| 856 | + "id": 1051135, |
| 857 | + "realm": "IBMid", |
| 858 | + "serviceProviderId": 348, |
| 859 | + "uniqueIdentifier": "IBMid-550003CUGT", |
| 860 | + "userId": 7650493 |
| 861 | + }, |
| 862 | + "locale": { |
| 863 | + "friendlyName": "English", |
| 864 | + "id": 1, |
| 865 | + "languageTag": "en-US", |
| 866 | + "name": "English" |
| 867 | + }, |
| 868 | + "timezone": { |
| 869 | + "id": 113, |
| 870 | + "longName": "(GMT-06:00) America/Chicago - CST", |
| 871 | + "name": "America/Chicago", |
| 872 | + "offset": "-0600", |
| 873 | + "shortName": "CST" |
| 874 | + }, |
| 875 | + "userStatus": { |
| 876 | + "id": 1001, |
| 877 | + "keyName": "ACTIVE", |
| 878 | + "name": "Active" |
| 879 | + } |
| 880 | + } |
| 881 | + } |
| 882 | + }, |
| 883 | + "resourceTableId": 656700 |
| 884 | + }, |
| 885 | + "datacenter": { |
| 886 | + "id": 1854895, |
| 887 | + "longName": "Dallas 13", |
| 888 | + "name": "dal13", |
| 889 | + "statusId": 2 |
| 890 | + } |
| 891 | + } |
| 892 | +] |
718 | 893 |
|
719 | 894 | getUsers = [ |
720 | 895 | {'displayName': 'ChristopherG', |
|
0 commit comments