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
|
getObject = {
'bandwidthAllotmentTypeId': 2,
'createDate': '2016-07-25T08:31:17-07:00',
'id': 123456,
'locationGroupId': 262,
'name': 'MexRegion',
'serviceProviderId': 1,
'bareMetalInstanceCount': 0,
'hardwareCount': 2,
'virtualGuestCount': 0,
'activeDetails': [
{
'allocationId': 48293300,
'bandwidthAllotmentId': 309961,
'effectiveDate': '2022-02-04T00:00:00-06:00',
'id': 48882086,
'serviceProviderId': 1,
'allocation': {
'amount': '5000',
'id': 48293300,
}
},
{
'allocationId': 48293302,
'bandwidthAllotmentId': 309961,
'effectiveDate': '2022-02-04T00:00:00-06:00',
'id': 48882088,
'serviceProviderId': 1,
'allocation': {
'amount': '5000',
'id': 48293302,
}
}
],
'bareMetalInstances': [],
'billingCyclePublicBandwidthUsage': {
'amountIn': '.23642',
'amountOut': '.05475',
'bandwidthUsageDetailTypeId': '1',
'trackingObject': {
'id': 258963,
'resourceTableId': 309961,
'startDate': '2021-03-10T11:04:56-06:00',
}
},
'hardware': [
{
'domain': 'test.com',
'fullyQualifiedDomainName': 'testpooling.test.com',
'hardwareStatusId': 5,
'hostname': 'testpooling',
'id': 36589,
'manufacturerSerialNumber': 'J122Y7N',
'provisionDate': '2022-01-24T15:17:03-06:00',
'serialNumber': 'SL018EA8',
'serviceProviderId': 1,
'bandwidthAllotmentDetail': {
'allocationId': 48293302,
'bandwidthAllotmentId': 309961,
'effectiveDate': '2022-02-04T00:00:00-06:00',
'id': 48882088,
'allocation': {
'amount': '5000',
'id': 48293302,
}
},
'globalIdentifier': '36e63026-5fa1-456d-a04f-adf34e60e2f4',
'hardwareStatus': {
'id': 5,
'status': 'ACTIVE'
},
'networkManagementIpAddress': '10.130.97.247',
'outboundBandwidthUsage': '.02594',
'primaryBackendIpAddress': '10.130.97.227',
'primaryIpAddress': '169.57.4.70',
'privateIpAddress': '10.130.97.227'
},
{
'domain': 'testtest.com',
'fullyQualifiedDomainName': 'testpooling2.test.com',
'hardwareStatusId': 5,
'hostname': 'testpooling2',
'id': 25478,
'manufacturerSerialNumber': 'J12935M',
'notes': '',
'provisionDate': '2022-01-24T15:44:20-06:00',
'serialNumber': 'SL01HIIB',
'serviceProviderId': 1,
'bandwidthAllotmentDetail': {
'allocationId': 48293300,
'bandwidthAllotmentId': 309961,
'effectiveDate': '2022-02-04T00:00:00-06:00',
'id': 48882086,
'serviceProviderId': 1,
'allocation': {
'amount': '5000',
'id': 478965,
}
},
'globalIdentifier': '6ea407bd-9c07-4129-9103-9fda8a9e7028',
'hardwareStatus': {
'id': 5,
'status': 'ACTIVE'
},
'networkManagementIpAddress': '10.130.97.252',
'outboundBandwidthUsage': '.02884',
'primaryBackendIpAddress': '10.130.97.248',
'primaryIpAddress': '169.57.4.73',
'privateIpAddress': '10.130.97.248'
}
],
'inboundPublicBandwidthUsage': '.23642',
'projectedPublicBandwidthUsage': 0.43,
'virtualGuests': [{
'createDate': '2021-06-09T13:49:28-07:00',
'deviceStatusId': 8,
'domain': 'cgallo.com',
'fullyQualifiedDomainName': 'KVM-Test.test.com',
'hostname': 'KVM-Test',
'id': 3578963,
'maxCpu': 2,
'maxCpuUnits': 'CORE',
'maxMemory': 4096,
'startCpus': 2,
'statusId': 1001,
'typeId': 1,
'uuid': '15951561-6171-0dfc-f3d2-be039e51cc10',
'bandwidthAllotmentDetail': {
'allocationId': 45907006,
'bandwidthAllotmentId': 138442,
'effectiveDate': '2021-06-09T13:49:31-07:00',
'id': 46467342,
'serviceProviderId': 1,
'allocation': {
'amount': '0',
'id': 45907006,
}
},
'globalIdentifier': 'a245a7dd-acd1-4d1a-9356-cc1ac6b55b98',
'outboundPublicBandwidthUsage': '.02845',
'primaryBackendIpAddress': '10.208.73.53',
'primaryIpAddress': '169.48.96.27',
'status': {
'keyName': 'ACTIVE',
'name': 'Active'
}
}]
}
createObject = {
"accountId": 654321,
"bandwidthAllotmentTypeId": 2,
"createDate": "2023-05-31T07:22:27-06:00",
"endDate": None,
"id": 123456789,
"locationGroupId": 2,
"name": "NewRegion",
"serviceProviderId": 1
}
editObject = True
requestVdrCancellation = True
|