1/** 2 * Copyright 2016 IBM Corp. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17/** 18 * AUTOMATICALLY GENERATED CODE - DO NOT MODIFY 19 */ 20 21package datatypes 22 23// The SoftLayer_Provisioning_Hook contains all the information needed to add a hook into a server/Virtual provision and os reload. 24type Provisioning_Hook struct { 25 Entity 26 27 // no documentation yet 28 Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"` 29 30 // The ID of the account the script belongs to. 31 AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"` 32 33 // no documentation yet 34 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 35 36 // no documentation yet 37 HookType *Provisioning_Hook_Type `json:"hookType,omitempty" xmlrpc:"hookType,omitempty"` 38 39 // no documentation yet 40 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 41 42 // no documentation yet 43 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 44 45 // The name of the hook. 46 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 47 48 // The ID of the type of hook the script is identified as. Currently only CUSTOMER_PROVIDED_HOOK has been implemented. 49 TypeId *int `json:"typeId,omitempty" xmlrpc:"typeId,omitempty"` 50 51 // The endpoint that the script will be downloaded from (USERNAME AND PASSWORD SHOULD BE INCLUDED HERE). If the endpoint is HTTP, the script will only be downloaded. If the endpoint is HTTPS, the script will be downloaded and executed. 52 Uri *string `json:"uri,omitempty" xmlrpc:"uri,omitempty"` 53} 54 55// no documentation yet 56type Provisioning_Hook_Type struct { 57 Entity 58 59 // no documentation yet 60 Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"` 61 62 // no documentation yet 63 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 64 65 // no documentation yet 66 KeyName *string `json:"keyName,omitempty" xmlrpc:"keyName,omitempty"` 67 68 // no documentation yet 69 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 70} 71 72// The SoftLayer_Provisioning_Maintenance_Classification represent a maintenance type for the specific hardware maintenance desired. 73type Provisioning_Maintenance_Classification struct { 74 Entity 75 76 // The id of the maintenance classification. 77 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 78 79 // no documentation yet 80 ItemCategories []Provisioning_Maintenance_Classification_Item_Category `json:"itemCategories,omitempty" xmlrpc:"itemCategories,omitempty"` 81 82 // A count of 83 ItemCategoryCount *uint `json:"itemCategoryCount,omitempty" xmlrpc:"itemCategoryCount,omitempty"` 84 85 // The number of slots required for the maintenance classification. 86 Slots *int `json:"slots,omitempty" xmlrpc:"slots,omitempty"` 87 88 // The type or name of the maintenance classification. 89 Type *string `json:"type,omitempty" xmlrpc:"type,omitempty"` 90} 91 92// no documentation yet 93type Provisioning_Maintenance_Classification_Item_Category struct { 94 Entity 95 96 // no documentation yet 97 ItemCategoryId *int `json:"itemCategoryId,omitempty" xmlrpc:"itemCategoryId,omitempty"` 98 99 // no documentation yet 100 MaintenanceClassification *Provisioning_Maintenance_Classification `json:"maintenanceClassification,omitempty" xmlrpc:"maintenanceClassification,omitempty"` 101 102 // no documentation yet 103 MaintenanceClassificationId *int `json:"maintenanceClassificationId,omitempty" xmlrpc:"maintenanceClassificationId,omitempty"` 104} 105 106// The SoftLayer_Provisioning_Maintenance_Slots represent the available slots for a given maintenance window at a SoftLayer data center. 107type Provisioning_Maintenance_Slots struct { 108 Entity 109 110 // The available slots for a maintenance window. 111 AvailableSlots *int `json:"availableSlots,omitempty" xmlrpc:"availableSlots,omitempty"` 112} 113 114// no documentation yet 115type Provisioning_Maintenance_Ticket struct { 116 Entity 117 118 // no documentation yet 119 AvailableSlots *Provisioning_Maintenance_Slots `json:"availableSlots,omitempty" xmlrpc:"availableSlots,omitempty"` 120 121 // no documentation yet 122 MaintClassId *int `json:"maintClassId,omitempty" xmlrpc:"maintClassId,omitempty"` 123 124 // no documentation yet 125 MaintWindowId *int `json:"maintWindowId,omitempty" xmlrpc:"maintWindowId,omitempty"` 126 127 // no documentation yet 128 MaintenanceClass *Provisioning_Maintenance_Classification `json:"maintenanceClass,omitempty" xmlrpc:"maintenanceClass,omitempty"` 129 130 // no documentation yet 131 MaintenanceDate *Time `json:"maintenanceDate,omitempty" xmlrpc:"maintenanceDate,omitempty"` 132 133 // no documentation yet 134 Ticket *Ticket `json:"ticket,omitempty" xmlrpc:"ticket,omitempty"` 135 136 // no documentation yet 137 TicketId *int `json:"ticketId,omitempty" xmlrpc:"ticketId,omitempty"` 138} 139 140// The SoftLayer_Provisioning_Maintenance_Window represent a time window that SoftLayer performs a hardware or software maintenance and upgrades. 141type Provisioning_Maintenance_Window struct { 142 Entity 143 144 // The date and time a maintenance window is scheduled to begin. 145 BeginDate *Time `json:"beginDate,omitempty" xmlrpc:"beginDate,omitempty"` 146 147 // An ISO-8601 numeric representation of the day of the week that a maintenance window is performed. 1: Monday, 7: Sunday 148 DayOfWeek *int `json:"dayOfWeek,omitempty" xmlrpc:"dayOfWeek,omitempty"` 149 150 // The date and time a maintenance window is scheduled to end. 151 EndDate *Time `json:"endDate,omitempty" xmlrpc:"endDate,omitempty"` 152 153 // Id of the maintenance window 154 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 155 156 // An internal identifier of the location (data center) record that a maintenance window takes place in. 157 LocationId *int `json:"locationId,omitempty" xmlrpc:"locationId,omitempty"` 158 159 // An internal identifier of the datacenter timezone. 160 PortalTzId *int `json:"portalTzId,omitempty" xmlrpc:"portalTzId,omitempty"` 161} 162 163// The SoftLayer_Provisioning_Version1_Transaction data type contains general information relating to a single SoftLayer hardware transaction. 164// 165// SoftLayer customers are unable to change their hardware transactions. 166type Provisioning_Version1_Transaction struct { 167 Entity 168 169 // The account that a transaction belongs to. 170 Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"` 171 172 // The date a transaction was created. 173 CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"` 174 175 // The amount of seconds that have elapsed since the transaction was last modified. 176 ElapsedSeconds *int `json:"elapsedSeconds,omitempty" xmlrpc:"elapsedSeconds,omitempty"` 177 178 // The guest record for this transaction. 179 Guest *Virtual_Guest `json:"guest,omitempty" xmlrpc:"guest,omitempty"` 180 181 // A transaction's associated guest identification number. 182 GuestId *int `json:"guestId,omitempty" xmlrpc:"guestId,omitempty"` 183 184 // The hardware object for this transaction. 185 Hardware *Hardware `json:"hardware,omitempty" xmlrpc:"hardware,omitempty"` 186 187 // A transaction's associated hardware identification number. 188 HardwareId *int `json:"hardwareId,omitempty" xmlrpc:"hardwareId,omitempty"` 189 190 // A transaction's identifying number. 191 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 192 193 // no documentation yet 194 Loopback []Provisioning_Version1_Transaction `json:"loopback,omitempty" xmlrpc:"loopback,omitempty"` 195 196 // A count of 197 LoopbackCount *uint `json:"loopbackCount,omitempty" xmlrpc:"loopbackCount,omitempty"` 198 199 // The date a transaction was last modified. 200 ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"` 201 202 // A count of 203 PendingTransactionCount *uint `json:"pendingTransactionCount,omitempty" xmlrpc:"pendingTransactionCount,omitempty"` 204 205 // no documentation yet 206 PendingTransactions []Provisioning_Version1_Transaction `json:"pendingTransactions,omitempty" xmlrpc:"pendingTransactions,omitempty"` 207 208 // The date the transaction status was last modified. 209 StatusChangeDate *Time `json:"statusChangeDate,omitempty" xmlrpc:"statusChangeDate,omitempty"` 210 211 // no documentation yet 212 TicketScheduledActionReference []Ticket_Attachment `json:"ticketScheduledActionReference,omitempty" xmlrpc:"ticketScheduledActionReference,omitempty"` 213 214 // A count of 215 TicketScheduledActionReferenceCount *uint `json:"ticketScheduledActionReferenceCount,omitempty" xmlrpc:"ticketScheduledActionReferenceCount,omitempty"` 216 217 // A transaction's group. This group object determines what type of service is being done on the hardware. 218 TransactionGroup *Provisioning_Version1_Transaction_Group `json:"transactionGroup,omitempty" xmlrpc:"transactionGroup,omitempty"` 219 220 // A transaction's status. This status object determines the state it is in the transaction group. 221 TransactionStatus *Provisioning_Version1_Transaction_Status `json:"transactionStatus,omitempty" xmlrpc:"transactionStatus,omitempty"` 222} 223 224// The SoftLayer_Provisioning_Version1_Transaction_Group data type contains general information relating to a single SoftLayer hardware transaction group. 225// 226// SoftLayer customers are unable to change their hardware transactions or the hardware transaction group. 227type Provisioning_Version1_Transaction_Group struct { 228 Entity 229 230 // Average time, in minutes, for this type of transaction to complete. Please note that this is only an estimate. 231 AverageTimeToComplete *Float64 `json:"averageTimeToComplete,omitempty" xmlrpc:"averageTimeToComplete,omitempty"` 232 233 // A transaction group's name. 234 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 235} 236 237// no documentation yet 238type Provisioning_Version1_Transaction_History struct { 239 Entity 240 241 // The finish date of a transaction history record. 242 FinishDate *Time `json:"finishDate,omitempty" xmlrpc:"finishDate,omitempty"` 243 244 // The guest from where transaction history originates. 245 Guest *Virtual_Guest `json:"guest,omitempty" xmlrpc:"guest,omitempty"` 246 247 // The guest ID associated with a transaction history. 248 GuestId *int `json:"guestId,omitempty" xmlrpc:"guestId,omitempty"` 249 250 // The hardware from where transaction history originates. 251 Hardware *Hardware `json:"hardware,omitempty" xmlrpc:"hardware,omitempty"` 252 253 // The hardware ID associated with a transaction history. 254 HardwareId *int `json:"hardwareId,omitempty" xmlrpc:"hardwareId,omitempty"` 255 256 // The host ID associated with a transaction history. 257 HostId *int `json:"hostId,omitempty" xmlrpc:"hostId,omitempty"` 258 259 // The ID associated with a transaction history. 260 Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"` 261 262 // The start date of a transaction history record. 263 StartDate *Time `json:"startDate,omitempty" xmlrpc:"startDate,omitempty"` 264 265 // The transaction from where transaction history originates. 266 Transaction *Provisioning_Version1_Transaction `json:"transaction,omitempty" xmlrpc:"transaction,omitempty"` 267 268 // The transaction ID associated with a transaction history. 269 TransactionId *int `json:"transactionId,omitempty" xmlrpc:"transactionId,omitempty"` 270 271 // The transaction status of a transaction history. 272 TransactionStatus *Provisioning_Version1_Transaction_Status `json:"transactionStatus,omitempty" xmlrpc:"transactionStatus,omitempty"` 273 274 // The transaction status ID associated with a transaction history. 275 TransactionStatusId *int `json:"transactionStatusId,omitempty" xmlrpc:"transactionStatusId,omitempty"` 276} 277 278// The SoftLayer_Provisioning_Version1_Transaction_Status data type contains general information relating to a single SoftLayer hardware transaction status. 279// 280// SoftLayer customers are unable to change their hardware transaction status. 281type Provisioning_Version1_Transaction_Status struct { 282 Entity 283 284 // Hardware transaction status average duration. 285 AverageDuration *Float64 `json:"averageDuration,omitempty" xmlrpc:"averageDuration,omitempty"` 286 287 // Transaction status friendly name. 288 FriendlyName *string `json:"friendlyName,omitempty" xmlrpc:"friendlyName,omitempty"` 289 290 // Transaction status name. 291 Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"` 292 293 // A count of 294 NonCompletedTransactionCount *uint `json:"nonCompletedTransactionCount,omitempty" xmlrpc:"nonCompletedTransactionCount,omitempty"` 295 296 // no documentation yet 297 NonCompletedTransactions []Provisioning_Version1_Transaction `json:"nonCompletedTransactions,omitempty" xmlrpc:"nonCompletedTransactions,omitempty"` 298} 299 300// no documentation yet 301type Provisioning_Version1_Transaction_SubnetMigration struct { 302 Provisioning_Version1_Transaction 303} 304