diff --git a/datatypes/account.go b/datatypes/account.go
index f52089b..a046b9d 100644
--- a/datatypes/account.go
+++ b/datatypes/account.go
@@ -713,6 +713,7 @@ type Account struct {
NasNetworkStorageCount *uint `json:"nasNetworkStorageCount,omitempty" xmlrpc:"nasNetworkStorageCount,omitempty"`
// [Deprecated] Whether or not this account can define their own networks.
+ // Deprecated: This function has been marked as deprecated.
NetworkCreationFlag *bool `json:"networkCreationFlag,omitempty" xmlrpc:"networkCreationFlag,omitempty"`
// A count of all network gateway devices on this account.
@@ -785,6 +786,7 @@ type Account struct {
NetworkTunnelContextCount *uint `json:"networkTunnelContextCount,omitempty" xmlrpc:"networkTunnelContextCount,omitempty"`
// IPSec network tunnels for an account.
+ // Deprecated: This function has been marked as deprecated.
NetworkTunnelContexts []Network_Tunnel_Module_Context `json:"networkTunnelContexts,omitempty" xmlrpc:"networkTunnelContexts,omitempty"`
// A count of all network VLANs assigned to an account.
@@ -1001,12 +1003,14 @@ type Account struct {
PostalCode *string `json:"postalCode,omitempty" xmlrpc:"postalCode,omitempty"`
// (Deprecated) Boolean flag dictating whether or not this account supports PPTP VPN Access.
+ // Deprecated: This function has been marked as deprecated.
PptpVpnAllowedFlag *bool `json:"pptpVpnAllowedFlag,omitempty" xmlrpc:"pptpVpnAllowedFlag,omitempty"`
// A count of an account's associated portal users with PPTP VPN access. (Deprecated)
PptpVpnUserCount *uint `json:"pptpVpnUserCount,omitempty" xmlrpc:"pptpVpnUserCount,omitempty"`
// An account's associated portal users with PPTP VPN access. (Deprecated)
+ // Deprecated: This function has been marked as deprecated.
PptpVpnUsers []User_Customer `json:"pptpVpnUsers,omitempty" xmlrpc:"pptpVpnUsers,omitempty"`
// A count of an account's invoices in the PRE_OPEN status.
diff --git a/datatypes/configuration.go b/datatypes/configuration.go
index 50b892d..e173bfe 100644
--- a/datatypes/configuration.go
+++ b/datatypes/configuration.go
@@ -182,6 +182,7 @@ type Configuration_Template struct {
Entity
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"`
// Internal identifier of a SoftLayer account that this configuration template belongs to
@@ -191,6 +192,7 @@ type Configuration_Template struct {
ConfigurationSectionCount *uint `json:"configurationSectionCount,omitempty" xmlrpc:"configurationSectionCount,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
ConfigurationSections []Configuration_Template_Section `json:"configurationSections,omitempty" xmlrpc:"configurationSections,omitempty"`
// Created date
@@ -200,12 +202,14 @@ type Configuration_Template struct {
DefaultValueCount *uint `json:"defaultValueCount,omitempty" xmlrpc:"defaultValueCount,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
DefaultValues []Configuration_Template_Section_Definition_Value `json:"defaultValues,omitempty" xmlrpc:"defaultValues,omitempty"`
// A count of
DefinitionCount *uint `json:"definitionCount,omitempty" xmlrpc:"definitionCount,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Definitions []Configuration_Template_Section_Definition `json:"definitions,omitempty" xmlrpc:"definitions,omitempty"`
// Configuration template description
@@ -215,12 +219,14 @@ type Configuration_Template struct {
Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Item *Product_Item `json:"item,omitempty" xmlrpc:"item,omitempty"`
// Internal identifier of a product item that this configuration template is associated with
ItemId *int `json:"itemId,omitempty" xmlrpc:"itemId,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
LinkedSectionReferences *Configuration_Template_Section_Reference `json:"linkedSectionReferences,omitempty" xmlrpc:"linkedSectionReferences,omitempty"`
// Last modified date
@@ -230,12 +236,14 @@ type Configuration_Template struct {
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Parent *Configuration_Template `json:"parent,omitempty" xmlrpc:"parent,omitempty"`
// Internal identifier of the parent configuration template
ParentId *int `json:"parentId,omitempty" xmlrpc:"parentId,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
User *User_Customer `json:"user,omitempty" xmlrpc:"user,omitempty"`
// Internal identifier of a user that last modified this configuration template
@@ -247,6 +255,7 @@ type Configuration_Template_Attribute struct {
Entity
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
ConfigurationTemplate *Configuration_Template `json:"configurationTemplate,omitempty" xmlrpc:"configurationTemplate,omitempty"`
// Value of a configuration template attribute
@@ -266,24 +275,28 @@ type Configuration_Template_Section struct {
DefinitionCount *uint `json:"definitionCount,omitempty" xmlrpc:"definitionCount,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Definitions []Configuration_Template_Section_Definition `json:"definitions,omitempty" xmlrpc:"definitions,omitempty"`
// Configuration section description
Description *string `json:"description,omitempty" xmlrpc:"description,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
DisallowedDeletionFlag *bool `json:"disallowedDeletionFlag,omitempty" xmlrpc:"disallowedDeletionFlag,omitempty"`
// Internal identifier of a configuration section.
Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
LinkedTemplate *Configuration_Template `json:"linkedTemplate,omitempty" xmlrpc:"linkedTemplate,omitempty"`
// Internal identifier of a sub configuration template that this section points to. Use this property if you wish to create a reference to a sub configuration template when creating a linked section.
LinkedTemplateId *string `json:"linkedTemplateId,omitempty" xmlrpc:"linkedTemplateId,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
LinkedTemplateReference *Configuration_Template_Section_Reference `json:"linkedTemplateReference,omitempty" xmlrpc:"linkedTemplateReference,omitempty"`
// Last modified date
@@ -299,12 +312,15 @@ type Configuration_Template_Section struct {
ProfileCount *uint `json:"profileCount,omitempty" xmlrpc:"profileCount,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Profiles []Configuration_Template_Section_Profile `json:"profiles,omitempty" xmlrpc:"profiles,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
SectionType *Configuration_Template_Section_Type `json:"sectionType,omitempty" xmlrpc:"sectionType,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
SectionTypeName *string `json:"sectionTypeName,omitempty" xmlrpc:"sectionTypeName,omitempty"`
// Sort order
@@ -314,9 +330,11 @@ type Configuration_Template_Section struct {
SubSectionCount *uint `json:"subSectionCount,omitempty" xmlrpc:"subSectionCount,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
SubSections []Configuration_Template_Section `json:"subSections,omitempty" xmlrpc:"subSections,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Template *Configuration_Template `json:"template,omitempty" xmlrpc:"template,omitempty"`
// Internal identifier of a configuration template that this section belongs to
@@ -331,6 +349,7 @@ type Configuration_Template_Section_Attribute struct {
Entity
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
ConfigurationSection *Configuration_Template_Section `json:"configurationSection,omitempty" xmlrpc:"configurationSection,omitempty"`
// Value of a configuration section attribute
@@ -347,12 +366,14 @@ type Configuration_Template_Section_Definition struct {
AttributeCount *uint `json:"attributeCount,omitempty" xmlrpc:"attributeCount,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Attributes []Configuration_Template_Section_Definition_Attribute `json:"attributes,omitempty" xmlrpc:"attributes,omitempty"`
// Created date
CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
DefaultValue *Configuration_Template_Section_Definition_Value `json:"defaultValue,omitempty" xmlrpc:"defaultValue,omitempty"`
// Description of a configuration definition.
@@ -362,6 +383,7 @@ type Configuration_Template_Section_Definition struct {
EnumerationValues *string `json:"enumerationValues,omitempty" xmlrpc:"enumerationValues,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Group *Configuration_Template_Section_Definition_Group `json:"group,omitempty" xmlrpc:"group,omitempty"`
// Definition group id.
@@ -380,6 +402,7 @@ type Configuration_Template_Section_Definition struct {
ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
MonitoringDataFlag *bool `json:"monitoringDataFlag,omitempty" xmlrpc:"monitoringDataFlag,omitempty"`
// Configuration definition name.
@@ -392,6 +415,7 @@ type Configuration_Template_Section_Definition struct {
RequireValueFlag *int `json:"requireValueFlag,omitempty" xmlrpc:"requireValueFlag,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Section *Configuration_Template_Section `json:"section,omitempty" xmlrpc:"section,omitempty"`
// Internal identifier of a configuration section.
@@ -407,6 +431,7 @@ type Configuration_Template_Section_Definition struct {
TypeId *int `json:"typeId,omitempty" xmlrpc:"typeId,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
ValueType *Configuration_Template_Section_Definition_Type `json:"valueType,omitempty" xmlrpc:"valueType,omitempty"`
}
@@ -415,9 +440,11 @@ type Configuration_Template_Section_Definition_Attribute struct {
Entity
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
AttributeType *Configuration_Template_Section_Definition_Attribute_Type `json:"attributeType,omitempty" xmlrpc:"attributeType,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
ConfigurationDefinition *Configuration_Template_Section_Definition `json:"configurationDefinition,omitempty" xmlrpc:"configurationDefinition,omitempty"`
// Value of a configuration definition attribute
@@ -452,6 +479,7 @@ type Configuration_Template_Section_Definition_Group struct {
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Parent *Configuration_Template_Section_Definition_Group `json:"parent,omitempty" xmlrpc:"parent,omitempty"`
// Sort order
@@ -480,6 +508,7 @@ type Configuration_Template_Section_Definition_Value struct {
CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Definition *Configuration_Template_Section_Definition `json:"definition,omitempty" xmlrpc:"definition,omitempty"`
// Internal identifier of a configuration definition that this configuration value if defined by
@@ -489,6 +518,7 @@ type Configuration_Template_Section_Definition_Value struct {
ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Template *Configuration_Template `json:"template,omitempty" xmlrpc:"template,omitempty"`
// Internal identifier of a configuration template that this configuration value belongs to
@@ -508,6 +538,7 @@ type Configuration_Template_Section_Profile struct {
AgentId *int `json:"agentId,omitempty" xmlrpc:"agentId,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
ConfigurationSection *Configuration_Template_Section `json:"configurationSection,omitempty" xmlrpc:"configurationSection,omitempty"`
// Created date
@@ -537,12 +568,14 @@ type Configuration_Template_Section_Reference struct {
ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Section *Configuration_Template_Section `json:"section,omitempty" xmlrpc:"section,omitempty"`
// Internal identifier of a configuration section.
SectionId *int `json:"sectionId,omitempty" xmlrpc:"sectionId,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
Template *Configuration_Template `json:"template,omitempty" xmlrpc:"template,omitempty"`
// Internal identifier of a configuration template.
diff --git a/datatypes/container.go b/datatypes/container.go
index 02f42ff..ddc8ff6 100644
--- a/datatypes/container.go
+++ b/datatypes/container.go
@@ -941,66 +941,6 @@ type Container_Authentication_Response_Success struct {
Token *Container_User_Authentication_Token `json:"token,omitempty" xmlrpc:"token,omitempty"`
}
-// SoftLayer_Container_Bandwidth_GraphInputs models a single inbound object for a given bandwidth graph.
-type Container_Bandwidth_GraphInputs struct {
- Entity
-
- // This is a unix timestamp that represents the stop date/time for a graph.
- EndDate *Time `json:"endDate,omitempty" xmlrpc:"endDate,omitempty"`
-
- // The front-end or back-end network uplink interface associated with this server.
- NetworkInterfaceId *int `json:"networkInterfaceId,omitempty" xmlrpc:"networkInterfaceId,omitempty"`
-
- // *
- Pod *int `json:"pod,omitempty" xmlrpc:"pod,omitempty"`
-
- // This is a human readable name for the server or rack being graphed.
- ServerName *string `json:"serverName,omitempty" xmlrpc:"serverName,omitempty"`
-
- // This is a unix timestamp that represents the begin date/time for a graph.
- StartDate *Time `json:"startDate,omitempty" xmlrpc:"startDate,omitempty"`
-}
-
-// SoftLayer_Container_Bandwidth_GraphOutputs models a single outbound object for a given bandwidth graph.
-type Container_Bandwidth_GraphOutputs struct {
- Entity
-
- // The raw PNG binary data to be displayed once the graph is drawn.
- GraphImage *[]byte `json:"graphImage,omitempty" xmlrpc:"graphImage,omitempty"`
-
- // The title that ended up being displayed as part of the graph image.
- GraphTitle *string `json:"graphTitle,omitempty" xmlrpc:"graphTitle,omitempty"`
-
- // The maximum date included in this graph.
- MaxEndDate *Time `json:"maxEndDate,omitempty" xmlrpc:"maxEndDate,omitempty"`
-
- // The minimum date included in this graph.
- MinStartDate *Time `json:"minStartDate,omitempty" xmlrpc:"minStartDate,omitempty"`
-}
-
-// SoftLayer_Container_Bandwidth_Projection models projected bandwidth use over a time range.
-type Container_Bandwidth_Projection struct {
- Entity
-
- // Bandwidth limit for this hardware.
- AllowedUsage *string `json:"allowedUsage,omitempty" xmlrpc:"allowedUsage,omitempty"`
-
- // Estimated bandwidth usage so far this billing cycle.
- EstimatedUsage *string `json:"estimatedUsage,omitempty" xmlrpc:"estimatedUsage,omitempty"`
-
- // Hardware ID of server to monitor.
- HardwareId *int `json:"hardwareId,omitempty" xmlrpc:"hardwareId,omitempty"`
-
- // Projected usage for this hardware based on previous usage this billing cycle.
- ProjectedUsage *string `json:"projectedUsage,omitempty" xmlrpc:"projectedUsage,omitempty"`
-
- // the text name of the server being monitored.
- ServerName *string `json:"serverName,omitempty" xmlrpc:"serverName,omitempty"`
-
- // The minimum date included in this list.
- StartDate *Time `json:"startDate,omitempty" xmlrpc:"startDate,omitempty"`
-}
-
// When a customer uses SoftLayer_Account::getBandwidthUsage, this container is used to return their usage information in bytes
type Container_Bandwidth_Usage struct {
Entity
@@ -1779,37 +1719,6 @@ type Container_Metric_Tracking_Object_Virtual_Host_Summary struct {
VirtualPlatformName *string `json:"virtualPlatformName,omitempty" xmlrpc:"virtualPlatformName,omitempty"`
}
-// The SoftLayer_Container_Monitoring_Alarm_History data type contains information relating to SoftLayer monitoring alarm history.
-type Container_Monitoring_Alarm_History struct {
- Entity
-
- // Account ID that this alarm belongs to
- AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"`
-
- // DEPRECATED. ID of the monitoring agent that triggered this alarm
- // Deprecated: This function has been marked as deprecated.
- AgentId *int `json:"agentId,omitempty" xmlrpc:"agentId,omitempty"`
-
- // Alarm ID
- AlarmId *string `json:"alarmId,omitempty" xmlrpc:"alarmId,omitempty"`
-
- // Time that an alarm was closed.
- ClosedDate *Time `json:"closedDate,omitempty" xmlrpc:"closedDate,omitempty"`
-
- // Time that an alarm was triggered
- CreateDate *Time `json:"createDate,omitempty" xmlrpc:"createDate,omitempty"`
-
- // Alarm message
- Message *string `json:"message,omitempty" xmlrpc:"message,omitempty"`
-
- // DEPRECATED. Robot ID
- // Deprecated: This function has been marked as deprecated.
- RobotId *int `json:"robotId,omitempty" xmlrpc:"robotId,omitempty"`
-
- // Severity of an alarm
- Severity *string `json:"severity,omitempty" xmlrpc:"severity,omitempty"`
-}
-
// This object holds authentication data to a server.
type Container_Network_Authentication_Data struct {
Entity
@@ -3165,6 +3074,9 @@ type Container_Product_Order_Hardware_Security_Module struct {
type Container_Product_Order_Hardware_Server struct {
Container_Product_Order
+ // Optional profile for custom bios settings to be applied during provisioning. See [[SoftLayer_Product_Item/supportedBiosSettingsProfiles]] on the server product item for available values.
+ BiosSettingsProfile *string `json:"biosSettingsProfile,omitempty" xmlrpc:"biosSettingsProfile,omitempty"`
+
// Used to identify which category should be used for the boot disk.
BootCategoryCode *string `json:"bootCategoryCode,omitempty" xmlrpc:"bootCategoryCode,omitempty"`
@@ -5160,20 +5072,6 @@ type Container_Virtual_Guest_Block_Device_Template_Configuration struct {
WrappedDek *string `json:"wrappedDek,omitempty" xmlrpc:"wrappedDek,omitempty"`
}
-// no documentation yet
-type Container_Virtual_Guest_Block_Device_Template_Group_RiasAccount struct {
- Entity
-
- // no documentation yet
- AccountId *int `json:"accountId,omitempty" xmlrpc:"accountId,omitempty"`
-
- // no documentation yet
- MasterUserId *int `json:"masterUserId,omitempty" xmlrpc:"masterUserId,omitempty"`
-
- // no documentation yet
- Token *string `json:"token,omitempty" xmlrpc:"token,omitempty"`
-}
-
// The guest configuration container is used to provide configuration options for creating computing instances.
//
// Each configuration option will include both an itemPrice and a template.
diff --git a/datatypes/hardware.go b/datatypes/hardware.go
index 956e857..cc503de 100644
--- a/datatypes/hardware.go
+++ b/datatypes/hardware.go
@@ -322,12 +322,14 @@ type Hardware struct {
Modules []Hardware_Component `json:"modules,omitempty" xmlrpc:"modules,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
MonitoringRobot *Monitoring_Robot `json:"monitoringRobot,omitempty" xmlrpc:"monitoringRobot,omitempty"`
// Information regarding a piece of hardware's network monitoring services.
MonitoringServiceComponent *Network_Monitor_Version1_Query_Host_Stratum `json:"monitoringServiceComponent,omitempty" xmlrpc:"monitoringServiceComponent,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
MonitoringServiceEligibilityFlag *bool `json:"monitoringServiceEligibilityFlag,omitempty" xmlrpc:"monitoringServiceEligibilityFlag,omitempty"`
// Information regarding a piece of hardware's motherboard.
@@ -1175,10 +1177,6 @@ type Hardware_Component_Model struct {
// A hardware component model's manufacturer.
Manufacturer *string `json:"manufacturer,omitempty" xmlrpc:"manufacturer,omitempty"`
- // [DEPRECATED] - A hardware component models metric tracking object. This object records all periodic polled data available to this hardware componet model.
- // Deprecated: This function has been marked as deprecated.
- MetricTrackingObject *Metric_Tracking_Object `json:"metricTrackingObject,omitempty" xmlrpc:"metricTrackingObject,omitempty"`
-
// The model name of a hardware component model.
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
diff --git a/datatypes/location.go b/datatypes/location.go
index ed04786..160f00c 100644
--- a/datatypes/location.go
+++ b/datatypes/location.go
@@ -62,10 +62,6 @@ type Location struct {
// A longer location description.
LongName *string `json:"longName,omitempty" xmlrpc:"longName,omitempty"`
- // [DEPRECATED] - A location's metric tracking object.
- // Deprecated: This function has been marked as deprecated.
- MetricTrackingObject *Metric_Tracking_Object `json:"metricTrackingObject,omitempty" xmlrpc:"metricTrackingObject,omitempty"`
-
// A short location description.
Name *string `json:"name,omitempty" xmlrpc:"name,omitempty"`
diff --git a/datatypes/network.go b/datatypes/network.go
index 8c4776c..6592a49 100644
--- a/datatypes/network.go
+++ b/datatypes/network.go
@@ -1184,7 +1184,7 @@ type Network_Component_Uplink_Hardware struct {
NetworkComponent *Network_Component `json:"networkComponent,omitempty" xmlrpc:"networkComponent,omitempty"`
}
-// The SoftLayer_Network_Customer_Subnet data type contains general information relating to a single customer subnet (remote).
+// DEPRECATED
type Network_Customer_Subnet struct {
Entity
@@ -1201,6 +1201,7 @@ type Network_Customer_Subnet struct {
IpAddressCount *uint `json:"ipAddressCount,omitempty" xmlrpc:"ipAddressCount,omitempty"`
// All ip addresses associated with a subnet.
+ // Deprecated: This function has been marked as deprecated.
IpAddresses []Network_Customer_Subnet_IpAddress `json:"ipAddresses,omitempty" xmlrpc:"ipAddresses,omitempty"`
// A bitmask in dotted-quad format that is used to separate a subnet's network address from it's host addresses. This performs the same function as the ''cidr'' property, but is expressed in a string format.
@@ -1213,7 +1214,7 @@ type Network_Customer_Subnet struct {
TotalIpAddresses *int `json:"totalIpAddresses,omitempty" xmlrpc:"totalIpAddresses,omitempty"`
}
-// The SoftLayer_Network_Customer_Subnet_IpAddress data type contains general information relating to a single Customer Subnet (Remote) IPv4 address.
+// DEPRECATED
type Network_Customer_Subnet_IpAddress struct {
Entity
@@ -1227,6 +1228,7 @@ type Network_Customer_Subnet_IpAddress struct {
Notes *string `json:"notes,omitempty" xmlrpc:"notes,omitempty"`
// The customer subnet (remote) that the ip address belongs to.
+ // Deprecated: This function has been marked as deprecated.
Subnet *Network_Customer_Subnet `json:"subnet,omitempty" xmlrpc:"subnet,omitempty"`
// The unique identifier for the customer subnet (remote) the ip address belongs to.
@@ -1236,6 +1238,7 @@ type Network_Customer_Subnet_IpAddress struct {
TranslationCount *uint `json:"translationCount,omitempty" xmlrpc:"translationCount,omitempty"`
// All the address translations that are tied to an IP address.
+ // Deprecated: This function has been marked as deprecated.
Translations []Network_Tunnel_Module_Context_Address_Translation `json:"translations,omitempty" xmlrpc:"translations,omitempty"`
}
@@ -4329,11 +4332,12 @@ type Network_Storage_MassDataMigration_CrossRegion_Country_Xref struct {
LocationGroupId *int `json:"locationGroupId,omitempty" xmlrpc:"locationGroupId,omitempty"`
}
-// The SoftLayer_Network_Storage_MassDataMigration_Request data type contains information on a single Mass Data Migration request. Creation of these requests is limited to SoftLayer customers through the SoftLayer Customer Portal.
+// DEPRECATED
type Network_Storage_MassDataMigration_Request struct {
Entity
// The account to which the request belongs.
+ // Deprecated: This function has been marked as deprecated.
Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"`
// The account id of the request.
@@ -4343,30 +4347,37 @@ type Network_Storage_MassDataMigration_Request struct {
ActiveTicketCount *uint `json:"activeTicketCount,omitempty" xmlrpc:"activeTicketCount,omitempty"`
// The active tickets that are attached to the MDMS request.
+ // Deprecated: This function has been marked as deprecated.
ActiveTickets []Ticket `json:"activeTickets,omitempty" xmlrpc:"activeTickets,omitempty"`
// The customer address where the device is shipped to.
+ // Deprecated: This function has been marked as deprecated.
Address *Account_Address `json:"address,omitempty" xmlrpc:"address,omitempty"`
// The address id of address assigned to this request.
AddressId *int `json:"addressId,omitempty" xmlrpc:"addressId,omitempty"`
// An associated parent billing item which is active. Includes billing items which are scheduled to be cancelled in the future.
+ // Deprecated: This function has been marked as deprecated.
BillingItem *Billing_Item `json:"billingItem,omitempty" xmlrpc:"billingItem,omitempty"`
// The employee user who created the request.
+ // Deprecated: This function has been marked as deprecated.
CreateEmployee *User_Employee `json:"createEmployee,omitempty" xmlrpc:"createEmployee,omitempty"`
// The customer user who created the request.
+ // Deprecated: This function has been marked as deprecated.
CreateUser *User_Customer `json:"createUser,omitempty" xmlrpc:"createUser,omitempty"`
// The create user id of the request.
CreateUserId *int `json:"createUserId,omitempty" xmlrpc:"createUserId,omitempty"`
// The device configurations.
+ // Deprecated: This function has been marked as deprecated.
DeviceConfiguration *Network_Storage_MassDataMigration_Request_DeviceConfiguration `json:"deviceConfiguration,omitempty" xmlrpc:"deviceConfiguration,omitempty"`
// The model of device assigned to this request.
+ // Deprecated: This function has been marked as deprecated.
DeviceModel *string `json:"deviceModel,omitempty" xmlrpc:"deviceModel,omitempty"`
// The end date of the request.
@@ -4379,12 +4390,15 @@ type Network_Storage_MassDataMigration_Request struct {
KeyContactCount *uint `json:"keyContactCount,omitempty" xmlrpc:"keyContactCount,omitempty"`
// The key contacts for this requests.
+ // Deprecated: This function has been marked as deprecated.
KeyContacts []Network_Storage_MassDataMigration_Request_KeyContact `json:"keyContacts,omitempty" xmlrpc:"keyContacts,omitempty"`
// The employee who last modified the request.
+ // Deprecated: This function has been marked as deprecated.
ModifyEmployee *User_Employee `json:"modifyEmployee,omitempty" xmlrpc:"modifyEmployee,omitempty"`
// The customer user who last modified the request.
+ // Deprecated: This function has been marked as deprecated.
ModifyUser *User_Customer `json:"modifyUser,omitempty" xmlrpc:"modifyUser,omitempty"`
// The modify user id of the request.
@@ -4397,28 +4411,32 @@ type Network_Storage_MassDataMigration_Request struct {
ShipmentCount *uint `json:"shipmentCount,omitempty" xmlrpc:"shipmentCount,omitempty"`
// The shipments of the request.
+ // Deprecated: This function has been marked as deprecated.
Shipments []Account_Shipment `json:"shipments,omitempty" xmlrpc:"shipments,omitempty"`
// The start date of the request.
StartDate *Time `json:"startDate,omitempty" xmlrpc:"startDate,omitempty"`
// The status of the request.
+ // Deprecated: This function has been marked as deprecated.
Status *Network_Storage_MassDataMigration_Request_Status `json:"status,omitempty" xmlrpc:"status,omitempty"`
// The status id of the request.
StatusId *int `json:"statusId,omitempty" xmlrpc:"statusId,omitempty"`
// Ticket that is attached to this mass data migration request.
+ // Deprecated: This function has been marked as deprecated.
Ticket *Ticket `json:"ticket,omitempty" xmlrpc:"ticket,omitempty"`
// A count of all tickets that are attached to the mass data migration request.
TicketCount *uint `json:"ticketCount,omitempty" xmlrpc:"ticketCount,omitempty"`
// All tickets that are attached to the mass data migration request.
+ // Deprecated: This function has been marked as deprecated.
Tickets []Ticket `json:"tickets,omitempty" xmlrpc:"tickets,omitempty"`
}
-// The SoftLayer_Network_Storage_MassDataMigration_Request_DeviceConfiguration data type contains settings such networking, COS account, which needs to be configured on device for a Mass Data Migration Request.
+// DEPRECATED
type Network_Storage_MassDataMigration_Request_DeviceConfiguration struct {
Entity
@@ -4474,7 +4492,7 @@ type Network_Storage_MassDataMigration_Request_DeviceConfiguration struct {
Username *string `json:"username,omitempty" xmlrpc:"username,omitempty"`
}
-// The SoftLayer_Network_Storage_MassDataMigration_Request_KeyContact data type contains name, email, and phone for key contact at customer location who will handle Mass Data Migration.
+// DEPRECATED
type Network_Storage_MassDataMigration_Request_KeyContact struct {
Entity
@@ -4509,7 +4527,7 @@ type Network_Storage_MassDataMigration_Request_KeyContact struct {
RequestId *int `json:"requestId,omitempty" xmlrpc:"requestId,omitempty"`
}
-// The SoftLayer_Network_Storage_MassDataMigration_Request_Status data type contains general information relating to the statuses to which a Mass Data Migration Request may be set.
+// DEPRECATED
type Network_Storage_MassDataMigration_Request_Status struct {
Entity
@@ -4927,6 +4945,7 @@ type Network_Subnet struct {
NetworkTunnelContextCount *uint `json:"networkTunnelContextCount,omitempty" xmlrpc:"networkTunnelContextCount,omitempty"`
// The IPSec VPN tunnels associated to this subnet.
+ // Deprecated: This function has been marked as deprecated.
NetworkTunnelContexts []Network_Tunnel_Module_Context `json:"networkTunnelContexts,omitempty" xmlrpc:"networkTunnelContexts,omitempty"`
// The VLAN this subnet is associated with.
@@ -4959,10 +4978,10 @@ type Network_Subnet struct {
// The name of the role the subnet is within. Roles dictate how a subnet may be used.
RoleName *string `json:"roleName,omitempty" xmlrpc:"roleName,omitempty"`
- // The product and route classifier for this routed subnet, with the following values: PRIMARY, SECONDARY, STATIC_TO_IP, GLOBAL_IP, IPSEC_STATIC_NAT.
+ // The product and route classifier for this routed subnet, with the following values: PRIMARY, SECONDARY, STATIC_TO_IP, GLOBAL_IP
RoutingTypeKeyName *string `json:"routingTypeKeyName,omitempty" xmlrpc:"routingTypeKeyName,omitempty"`
- // The description of the product and route classifier for this routed subnet, with the following values: Primary, Portable, Static, Global, IPSec Static NAT.
+ // The description of the product and route classifier for this routed subnet, with the following values: Primary, Portable, Static, Global.
RoutingTypeName *string `json:"routingTypeName,omitempty" xmlrpc:"routingTypeName,omitempty"`
// [DEPRECATED] Used to sort subnets and group subnets of similar type together for use on customer facing portals.
@@ -4978,7 +4997,6 @@ type Network_Subnet struct {
// * SUBNET_ON_VLAN
// * STATIC_IP_ROUTED_6
// * GLOBAL_IP
- // * IPSEC_STATIC_NAT
//
//
// "PRIMARY" refers to the principal IPv4 network from which primary IP addresses are assigned to devices.
@@ -4997,7 +5015,7 @@ type Network_Subnet struct {
//
// "GLOBAL_IP" refers to a global IPv4/IPv6 address routed as static to a single endpoint IP address.
//
- // "IPSEC_STATIC_NAT" refers to the networks associated to your IPSec VPN tunnels for NAT purposes.
+ //
SubnetType *string `json:"subnetType,omitempty" xmlrpc:"subnetType,omitempty"`
// A count of the tags associated to this subnet.
@@ -5057,6 +5075,7 @@ type Network_Subnet_IpAddress struct {
ContextTunnelTranslationCount *uint `json:"contextTunnelTranslationCount,omitempty" xmlrpc:"contextTunnelTranslationCount,omitempty"`
// An IPSec network tunnel's address translations. These translations use a SoftLayer ip address from an assigned static NAT subnet to deliver the packets to the remote (customer) destination.
+ // Deprecated: This function has been marked as deprecated.
ContextTunnelTranslations []Network_Tunnel_Module_Context_Address_Translation `json:"contextTunnelTranslations,omitempty" xmlrpc:"contextTunnelTranslations,omitempty"`
// A count of all the subnets routed to an IP address.
@@ -5318,11 +5337,12 @@ type Network_Subnet_IpAddress_Version6 struct {
PublicVersion6NetworkGateway *Network_Gateway `json:"publicVersion6NetworkGateway,omitempty" xmlrpc:"publicVersion6NetworkGateway,omitempty"`
}
-// The SoftLayer_Network_Tunnel_Module_Context data type contains general information relating to a single SoftLayer network tunnel. The SoftLayer_Network_Tunnel_Module_Context is useful to gather information such as related customer subnets (remote) and internal subnets (local) associated with the network tunnel as well as other information needed to manage the network tunnel. Account and billing information related to the network tunnel can also be retrieved.
+// DEPRECATED
type Network_Tunnel_Module_Context struct {
Entity
// The account that a network tunnel belongs to.
+ // Deprecated: This function has been marked as deprecated.
Account *Account `json:"account,omitempty" xmlrpc:"account,omitempty"`
// A network tunnel's account identifier.
@@ -5336,6 +5356,7 @@ type Network_Tunnel_Module_Context struct {
AddressTranslationCount *uint `json:"addressTranslationCount,omitempty" xmlrpc:"addressTranslationCount,omitempty"`
// A network tunnel's address translations.
+ // Deprecated: This function has been marked as deprecated.
AddressTranslations []Network_Tunnel_Module_Context_Address_Translation `json:"addressTranslations,omitempty" xmlrpc:"addressTranslations,omitempty"`
// A flag used to specify when advanced configurations, complex configurations that require manual setup, are being applied to network devices for a network tunnel. When the flag is set to true (1), a network tunnel cannot be configured through the management portal nor the API.
@@ -5345,9 +5366,11 @@ type Network_Tunnel_Module_Context struct {
AllAvailableServiceSubnetCount *uint `json:"allAvailableServiceSubnetCount,omitempty" xmlrpc:"allAvailableServiceSubnetCount,omitempty"`
// Subnets that provide access to SoftLayer services such as the management portal and the SoftLayer API.
+ // Deprecated: This function has been marked as deprecated.
AllAvailableServiceSubnets []Network_Subnet `json:"allAvailableServiceSubnets,omitempty" xmlrpc:"allAvailableServiceSubnets,omitempty"`
// The current billing item for network tunnel.
+ // Deprecated: This function has been marked as deprecated.
BillingItem *Billing_Item `json:"billingItem,omitempty" xmlrpc:"billingItem,omitempty"`
// The date a network tunnel was created.
@@ -5360,9 +5383,11 @@ type Network_Tunnel_Module_Context struct {
CustomerSubnetCount *uint `json:"customerSubnetCount,omitempty" xmlrpc:"customerSubnetCount,omitempty"`
// Remote subnets that are allowed access through a network tunnel.
+ // Deprecated: This function has been marked as deprecated.
CustomerSubnets []Network_Customer_Subnet `json:"customerSubnets,omitempty" xmlrpc:"customerSubnets,omitempty"`
// The datacenter location for one end of the network tunnel that allows access to account's private subnets.
+ // Deprecated: This function has been marked as deprecated.
Datacenter *Location `json:"datacenter,omitempty" xmlrpc:"datacenter,omitempty"`
// The name giving to a network tunnel by a user.
@@ -5378,6 +5403,7 @@ type Network_Tunnel_Module_Context struct {
InternalSubnetCount *uint `json:"internalSubnetCount,omitempty" xmlrpc:"internalSubnetCount,omitempty"`
// Private subnets that can be accessed through the network tunnel.
+ // Deprecated: This function has been marked as deprecated.
InternalSubnets []Network_Subnet `json:"internalSubnets,omitempty" xmlrpc:"internalSubnets,omitempty"`
// The date a network tunnel was last modified.
@@ -5422,12 +5448,14 @@ type Network_Tunnel_Module_Context struct {
ServiceSubnetCount *uint `json:"serviceSubnetCount,omitempty" xmlrpc:"serviceSubnetCount,omitempty"`
// Service subnets that can be access through the network tunnel.
+ // Deprecated: This function has been marked as deprecated.
ServiceSubnets []Network_Subnet `json:"serviceSubnets,omitempty" xmlrpc:"serviceSubnets,omitempty"`
// A count of subnets used for a network tunnel's address translations.
StaticRouteSubnetCount *uint `json:"staticRouteSubnetCount,omitempty" xmlrpc:"staticRouteSubnetCount,omitempty"`
// Subnets used for a network tunnel's address translations.
+ // Deprecated: This function has been marked as deprecated.
StaticRouteSubnets []Network_Subnet `json:"staticRouteSubnets,omitempty" xmlrpc:"staticRouteSubnets,omitempty"`
// DEPRECATED
@@ -5438,7 +5466,7 @@ type Network_Tunnel_Module_Context struct {
TransactionHistoryCount *uint `json:"transactionHistoryCount,omitempty" xmlrpc:"transactionHistoryCount,omitempty"`
}
-// The SoftLayer_Network_Tunnel_Module_Context_Address_Translation data type contains general information relating to a single address translation. Information such as notes, ip addresses, along with record information, and network tunnel data may be retrieved.
+// DEPRECATED
type Network_Tunnel_Module_Context_Address_Translation struct {
Entity
@@ -5449,6 +5477,7 @@ type Network_Tunnel_Module_Context_Address_Translation struct {
CustomerIpAddressId *int `json:"customerIpAddressId,omitempty" xmlrpc:"customerIpAddressId,omitempty"`
// The ip address record for the ip that will receive the encrypted traffic from the IPSec network tunnel.
+ // Deprecated: This function has been marked as deprecated.
CustomerIpAddressRecord *Network_Customer_Subnet_IpAddress `json:"customerIpAddressRecord,omitempty" xmlrpc:"customerIpAddressRecord,omitempty"`
// An address translation's unique identifier.
@@ -5461,9 +5490,11 @@ type Network_Tunnel_Module_Context_Address_Translation struct {
InternalIpAddressId *int `json:"internalIpAddressId,omitempty" xmlrpc:"internalIpAddressId,omitempty"`
// The ip address record for the ip that will deliver the encrypted traffic from the IPSec network tunnel.
+ // Deprecated: This function has been marked as deprecated.
InternalIpAddressRecord *Network_Subnet_IpAddress `json:"internalIpAddressRecord,omitempty" xmlrpc:"internalIpAddressRecord,omitempty"`
// The IPSec network tunnel an address translation belongs to.
+ // Deprecated: This function has been marked as deprecated.
NetworkTunnelContext *Network_Tunnel_Module_Context `json:"networkTunnelContext,omitempty" xmlrpc:"networkTunnelContext,omitempty"`
// An address translation's network tunnel identifier.
diff --git a/datatypes/product.go b/datatypes/product.go
index 4f4268e..5862c46 100644
--- a/datatypes/product.go
+++ b/datatypes/product.go
@@ -278,6 +278,12 @@ type Product_Item struct {
// Indicates a speed select server item.
SpeedSelectServerFlag *bool `json:"speedSelectServerFlag,omitempty" xmlrpc:"speedSelectServerFlag,omitempty"`
+ // A count of the supported settings profiles for a server product.
+ SupportedBiosSettingsProfileCount *uint `json:"supportedBiosSettingsProfileCount,omitempty" xmlrpc:"supportedBiosSettingsProfileCount,omitempty"`
+
+ // The supported settings profiles for a server product.
+ SupportedBiosSettingsProfiles []string `json:"supportedBiosSettingsProfiles,omitempty" xmlrpc:"supportedBiosSettingsProfiles,omitempty"`
+
// An item's tax category, if applicable.
TaxCategory *Product_Item_Tax_Category `json:"taxCategory,omitempty" xmlrpc:"taxCategory,omitempty"`
diff --git a/datatypes/ticket.go b/datatypes/ticket.go
index ce2cac1..45b5acf 100644
--- a/datatypes/ticket.go
+++ b/datatypes/ticket.go
@@ -403,12 +403,14 @@ type Ticket_Attachment_Network_Storage_Mass_Data_Migration struct {
Ticket_Attachment
// The Mass Data Migration request that is attached to a ticket.
+ // Deprecated: This function has been marked as deprecated.
Request *Network_Storage_MassDataMigration_Request `json:"request,omitempty" xmlrpc:"request,omitempty"`
// no documentation yet
RequestId *int `json:"requestId,omitempty" xmlrpc:"requestId,omitempty"`
// The Mass Data Migration request that is attached to a ticket.
+ // Deprecated: This function has been marked as deprecated.
Resource *Network_Storage_MassDataMigration_Request `json:"resource,omitempty" xmlrpc:"resource,omitempty"`
}
diff --git a/datatypes/virtual.go b/datatypes/virtual.go
index 739fce0..498d22e 100644
--- a/datatypes/virtual.go
+++ b/datatypes/virtual.go
@@ -573,12 +573,14 @@ type Virtual_Guest struct {
ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
MonitoringRobot *Monitoring_Robot `json:"monitoringRobot,omitempty" xmlrpc:"monitoringRobot,omitempty"`
// A virtual guest's network monitoring services.
MonitoringServiceComponent *Network_Monitor_Version1_Query_Host_Stratum `json:"monitoringServiceComponent,omitempty" xmlrpc:"monitoringServiceComponent,omitempty"`
// no documentation yet
+ // Deprecated: This function has been marked as deprecated.
MonitoringServiceEligibilityFlag *bool `json:"monitoringServiceEligibilityFlag,omitempty" xmlrpc:"monitoringServiceEligibilityFlag,omitempty"`
// The monitoring notification objects for this guest. Each object links this guest instance to a user account that will be notified if monitoring on this guest object fails
@@ -1362,10 +1364,6 @@ type Virtual_Host struct {
// Unique ID for a virtual host.
Id *int `json:"id,omitempty" xmlrpc:"id,omitempty"`
- // [DEPRECATED] - The metric tracking object for this virtual host.
- // Deprecated: This function has been marked as deprecated.
- MetricTrackingObject *Metric_Tracking_Object `json:"metricTrackingObject,omitempty" xmlrpc:"metricTrackingObject,omitempty"`
-
// The date a virtual host was last modified.
ModifyDate *Time `json:"modifyDate,omitempty" xmlrpc:"modifyDate,omitempty"`
diff --git a/examples/go.mod b/examples/go.mod
index d7ba594..3b631f5 100644
--- a/examples/go.mod
+++ b/examples/go.mod
@@ -1,6 +1,6 @@
module github.com/softlayer/softlayer-go/examples
-go 1.25
+go 1.24
replace github.com/softlayer/softlayer-go => ../
diff --git a/go.mod b/go.mod
index f222f94..7100ec2 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/softlayer/softlayer-go
-go 1.25
+go 1.24
require (
github.com/jarcoal/httpmock v1.0.5
diff --git a/services/hardware.go b/services/hardware.go
index bd3a5a6..35f8445 100644
--- a/services/hardware.go
+++ b/services/hardware.go
@@ -1855,12 +1855,6 @@ func (r Hardware_Component_Model) GetIsInfinibandCompatible() (resp bool, err er
return
}
-// Retrieve [DEPRECATED] - A hardware component models metric tracking object. This object records all periodic polled data available to this hardware componet model.
-func (r Hardware_Component_Model) GetMetricTrackingObject() (resp datatypes.Metric_Tracking_Object, err error) {
- err = r.Session.DoRequest("SoftLayer_Hardware_Component_Model", "getMetricTrackingObject", nil, &r.Options, &resp)
- return
-}
-
// getObject retrieves the SoftLayer_Hardware_Component_Model object.
func (r Hardware_Component_Model) GetObject() (resp datatypes.Hardware_Component_Model, err error) {
err = r.Session.DoRequest("SoftLayer_Hardware_Component_Model", "getObject", nil, &r.Options, &resp)
diff --git a/services/hardware_test.go b/services/hardware_test.go
index 1026883..8d3c900 100644
--- a/services/hardware_test.go
+++ b/services/hardware_test.go
@@ -1618,13 +1618,6 @@ var _ = Describe("Hardware Tests", func() {
Expect(slsession.DoRequestCallCount()).To(Equal(1))
})
})
- Context("SoftLayer_Hardware_Component_Model::getMetricTrackingObject", func() {
- It("API Call Test", func() {
- _, err := sl_service.GetMetricTrackingObject()
- Expect(err).To(Succeed())
- Expect(slsession.DoRequestCallCount()).To(Equal(1))
- })
- })
Context("SoftLayer_Hardware_Component_Model::getObject", func() {
It("API Call Test", func() {
_, err := sl_service.GetObject()
diff --git a/services/location.go b/services/location.go
index 35a3aa6..ac725f9 100644
--- a/services/location.go
+++ b/services/location.go
@@ -134,12 +134,6 @@ func (r Location) GetLocationStatus() (resp datatypes.Location_Status, err error
return
}
-// Retrieve [DEPRECATED] - A location's metric tracking object.
-func (r Location) GetMetricTrackingObject() (resp datatypes.Metric_Tracking_Object, err error) {
- err = r.Session.DoRequest("SoftLayer_Location", "getMetricTrackingObject", nil, &r.Options, &resp)
- return
-}
-
// Retrieve
func (r Location) GetNetworkConfigurationAttribute() (resp datatypes.Hardware_Attribute, err error) {
err = r.Session.DoRequest("SoftLayer_Location", "getNetworkConfigurationAttribute", nil, &r.Options, &resp)
@@ -360,12 +354,6 @@ func (r Location_Datacenter) GetLocationStatus() (resp datatypes.Location_Status
return
}
-// Retrieve [DEPRECATED] - A location's metric tracking object.
-func (r Location_Datacenter) GetMetricTrackingObject() (resp datatypes.Metric_Tracking_Object, err error) {
- err = r.Session.DoRequest("SoftLayer_Location_Datacenter", "getMetricTrackingObject", nil, &r.Options, &resp)
- return
-}
-
// Retrieve
func (r Location_Datacenter) GetNetworkConfigurationAttribute() (resp datatypes.Hardware_Attribute, err error) {
err = r.Session.DoRequest("SoftLayer_Location_Datacenter", "getNetworkConfigurationAttribute", nil, &r.Options, &resp)
diff --git a/services/location_test.go b/services/location_test.go
index 614df13..7b64cfd 100644
--- a/services/location_test.go
+++ b/services/location_test.go
@@ -126,13 +126,6 @@ var _ = Describe("Location Tests", func() {
Expect(slsession.DoRequestCallCount()).To(Equal(1))
})
})
- Context("SoftLayer_Location::getMetricTrackingObject", func() {
- It("API Call Test", func() {
- _, err := sl_service.GetMetricTrackingObject()
- Expect(err).To(Succeed())
- Expect(slsession.DoRequestCallCount()).To(Equal(1))
- })
- })
Context("SoftLayer_Location::getNetworkConfigurationAttribute", func() {
It("API Call Test", func() {
_, err := sl_service.GetNetworkConfigurationAttribute()
@@ -373,13 +366,6 @@ var _ = Describe("Location Tests", func() {
Expect(slsession.DoRequestCallCount()).To(Equal(1))
})
})
- Context("SoftLayer_Location_Datacenter::getMetricTrackingObject", func() {
- It("API Call Test", func() {
- _, err := sl_service.GetMetricTrackingObject()
- Expect(err).To(Succeed())
- Expect(slsession.DoRequestCallCount()).To(Equal(1))
- })
- })
Context("SoftLayer_Location_Datacenter::getNetworkConfigurationAttribute", func() {
It("API Call Test", func() {
_, err := sl_service.GetNetworkConfigurationAttribute()
diff --git a/services/network.go b/services/network.go
index 2ec9950..a20f871 100644
--- a/services/network.go
+++ b/services/network.go
@@ -1933,7 +1933,8 @@ func (r Network_Component_Firewall) HasActiveTransactions() (resp bool, err erro
return
}
-// The SoftLayer_Network_Customer_Subnet data type contains general information relating to a single customer subnet (remote).
+// DEPRECATED
+// Deprecated: This function has been marked as deprecated.
type Network_Customer_Subnet struct {
Session session.SLSession
Options sl.Options
@@ -1973,7 +1974,7 @@ func (r Network_Customer_Subnet) Offset(offset int) Network_Customer_Subnet {
return r
}
-// For IPSec network tunnels, customers can create their local subnets using this method. After the customer is created successfully, the customer subnet can then be added to the IPSec network tunnel.
+// DEPRECATED
func (r Network_Customer_Subnet) CreateObject(templateObject *datatypes.Network_Customer_Subnet) (resp datatypes.Network_Customer_Subnet, err error) {
params := []interface{}{
templateObject,
@@ -1988,7 +1989,7 @@ func (r Network_Customer_Subnet) GetIpAddresses() (resp []datatypes.Network_Cust
return
}
-// getObject retrieves the SoftLayer_Network_Customer_Subnet object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Network_Customer_Subnet service. You can only retrieve the subnet whose account matches the account that your portal user is assigned to.
+// DEPRECATED
func (r Network_Customer_Subnet) GetObject() (resp datatypes.Network_Customer_Subnet, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Customer_Subnet", "getObject", nil, &r.Options, &resp)
return
@@ -11793,6 +11794,7 @@ func (r Network_Storage_Iscsi_OS_Type) GetObject() (resp datatypes.Network_Stora
}
// no documentation yet
+// Deprecated: This function has been marked as deprecated.
type Network_Storage_MassDataMigration_CrossRegion_Country_Xref struct {
Session session.SLSession
Options sl.Options
@@ -11833,6 +11835,7 @@ func (r Network_Storage_MassDataMigration_CrossRegion_Country_Xref) Offset(offse
}
// no documentation yet
+// Deprecated: This function has been marked as deprecated.
func (r Network_Storage_MassDataMigration_CrossRegion_Country_Xref) GetAllObjects() (resp []datatypes.Network_Storage_MassDataMigration_CrossRegion_Country_Xref, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Storage_MassDataMigration_CrossRegion_Country_Xref", "getAllObjects", nil, &r.Options, &resp)
return
@@ -11856,7 +11859,8 @@ func (r Network_Storage_MassDataMigration_CrossRegion_Country_Xref) GetObject()
return
}
-// Returns countries assigned to the region having pricing info set.
+// DEPRECATED
+// Deprecated: This function has been marked as deprecated.
func (r Network_Storage_MassDataMigration_CrossRegion_Country_Xref) GetValidCountriesForRegion(locationGroupName *string) (resp []datatypes.Network_Storage_MassDataMigration_CrossRegion_Country_Xref, err error) {
params := []interface{}{
locationGroupName,
@@ -11865,7 +11869,8 @@ func (r Network_Storage_MassDataMigration_CrossRegion_Country_Xref) GetValidCoun
return
}
-// The SoftLayer_Network_Storage_MassDataMigration_Request data type contains information on a single Mass Data Migration request. Creation of these requests is limited to SoftLayer customers through the SoftLayer Customer Portal.
+// DEPRECATED
+// Deprecated: This function has been marked as deprecated.
type Network_Storage_MassDataMigration_Request struct {
Session session.SLSession
Options sl.Options
@@ -11924,12 +11929,14 @@ func (r Network_Storage_MassDataMigration_Request) GetAddress() (resp datatypes.
}
// no documentation yet
+// Deprecated: This function has been marked as deprecated.
func (r Network_Storage_MassDataMigration_Request) GetAllObjects() (resp []datatypes.Network_Storage_MassDataMigration_Request, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Storage_MassDataMigration_Request", "getAllObjects", nil, &r.Options, &resp)
return
}
-// Retrieves a list of all the possible statuses to which a request may be set.
+// DEPRECATED
+// Deprecated: This function has been marked as deprecated.
func (r Network_Storage_MassDataMigration_Request) GetAllRequestStatuses() (resp []datatypes.Network_Storage_MassDataMigration_Request_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Storage_MassDataMigration_Request", "getAllRequestStatuses", nil, &r.Options, &resp)
return
@@ -11989,7 +11996,8 @@ func (r Network_Storage_MassDataMigration_Request) GetObject() (resp datatypes.N
return
}
-// Returns placeholder MDMS requests for any MDMS order pending approval.
+// DEPRECATED
+// Deprecated: This function has been marked as deprecated.
func (r Network_Storage_MassDataMigration_Request) GetPendingRequests() (resp []datatypes.Network_Storage_MassDataMigration_Request, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Storage_MassDataMigration_Request", "getPendingRequests", nil, &r.Options, &resp)
return
@@ -12019,7 +12027,8 @@ func (r Network_Storage_MassDataMigration_Request) GetTickets() (resp []datatype
return
}
-// The SoftLayer_Network_Storage_MassDataMigration_Request_KeyContact data type contains name, email, and phone for key contact at customer location who will handle Mass Data Migration.
+// DEPRECATED
+// Deprecated: This function has been marked as deprecated.
type Network_Storage_MassDataMigration_Request_KeyContact struct {
Session session.SLSession
Options sl.Options
@@ -12077,7 +12086,8 @@ func (r Network_Storage_MassDataMigration_Request_KeyContact) GetRequest() (resp
return
}
-// The SoftLayer_Network_Storage_MassDataMigration_Request_Status data type contains general information relating to the statuses to which a Mass Data Migration Request may be set.
+// DEPRECATED
+// Deprecated: This function has been marked as deprecated.
type Network_Storage_MassDataMigration_Request_Status struct {
Session session.SLSession
Options sl.Options
@@ -12647,13 +12657,13 @@ func (r Network_Subnet) GetRoutableEndpointIpAddresses() (resp []datatypes.Netwo
return
}
-// Retrieve The product and route classifier for this routed subnet, with the following values: PRIMARY, SECONDARY, STATIC_TO_IP, GLOBAL_IP, IPSEC_STATIC_NAT.
+// Retrieve The product and route classifier for this routed subnet, with the following values: PRIMARY, SECONDARY, STATIC_TO_IP, GLOBAL_IP
func (r Network_Subnet) GetRoutingTypeKeyName() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Subnet", "getRoutingTypeKeyName", nil, &r.Options, &resp)
return
}
-// Retrieve The description of the product and route classifier for this routed subnet, with the following values: Primary, Portable, Static, Global, IPSec Static NAT.
+// Retrieve The description of the product and route classifier for this routed subnet, with the following values: Primary, Portable, Static, Global.
func (r Network_Subnet) GetRoutingTypeName() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Subnet", "getRoutingTypeName", nil, &r.Options, &resp)
return
@@ -13146,7 +13156,8 @@ func (r Network_Subnet_IpAddress_Global) Unroute() (resp bool, err error) {
return
}
-// The SoftLayer_Network_Tunnel_Module_Context data type contains general information relating to a single SoftLayer network tunnel. The SoftLayer_Network_Tunnel_Module_Context is useful to gather information such as related customer subnets (remote) and internal subnets (local) associated with the network tunnel as well as other information needed to manage the network tunnel. Account and billing information related to the network tunnel can also be retrieved.
+// DEPRECATED
+// Deprecated: This function has been marked as deprecated.
type Network_Tunnel_Module_Context struct {
Session session.SLSession
Options sl.Options
@@ -13186,9 +13197,7 @@ func (r Network_Tunnel_Module_Context) Offset(offset int) Network_Tunnel_Module_
return r
}
-// Associates a remote subnet to the network tunnel. When a remote subnet is associated, a network tunnel will allow the customer (remote) network to communicate with the private and service subnets on the SoftLayer network which are on the other end of this network tunnel.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for the association described above to take effect.
+// Deprecated
func (r Network_Tunnel_Module_Context) AddCustomerSubnetToNetworkTunnel(subnetId *int) (resp bool, err error) {
params := []interface{}{
subnetId,
@@ -13197,9 +13206,8 @@ func (r Network_Tunnel_Module_Context) AddCustomerSubnetToNetworkTunnel(subnetId
return
}
-// Associates a private subnet to the network tunnel. When a private subnet is associated, the network tunnel will allow the customer (remote) network to access the private subnet.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for the association described above to take effect.
+// Deprecated
+// Deprecated: This function has been marked as deprecated.
func (r Network_Tunnel_Module_Context) AddPrivateSubnetToNetworkTunnel(subnetId *int) (resp bool, err error) {
params := []interface{}{
subnetId,
@@ -13208,9 +13216,7 @@ func (r Network_Tunnel_Module_Context) AddPrivateSubnetToNetworkTunnel(subnetId
return
}
-// Associates a service subnet to the network tunnel. When a service subnet is associated, a network tunnel will allow the customer (remote) network to communicate with the private and service subnets on the SoftLayer network which are on the other end of this network tunnel. Service subnets provide access to SoftLayer services such as the customer management portal and the SoftLayer API.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for the association described above to take effect.
+// Deprecated
func (r Network_Tunnel_Module_Context) AddServiceSubnetToNetworkTunnel(subnetId *int) (resp bool, err error) {
params := []interface{}{
subnetId,
@@ -13219,17 +13225,13 @@ func (r Network_Tunnel_Module_Context) AddServiceSubnetToNetworkTunnel(subnetId
return
}
-// An asynchronous task will be created to apply the IPSec network tunnel's configuration to network devices. During this time, an IPSec network tunnel cannot be modified in anyway. Only one network tunnel configuration task can be created at a time. If a task has already been created and has not completed, a new task cannot be created.
+// Deprecated
func (r Network_Tunnel_Module_Context) ApplyConfigurationsToDevice() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "applyConfigurationsToDevice", nil, &r.Options, &resp)
return
}
-// Create an address translation for a network tunnel.
-//
-// To create an address translation, ip addresses from an assigned /30 static route subnet are used. Address translations deliver packets to a destination ip address that is on a customer (remote) subnet.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for an address translation to be created.
+// Deprecated
func (r Network_Tunnel_Module_Context) CreateAddressTranslation(translation *datatypes.Network_Tunnel_Module_Context_Address_Translation) (resp datatypes.Network_Tunnel_Module_Context_Address_Translation, err error) {
params := []interface{}{
translation,
@@ -13238,9 +13240,7 @@ func (r Network_Tunnel_Module_Context) CreateAddressTranslation(translation *dat
return
}
-// This has the same functionality as the SoftLayer_Network_Tunnel_Module_Context::createAddressTranslation. However, it allows multiple translations to be passed in for creation.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for the address translations to be created.
+// Deprecated
func (r Network_Tunnel_Module_Context) CreateAddressTranslations(translations []datatypes.Network_Tunnel_Module_Context_Address_Translation) (resp []datatypes.Network_Tunnel_Module_Context_Address_Translation, err error) {
params := []interface{}{
translations,
@@ -13249,11 +13249,7 @@ func (r Network_Tunnel_Module_Context) CreateAddressTranslations(translations []
return
}
-// Remove an existing address translation from a network tunnel.
-//
-// Address translations deliver packets to a destination ip address that is on a customer subnet (remote).
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for an address translation to be deleted.
+// Deprecated
func (r Network_Tunnel_Module_Context) DeleteAddressTranslation(translationId *int) (resp bool, err error) {
params := []interface{}{
translationId,
@@ -13262,23 +13258,19 @@ func (r Network_Tunnel_Module_Context) DeleteAddressTranslation(translationId *i
return
}
-// Provides all of the address translation configurations for an IPSec VPN tunnel in a text file
+// Deprecated
func (r Network_Tunnel_Module_Context) DownloadAddressTranslationConfigurations() (resp datatypes.Container_Utility_File_Entity, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "downloadAddressTranslationConfigurations", nil, &r.Options, &resp)
return
}
-// Provides all of the configurations for an IPSec VPN network tunnel in a text file
+// Deprecated
func (r Network_Tunnel_Module_Context) DownloadParameterConfigurations() (resp datatypes.Container_Utility_File_Entity, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "downloadParameterConfigurations", nil, &r.Options, &resp)
return
}
-// Edit name, source (SoftLayer IP) ip address and/or destination (Customer IP) ip address for an existing address translation for a network tunnel.
-//
-// Address translations deliver packets to a destination ip address that is on a customer (remote) subnet.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for an address translation to be created.
+// Deprecated
func (r Network_Tunnel_Module_Context) EditAddressTranslation(translation *datatypes.Network_Tunnel_Module_Context_Address_Translation) (resp datatypes.Network_Tunnel_Module_Context_Address_Translation, err error) {
params := []interface{}{
translation,
@@ -13287,11 +13279,7 @@ func (r Network_Tunnel_Module_Context) EditAddressTranslation(translation *datat
return
}
-// Edit name, source (SoftLayer IP) ip address and/or destination (Customer IP) ip address for existing address translations for a network tunnel.
-//
-// Address translations deliver packets to a destination ip address that is on a customer (remote) subnet.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for an address translation to be modified.
+// Deprecated
func (r Network_Tunnel_Module_Context) EditAddressTranslations(translations []datatypes.Network_Tunnel_Module_Context_Address_Translation) (resp []datatypes.Network_Tunnel_Module_Context_Address_Translation, err error) {
params := []interface{}{
translations,
@@ -13300,53 +13288,7 @@ func (r Network_Tunnel_Module_Context) EditAddressTranslations(translations []da
return
}
-// Negotiation parameters for both phases one and two are editable. Here are the phase one and two parameters that can modified:
-//
-// *Phase One
-// **Authentication
-// ***Default value is set to MD5.
-// ***Valid Options are: MD5, SHA1, SHA256.
-// **Encryption
-// ***Default value is set to 3DES.
-// ***Valid Options are: DES, 3DES, AES128, AES192, AES256.
-// **Diffie-Hellman Group
-// ***Default value is set to 2.
-// ***Valid Options are: 0 (None), 1, 2, 5.
-// **Keylife
-// ***Default value is set to 3600.
-// ***Limits are: MIN = 120, MAX = 172800
-// **Preshared Key
-// *Phase Two
-// **Authentication
-// ***Default value is set to MD5.
-// ***Valid Options are: MD5, SHA1, SHA256.
-// **Encryption
-// ***Default value is set to 3DES.
-// ***Valid Options are: DES, 3DES, AES128, AES192, AES256.
-// **Diffie-Hellman Group
-// ***Default value is set to 2.
-// ***Valid Options are: 0 (None), 1, 2, 5.
-// **Keylife
-// ***Default value is set to 28800.
-// ***Limits are: MIN = 120, MAX = 172800
-// **Perfect Forward Secrecy
-// ***Valid Options are: Off = 0, On = 1.
-// ***NOTE: If perfect forward secrecy is turned On (set to 1), then a phase 2 diffie-hellman group is required.
-//
-// The remote peer address for the network tunnel may also be modified if needed. Invalid options will not be accepted and will cause an exception to be thrown. There are properties that provide valid options and limits for each negotiation parameter. Those properties are as follows:
-// * encryptionDefault
-// * encryptionOptions
-// * authenticationDefault
-// * authenticationOptions
-// * diffieHellmanGroupDefault
-// * diffieHellmanGroupOptions
-// * phaseOneKeylifeDefault
-// * phaseTwoKeylifeDefault
-// * keylifeLimits
-//
-// Configurations cannot be modified if a network tunnel's requires complex manual setups/configuration modifications by the SoftLayer Network department. If the former is required, the configurations for the network tunnel will be locked until the manual configurations are complete. A network tunnel's configurations are applied via a transaction. If a network tunnel configuration change transaction is currently running, the network tunnel's setting cannot be modified until the running transaction completes.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for the modifications made to take effect.
+// Deprecated
func (r Network_Tunnel_Module_Context) EditObject(templateObject *datatypes.Network_Tunnel_Module_Context) (resp bool, err error) {
params := []interface{}{
templateObject,
@@ -13367,11 +13309,7 @@ func (r Network_Tunnel_Module_Context) GetActiveTransaction() (resp datatypes.Pr
return
}
-// The address translations will be returned. All the translations will be formatted so that the configurations can be copied into a host file.
-//
-// Format:
-//
-// {address translation SoftLayer IP Address} {address translation name}
+// Deprecated
func (r Network_Tunnel_Module_Context) GetAddressTranslationConfigurations() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getAddressTranslationConfigurations", nil, &r.Options, &resp)
return
@@ -13389,18 +13327,13 @@ func (r Network_Tunnel_Module_Context) GetAllAvailableServiceSubnets() (resp []d
return
}
-// The default authentication type used for both phases of the negotiation process. The default value is set to MD5.
+// Deprecated
func (r Network_Tunnel_Module_Context) GetAuthenticationDefault() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getAuthenticationDefault", nil, &r.Options, &resp)
return
}
-// Authentication options available for both phases of the negotiation process.
-//
-// The authentication options are as follows:
-// * MD5
-// * SHA1
-// * SHA256
+// Deprecated
func (r Network_Tunnel_Module_Context) GetAuthenticationOptions() (resp []string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getAuthenticationOptions", nil, &r.Options, &resp)
return
@@ -13424,38 +13357,25 @@ func (r Network_Tunnel_Module_Context) GetDatacenter() (resp datatypes.Location,
return
}
-// The default Diffie-Hellman group used for both phases of the negotiation process. The default value is set to 2.
+// Deprecated
func (r Network_Tunnel_Module_Context) GetDiffieHellmanGroupDefault() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getDiffieHellmanGroupDefault", nil, &r.Options, &resp)
return
}
-// The Diffie-Hellman group options used for both phases of the negotiation process.
-//
-// The diffie-hellman group options are as follows:
-// * 0 (None)
-// * 1
-// * 2
-// * 5
+// Deprecated
func (r Network_Tunnel_Module_Context) GetDiffieHellmanGroupOptions() (resp []int, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getDiffieHellmanGroupOptions", nil, &r.Options, &resp)
return
}
-// The default encryption type used for both phases of the negotiation process. The default value is set to 3DES.
+// Deprecated
func (r Network_Tunnel_Module_Context) GetEncryptionDefault() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getEncryptionDefault", nil, &r.Options, &resp)
return
}
-// Encryption options available for both phases of the negotiation process.
-//
-// The valid encryption options are as follows:
-// * DES
-// * 3DES
-// * AES128
-// * AES192
-// * AES256
+// Deprecated
func (r Network_Tunnel_Module_Context) GetEncryptionOptions() (resp []string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getEncryptionOptions", nil, &r.Options, &resp)
return
@@ -13467,31 +13387,31 @@ func (r Network_Tunnel_Module_Context) GetInternalSubnets() (resp []datatypes.Ne
return
}
-// The keylife limits. Keylife max limit is set to 120. Keylife min limit is set to 172800.
+// Deprecated
func (r Network_Tunnel_Module_Context) GetKeylifeLimits() (resp []int, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getKeylifeLimits", nil, &r.Options, &resp)
return
}
-// getObject retrieves the SoftLayer_Network_Tunnel_Module_Context object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Network_Tunnel_Module_Context service. The IPSec network tunnel will be returned if it is associated with the account and the user has proper permission to manage network tunnels.
+// DEPRECATED
func (r Network_Tunnel_Module_Context) GetObject() (resp datatypes.Network_Tunnel_Module_Context, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getObject", nil, &r.Options, &resp)
return
}
-// All of the IPSec VPN tunnel's configurations will be returned. It will list all of phase one and two negotiation parameters. Both remote and local subnets will be provided as well. This is useful when the configurations need to be passed on to another team and/or company for internal network configuration.
+// Deprecated
func (r Network_Tunnel_Module_Context) GetParameterConfigurationsForCustomerView() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getParameterConfigurationsForCustomerView", nil, &r.Options, &resp)
return
}
-// The default phase 1 keylife used if a value is not provided. The default value is set to 3600.
+// Deprecated
func (r Network_Tunnel_Module_Context) GetPhaseOneKeylifeDefault() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getPhaseOneKeylifeDefault", nil, &r.Options, &resp)
return
}
-// The default phase 2 keylife used if a value is not provided. The default value is set to 28800.
+// Deprecated
func (r Network_Tunnel_Module_Context) GetPhaseTwoKeylifeDefault() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Network_Tunnel_Module_Context", "getPhaseTwoKeylifeDefault", nil, &r.Options, &resp)
return
@@ -13515,9 +13435,7 @@ func (r Network_Tunnel_Module_Context) GetTransactionHistory() (resp []datatypes
return
}
-// Disassociate a customer subnet (remote) from a network tunnel. When a remote subnet is disassociated, that subnet will not able to communicate with private and service subnets on the SoftLayer network.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for the disassociation described above to take effect.
+// Deprecated
func (r Network_Tunnel_Module_Context) RemoveCustomerSubnetFromNetworkTunnel(subnetId *int) (resp bool, err error) {
params := []interface{}{
subnetId,
@@ -13526,9 +13444,7 @@ func (r Network_Tunnel_Module_Context) RemoveCustomerSubnetFromNetworkTunnel(sub
return
}
-// Disassociate a private subnet from a network tunnel. When a private subnet is disassociated, the customer (remote) subnet on the other end of the tunnel will not able to communicate with the private subnet that was just disassociated.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for the disassociation described above to take effect.
+// Deprecated
func (r Network_Tunnel_Module_Context) RemovePrivateSubnetFromNetworkTunnel(subnetId *int) (resp bool, err error) {
params := []interface{}{
subnetId,
@@ -13537,9 +13453,7 @@ func (r Network_Tunnel_Module_Context) RemovePrivateSubnetFromNetworkTunnel(subn
return
}
-// Disassociate a service subnet from a network tunnel. When a service subnet is disassociated, that customer (remote) subnet on the other end of the network tunnel will not able to communicate with that service subnet on the SoftLayer network.
-//
-// NOTE: A network tunnel's configurations must be applied to the network device in order for the disassociation described above to take effect.
+// Deprecated
func (r Network_Tunnel_Module_Context) RemoveServiceSubnetFromNetworkTunnel(subnetId *int) (resp bool, err error) {
params := []interface{}{
subnetId,
diff --git a/services/product.go b/services/product.go
index 9152822..cb7fd77 100644
--- a/services/product.go
+++ b/services/product.go
@@ -332,6 +332,12 @@ func (r Product_Item) GetSpeedSelectServerFlag() (resp bool, err error) {
return
}
+// Retrieve The supported settings profiles for a server product.
+func (r Product_Item) GetSupportedBiosSettingsProfiles() (resp []string, err error) {
+ err = r.Session.DoRequest("SoftLayer_Product_Item", "getSupportedBiosSettingsProfiles", nil, &r.Options, &resp)
+ return
+}
+
// Retrieve An item's tax category, if applicable.
func (r Product_Item) GetTaxCategory() (resp datatypes.Product_Item_Tax_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Product_Item", "getTaxCategory", nil, &r.Options, &resp)
diff --git a/services/product_test.go b/services/product_test.go
index e19b0cf..64bb8f7 100644
--- a/services/product_test.go
+++ b/services/product_test.go
@@ -357,6 +357,13 @@ var _ = Describe("Product Tests", func() {
Expect(slsession.DoRequestCallCount()).To(Equal(1))
})
})
+ Context("SoftLayer_Product_Item::getSupportedBiosSettingsProfiles", func() {
+ It("API Call Test", func() {
+ _, err := sl_service.GetSupportedBiosSettingsProfiles()
+ Expect(err).To(Succeed())
+ Expect(slsession.DoRequestCallCount()).To(Equal(1))
+ })
+ })
Context("SoftLayer_Product_Item::getTaxCategory", func() {
It("API Call Test", func() {
_, err := sl_service.GetTaxCategory()
diff --git a/services/virtual.go b/services/virtual.go
index fdddebd..9960a1b 100644
--- a/services/virtual.go
+++ b/services/virtual.go
@@ -1182,27 +1182,6 @@ func (r Virtual_Guest) GetCpuMetricDataByDate(startDateTime *datatypes.Time, end
return
}
-// Use this method when needing a cpu usage image for a single guest. It will gather the correct input parameters for the generic graphing utility automatically based on the snapshot specified.
-func (r Virtual_Guest) GetCpuMetricImage(snapshotRange *string, dateSpecified *datatypes.Time) (resp datatypes.Container_Bandwidth_GraphOutputs, err error) {
- params := []interface{}{
- snapshotRange,
- dateSpecified,
- }
- err = r.Session.DoRequest("SoftLayer_Virtual_Guest", "getCpuMetricImage", params, &r.Options, &resp)
- return
-}
-
-// Use this method when needing a CPU usage image for a single guest. It will gather the correct input parameters for the generic graphing utility based on the date ranges
-func (r Virtual_Guest) GetCpuMetricImageByDate(startDateTime *datatypes.Time, endDateTime *datatypes.Time, cpuIndexes []int) (resp datatypes.Container_Bandwidth_GraphOutputs, err error) {
- params := []interface{}{
- startDateTime,
- endDateTime,
- cpuIndexes,
- }
- err = r.Session.DoRequest("SoftLayer_Virtual_Guest", "getCpuMetricImageByDate", params, &r.Options, &resp)
- return
-}
-
// There are many options that may be provided while ordering a computing instance, this method can be used to determine what these options are.
//
// Detailed information on the return value can be found on the data type page for [[SoftLayer_Container_Virtual_Guest_Configuration (type)]].
@@ -1424,26 +1403,6 @@ func (r Virtual_Guest) GetMemoryMetricDataByDate(startDateTime *datatypes.Time,
return
}
-// Use this method when needing a memory usage image for a single guest. It will gather the correct input parameters for the generic graphing utility automatically based on the snapshot specified.
-func (r Virtual_Guest) GetMemoryMetricImage(snapshotRange *string, dateSpecified *datatypes.Time) (resp datatypes.Container_Bandwidth_GraphOutputs, err error) {
- params := []interface{}{
- snapshotRange,
- dateSpecified,
- }
- err = r.Session.DoRequest("SoftLayer_Virtual_Guest", "getMemoryMetricImage", params, &r.Options, &resp)
- return
-}
-
-// Use this method when needing a image displaying the amount of memory used over time for a single computing instance. It will gather the correct input parameters for the generic graphing utility based on the date ranges
-func (r Virtual_Guest) GetMemoryMetricImageByDate(startDateTime *datatypes.Time, endDateTime *datatypes.Time) (resp datatypes.Container_Bandwidth_GraphOutputs, err error) {
- params := []interface{}{
- startDateTime,
- endDateTime,
- }
- err = r.Session.DoRequest("SoftLayer_Virtual_Guest", "getMemoryMetricImageByDate", params, &r.Options, &resp)
- return
-}
-
// Retrieve A guest's metric tracking object.
func (r Virtual_Guest) GetMetricTrackingObject() (resp datatypes.Metric_Tracking_Object, err error) {
err = r.Session.DoRequest("SoftLayer_Virtual_Guest", "getMetricTrackingObject", nil, &r.Options, &resp)
@@ -2384,15 +2343,6 @@ func (r Virtual_Guest_Block_Device_Template_Group) GetRegions() (resp []datatype
return
}
-// no documentation yet
-func (r Virtual_Guest_Block_Device_Template_Group) GetRiasAccount(secret *string) (resp datatypes.Container_Virtual_Guest_Block_Device_Template_Group_RiasAccount, err error) {
- params := []interface{}{
- secret,
- }
- err = r.Session.DoRequest("SoftLayer_Virtual_Guest_Block_Device_Template_Group", "getRiasAccount", params, &r.Options, &resp)
- return
-}
-
// Retrieve The ssh keys to be implemented on the server when provisioned or reloaded from an image template group.
func (r Virtual_Guest_Block_Device_Template_Group) GetSshKeys() (resp []datatypes.Security_Ssh_Key, err error) {
err = r.Session.DoRequest("SoftLayer_Virtual_Guest_Block_Device_Template_Group", "getSshKeys", nil, &r.Options, &resp)
@@ -2891,12 +2841,6 @@ func (r Virtual_Host) GetHardware() (resp datatypes.Hardware_Server, err error)
return
}
-// Retrieve [DEPRECATED] - The metric tracking object for this virtual host.
-func (r Virtual_Host) GetMetricTrackingObject() (resp datatypes.Metric_Tracking_Object, err error) {
- err = r.Session.DoRequest("SoftLayer_Virtual_Host", "getMetricTrackingObject", nil, &r.Options, &resp)
- return
-}
-
// no documentation yet
func (r Virtual_Host) GetObject() (resp datatypes.Virtual_Host, err error) {
err = r.Session.DoRequest("SoftLayer_Virtual_Host", "getObject", nil, &r.Options, &resp)
diff --git a/services/virtual_test.go b/services/virtual_test.go
index b536602..971c54b 100644
--- a/services/virtual_test.go
+++ b/services/virtual_test.go
@@ -872,20 +872,6 @@ var _ = Describe("Virtual Tests", func() {
Expect(slsession.DoRequestCallCount()).To(Equal(1))
})
})
- Context("SoftLayer_Virtual_Guest::getCpuMetricImage", func() {
- It("API Call Test", func() {
- _, err := sl_service.GetCpuMetricImage(nil, nil)
- Expect(err).To(Succeed())
- Expect(slsession.DoRequestCallCount()).To(Equal(1))
- })
- })
- Context("SoftLayer_Virtual_Guest::getCpuMetricImageByDate", func() {
- It("API Call Test", func() {
- _, err := sl_service.GetCpuMetricImageByDate(nil, nil, nil)
- Expect(err).To(Succeed())
- Expect(slsession.DoRequestCallCount()).To(Equal(1))
- })
- })
Context("SoftLayer_Virtual_Guest::getCreateObjectOptions", func() {
It("API Call Test", func() {
_, err := sl_service.GetCreateObjectOptions()
@@ -1131,20 +1117,6 @@ var _ = Describe("Virtual Tests", func() {
Expect(slsession.DoRequestCallCount()).To(Equal(1))
})
})
- Context("SoftLayer_Virtual_Guest::getMemoryMetricImage", func() {
- It("API Call Test", func() {
- _, err := sl_service.GetMemoryMetricImage(nil, nil)
- Expect(err).To(Succeed())
- Expect(slsession.DoRequestCallCount()).To(Equal(1))
- })
- })
- Context("SoftLayer_Virtual_Guest::getMemoryMetricImageByDate", func() {
- It("API Call Test", func() {
- _, err := sl_service.GetMemoryMetricImageByDate(nil, nil)
- Expect(err).To(Succeed())
- Expect(slsession.DoRequestCallCount()).To(Equal(1))
- })
- })
Context("SoftLayer_Virtual_Guest::getMetricTrackingObject", func() {
It("API Call Test", func() {
_, err := sl_service.GetMetricTrackingObject()
@@ -2099,13 +2071,6 @@ var _ = Describe("Virtual Tests", func() {
Expect(slsession.DoRequestCallCount()).To(Equal(1))
})
})
- Context("SoftLayer_Virtual_Guest_Block_Device_Template_Group::getRiasAccount", func() {
- It("API Call Test", func() {
- _, err := sl_service.GetRiasAccount(nil)
- Expect(err).To(Succeed())
- Expect(slsession.DoRequestCallCount()).To(Equal(1))
- })
- })
Context("SoftLayer_Virtual_Guest_Block_Device_Template_Group::getSshKeys", func() {
It("API Call Test", func() {
_, err := sl_service.GetSshKeys()
@@ -2583,13 +2548,6 @@ var _ = Describe("Virtual Tests", func() {
Expect(slsession.DoRequestCallCount()).To(Equal(1))
})
})
- Context("SoftLayer_Virtual_Host::getMetricTrackingObject", func() {
- It("API Call Test", func() {
- _, err := sl_service.GetMetricTrackingObject()
- Expect(err).To(Succeed())
- Expect(slsession.DoRequestCallCount()).To(Equal(1))
- })
- })
Context("SoftLayer_Virtual_Host::getObject", func() {
It("API Call Test", func() {
_, err := sl_service.GetObject()