ionoscloud 5.1.2 → 6.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (601) hide show
  1. checksums.yaml +4 -4
  2. data/docs/{models/AttachedVolumes.md → AttachedVolumes.md} +1 -1
  3. data/docs/{models/BackupUnit.md → BackupUnit.md} +0 -0
  4. data/docs/{models/BackupUnitProperties.md → BackupUnitProperties.md} +0 -0
  5. data/docs/{models/BackupUnitSSO.md → BackupUnitSSO.md} +0 -0
  6. data/docs/{models/BackupUnits.md → BackupUnits.md} +0 -0
  7. data/docs/{api/BackupUnitApi.md → BackupUnitsApi.md} +42 -42
  8. data/docs/{models/BalancedNics.md → BalancedNics.md} +0 -0
  9. data/docs/CHANGELOG.md +1 -0
  10. data/docs/{models/Cdroms.md → Cdroms.md} +1 -1
  11. data/docs/{models/ConnectableDatacenter.md → ConnectableDatacenter.md} +0 -0
  12. data/docs/{models/Contract.md → Contract.md} +0 -0
  13. data/docs/{models/ContractProperties.md → ContractProperties.md} +0 -0
  14. data/docs/{api/ContractApi.md → ContractResourcesApi.md} +11 -11
  15. data/docs/Contracts.md +24 -0
  16. data/docs/CpuArchitectureProperties.md +24 -0
  17. data/docs/{models/DataCenterEntities.md → DataCenterEntities.md} +5 -1
  18. data/docs/{api/DataCenterApi.md → DataCentersApi.md} +31 -31
  19. data/docs/{models/Datacenter.md → Datacenter.md} +0 -0
  20. data/docs/{models/DatacenterElementMetadata.md → DatacenterElementMetadata.md} +0 -0
  21. data/docs/{models/DatacenterProperties.md → DatacenterProperties.md} +3 -1
  22. data/docs/{models/Datacenters.md → Datacenters.md} +0 -0
  23. data/docs/{api/DefaultApi.md → DefaultApi.md} +2 -13
  24. data/docs/{models/Error.md → Error.md} +0 -0
  25. data/docs/{models/ErrorMessage.md → ErrorMessage.md} +0 -0
  26. data/docs/{models/FirewallRule.md → FirewallRule.md} +0 -0
  27. data/docs/{models/FirewallRules.md → FirewallRules.md} +0 -0
  28. data/docs/FirewallRulesApi.md +553 -0
  29. data/docs/{models/FirewallruleProperties.md → FirewallruleProperties.md} +3 -1
  30. data/docs/FlowLog.md +26 -0
  31. data/docs/FlowLogProperties.md +24 -0
  32. data/docs/FlowLogPut.md +24 -0
  33. data/docs/FlowLogs.md +30 -0
  34. data/docs/FlowLogsApi.md +541 -0
  35. data/docs/{models/Group.md → Group.md} +1 -1
  36. data/docs/{models/GroupEntities.md → GroupEntities.md} +0 -0
  37. data/docs/{models/GroupMembers.md → GroupMembers.md} +1 -1
  38. data/docs/{models/GroupProperties.md → GroupProperties.md} +5 -1
  39. data/docs/{models/GroupShare.md → GroupShare.md} +1 -1
  40. data/docs/{models/GroupShareProperties.md → GroupShareProperties.md} +0 -0
  41. data/docs/{models/GroupShares.md → GroupShares.md} +1 -1
  42. data/docs/{models/GroupUsers.md → GroupUsers.md} +1 -1
  43. data/docs/{models/Groups.md → Groups.md} +1 -1
  44. data/docs/{api/IPBlocksApi.md → IPBlocksApi.md} +7 -11
  45. data/docs/{models/IPFailover.md → IPFailover.md} +0 -0
  46. data/docs/{models/Image.md → Image.md} +0 -0
  47. data/docs/{models/ImageProperties.md → ImageProperties.md} +1 -5
  48. data/docs/{models/Images.md → Images.md} +0 -0
  49. data/docs/{api/ImageApi.md → ImagesApi.md} +25 -25
  50. data/docs/{models/Info.md → Info.md} +0 -0
  51. data/docs/{models/IpBlock.md → IpBlock.md} +0 -0
  52. data/docs/{models/IpBlockProperties.md → IpBlockProperties.md} +1 -1
  53. data/docs/IpBlocks.md +24 -0
  54. data/docs/{models/IpConsumer.md → IpConsumer.md} +1 -5
  55. data/docs/{api/KubernetesApi.md → KubernetesApi.md} +17 -93
  56. data/docs/{models/KubernetesAutoScaling.md → KubernetesAutoScaling.md} +2 -2
  57. data/docs/{models/KubernetesCluster.md → KubernetesCluster.md} +0 -0
  58. data/docs/{models/KubernetesClusterEntities.md → KubernetesClusterEntities.md} +0 -0
  59. data/docs/{models/KubernetesClusterForPost.md → KubernetesClusterForPost.md} +0 -0
  60. data/docs/{models/KubernetesClusterForPut.md → KubernetesClusterForPut.md} +0 -0
  61. data/docs/{models/KubernetesClusterProperties.md → KubernetesClusterProperties.md} +4 -4
  62. data/docs/{models/KubernetesClusterPropertiesForPost.md → KubernetesClusterPropertiesForPost.md} +4 -4
  63. data/docs/{models/KubernetesClusterPropertiesForPut.md → KubernetesClusterPropertiesForPut.md} +1 -5
  64. data/docs/{models/KubernetesClusters.md → KubernetesClusters.md} +1 -1
  65. data/docs/{models/KubernetesMaintenanceWindow.md → KubernetesMaintenanceWindow.md} +2 -2
  66. data/docs/{models/KubernetesNode.md → KubernetesNode.md} +0 -0
  67. data/docs/{models/KubernetesNodeMetadata.md → KubernetesNodeMetadata.md} +0 -0
  68. data/docs/{models/KubernetesNodePool.md → KubernetesNodePool.md} +0 -0
  69. data/docs/{models/KubernetesNodePoolForPost.md → KubernetesNodePoolForPost.md} +0 -0
  70. data/docs/{models/KubernetesNodePoolForPut.md → KubernetesNodePoolForPut.md} +0 -0
  71. data/docs/KubernetesNodePoolLan.md +22 -0
  72. data/docs/KubernetesNodePoolLanRoutes.md +20 -0
  73. data/docs/{models/KubernetesNodePoolProperties.md → KubernetesNodePoolProperties.md} +2 -1
  74. data/docs/{models/KubernetesNodePoolPropertiesForPost.md → KubernetesNodePoolPropertiesForPost.md} +2 -1
  75. data/docs/{models/KubernetesNodePoolPropertiesForPut.md → KubernetesNodePoolPropertiesForPut.md} +0 -0
  76. data/docs/{models/KubernetesNodePools.md → KubernetesNodePools.md} +1 -1
  77. data/docs/{models/KubernetesNodeProperties.md → KubernetesNodeProperties.md} +0 -0
  78. data/docs/{models/KubernetesNodes.md → KubernetesNodes.md} +0 -0
  79. data/docs/{models/Label.md → Label.md} +0 -0
  80. data/docs/{models/LabelProperties.md → LabelProperties.md} +0 -0
  81. data/docs/{models/LabelResource.md → LabelResource.md} +0 -0
  82. data/docs/{models/LabelResourceProperties.md → LabelResourceProperties.md} +0 -0
  83. data/docs/{models/LabelResources.md → LabelResources.md} +0 -0
  84. data/docs/{models/Labels.md → Labels.md} +0 -0
  85. data/docs/{api/LabelApi.md → LabelsApi.md} +128 -132
  86. data/docs/{models/Lan.md → Lan.md} +0 -0
  87. data/docs/{models/LanEntities.md → LanEntities.md} +0 -0
  88. data/docs/{models/LanNics.md → LanNics.md} +0 -0
  89. data/docs/{models/LanPost.md → LanPost.md} +0 -0
  90. data/docs/{models/LanProperties.md → LanProperties.md} +0 -0
  91. data/docs/{models/LanPropertiesPost.md → LanPropertiesPost.md} +0 -0
  92. data/docs/{models/Lans.md → Lans.md} +1 -1
  93. data/docs/{api/LanApi.md → LansApi.md} +55 -55
  94. data/docs/{api/LoadBalancerApi.md → LoadBalancersApi.md} +73 -69
  95. data/docs/{models/Loadbalancer.md → Loadbalancer.md} +0 -0
  96. data/docs/{models/LoadbalancerEntities.md → LoadbalancerEntities.md} +0 -0
  97. data/docs/{models/LoadbalancerProperties.md → LoadbalancerProperties.md} +0 -0
  98. data/docs/{models/Loadbalancers.md → Loadbalancers.md} +0 -0
  99. data/docs/{models/Location.md → Location.md} +0 -0
  100. data/docs/{models/LocationProperties.md → LocationProperties.md} +3 -1
  101. data/docs/{models/Locations.md → Locations.md} +0 -0
  102. data/docs/{api/LocationApi.md → LocationsApi.md} +14 -14
  103. data/docs/NATGatewaysApi.md +1581 -0
  104. data/docs/NatGateway.md +28 -0
  105. data/docs/NatGatewayEntities.md +20 -0
  106. data/docs/NatGatewayLanProperties.md +20 -0
  107. data/docs/NatGatewayProperties.md +22 -0
  108. data/docs/NatGatewayPut.md +24 -0
  109. data/docs/NatGatewayRule.md +26 -0
  110. data/docs/NatGatewayRuleProperties.md +30 -0
  111. data/docs/{models/S3Bucket.md → NatGatewayRuleProtocol.md} +2 -5
  112. data/docs/NatGatewayRulePut.md +24 -0
  113. data/docs/NatGatewayRuleType.md +15 -0
  114. data/docs/NatGatewayRules.md +24 -0
  115. data/docs/NatGateways.md +30 -0
  116. data/docs/NetworkInterfacesApi.md +541 -0
  117. data/docs/NetworkLoadBalancer.md +28 -0
  118. data/docs/NetworkLoadBalancerEntities.md +20 -0
  119. data/docs/NetworkLoadBalancerForwardingRule.md +26 -0
  120. data/docs/NetworkLoadBalancerForwardingRuleHealthCheck.md +26 -0
  121. data/docs/NetworkLoadBalancerForwardingRuleProperties.md +30 -0
  122. data/docs/NetworkLoadBalancerForwardingRulePut.md +24 -0
  123. data/docs/NetworkLoadBalancerForwardingRuleTarget.md +24 -0
  124. data/docs/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +22 -0
  125. data/docs/NetworkLoadBalancerForwardingRules.md +30 -0
  126. data/docs/NetworkLoadBalancerProperties.md +26 -0
  127. data/docs/NetworkLoadBalancerPut.md +24 -0
  128. data/docs/NetworkLoadBalancers.md +30 -0
  129. data/docs/NetworkLoadBalancersApi.md +1593 -0
  130. data/docs/{models/Nic.md → Nic.md} +0 -0
  131. data/docs/{models/NicEntities.md → NicEntities.md} +2 -0
  132. data/docs/{models/NicProperties.md → NicProperties.md} +6 -2
  133. data/docs/NicPut.md +24 -0
  134. data/docs/{models/Nics.md → Nics.md} +1 -1
  135. data/docs/{models/NoStateMetaData.md → NoStateMetaData.md} +0 -0
  136. data/docs/{models/PaginationLinks.md → PaginationLinks.md} +0 -0
  137. data/docs/{models/Peer.md → Peer.md} +0 -0
  138. data/docs/{models/PrivateCrossConnect.md → PrivateCrossConnect.md} +0 -0
  139. data/docs/{models/PrivateCrossConnectProperties.md → PrivateCrossConnectProperties.md} +0 -0
  140. data/docs/{models/PrivateCrossConnects.md → PrivateCrossConnects.md} +0 -0
  141. data/docs/{api/PrivateCrossConnectApi.md → PrivateCrossConnectsApi.md} +34 -30
  142. data/docs/README.md +4 -4
  143. data/docs/RemoteConsoleUrl.md +18 -0
  144. data/docs/{models/Request.md → Request.md} +0 -0
  145. data/docs/{models/RequestMetadata.md → RequestMetadata.md} +0 -0
  146. data/docs/{models/RequestProperties.md → RequestProperties.md} +0 -0
  147. data/docs/{models/RequestStatus.md → RequestStatus.md} +0 -0
  148. data/docs/{models/RequestStatusMetadata.md → RequestStatusMetadata.md} +0 -0
  149. data/docs/{models/RequestTarget.md → RequestTarget.md} +0 -0
  150. data/docs/{models/Requests.md → Requests.md} +1 -1
  151. data/docs/{api/RequestApi.md → RequestsApi.md} +24 -40
  152. data/docs/{models/Resource.md → Resource.md} +1 -1
  153. data/docs/{models/ResourceEntities.md → ResourceEntities.md} +0 -0
  154. data/docs/{models/ResourceGroups.md → ResourceGroups.md} +1 -1
  155. data/docs/{models/ResourceLimits.md → ResourceLimits.md} +11 -1
  156. data/docs/{models/ResourceProperties.md → ResourceProperties.md} +0 -0
  157. data/docs/{models/ResourceReference.md → ResourceReference.md} +0 -0
  158. data/docs/{models/Resources.md → Resources.md} +1 -1
  159. data/docs/{models/ResourcesUsers.md → ResourcesUsers.md} +1 -1
  160. data/docs/{models/S3Key.md → S3Key.md} +1 -1
  161. data/docs/{models/S3KeyMetadata.md → S3KeyMetadata.md} +0 -0
  162. data/docs/{models/S3KeyProperties.md → S3KeyProperties.md} +0 -0
  163. data/docs/{models/S3Keys.md → S3Keys.md} +1 -1
  164. data/docs/{models/S3ObjectStorageSSO.md → S3ObjectStorageSSO.md} +0 -0
  165. data/docs/{models/Server.md → Server.md} +0 -0
  166. data/docs/{models/ServerEntities.md → ServerEntities.md} +0 -0
  167. data/docs/{models/ServerProperties.md → ServerProperties.md} +6 -2
  168. data/docs/{models/Servers.md → Servers.md} +0 -0
  169. data/docs/{api/ServerApi.md → ServersApi.md} +430 -86
  170. data/docs/{models/Snapshot.md → Snapshot.md} +0 -0
  171. data/docs/{models/SnapshotProperties.md → SnapshotProperties.md} +0 -0
  172. data/docs/{models/Snapshots.md → Snapshots.md} +0 -0
  173. data/docs/{api/SnapshotApi.md → SnapshotsApi.md} +28 -28
  174. data/docs/TargetPortRange.md +20 -0
  175. data/docs/Template.md +26 -0
  176. data/docs/TemplateProperties.md +24 -0
  177. data/docs/Templates.md +24 -0
  178. data/docs/TemplatesApi.md +165 -0
  179. data/docs/Token.md +18 -0
  180. data/docs/{models/Type.md → Type.md} +0 -0
  181. data/docs/{models/User.md → User.md} +0 -0
  182. data/docs/{api/UserManagementApi.md → UserManagementApi.md} +12 -526
  183. data/docs/{models/UserMetadata.md → UserMetadata.md} +0 -0
  184. data/docs/{models/UserPost.md → UserPost.md} +0 -0
  185. data/docs/{models/UserProperties.md → UserProperties.md} +0 -0
  186. data/docs/{models/UserPropertiesPost.md → UserPropertiesPost.md} +0 -0
  187. data/docs/{models/UserPropertiesPut.md → UserPropertiesPut.md} +0 -0
  188. data/docs/{models/UserPut.md → UserPut.md} +0 -0
  189. data/docs/UserS3KeysApi.md +517 -0
  190. data/docs/Users.md +24 -0
  191. data/docs/{models/UsersEntities.md → UsersEntities.md} +0 -0
  192. data/docs/{models/Volume.md → Volume.md} +0 -0
  193. data/docs/{models/VolumeProperties.md → VolumeProperties.md} +5 -5
  194. data/docs/{models/Volumes.md → Volumes.md} +0 -0
  195. data/docs/{api/VolumeApi.md → VolumesApi.md} +42 -42
  196. data/docs/summary.md +386 -159
  197. data/ionoscloud.gemspec +2 -2
  198. data/lib/ionoscloud/api/_api.rb +3 -3
  199. data/lib/ionoscloud/api/{backup_unit_api.rb → backup_units_api.rb} +56 -56
  200. data/lib/ionoscloud/api/{contract_api.rb → contract_resources_api.rb} +13 -13
  201. data/lib/ionoscloud/api/{data_center_api.rb → data_centers_api.rb} +49 -49
  202. data/lib/ionoscloud/api/firewall_rules_api.rb +640 -0
  203. data/lib/ionoscloud/api/flow_logs_api.rb +622 -0
  204. data/lib/ionoscloud/api/{image_api.rb → images_api.rb} +36 -36
  205. data/lib/ionoscloud/api/ip_blocks_api.rb +12 -30
  206. data/lib/ionoscloud/api/kubernetes_api.rb +17 -80
  207. data/lib/ionoscloud/api/{label_api.rb → labels_api.rb} +245 -263
  208. data/lib/ionoscloud/api/{lan_api.rb → lans_api.rb} +101 -101
  209. data/lib/ionoscloud/api/{load_balancer_api.rb → load_balancers_api.rb} +144 -126
  210. data/lib/ionoscloud/api/{location_api.rb → locations_api.rb} +21 -21
  211. data/lib/ionoscloud/api/nat_gateways_api.rb +1690 -0
  212. data/lib/ionoscloud/api/network_interfaces_api.rb +604 -0
  213. data/lib/ionoscloud/api/network_load_balancers_api.rb +1708 -0
  214. data/lib/ionoscloud/api/{private_cross_connect_api.rb → private_cross_connects_api.rb} +57 -39
  215. data/lib/ionoscloud/api/{request_api.rb → requests_api.rb} +33 -57
  216. data/lib/ionoscloud/api/{server_api.rb → servers_api.rb} +501 -157
  217. data/lib/ionoscloud/api/{snapshot_api.rb → snapshots_api.rb} +42 -42
  218. data/lib/ionoscloud/api/templates_api.rb +164 -0
  219. data/lib/ionoscloud/api/user_management_api.rb +12 -525
  220. data/lib/ionoscloud/api/user_s3_keys_api.rb +517 -0
  221. data/lib/ionoscloud/api/{volume_api.rb → volumes_api.rb} +71 -71
  222. data/lib/ionoscloud/api_client.rb +21 -21
  223. data/lib/ionoscloud/api_error.rb +2 -2
  224. data/lib/ionoscloud/configuration.rb +6 -6
  225. data/lib/ionoscloud/models/attached_volumes.rb +13 -69
  226. data/lib/ionoscloud/models/backup_unit.rb +7 -49
  227. data/lib/ionoscloud/models/backup_unit_properties.rb +5 -31
  228. data/lib/ionoscloud/models/backup_unit_sso.rb +3 -13
  229. data/lib/ionoscloud/models/backup_units.rb +12 -44
  230. data/lib/ionoscloud/models/balanced_nics.rb +13 -69
  231. data/lib/ionoscloud/models/cdroms.rb +13 -69
  232. data/lib/ionoscloud/models/connectable_datacenter.rb +5 -31
  233. data/lib/ionoscloud/models/contract.rb +4 -22
  234. data/lib/ionoscloud/models/contract_properties.rb +7 -49
  235. data/lib/ionoscloud/models/contracts.rb +249 -0
  236. data/lib/ionoscloud/models/cpu_architecture_properties.rb +247 -0
  237. data/lib/ionoscloud/models/data_center_entities.rb +27 -43
  238. data/lib/ionoscloud/models/datacenter.rb +8 -58
  239. data/lib/ionoscloud/models/datacenter_element_metadata.rb +12 -78
  240. data/lib/ionoscloud/models/datacenter_properties.rb +49 -63
  241. data/lib/ionoscloud/models/datacenters.rb +13 -69
  242. data/lib/ionoscloud/models/error.rb +8 -24
  243. data/lib/ionoscloud/models/error_message.rb +4 -22
  244. data/lib/ionoscloud/models/firewall_rule.rb +7 -49
  245. data/lib/ionoscloud/models/firewall_rules.rb +13 -69
  246. data/lib/ionoscloud/models/firewallrule_properties.rb +57 -124
  247. data/lib/ionoscloud/models/flow_log.rb +260 -0
  248. data/lib/ionoscloud/models/flow_log_properties.rb +313 -0
  249. data/lib/ionoscloud/models/{kubernetes_config.rb → flow_log_put.rb} +13 -81
  250. data/lib/ionoscloud/models/flow_logs.rb +278 -0
  251. data/lib/ionoscloud/models/group.rb +7 -49
  252. data/lib/ionoscloud/models/group_entities.rb +4 -22
  253. data/lib/ionoscloud/models/group_members.rb +10 -42
  254. data/lib/ionoscloud/models/group_properties.rb +35 -97
  255. data/lib/ionoscloud/models/group_share.rb +6 -40
  256. data/lib/ionoscloud/models/group_share_properties.rb +4 -22
  257. data/lib/ionoscloud/models/group_shares.rb +10 -42
  258. data/lib/ionoscloud/models/group_users.rb +10 -42
  259. data/lib/ionoscloud/models/groups.rb +10 -42
  260. data/lib/ionoscloud/models/image.rb +7 -49
  261. data/lib/ionoscloud/models/image_properties.rb +24 -210
  262. data/lib/ionoscloud/models/images.rb +10 -42
  263. data/lib/ionoscloud/models/info.rb +5 -31
  264. data/lib/ionoscloud/models/ip_block.rb +7 -49
  265. data/lib/ionoscloud/models/ip_block_properties.rb +15 -53
  266. data/lib/ionoscloud/models/ip_blocks.rb +13 -98
  267. data/lib/ionoscloud/models/ip_consumer.rb +12 -104
  268. data/lib/ionoscloud/models/ip_failover.rb +4 -22
  269. data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +13 -21
  270. data/lib/ionoscloud/models/kubernetes_cluster.rb +8 -58
  271. data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +3 -13
  272. data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +8 -58
  273. data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +8 -58
  274. data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +32 -84
  275. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +22 -62
  276. data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +8 -70
  277. data/lib/ionoscloud/models/kubernetes_clusters.rb +11 -43
  278. data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +13 -21
  279. data/lib/ionoscloud/models/kubernetes_node.rb +7 -49
  280. data/lib/ionoscloud/models/kubernetes_node_metadata.rb +9 -51
  281. data/lib/ionoscloud/models/kubernetes_node_pool.rb +7 -49
  282. data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +7 -49
  283. data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +7 -49
  284. data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +28 -21
  285. data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +227 -0
  286. data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +42 -170
  287. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +37 -159
  288. data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +27 -93
  289. data/lib/ionoscloud/models/kubernetes_node_pools.rb +11 -43
  290. data/lib/ionoscloud/models/kubernetes_node_properties.rb +6 -40
  291. data/lib/ionoscloud/models/kubernetes_nodes.rb +10 -42
  292. data/lib/ionoscloud/models/label.rb +7 -49
  293. data/lib/ionoscloud/models/label_properties.rb +7 -49
  294. data/lib/ionoscloud/models/label_resource.rb +7 -49
  295. data/lib/ionoscloud/models/label_resource_properties.rb +4 -22
  296. data/lib/ionoscloud/models/label_resources.rb +15 -71
  297. data/lib/ionoscloud/models/labels.rb +12 -44
  298. data/lib/ionoscloud/models/lan.rb +8 -58
  299. data/lib/ionoscloud/models/lan_entities.rb +3 -13
  300. data/lib/ionoscloud/models/lan_nics.rb +13 -69
  301. data/lib/ionoscloud/models/lan_post.rb +8 -58
  302. data/lib/ionoscloud/models/lan_properties.rb +10 -42
  303. data/lib/ionoscloud/models/lan_properties_post.rb +10 -42
  304. data/lib/ionoscloud/models/lans.rb +14 -70
  305. data/lib/ionoscloud/models/loadbalancer.rb +8 -58
  306. data/lib/ionoscloud/models/loadbalancer_entities.rb +3 -13
  307. data/lib/ionoscloud/models/loadbalancer_properties.rb +34 -43
  308. data/lib/ionoscloud/models/loadbalancers.rb +13 -69
  309. data/lib/ionoscloud/models/location.rb +7 -49
  310. data/lib/ionoscloud/models/location_properties.rb +49 -37
  311. data/lib/ionoscloud/models/locations.rb +10 -42
  312. data/lib/ionoscloud/models/nat_gateway.rb +269 -0
  313. data/lib/ionoscloud/models/nat_gateway_entities.rb +225 -0
  314. data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +234 -0
  315. data/lib/ionoscloud/models/nat_gateway_properties.rb +251 -0
  316. data/lib/ionoscloud/models/nat_gateway_put.rb +251 -0
  317. data/lib/ionoscloud/models/nat_gateway_rule.rb +260 -0
  318. data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +291 -0
  319. data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +39 -0
  320. data/lib/ionoscloud/models/nat_gateway_rule_put.rb +251 -0
  321. data/lib/ionoscloud/models/nat_gateway_rule_type.rb +36 -0
  322. data/lib/ionoscloud/models/nat_gateway_rules.rb +249 -0
  323. data/lib/ionoscloud/models/nat_gateways.rb +278 -0
  324. data/lib/ionoscloud/models/network_load_balancer.rb +269 -0
  325. data/lib/ionoscloud/models/network_load_balancer_entities.rb +225 -0
  326. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +260 -0
  327. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +257 -0
  328. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +354 -0
  329. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +251 -0
  330. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +261 -0
  331. data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +237 -0
  332. data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +278 -0
  333. data/lib/ionoscloud/models/network_load_balancer_properties.rb +276 -0
  334. data/lib/ionoscloud/models/network_load_balancer_put.rb +251 -0
  335. data/lib/ionoscloud/models/network_load_balancers.rb +278 -0
  336. data/lib/ionoscloud/models/nic.rb +8 -58
  337. data/lib/ionoscloud/models/nic_entities.rb +13 -14
  338. data/lib/ionoscloud/models/nic_properties.rb +71 -73
  339. data/lib/ionoscloud/models/nic_put.rb +251 -0
  340. data/lib/ionoscloud/models/nics.rb +13 -69
  341. data/lib/ionoscloud/models/no_state_meta_data.rb +9 -67
  342. data/lib/ionoscloud/models/pagination_links.rb +5 -31
  343. data/lib/ionoscloud/models/peer.rb +7 -49
  344. data/lib/ionoscloud/models/private_cross_connect.rb +7 -49
  345. data/lib/ionoscloud/models/private_cross_connect_properties.rb +14 -44
  346. data/lib/ionoscloud/models/private_cross_connects.rb +10 -42
  347. data/lib/ionoscloud/models/{kubernetes_config_properties.rb → remote_console_url.rb} +13 -23
  348. data/lib/ionoscloud/models/request.rb +7 -49
  349. data/lib/ionoscloud/models/request_metadata.rb +6 -40
  350. data/lib/ionoscloud/models/request_properties.rb +10 -42
  351. data/lib/ionoscloud/models/request_status.rb +6 -40
  352. data/lib/ionoscloud/models/request_status_metadata.rb +10 -42
  353. data/lib/ionoscloud/models/request_target.rb +4 -22
  354. data/lib/ionoscloud/models/requests.rb +14 -70
  355. data/lib/ionoscloud/models/resource.rb +8 -58
  356. data/lib/ionoscloud/models/resource_entities.rb +3 -13
  357. data/lib/ionoscloud/models/resource_groups.rb +10 -42
  358. data/lib/ionoscloud/models/resource_limits.rb +94 -157
  359. data/lib/ionoscloud/models/resource_properties.rb +4 -22
  360. data/lib/ionoscloud/models/resource_reference.rb +5 -31
  361. data/lib/ionoscloud/models/resources.rb +10 -42
  362. data/lib/ionoscloud/models/resources_users.rb +10 -42
  363. data/lib/ionoscloud/models/s3_key.rb +7 -49
  364. data/lib/ionoscloud/models/s3_key_metadata.rb +4 -22
  365. data/lib/ionoscloud/models/s3_key_properties.rb +4 -22
  366. data/lib/ionoscloud/models/s3_keys.rb +10 -42
  367. data/lib/ionoscloud/models/s3_object_storage_sso.rb +3 -13
  368. data/lib/ionoscloud/models/server.rb +8 -58
  369. data/lib/ionoscloud/models/server_entities.rb +5 -31
  370. data/lib/ionoscloud/models/server_properties.rb +36 -82
  371. data/lib/ionoscloud/models/servers.rb +13 -69
  372. data/lib/ionoscloud/models/snapshot.rb +7 -49
  373. data/lib/ionoscloud/models/snapshot_properties.rb +18 -148
  374. data/lib/ionoscloud/models/snapshots.rb +10 -42
  375. data/lib/ionoscloud/models/target_port_range.rb +227 -0
  376. data/lib/ionoscloud/models/template.rb +260 -0
  377. data/lib/ionoscloud/models/template_properties.rb +267 -0
  378. data/lib/ionoscloud/models/templates.rb +249 -0
  379. data/lib/ionoscloud/models/{s3_bucket.rb → token.rb} +13 -28
  380. data/lib/ionoscloud/models/type.rb +10 -2
  381. data/lib/ionoscloud/models/user.rb +8 -58
  382. data/lib/ionoscloud/models/user_metadata.rb +5 -31
  383. data/lib/ionoscloud/models/user_post.rb +3 -13
  384. data/lib/ionoscloud/models/user_properties.rb +10 -76
  385. data/lib/ionoscloud/models/user_properties_post.rb +10 -76
  386. data/lib/ionoscloud/models/user_properties_put.rb +9 -67
  387. data/lib/ionoscloud/models/user_put.rb +4 -22
  388. data/lib/ionoscloud/models/users.rb +13 -98
  389. data/lib/ionoscloud/models/users_entities.rb +4 -22
  390. data/lib/ionoscloud/models/volume.rb +7 -49
  391. data/lib/ionoscloud/models/volume_properties.rb +40 -191
  392. data/lib/ionoscloud/models/volumes.rb +13 -69
  393. data/lib/ionoscloud/version.rb +3 -3
  394. data/lib/ionoscloud.rb +60 -19
  395. data/spec/api/_api_spec.rb +49 -0
  396. data/spec/api/backup_units_api_spec.rb +140 -0
  397. data/spec/api/contract_resources_api_spec.rb +49 -0
  398. data/spec/api/data_centers_api_spec.rb +128 -0
  399. data/spec/api/firewall_rules_api_spec.rb +146 -0
  400. data/spec/api/flow_logs_api_spec.rb +140 -0
  401. data/spec/api/images_api_spec.rb +111 -0
  402. data/spec/api/ip_blocks_api_spec.rb +126 -0
  403. data/spec/api/kubernetes_api_spec.rb +294 -0
  404. data/spec/api/labels_api_spec.rb +478 -0
  405. data/spec/api/lans_api_spec.rb +186 -0
  406. data/spec/api/load_balancers_api_spec.rb +205 -0
  407. data/spec/api/locations_api_spec.rb +80 -0
  408. data/spec/api/nat_gateways_api_spec.rb +336 -0
  409. data/spec/api/network_interfaces_api_spec.rb +140 -0
  410. data/spec/api/network_load_balancers_api_spec.rb +342 -0
  411. data/spec/api/private_cross_connects_api_spec.rb +112 -0
  412. data/spec/api/requests_api_spec.rb +84 -0
  413. data/spec/api/servers_api_spec.rb +401 -0
  414. data/spec/api/snapshots_api_spec.rb +111 -0
  415. data/spec/api/templates_api_spec.rb +60 -0
  416. data/spec/api/user_management_api_spec.rb +402 -0
  417. data/spec/api/user_s3_keys_api_spec.rb +128 -0
  418. data/spec/api/volumes_api_spec.rb +171 -0
  419. data/spec/api_client_spec.rb +2 -2
  420. data/spec/configuration_spec.rb +5 -5
  421. data/spec/models/attached_volumes_spec.rb +70 -0
  422. data/spec/models/backup_unit_properties_spec.rb +46 -0
  423. data/spec/models/backup_unit_spec.rb +62 -0
  424. data/spec/models/backup_unit_sso_spec.rb +34 -0
  425. data/spec/models/backup_units_spec.rb +56 -0
  426. data/spec/models/balanced_nics_spec.rb +70 -0
  427. data/spec/models/cdroms_spec.rb +70 -0
  428. data/spec/models/connectable_datacenter_spec.rb +46 -0
  429. data/spec/models/contract_properties_spec.rb +58 -0
  430. data/spec/models/contract_spec.rb +40 -0
  431. data/spec/models/contracts_spec.rb +52 -0
  432. data/spec/models/cpu_architecture_properties_spec.rb +52 -0
  433. data/spec/models/data_center_entities_spec.rb +64 -0
  434. data/spec/models/datacenter_element_metadata_spec.rb +80 -0
  435. data/spec/models/datacenter_properties_spec.rb +74 -0
  436. data/spec/models/datacenter_spec.rb +64 -0
  437. data/spec/models/datacenters_spec.rb +70 -0
  438. data/spec/models/error_message_spec.rb +40 -0
  439. data/spec/models/error_spec.rb +40 -0
  440. data/spec/models/firewall_rule_spec.rb +58 -0
  441. data/spec/models/firewall_rules_spec.rb +70 -0
  442. data/spec/models/firewallrule_properties_spec.rb +108 -0
  443. data/spec/models/flow_log_properties_spec.rb +60 -0
  444. data/spec/models/flow_log_put_spec.rb +52 -0
  445. data/spec/models/flow_log_spec.rb +58 -0
  446. data/spec/models/flow_logs_spec.rb +70 -0
  447. data/spec/models/group_entities_spec.rb +40 -0
  448. data/spec/models/group_members_spec.rb +52 -0
  449. data/spec/models/group_properties_spec.rb +100 -0
  450. data/spec/models/group_share_properties_spec.rb +40 -0
  451. data/spec/models/group_share_spec.rb +52 -0
  452. data/spec/models/group_shares_spec.rb +52 -0
  453. data/spec/models/group_spec.rb +58 -0
  454. data/spec/models/group_users_spec.rb +52 -0
  455. data/spec/models/groups_spec.rb +52 -0
  456. data/spec/models/image_properties_spec.rb +138 -0
  457. data/spec/models/image_spec.rb +58 -0
  458. data/spec/models/images_spec.rb +52 -0
  459. data/spec/models/info_spec.rb +46 -0
  460. data/spec/models/ip_block_properties_spec.rb +58 -0
  461. data/spec/models/ip_block_spec.rb +58 -0
  462. data/spec/models/ip_blocks_spec.rb +52 -0
  463. data/spec/models/ip_consumer_spec.rb +70 -0
  464. data/spec/models/ip_failover_spec.rb +40 -0
  465. data/spec/models/kubernetes_auto_scaling_spec.rb +40 -0
  466. data/spec/models/kubernetes_cluster_entities_spec.rb +34 -0
  467. data/spec/models/kubernetes_cluster_for_post_spec.rb +68 -0
  468. data/spec/models/kubernetes_cluster_for_put_spec.rb +68 -0
  469. data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +58 -0
  470. data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +46 -0
  471. data/spec/models/kubernetes_cluster_properties_spec.rb +70 -0
  472. data/spec/models/kubernetes_cluster_spec.rb +68 -0
  473. data/spec/models/kubernetes_clusters_spec.rb +56 -0
  474. data/spec/models/kubernetes_maintenance_window_spec.rb +44 -0
  475. data/spec/models/kubernetes_node_metadata_spec.rb +62 -0
  476. data/spec/models/kubernetes_node_pool_for_post_spec.rb +62 -0
  477. data/spec/models/kubernetes_node_pool_for_put_spec.rb +62 -0
  478. data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +40 -0
  479. data/spec/models/kubernetes_node_pool_lan_spec.rb +46 -0
  480. data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +132 -0
  481. data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +82 -0
  482. data/spec/models/kubernetes_node_pool_properties_spec.rb +138 -0
  483. data/spec/models/kubernetes_node_pool_spec.rb +62 -0
  484. data/spec/models/kubernetes_node_pools_spec.rb +56 -0
  485. data/spec/models/kubernetes_node_properties_spec.rb +52 -0
  486. data/spec/models/kubernetes_node_spec.rb +62 -0
  487. data/spec/models/kubernetes_nodes_spec.rb +56 -0
  488. data/spec/models/label_properties_spec.rb +58 -0
  489. data/spec/models/label_resource_properties_spec.rb +40 -0
  490. data/spec/models/label_resource_spec.rb +62 -0
  491. data/spec/models/label_resources_spec.rb +74 -0
  492. data/spec/models/label_spec.rb +62 -0
  493. data/spec/models/labels_spec.rb +56 -0
  494. data/spec/models/lan_entities_spec.rb +34 -0
  495. data/spec/models/lan_nics_spec.rb +70 -0
  496. data/spec/models/lan_post_spec.rb +64 -0
  497. data/spec/models/lan_properties_post_spec.rb +52 -0
  498. data/spec/models/lan_properties_spec.rb +52 -0
  499. data/spec/models/lan_spec.rb +64 -0
  500. data/spec/models/lans_spec.rb +70 -0
  501. data/spec/models/loadbalancer_entities_spec.rb +34 -0
  502. data/spec/models/loadbalancer_properties_spec.rb +50 -0
  503. data/spec/models/loadbalancer_spec.rb +64 -0
  504. data/spec/models/loadbalancers_spec.rb +70 -0
  505. data/spec/models/location_properties_spec.rb +56 -0
  506. data/spec/models/location_spec.rb +58 -0
  507. data/spec/models/locations_spec.rb +52 -0
  508. data/spec/models/nat_gateway_entities_spec.rb +40 -0
  509. data/spec/models/nat_gateway_lan_properties_spec.rb +40 -0
  510. data/spec/models/nat_gateway_properties_spec.rb +46 -0
  511. data/spec/models/nat_gateway_put_spec.rb +52 -0
  512. data/spec/models/nat_gateway_rule_properties_spec.rb +70 -0
  513. data/spec/models/nat_gateway_rule_protocol_spec.rb +28 -0
  514. data/spec/models/nat_gateway_rule_put_spec.rb +52 -0
  515. data/spec/models/nat_gateway_rule_spec.rb +58 -0
  516. data/spec/models/nat_gateway_rule_type_spec.rb +28 -0
  517. data/spec/models/nat_gateway_rules_spec.rb +52 -0
  518. data/spec/models/nat_gateway_spec.rb +64 -0
  519. data/spec/models/nat_gateways_spec.rb +70 -0
  520. data/spec/models/network_load_balancer_entities_spec.rb +40 -0
  521. data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +58 -0
  522. data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +78 -0
  523. data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +52 -0
  524. data/spec/models/network_load_balancer_forwarding_rule_spec.rb +58 -0
  525. data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +46 -0
  526. data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +52 -0
  527. data/spec/models/network_load_balancer_forwarding_rules_spec.rb +70 -0
  528. data/spec/models/network_load_balancer_properties_spec.rb +58 -0
  529. data/spec/models/network_load_balancer_put_spec.rb +52 -0
  530. data/spec/models/network_load_balancer_spec.rb +64 -0
  531. data/spec/models/network_load_balancers_spec.rb +70 -0
  532. data/spec/models/nic_entities_spec.rb +40 -0
  533. data/spec/models/nic_properties_spec.rb +86 -0
  534. data/spec/models/nic_put_spec.rb +52 -0
  535. data/spec/models/nic_spec.rb +64 -0
  536. data/spec/models/nics_spec.rb +70 -0
  537. data/spec/models/no_state_meta_data_spec.rb +70 -0
  538. data/spec/models/pagination_links_spec.rb +46 -0
  539. data/spec/models/peer_spec.rb +58 -0
  540. data/spec/models/private_cross_connect_properties_spec.rb +52 -0
  541. data/spec/models/private_cross_connect_spec.rb +58 -0
  542. data/spec/models/private_cross_connects_spec.rb +52 -0
  543. data/spec/models/remote_console_url_spec.rb +34 -0
  544. data/spec/models/request_metadata_spec.rb +52 -0
  545. data/spec/models/request_properties_spec.rb +52 -0
  546. data/spec/models/request_spec.rb +58 -0
  547. data/spec/models/request_status_metadata_spec.rb +56 -0
  548. data/spec/models/request_status_spec.rb +52 -0
  549. data/spec/models/request_target_spec.rb +44 -0
  550. data/spec/models/requests_spec.rb +70 -0
  551. data/spec/models/resource_entities_spec.rb +34 -0
  552. data/spec/models/resource_groups_spec.rb +52 -0
  553. data/spec/models/resource_limits_spec.rb +160 -0
  554. data/spec/models/resource_properties_spec.rb +40 -0
  555. data/spec/models/resource_reference_spec.rb +46 -0
  556. data/spec/models/resource_spec.rb +64 -0
  557. data/spec/models/resources_spec.rb +52 -0
  558. data/spec/models/resources_users_spec.rb +52 -0
  559. data/spec/models/s3_key_metadata_spec.rb +40 -0
  560. data/spec/models/s3_key_properties_spec.rb +40 -0
  561. data/spec/models/s3_key_spec.rb +58 -0
  562. data/spec/models/s3_keys_spec.rb +52 -0
  563. data/spec/models/s3_object_storage_sso_spec.rb +34 -0
  564. data/spec/models/server_entities_spec.rb +46 -0
  565. data/spec/models/server_properties_spec.rb +96 -0
  566. data/spec/models/server_spec.rb +64 -0
  567. data/spec/models/servers_spec.rb +70 -0
  568. data/spec/models/snapshot_properties_spec.rb +128 -0
  569. data/spec/models/snapshot_spec.rb +58 -0
  570. data/spec/models/snapshots_spec.rb +52 -0
  571. data/spec/models/target_port_range_spec.rb +40 -0
  572. data/spec/models/template_properties_spec.rb +52 -0
  573. data/spec/models/template_spec.rb +58 -0
  574. data/spec/models/templates_spec.rb +52 -0
  575. data/spec/models/token_spec.rb +34 -0
  576. data/spec/models/type_spec.rb +28 -0
  577. data/spec/models/user_metadata_spec.rb +46 -0
  578. data/spec/models/user_post_spec.rb +34 -0
  579. data/spec/models/user_properties_post_spec.rb +76 -0
  580. data/spec/models/user_properties_put_spec.rb +70 -0
  581. data/spec/models/user_properties_spec.rb +76 -0
  582. data/spec/models/user_put_spec.rb +40 -0
  583. data/spec/models/user_spec.rb +64 -0
  584. data/spec/models/users_entities_spec.rb +40 -0
  585. data/spec/models/users_spec.rb +52 -0
  586. data/spec/models/volume_properties_spec.rb +158 -0
  587. data/spec/models/volume_spec.rb +58 -0
  588. data/spec/models/volumes_spec.rb +70 -0
  589. data/spec/spec_helper.rb +2 -2
  590. metadata +642 -179
  591. data/Gemfile.lock +0 -68
  592. data/LICENSE +0 -190
  593. data/README.md +0 -65
  594. data/docs/api/NicApi.md +0 -1087
  595. data/docs/models/IpBlocks.md +0 -30
  596. data/docs/models/KubernetesConfig.md +0 -24
  597. data/docs/models/KubernetesConfigProperties.md +0 -18
  598. data/docs/models/KubernetesNodePoolLan.md +0 -18
  599. data/docs/models/Users.md +0 -30
  600. data/lib/ionoscloud/api/nic_api.rb +0 -1222
  601. data/lib/test_driver.rb +0 -104
@@ -0,0 +1,1593 @@
1
+ # NetworkLoadBalancersApi
2
+
3
+ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**datacenters_networkloadbalancers_delete**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_delete) | **DELETE** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId} | Remove an Network Load Balancer |
8
+ | [**datacenters_networkloadbalancers_find_by_network_load_balancer_id**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_find_by_network_load_balancer_id) | **GET** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId} | Retrieve an Network Load Balancer |
9
+ | [**datacenters_networkloadbalancers_flowlogs_delete**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_delete) | **DELETE** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} | Remove Flow Log from Network Load Balancer |
10
+ | [**datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id) | **GET** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} | Retrieve a Flow Log of the Network Load Balancer |
11
+ | [**datacenters_networkloadbalancers_flowlogs_get**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_get) | **GET** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs | List Network Load Balancer Flow Logs |
12
+ | [**datacenters_networkloadbalancers_flowlogs_patch**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_patch) | **PATCH** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} | Partially modify a Flow Log of the Network Load Balancer |
13
+ | [**datacenters_networkloadbalancers_flowlogs_post**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_post) | **POST** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs | Add a Network Load Balancer Flow Log |
14
+ | [**datacenters_networkloadbalancers_flowlogs_put**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_put) | **PUT** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} | Modify a Flow Log of the Network Load Balancer |
15
+ | [**datacenters_networkloadbalancers_forwardingrules_delete**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_delete) | **DELETE** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} | Remove Forwarding Rule from Network Load Balancer |
16
+ | [**datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id) | **GET** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} | Retrieve a Forwarding Rule of the Network Load Balancer |
17
+ | [**datacenters_networkloadbalancers_forwardingrules_get**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_get) | **GET** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules | List Network Load Balancer Forwarding Rules |
18
+ | [**datacenters_networkloadbalancers_forwardingrules_patch**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_patch) | **PATCH** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} | Partially modify a forwarding rule of the Network Load Balancer |
19
+ | [**datacenters_networkloadbalancers_forwardingrules_post**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_post) | **POST** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules | Add a Network Load Balancer Forwarding Rule |
20
+ | [**datacenters_networkloadbalancers_forwardingrules_put**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_put) | **PUT** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} | Modify a forwarding rule of the Network Load Balancer |
21
+ | [**datacenters_networkloadbalancers_get**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_get) | **GET** /datacenters/{datacenterId}/networkloadbalancers | List Network Load Balancers |
22
+ | [**datacenters_networkloadbalancers_patch**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_patch) | **PATCH** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId} | Partially update an Network Load Balancer |
23
+ | [**datacenters_networkloadbalancers_post**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_post) | **POST** /datacenters/{datacenterId}/networkloadbalancers | Create an Network Load Balancer |
24
+ | [**datacenters_networkloadbalancers_put**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_put) | **PUT** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId} | Update an Network Load Balancer |
25
+
26
+
27
+ ## datacenters_networkloadbalancers_delete
28
+
29
+ > Object datacenters_networkloadbalancers_delete(datacenter_id, network_load_balancer_id, opts)
30
+
31
+ Remove an Network Load Balancer
32
+
33
+ Removes the specified Network Load Balancer.
34
+
35
+ ### Examples
36
+
37
+ ```ruby
38
+ require 'time'
39
+ require 'ionoscloud'
40
+ # setup authorization
41
+ Ionoscloud.configure do |config|
42
+ # Configure HTTP basic authorization: Basic Authentication
43
+ config.username = 'YOUR USERNAME'
44
+ config.password = 'YOUR PASSWORD'
45
+
46
+ # Configure API key authorization: Token Authentication
47
+ config.api_key['Authorization'] = 'YOUR API KEY'
48
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
49
+ # config.api_key_prefix['Authorization'] = 'Bearer'
50
+ end
51
+
52
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
53
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
54
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
55
+ opts = {
56
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
57
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
58
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
59
+ }
60
+
61
+ begin
62
+ # Remove an Network Load Balancer
63
+ result = api_instance.datacenters_networkloadbalancers_delete(datacenter_id, network_load_balancer_id, opts)
64
+ p result
65
+ rescue Ionoscloud::ApiError => e
66
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_delete: #{e}"
67
+ end
68
+ ```
69
+
70
+ #### Using the datacenters_networkloadbalancers_delete_with_http_info variant
71
+
72
+ This returns an Array which contains the response data, status code and headers.
73
+
74
+ > <Array(Object, Integer, Hash)> datacenters_networkloadbalancers_delete_with_http_info(datacenter_id, network_load_balancer_id, opts)
75
+
76
+ ```ruby
77
+ begin
78
+ # Remove an Network Load Balancer
79
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_delete_with_http_info(datacenter_id, network_load_balancer_id, opts)
80
+ p status_code # => 2xx
81
+ p headers # => { ... }
82
+ p data # => Object
83
+ rescue Ionoscloud::ApiError => e
84
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_delete_with_http_info: #{e}"
85
+ end
86
+ ```
87
+
88
+ ### Parameters
89
+
90
+ | Name | Type | Description | Notes |
91
+ | ---- | ---- | ----------- | ----- |
92
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
93
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
94
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
95
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
96
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
97
+
98
+ ### Return type
99
+
100
+ **Object**
101
+
102
+ ### Authorization
103
+
104
+ Basic Authentication, Token Authentication
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: Not defined
109
+ - **Accept**: application/json
110
+
111
+
112
+ ## datacenters_networkloadbalancers_find_by_network_load_balancer_id
113
+
114
+ > <NetworkLoadBalancer> datacenters_networkloadbalancers_find_by_network_load_balancer_id(datacenter_id, network_load_balancer_id, opts)
115
+
116
+ Retrieve an Network Load Balancer
117
+
118
+ Retrieves the attributes of a given Network Load Balancer.
119
+
120
+ ### Examples
121
+
122
+ ```ruby
123
+ require 'time'
124
+ require 'ionoscloud'
125
+ # setup authorization
126
+ Ionoscloud.configure do |config|
127
+ # Configure HTTP basic authorization: Basic Authentication
128
+ config.username = 'YOUR USERNAME'
129
+ config.password = 'YOUR PASSWORD'
130
+
131
+ # Configure API key authorization: Token Authentication
132
+ config.api_key['Authorization'] = 'YOUR API KEY'
133
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
134
+ # config.api_key_prefix['Authorization'] = 'Bearer'
135
+ end
136
+
137
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
138
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
139
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
140
+ opts = {
141
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
142
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
143
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
144
+ }
145
+
146
+ begin
147
+ # Retrieve an Network Load Balancer
148
+ result = api_instance.datacenters_networkloadbalancers_find_by_network_load_balancer_id(datacenter_id, network_load_balancer_id, opts)
149
+ p result
150
+ rescue Ionoscloud::ApiError => e
151
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_find_by_network_load_balancer_id: #{e}"
152
+ end
153
+ ```
154
+
155
+ #### Using the datacenters_networkloadbalancers_find_by_network_load_balancer_id_with_http_info variant
156
+
157
+ This returns an Array which contains the response data, status code and headers.
158
+
159
+ > <Array(<NetworkLoadBalancer>, Integer, Hash)> datacenters_networkloadbalancers_find_by_network_load_balancer_id_with_http_info(datacenter_id, network_load_balancer_id, opts)
160
+
161
+ ```ruby
162
+ begin
163
+ # Retrieve an Network Load Balancer
164
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_find_by_network_load_balancer_id_with_http_info(datacenter_id, network_load_balancer_id, opts)
165
+ p status_code # => 2xx
166
+ p headers # => { ... }
167
+ p data # => <NetworkLoadBalancer>
168
+ rescue Ionoscloud::ApiError => e
169
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_find_by_network_load_balancer_id_with_http_info: #{e}"
170
+ end
171
+ ```
172
+
173
+ ### Parameters
174
+
175
+ | Name | Type | Description | Notes |
176
+ | ---- | ---- | ----------- | ----- |
177
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
178
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
179
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
180
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
181
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
182
+
183
+ ### Return type
184
+
185
+ [**NetworkLoadBalancer**](NetworkLoadBalancer.md)
186
+
187
+ ### Authorization
188
+
189
+ Basic Authentication, Token Authentication
190
+
191
+ ### HTTP request headers
192
+
193
+ - **Content-Type**: Not defined
194
+ - **Accept**: application/json
195
+
196
+
197
+ ## datacenters_networkloadbalancers_flowlogs_delete
198
+
199
+ > Object datacenters_networkloadbalancers_flowlogs_delete(datacenter_id, network_load_balancer_id, flow_log_id, opts)
200
+
201
+ Remove Flow Log from Network Load Balancer
202
+
203
+ This will remove a flow log from the network load balancer.
204
+
205
+ ### Examples
206
+
207
+ ```ruby
208
+ require 'time'
209
+ require 'ionoscloud'
210
+ # setup authorization
211
+ Ionoscloud.configure do |config|
212
+ # Configure HTTP basic authorization: Basic Authentication
213
+ config.username = 'YOUR USERNAME'
214
+ config.password = 'YOUR PASSWORD'
215
+
216
+ # Configure API key authorization: Token Authentication
217
+ config.api_key['Authorization'] = 'YOUR API KEY'
218
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
219
+ # config.api_key_prefix['Authorization'] = 'Bearer'
220
+ end
221
+
222
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
223
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
224
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
225
+ flow_log_id = 'flow_log_id_example' # String | The unique ID of the flow log
226
+ opts = {
227
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
228
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
229
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
230
+ }
231
+
232
+ begin
233
+ # Remove Flow Log from Network Load Balancer
234
+ result = api_instance.datacenters_networkloadbalancers_flowlogs_delete(datacenter_id, network_load_balancer_id, flow_log_id, opts)
235
+ p result
236
+ rescue Ionoscloud::ApiError => e
237
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_delete: #{e}"
238
+ end
239
+ ```
240
+
241
+ #### Using the datacenters_networkloadbalancers_flowlogs_delete_with_http_info variant
242
+
243
+ This returns an Array which contains the response data, status code and headers.
244
+
245
+ > <Array(Object, Integer, Hash)> datacenters_networkloadbalancers_flowlogs_delete_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, opts)
246
+
247
+ ```ruby
248
+ begin
249
+ # Remove Flow Log from Network Load Balancer
250
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_delete_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, opts)
251
+ p status_code # => 2xx
252
+ p headers # => { ... }
253
+ p data # => Object
254
+ rescue Ionoscloud::ApiError => e
255
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_delete_with_http_info: #{e}"
256
+ end
257
+ ```
258
+
259
+ ### Parameters
260
+
261
+ | Name | Type | Description | Notes |
262
+ | ---- | ---- | ----------- | ----- |
263
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
264
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
265
+ | **flow_log_id** | **String** | The unique ID of the flow log | |
266
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
267
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
268
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
269
+
270
+ ### Return type
271
+
272
+ **Object**
273
+
274
+ ### Authorization
275
+
276
+ Basic Authentication, Token Authentication
277
+
278
+ ### HTTP request headers
279
+
280
+ - **Content-Type**: Not defined
281
+ - **Accept**: application/json
282
+
283
+
284
+ ## datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id
285
+
286
+ > <FlowLog> datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id(datacenter_id, network_load_balancer_id, flow_log_id, opts)
287
+
288
+ Retrieve a Flow Log of the Network Load Balancer
289
+
290
+ This will return a Flow Log of the Network Load Balancer.
291
+
292
+ ### Examples
293
+
294
+ ```ruby
295
+ require 'time'
296
+ require 'ionoscloud'
297
+ # setup authorization
298
+ Ionoscloud.configure do |config|
299
+ # Configure HTTP basic authorization: Basic Authentication
300
+ config.username = 'YOUR USERNAME'
301
+ config.password = 'YOUR PASSWORD'
302
+
303
+ # Configure API key authorization: Token Authentication
304
+ config.api_key['Authorization'] = 'YOUR API KEY'
305
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
306
+ # config.api_key_prefix['Authorization'] = 'Bearer'
307
+ end
308
+
309
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
310
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
311
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
312
+ flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log
313
+ opts = {
314
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
315
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
316
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
317
+ }
318
+
319
+ begin
320
+ # Retrieve a Flow Log of the Network Load Balancer
321
+ result = api_instance.datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id(datacenter_id, network_load_balancer_id, flow_log_id, opts)
322
+ p result
323
+ rescue Ionoscloud::ApiError => e
324
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id: #{e}"
325
+ end
326
+ ```
327
+
328
+ #### Using the datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id_with_http_info variant
329
+
330
+ This returns an Array which contains the response data, status code and headers.
331
+
332
+ > <Array(<FlowLog>, Integer, Hash)> datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, opts)
333
+
334
+ ```ruby
335
+ begin
336
+ # Retrieve a Flow Log of the Network Load Balancer
337
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, opts)
338
+ p status_code # => 2xx
339
+ p headers # => { ... }
340
+ p data # => <FlowLog>
341
+ rescue Ionoscloud::ApiError => e
342
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id_with_http_info: #{e}"
343
+ end
344
+ ```
345
+
346
+ ### Parameters
347
+
348
+ | Name | Type | Description | Notes |
349
+ | ---- | ---- | ----------- | ----- |
350
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
351
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
352
+ | **flow_log_id** | **String** | The unique ID of the Flow Log | |
353
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
354
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
355
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
356
+
357
+ ### Return type
358
+
359
+ [**FlowLog**](FlowLog.md)
360
+
361
+ ### Authorization
362
+
363
+ Basic Authentication, Token Authentication
364
+
365
+ ### HTTP request headers
366
+
367
+ - **Content-Type**: Not defined
368
+ - **Accept**: application/json
369
+
370
+
371
+ ## datacenters_networkloadbalancers_flowlogs_get
372
+
373
+ > <FlowLogs> datacenters_networkloadbalancers_flowlogs_get(datacenter_id, network_load_balancer_id, opts)
374
+
375
+ List Network Load Balancer Flow Logs
376
+
377
+ You can retrieve a list of Flow Logs of the Network Load Balancer.
378
+
379
+ ### Examples
380
+
381
+ ```ruby
382
+ require 'time'
383
+ require 'ionoscloud'
384
+ # setup authorization
385
+ Ionoscloud.configure do |config|
386
+ # Configure HTTP basic authorization: Basic Authentication
387
+ config.username = 'YOUR USERNAME'
388
+ config.password = 'YOUR PASSWORD'
389
+
390
+ # Configure API key authorization: Token Authentication
391
+ config.api_key['Authorization'] = 'YOUR API KEY'
392
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
393
+ # config.api_key_prefix['Authorization'] = 'Bearer'
394
+ end
395
+
396
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
397
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
398
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
399
+ opts = {
400
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
401
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
402
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
403
+ }
404
+
405
+ begin
406
+ # List Network Load Balancer Flow Logs
407
+ result = api_instance.datacenters_networkloadbalancers_flowlogs_get(datacenter_id, network_load_balancer_id, opts)
408
+ p result
409
+ rescue Ionoscloud::ApiError => e
410
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_get: #{e}"
411
+ end
412
+ ```
413
+
414
+ #### Using the datacenters_networkloadbalancers_flowlogs_get_with_http_info variant
415
+
416
+ This returns an Array which contains the response data, status code and headers.
417
+
418
+ > <Array(<FlowLogs>, Integer, Hash)> datacenters_networkloadbalancers_flowlogs_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
419
+
420
+ ```ruby
421
+ begin
422
+ # List Network Load Balancer Flow Logs
423
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
424
+ p status_code # => 2xx
425
+ p headers # => { ... }
426
+ p data # => <FlowLogs>
427
+ rescue Ionoscloud::ApiError => e
428
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_get_with_http_info: #{e}"
429
+ end
430
+ ```
431
+
432
+ ### Parameters
433
+
434
+ | Name | Type | Description | Notes |
435
+ | ---- | ---- | ----------- | ----- |
436
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
437
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
438
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
439
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
440
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
441
+
442
+ ### Return type
443
+
444
+ [**FlowLogs**](FlowLogs.md)
445
+
446
+ ### Authorization
447
+
448
+ Basic Authentication, Token Authentication
449
+
450
+ ### HTTP request headers
451
+
452
+ - **Content-Type**: Not defined
453
+ - **Accept**: application/json
454
+
455
+
456
+ ## datacenters_networkloadbalancers_flowlogs_patch
457
+
458
+ > <FlowLog> datacenters_networkloadbalancers_flowlogs_patch(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
459
+
460
+ Partially modify a Flow Log of the Network Load Balancer
461
+
462
+ You can use to partially update a Flow Log of a Network Load Balancer.
463
+
464
+ ### Examples
465
+
466
+ ```ruby
467
+ require 'time'
468
+ require 'ionoscloud'
469
+ # setup authorization
470
+ Ionoscloud.configure do |config|
471
+ # Configure HTTP basic authorization: Basic Authentication
472
+ config.username = 'YOUR USERNAME'
473
+ config.password = 'YOUR PASSWORD'
474
+
475
+ # Configure API key authorization: Token Authentication
476
+ config.api_key['Authorization'] = 'YOUR API KEY'
477
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
478
+ # config.api_key_prefix['Authorization'] = 'Bearer'
479
+ end
480
+
481
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
482
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
483
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
484
+ flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log
485
+ network_load_balancer_flow_log_properties = Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'}) # FlowLogProperties | Properties of a Flow Log to be updated
486
+ opts = {
487
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
488
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
489
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
490
+ }
491
+
492
+ begin
493
+ # Partially modify a Flow Log of the Network Load Balancer
494
+ result = api_instance.datacenters_networkloadbalancers_flowlogs_patch(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
495
+ p result
496
+ rescue Ionoscloud::ApiError => e
497
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_patch: #{e}"
498
+ end
499
+ ```
500
+
501
+ #### Using the datacenters_networkloadbalancers_flowlogs_patch_with_http_info variant
502
+
503
+ This returns an Array which contains the response data, status code and headers.
504
+
505
+ > <Array(<FlowLog>, Integer, Hash)> datacenters_networkloadbalancers_flowlogs_patch_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
506
+
507
+ ```ruby
508
+ begin
509
+ # Partially modify a Flow Log of the Network Load Balancer
510
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_patch_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
511
+ p status_code # => 2xx
512
+ p headers # => { ... }
513
+ p data # => <FlowLog>
514
+ rescue Ionoscloud::ApiError => e
515
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_patch_with_http_info: #{e}"
516
+ end
517
+ ```
518
+
519
+ ### Parameters
520
+
521
+ | Name | Type | Description | Notes |
522
+ | ---- | ---- | ----------- | ----- |
523
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
524
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
525
+ | **flow_log_id** | **String** | The unique ID of the Flow Log | |
526
+ | **network_load_balancer_flow_log_properties** | [**FlowLogProperties**](FlowLogProperties.md) | Properties of a Flow Log to be updated | |
527
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
528
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
529
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
530
+
531
+ ### Return type
532
+
533
+ [**FlowLog**](FlowLog.md)
534
+
535
+ ### Authorization
536
+
537
+ Basic Authentication, Token Authentication
538
+
539
+ ### HTTP request headers
540
+
541
+ - **Content-Type**: Not defined
542
+ - **Accept**: application/json
543
+
544
+
545
+ ## datacenters_networkloadbalancers_flowlogs_post
546
+
547
+ > <FlowLog> datacenters_networkloadbalancers_flowlogs_post(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
548
+
549
+ Add a Network Load Balancer Flow Log
550
+
551
+ This will add a new Flow Log to the Network Load Balancer.
552
+
553
+ ### Examples
554
+
555
+ ```ruby
556
+ require 'time'
557
+ require 'ionoscloud'
558
+ # setup authorization
559
+ Ionoscloud.configure do |config|
560
+ # Configure HTTP basic authorization: Basic Authentication
561
+ config.username = 'YOUR USERNAME'
562
+ config.password = 'YOUR PASSWORD'
563
+
564
+ # Configure API key authorization: Token Authentication
565
+ config.api_key['Authorization'] = 'YOUR API KEY'
566
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
567
+ # config.api_key_prefix['Authorization'] = 'Bearer'
568
+ end
569
+
570
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
571
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
572
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
573
+ network_load_balancer_flow_log = Ionoscloud::FlowLog.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLog | Flow Log to add
574
+ opts = {
575
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
576
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
577
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
578
+ }
579
+
580
+ begin
581
+ # Add a Network Load Balancer Flow Log
582
+ result = api_instance.datacenters_networkloadbalancers_flowlogs_post(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
583
+ p result
584
+ rescue Ionoscloud::ApiError => e
585
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_post: #{e}"
586
+ end
587
+ ```
588
+
589
+ #### Using the datacenters_networkloadbalancers_flowlogs_post_with_http_info variant
590
+
591
+ This returns an Array which contains the response data, status code and headers.
592
+
593
+ > <Array(<FlowLog>, Integer, Hash)> datacenters_networkloadbalancers_flowlogs_post_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
594
+
595
+ ```ruby
596
+ begin
597
+ # Add a Network Load Balancer Flow Log
598
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_post_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
599
+ p status_code # => 2xx
600
+ p headers # => { ... }
601
+ p data # => <FlowLog>
602
+ rescue Ionoscloud::ApiError => e
603
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_post_with_http_info: #{e}"
604
+ end
605
+ ```
606
+
607
+ ### Parameters
608
+
609
+ | Name | Type | Description | Notes |
610
+ | ---- | ---- | ----------- | ----- |
611
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
612
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
613
+ | **network_load_balancer_flow_log** | [**FlowLog**](FlowLog.md) | Flow Log to add | |
614
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
615
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
616
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
617
+
618
+ ### Return type
619
+
620
+ [**FlowLog**](FlowLog.md)
621
+
622
+ ### Authorization
623
+
624
+ Basic Authentication, Token Authentication
625
+
626
+ ### HTTP request headers
627
+
628
+ - **Content-Type**: application/json
629
+ - **Accept**: application/json
630
+
631
+
632
+ ## datacenters_networkloadbalancers_flowlogs_put
633
+
634
+ > <FlowLog> datacenters_networkloadbalancers_flowlogs_put(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
635
+
636
+ Modify a Flow Log of the Network Load Balancer
637
+
638
+ You can use to update a Flow Log of the Network Load Balancer.
639
+
640
+ ### Examples
641
+
642
+ ```ruby
643
+ require 'time'
644
+ require 'ionoscloud'
645
+ # setup authorization
646
+ Ionoscloud.configure do |config|
647
+ # Configure HTTP basic authorization: Basic Authentication
648
+ config.username = 'YOUR USERNAME'
649
+ config.password = 'YOUR PASSWORD'
650
+
651
+ # Configure API key authorization: Token Authentication
652
+ config.api_key['Authorization'] = 'YOUR API KEY'
653
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
654
+ # config.api_key_prefix['Authorization'] = 'Bearer'
655
+ end
656
+
657
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
658
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
659
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
660
+ flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log
661
+ network_load_balancer_flow_log = Ionoscloud::FlowLogPut.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLogPut | Modified Network Load Balancer Flow Log
662
+ opts = {
663
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
664
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
665
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
666
+ }
667
+
668
+ begin
669
+ # Modify a Flow Log of the Network Load Balancer
670
+ result = api_instance.datacenters_networkloadbalancers_flowlogs_put(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
671
+ p result
672
+ rescue Ionoscloud::ApiError => e
673
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_put: #{e}"
674
+ end
675
+ ```
676
+
677
+ #### Using the datacenters_networkloadbalancers_flowlogs_put_with_http_info variant
678
+
679
+ This returns an Array which contains the response data, status code and headers.
680
+
681
+ > <Array(<FlowLog>, Integer, Hash)> datacenters_networkloadbalancers_flowlogs_put_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
682
+
683
+ ```ruby
684
+ begin
685
+ # Modify a Flow Log of the Network Load Balancer
686
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_put_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
687
+ p status_code # => 2xx
688
+ p headers # => { ... }
689
+ p data # => <FlowLog>
690
+ rescue Ionoscloud::ApiError => e
691
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_put_with_http_info: #{e}"
692
+ end
693
+ ```
694
+
695
+ ### Parameters
696
+
697
+ | Name | Type | Description | Notes |
698
+ | ---- | ---- | ----------- | ----- |
699
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
700
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
701
+ | **flow_log_id** | **String** | The unique ID of the Flow Log | |
702
+ | **network_load_balancer_flow_log** | [**FlowLogPut**](FlowLogPut.md) | Modified Network Load Balancer Flow Log | |
703
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
704
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
705
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
706
+
707
+ ### Return type
708
+
709
+ [**FlowLog**](FlowLog.md)
710
+
711
+ ### Authorization
712
+
713
+ Basic Authentication, Token Authentication
714
+
715
+ ### HTTP request headers
716
+
717
+ - **Content-Type**: application/json
718
+ - **Accept**: application/json
719
+
720
+
721
+ ## datacenters_networkloadbalancers_forwardingrules_delete
722
+
723
+ > Object datacenters_networkloadbalancers_forwardingrules_delete(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
724
+
725
+ Remove Forwarding Rule from Network Load Balancer
726
+
727
+ This will remove a forwarding rule from the Network Load Balancer.
728
+
729
+ ### Examples
730
+
731
+ ```ruby
732
+ require 'time'
733
+ require 'ionoscloud'
734
+ # setup authorization
735
+ Ionoscloud.configure do |config|
736
+ # Configure HTTP basic authorization: Basic Authentication
737
+ config.username = 'YOUR USERNAME'
738
+ config.password = 'YOUR PASSWORD'
739
+
740
+ # Configure API key authorization: Token Authentication
741
+ config.api_key['Authorization'] = 'YOUR API KEY'
742
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
743
+ # config.api_key_prefix['Authorization'] = 'Bearer'
744
+ end
745
+
746
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
747
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
748
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
749
+ forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
750
+ opts = {
751
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
752
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
753
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
754
+ }
755
+
756
+ begin
757
+ # Remove Forwarding Rule from Network Load Balancer
758
+ result = api_instance.datacenters_networkloadbalancers_forwardingrules_delete(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
759
+ p result
760
+ rescue Ionoscloud::ApiError => e
761
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_delete: #{e}"
762
+ end
763
+ ```
764
+
765
+ #### Using the datacenters_networkloadbalancers_forwardingrules_delete_with_http_info variant
766
+
767
+ This returns an Array which contains the response data, status code and headers.
768
+
769
+ > <Array(Object, Integer, Hash)> datacenters_networkloadbalancers_forwardingrules_delete_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
770
+
771
+ ```ruby
772
+ begin
773
+ # Remove Forwarding Rule from Network Load Balancer
774
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_delete_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
775
+ p status_code # => 2xx
776
+ p headers # => { ... }
777
+ p data # => Object
778
+ rescue Ionoscloud::ApiError => e
779
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_delete_with_http_info: #{e}"
780
+ end
781
+ ```
782
+
783
+ ### Parameters
784
+
785
+ | Name | Type | Description | Notes |
786
+ | ---- | ---- | ----------- | ----- |
787
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
788
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
789
+ | **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
790
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
791
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
792
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
793
+
794
+ ### Return type
795
+
796
+ **Object**
797
+
798
+ ### Authorization
799
+
800
+ Basic Authentication, Token Authentication
801
+
802
+ ### HTTP request headers
803
+
804
+ - **Content-Type**: Not defined
805
+ - **Accept**: application/json
806
+
807
+
808
+ ## datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id
809
+
810
+ > <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
811
+
812
+ Retrieve a Forwarding Rule of the Network Load Balancer
813
+
814
+ This will a forwarding rule of the Network Load Balancer.
815
+
816
+ ### Examples
817
+
818
+ ```ruby
819
+ require 'time'
820
+ require 'ionoscloud'
821
+ # setup authorization
822
+ Ionoscloud.configure do |config|
823
+ # Configure HTTP basic authorization: Basic Authentication
824
+ config.username = 'YOUR USERNAME'
825
+ config.password = 'YOUR PASSWORD'
826
+
827
+ # Configure API key authorization: Token Authentication
828
+ config.api_key['Authorization'] = 'YOUR API KEY'
829
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
830
+ # config.api_key_prefix['Authorization'] = 'Bearer'
831
+ end
832
+
833
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
834
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
835
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
836
+ forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
837
+ opts = {
838
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
839
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
840
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
841
+ }
842
+
843
+ begin
844
+ # Retrieve a Forwarding Rule of the Network Load Balancer
845
+ result = api_instance.datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
846
+ p result
847
+ rescue Ionoscloud::ApiError => e
848
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id: #{e}"
849
+ end
850
+ ```
851
+
852
+ #### Using the datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id_with_http_info variant
853
+
854
+ This returns an Array which contains the response data, status code and headers.
855
+
856
+ > <Array(<NetworkLoadBalancerForwardingRule>, Integer, Hash)> datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
857
+
858
+ ```ruby
859
+ begin
860
+ # Retrieve a Forwarding Rule of the Network Load Balancer
861
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
862
+ p status_code # => 2xx
863
+ p headers # => { ... }
864
+ p data # => <NetworkLoadBalancerForwardingRule>
865
+ rescue Ionoscloud::ApiError => e
866
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id_with_http_info: #{e}"
867
+ end
868
+ ```
869
+
870
+ ### Parameters
871
+
872
+ | Name | Type | Description | Notes |
873
+ | ---- | ---- | ----------- | ----- |
874
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
875
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
876
+ | **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
877
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
878
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
879
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
880
+
881
+ ### Return type
882
+
883
+ [**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
884
+
885
+ ### Authorization
886
+
887
+ Basic Authentication, Token Authentication
888
+
889
+ ### HTTP request headers
890
+
891
+ - **Content-Type**: Not defined
892
+ - **Accept**: application/json
893
+
894
+
895
+ ## datacenters_networkloadbalancers_forwardingrules_get
896
+
897
+ > <NetworkLoadBalancerForwardingRules> datacenters_networkloadbalancers_forwardingrules_get(datacenter_id, network_load_balancer_id, opts)
898
+
899
+ List Network Load Balancer Forwarding Rules
900
+
901
+ You can retrieve a list of forwarding rules of the Network Load Balancer.
902
+
903
+ ### Examples
904
+
905
+ ```ruby
906
+ require 'time'
907
+ require 'ionoscloud'
908
+ # setup authorization
909
+ Ionoscloud.configure do |config|
910
+ # Configure HTTP basic authorization: Basic Authentication
911
+ config.username = 'YOUR USERNAME'
912
+ config.password = 'YOUR PASSWORD'
913
+
914
+ # Configure API key authorization: Token Authentication
915
+ config.api_key['Authorization'] = 'YOUR API KEY'
916
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
917
+ # config.api_key_prefix['Authorization'] = 'Bearer'
918
+ end
919
+
920
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
921
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
922
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
923
+ opts = {
924
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
925
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
926
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
927
+ }
928
+
929
+ begin
930
+ # List Network Load Balancer Forwarding Rules
931
+ result = api_instance.datacenters_networkloadbalancers_forwardingrules_get(datacenter_id, network_load_balancer_id, opts)
932
+ p result
933
+ rescue Ionoscloud::ApiError => e
934
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_get: #{e}"
935
+ end
936
+ ```
937
+
938
+ #### Using the datacenters_networkloadbalancers_forwardingrules_get_with_http_info variant
939
+
940
+ This returns an Array which contains the response data, status code and headers.
941
+
942
+ > <Array(<NetworkLoadBalancerForwardingRules>, Integer, Hash)> datacenters_networkloadbalancers_forwardingrules_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
943
+
944
+ ```ruby
945
+ begin
946
+ # List Network Load Balancer Forwarding Rules
947
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
948
+ p status_code # => 2xx
949
+ p headers # => { ... }
950
+ p data # => <NetworkLoadBalancerForwardingRules>
951
+ rescue Ionoscloud::ApiError => e
952
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_get_with_http_info: #{e}"
953
+ end
954
+ ```
955
+
956
+ ### Parameters
957
+
958
+ | Name | Type | Description | Notes |
959
+ | ---- | ---- | ----------- | ----- |
960
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
961
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
962
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
963
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
964
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
965
+
966
+ ### Return type
967
+
968
+ [**NetworkLoadBalancerForwardingRules**](NetworkLoadBalancerForwardingRules.md)
969
+
970
+ ### Authorization
971
+
972
+ Basic Authentication, Token Authentication
973
+
974
+ ### HTTP request headers
975
+
976
+ - **Content-Type**: Not defined
977
+ - **Accept**: application/json
978
+
979
+
980
+ ## datacenters_networkloadbalancers_forwardingrules_patch
981
+
982
+ > <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_patch(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
983
+
984
+ Partially modify a forwarding rule of the Network Load Balancer
985
+
986
+ You can use to partially update a forwarding rule of a Network Load Balancer.
987
+
988
+ ### Examples
989
+
990
+ ```ruby
991
+ require 'time'
992
+ require 'ionoscloud'
993
+ # setup authorization
994
+ Ionoscloud.configure do |config|
995
+ # Configure HTTP basic authorization: Basic Authentication
996
+ config.username = 'YOUR USERNAME'
997
+ config.password = 'YOUR PASSWORD'
998
+
999
+ # Configure API key authorization: Token Authentication
1000
+ config.api_key['Authorization'] = 'YOUR API KEY'
1001
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1002
+ # config.api_key_prefix['Authorization'] = 'Bearer'
1003
+ end
1004
+
1005
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
1006
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
1007
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
1008
+ forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
1009
+ network_load_balancer_forwarding_rule_properties = Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: 'TCP', listener_ip: '81.173.1.2', listener_port: 8080, targets: [Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new({ip: '22.231.2.2', port: 8080, weight: 123})]}) # NetworkLoadBalancerForwardingRuleProperties | Properties of a forwarding rule to be updated
1010
+ opts = {
1011
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
1012
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
1013
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1014
+ }
1015
+
1016
+ begin
1017
+ # Partially modify a forwarding rule of the Network Load Balancer
1018
+ result = api_instance.datacenters_networkloadbalancers_forwardingrules_patch(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
1019
+ p result
1020
+ rescue Ionoscloud::ApiError => e
1021
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_patch: #{e}"
1022
+ end
1023
+ ```
1024
+
1025
+ #### Using the datacenters_networkloadbalancers_forwardingrules_patch_with_http_info variant
1026
+
1027
+ This returns an Array which contains the response data, status code and headers.
1028
+
1029
+ > <Array(<NetworkLoadBalancerForwardingRule>, Integer, Hash)> datacenters_networkloadbalancers_forwardingrules_patch_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
1030
+
1031
+ ```ruby
1032
+ begin
1033
+ # Partially modify a forwarding rule of the Network Load Balancer
1034
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_patch_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
1035
+ p status_code # => 2xx
1036
+ p headers # => { ... }
1037
+ p data # => <NetworkLoadBalancerForwardingRule>
1038
+ rescue Ionoscloud::ApiError => e
1039
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_patch_with_http_info: #{e}"
1040
+ end
1041
+ ```
1042
+
1043
+ ### Parameters
1044
+
1045
+ | Name | Type | Description | Notes |
1046
+ | ---- | ---- | ----------- | ----- |
1047
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
1048
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
1049
+ | **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
1050
+ | **network_load_balancer_forwarding_rule_properties** | [**NetworkLoadBalancerForwardingRuleProperties**](NetworkLoadBalancerForwardingRuleProperties.md) | Properties of a forwarding rule to be updated | |
1051
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
1052
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
1053
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
1054
+
1055
+ ### Return type
1056
+
1057
+ [**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
1058
+
1059
+ ### Authorization
1060
+
1061
+ Basic Authentication, Token Authentication
1062
+
1063
+ ### HTTP request headers
1064
+
1065
+ - **Content-Type**: Not defined
1066
+ - **Accept**: application/json
1067
+
1068
+
1069
+ ## datacenters_networkloadbalancers_forwardingrules_post
1070
+
1071
+ > <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_post(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
1072
+
1073
+ Add a Network Load Balancer Forwarding Rule
1074
+
1075
+ This will add a new forwarding rule to the Network Load Balancer.
1076
+
1077
+ ### Examples
1078
+
1079
+ ```ruby
1080
+ require 'time'
1081
+ require 'ionoscloud'
1082
+ # setup authorization
1083
+ Ionoscloud.configure do |config|
1084
+ # Configure HTTP basic authorization: Basic Authentication
1085
+ config.username = 'YOUR USERNAME'
1086
+ config.password = 'YOUR PASSWORD'
1087
+
1088
+ # Configure API key authorization: Token Authentication
1089
+ config.api_key['Authorization'] = 'YOUR API KEY'
1090
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1091
+ # config.api_key_prefix['Authorization'] = 'Bearer'
1092
+ end
1093
+
1094
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
1095
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
1096
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
1097
+ network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRule.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: 'TCP', listener_ip: '81.173.1.2', listener_port: 8080, targets: [Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new({ip: '22.231.2.2', port: 8080, weight: 123})]})}) # NetworkLoadBalancerForwardingRule | forwarding rule to add
1098
+ opts = {
1099
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
1100
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
1101
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1102
+ }
1103
+
1104
+ begin
1105
+ # Add a Network Load Balancer Forwarding Rule
1106
+ result = api_instance.datacenters_networkloadbalancers_forwardingrules_post(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
1107
+ p result
1108
+ rescue Ionoscloud::ApiError => e
1109
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_post: #{e}"
1110
+ end
1111
+ ```
1112
+
1113
+ #### Using the datacenters_networkloadbalancers_forwardingrules_post_with_http_info variant
1114
+
1115
+ This returns an Array which contains the response data, status code and headers.
1116
+
1117
+ > <Array(<NetworkLoadBalancerForwardingRule>, Integer, Hash)> datacenters_networkloadbalancers_forwardingrules_post_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
1118
+
1119
+ ```ruby
1120
+ begin
1121
+ # Add a Network Load Balancer Forwarding Rule
1122
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_post_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
1123
+ p status_code # => 2xx
1124
+ p headers # => { ... }
1125
+ p data # => <NetworkLoadBalancerForwardingRule>
1126
+ rescue Ionoscloud::ApiError => e
1127
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_post_with_http_info: #{e}"
1128
+ end
1129
+ ```
1130
+
1131
+ ### Parameters
1132
+
1133
+ | Name | Type | Description | Notes |
1134
+ | ---- | ---- | ----------- | ----- |
1135
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
1136
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
1137
+ | **network_load_balancer_forwarding_rule** | [**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md) | forwarding rule to add | |
1138
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
1139
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
1140
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
1141
+
1142
+ ### Return type
1143
+
1144
+ [**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
1145
+
1146
+ ### Authorization
1147
+
1148
+ Basic Authentication, Token Authentication
1149
+
1150
+ ### HTTP request headers
1151
+
1152
+ - **Content-Type**: application/json
1153
+ - **Accept**: application/json
1154
+
1155
+
1156
+ ## datacenters_networkloadbalancers_forwardingrules_put
1157
+
1158
+ > <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_put(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
1159
+
1160
+ Modify a forwarding rule of the Network Load Balancer
1161
+
1162
+ You can use to update a forwarding rule of the Network Load Balancer.
1163
+
1164
+ ### Examples
1165
+
1166
+ ```ruby
1167
+ require 'time'
1168
+ require 'ionoscloud'
1169
+ # setup authorization
1170
+ Ionoscloud.configure do |config|
1171
+ # Configure HTTP basic authorization: Basic Authentication
1172
+ config.username = 'YOUR USERNAME'
1173
+ config.password = 'YOUR PASSWORD'
1174
+
1175
+ # Configure API key authorization: Token Authentication
1176
+ config.api_key['Authorization'] = 'YOUR API KEY'
1177
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1178
+ # config.api_key_prefix['Authorization'] = 'Bearer'
1179
+ end
1180
+
1181
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
1182
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
1183
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
1184
+ forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
1185
+ network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRulePut.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: 'TCP', listener_ip: '81.173.1.2', listener_port: 8080, targets: [Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new({ip: '22.231.2.2', port: 8080, weight: 123})]})}) # NetworkLoadBalancerForwardingRulePut | Modified Network Load Balancer Forwarding Rule
1186
+ opts = {
1187
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
1188
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
1189
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1190
+ }
1191
+
1192
+ begin
1193
+ # Modify a forwarding rule of the Network Load Balancer
1194
+ result = api_instance.datacenters_networkloadbalancers_forwardingrules_put(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
1195
+ p result
1196
+ rescue Ionoscloud::ApiError => e
1197
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_put: #{e}"
1198
+ end
1199
+ ```
1200
+
1201
+ #### Using the datacenters_networkloadbalancers_forwardingrules_put_with_http_info variant
1202
+
1203
+ This returns an Array which contains the response data, status code and headers.
1204
+
1205
+ > <Array(<NetworkLoadBalancerForwardingRule>, Integer, Hash)> datacenters_networkloadbalancers_forwardingrules_put_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
1206
+
1207
+ ```ruby
1208
+ begin
1209
+ # Modify a forwarding rule of the Network Load Balancer
1210
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_put_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
1211
+ p status_code # => 2xx
1212
+ p headers # => { ... }
1213
+ p data # => <NetworkLoadBalancerForwardingRule>
1214
+ rescue Ionoscloud::ApiError => e
1215
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_put_with_http_info: #{e}"
1216
+ end
1217
+ ```
1218
+
1219
+ ### Parameters
1220
+
1221
+ | Name | Type | Description | Notes |
1222
+ | ---- | ---- | ----------- | ----- |
1223
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
1224
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
1225
+ | **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
1226
+ | **network_load_balancer_forwarding_rule** | [**NetworkLoadBalancerForwardingRulePut**](NetworkLoadBalancerForwardingRulePut.md) | Modified Network Load Balancer Forwarding Rule | |
1227
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
1228
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
1229
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
1230
+
1231
+ ### Return type
1232
+
1233
+ [**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
1234
+
1235
+ ### Authorization
1236
+
1237
+ Basic Authentication, Token Authentication
1238
+
1239
+ ### HTTP request headers
1240
+
1241
+ - **Content-Type**: application/json
1242
+ - **Accept**: application/json
1243
+
1244
+
1245
+ ## datacenters_networkloadbalancers_get
1246
+
1247
+ > <NetworkLoadBalancers> datacenters_networkloadbalancers_get(datacenter_id, opts)
1248
+
1249
+ List Network Load Balancers
1250
+
1251
+ Retrieve a list of Network Load Balancers within the datacenter.
1252
+
1253
+ ### Examples
1254
+
1255
+ ```ruby
1256
+ require 'time'
1257
+ require 'ionoscloud'
1258
+ # setup authorization
1259
+ Ionoscloud.configure do |config|
1260
+ # Configure HTTP basic authorization: Basic Authentication
1261
+ config.username = 'YOUR USERNAME'
1262
+ config.password = 'YOUR PASSWORD'
1263
+
1264
+ # Configure API key authorization: Token Authentication
1265
+ config.api_key['Authorization'] = 'YOUR API KEY'
1266
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1267
+ # config.api_key_prefix['Authorization'] = 'Bearer'
1268
+ end
1269
+
1270
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
1271
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
1272
+ opts = {
1273
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
1274
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
1275
+ x_contract_number: 56, # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1276
+ offset: 56, # Integer | the first element (of the total list of elements) to include in the response (use together with limit for pagination)
1277
+ limit: 56 # Integer | the maximum number of elements to return (use together with offset for pagination)
1278
+ }
1279
+
1280
+ begin
1281
+ # List Network Load Balancers
1282
+ result = api_instance.datacenters_networkloadbalancers_get(datacenter_id, opts)
1283
+ p result
1284
+ rescue Ionoscloud::ApiError => e
1285
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_get: #{e}"
1286
+ end
1287
+ ```
1288
+
1289
+ #### Using the datacenters_networkloadbalancers_get_with_http_info variant
1290
+
1291
+ This returns an Array which contains the response data, status code and headers.
1292
+
1293
+ > <Array(<NetworkLoadBalancers>, Integer, Hash)> datacenters_networkloadbalancers_get_with_http_info(datacenter_id, opts)
1294
+
1295
+ ```ruby
1296
+ begin
1297
+ # List Network Load Balancers
1298
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_get_with_http_info(datacenter_id, opts)
1299
+ p status_code # => 2xx
1300
+ p headers # => { ... }
1301
+ p data # => <NetworkLoadBalancers>
1302
+ rescue Ionoscloud::ApiError => e
1303
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_get_with_http_info: #{e}"
1304
+ end
1305
+ ```
1306
+
1307
+ ### Parameters
1308
+
1309
+ | Name | Type | Description | Notes |
1310
+ | ---- | ---- | ----------- | ----- |
1311
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
1312
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
1313
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
1314
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
1315
+ | **offset** | **Integer** | the first element (of the total list of elements) to include in the response (use together with limit for pagination) | [optional][default to 0] |
1316
+ | **limit** | **Integer** | the maximum number of elements to return (use together with offset for pagination) | [optional][default to 1000] |
1317
+
1318
+ ### Return type
1319
+
1320
+ [**NetworkLoadBalancers**](NetworkLoadBalancers.md)
1321
+
1322
+ ### Authorization
1323
+
1324
+ Basic Authentication, Token Authentication
1325
+
1326
+ ### HTTP request headers
1327
+
1328
+ - **Content-Type**: Not defined
1329
+ - **Accept**: application/json
1330
+
1331
+
1332
+ ## datacenters_networkloadbalancers_patch
1333
+
1334
+ > <NetworkLoadBalancer> datacenters_networkloadbalancers_patch(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
1335
+
1336
+ Partially update an Network Load Balancer
1337
+
1338
+ Partially update the attributes of a given Network Load Balancer
1339
+
1340
+ ### Examples
1341
+
1342
+ ```ruby
1343
+ require 'time'
1344
+ require 'ionoscloud'
1345
+ # setup authorization
1346
+ Ionoscloud.configure do |config|
1347
+ # Configure HTTP basic authorization: Basic Authentication
1348
+ config.username = 'YOUR USERNAME'
1349
+ config.password = 'YOUR PASSWORD'
1350
+
1351
+ # Configure API key authorization: Token Authentication
1352
+ config.api_key['Authorization'] = 'YOUR API KEY'
1353
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1354
+ # config.api_key_prefix['Authorization'] = 'Bearer'
1355
+ end
1356
+
1357
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
1358
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
1359
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
1360
+ network_load_balancer_properties = Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2}) # NetworkLoadBalancerProperties | Network Load Balancer properties to be updated
1361
+ opts = {
1362
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
1363
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
1364
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1365
+ }
1366
+
1367
+ begin
1368
+ # Partially update an Network Load Balancer
1369
+ result = api_instance.datacenters_networkloadbalancers_patch(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
1370
+ p result
1371
+ rescue Ionoscloud::ApiError => e
1372
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_patch: #{e}"
1373
+ end
1374
+ ```
1375
+
1376
+ #### Using the datacenters_networkloadbalancers_patch_with_http_info variant
1377
+
1378
+ This returns an Array which contains the response data, status code and headers.
1379
+
1380
+ > <Array(<NetworkLoadBalancer>, Integer, Hash)> datacenters_networkloadbalancers_patch_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
1381
+
1382
+ ```ruby
1383
+ begin
1384
+ # Partially update an Network Load Balancer
1385
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_patch_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
1386
+ p status_code # => 2xx
1387
+ p headers # => { ... }
1388
+ p data # => <NetworkLoadBalancer>
1389
+ rescue Ionoscloud::ApiError => e
1390
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_patch_with_http_info: #{e}"
1391
+ end
1392
+ ```
1393
+
1394
+ ### Parameters
1395
+
1396
+ | Name | Type | Description | Notes |
1397
+ | ---- | ---- | ----------- | ----- |
1398
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
1399
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
1400
+ | **network_load_balancer_properties** | [**NetworkLoadBalancerProperties**](NetworkLoadBalancerProperties.md) | Network Load Balancer properties to be updated | |
1401
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
1402
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
1403
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
1404
+
1405
+ ### Return type
1406
+
1407
+ [**NetworkLoadBalancer**](NetworkLoadBalancer.md)
1408
+
1409
+ ### Authorization
1410
+
1411
+ Basic Authentication, Token Authentication
1412
+
1413
+ ### HTTP request headers
1414
+
1415
+ - **Content-Type**: Not defined
1416
+ - **Accept**: application/json
1417
+
1418
+
1419
+ ## datacenters_networkloadbalancers_post
1420
+
1421
+ > <NetworkLoadBalancer> datacenters_networkloadbalancers_post(datacenter_id, network_load_balancer, opts)
1422
+
1423
+ Create an Network Load Balancer
1424
+
1425
+ Creates an Network Load Balancer within the datacenter.
1426
+
1427
+ ### Examples
1428
+
1429
+ ```ruby
1430
+ require 'time'
1431
+ require 'ionoscloud'
1432
+ # setup authorization
1433
+ Ionoscloud.configure do |config|
1434
+ # Configure HTTP basic authorization: Basic Authentication
1435
+ config.username = 'YOUR USERNAME'
1436
+ config.password = 'YOUR PASSWORD'
1437
+
1438
+ # Configure API key authorization: Token Authentication
1439
+ config.api_key['Authorization'] = 'YOUR API KEY'
1440
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1441
+ # config.api_key_prefix['Authorization'] = 'Bearer'
1442
+ end
1443
+
1444
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
1445
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
1446
+ network_load_balancer = Ionoscloud::NetworkLoadBalancer.new({properties: Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2})}) # NetworkLoadBalancer | Network Load Balancer to be created
1447
+ opts = {
1448
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
1449
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
1450
+ x_contract_number: 56 # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1451
+ }
1452
+
1453
+ begin
1454
+ # Create an Network Load Balancer
1455
+ result = api_instance.datacenters_networkloadbalancers_post(datacenter_id, network_load_balancer, opts)
1456
+ p result
1457
+ rescue Ionoscloud::ApiError => e
1458
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_post: #{e}"
1459
+ end
1460
+ ```
1461
+
1462
+ #### Using the datacenters_networkloadbalancers_post_with_http_info variant
1463
+
1464
+ This returns an Array which contains the response data, status code and headers.
1465
+
1466
+ > <Array(<NetworkLoadBalancer>, Integer, Hash)> datacenters_networkloadbalancers_post_with_http_info(datacenter_id, network_load_balancer, opts)
1467
+
1468
+ ```ruby
1469
+ begin
1470
+ # Create an Network Load Balancer
1471
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_post_with_http_info(datacenter_id, network_load_balancer, opts)
1472
+ p status_code # => 2xx
1473
+ p headers # => { ... }
1474
+ p data # => <NetworkLoadBalancer>
1475
+ rescue Ionoscloud::ApiError => e
1476
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_post_with_http_info: #{e}"
1477
+ end
1478
+ ```
1479
+
1480
+ ### Parameters
1481
+
1482
+ | Name | Type | Description | Notes |
1483
+ | ---- | ---- | ----------- | ----- |
1484
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
1485
+ | **network_load_balancer** | [**NetworkLoadBalancer**](NetworkLoadBalancer.md) | Network Load Balancer to be created | |
1486
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
1487
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
1488
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
1489
+
1490
+ ### Return type
1491
+
1492
+ [**NetworkLoadBalancer**](NetworkLoadBalancer.md)
1493
+
1494
+ ### Authorization
1495
+
1496
+ Basic Authentication, Token Authentication
1497
+
1498
+ ### HTTP request headers
1499
+
1500
+ - **Content-Type**: application/json
1501
+ - **Accept**: application/json
1502
+
1503
+
1504
+ ## datacenters_networkloadbalancers_put
1505
+
1506
+ > <NetworkLoadBalancer> datacenters_networkloadbalancers_put(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
1507
+
1508
+ Update an Network Load Balancer
1509
+
1510
+ Update the attributes of a given Network Load Balancer
1511
+
1512
+ ### Examples
1513
+
1514
+ ```ruby
1515
+ require 'time'
1516
+ require 'ionoscloud'
1517
+ # setup authorization
1518
+ Ionoscloud.configure do |config|
1519
+ # Configure HTTP basic authorization: Basic Authentication
1520
+ config.username = 'YOUR USERNAME'
1521
+ config.password = 'YOUR PASSWORD'
1522
+
1523
+ # Configure API key authorization: Token Authentication
1524
+ config.api_key['Authorization'] = 'YOUR API KEY'
1525
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1526
+ # config.api_key_prefix['Authorization'] = 'Bearer'
1527
+ end
1528
+
1529
+ api_instance = Ionoscloud::NetworkLoadBalancersApi.new
1530
+ datacenter_id = 'datacenter_id_example' # String | The unique ID of the datacenter
1531
+ network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
1532
+ network_load_balancer = Ionoscloud::NetworkLoadBalancerPut.new({properties: Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2})}) # NetworkLoadBalancerPut | Modified Network Load Balancer
1533
+ opts = {
1534
+ pretty: true, # Boolean | Controls whether response is pretty-printed (with indentation and new lines)
1535
+ depth: 56, # Integer | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
1536
+ x_contract_number: 56, # Integer | Users having more than 1 contract need to provide contract number, against which all API requests should be executed
1537
+ offset: 56, # Integer | the first element (of the total list of elements) to include in the response (use together with limit for pagination)
1538
+ limit: 56 # Integer | the maximum number of elements to return (use together with offset for pagination)
1539
+ }
1540
+
1541
+ begin
1542
+ # Update an Network Load Balancer
1543
+ result = api_instance.datacenters_networkloadbalancers_put(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
1544
+ p result
1545
+ rescue Ionoscloud::ApiError => e
1546
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_put: #{e}"
1547
+ end
1548
+ ```
1549
+
1550
+ #### Using the datacenters_networkloadbalancers_put_with_http_info variant
1551
+
1552
+ This returns an Array which contains the response data, status code and headers.
1553
+
1554
+ > <Array(<NetworkLoadBalancer>, Integer, Hash)> datacenters_networkloadbalancers_put_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
1555
+
1556
+ ```ruby
1557
+ begin
1558
+ # Update an Network Load Balancer
1559
+ data, status_code, headers = api_instance.datacenters_networkloadbalancers_put_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
1560
+ p status_code # => 2xx
1561
+ p headers # => { ... }
1562
+ p data # => <NetworkLoadBalancer>
1563
+ rescue Ionoscloud::ApiError => e
1564
+ puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_put_with_http_info: #{e}"
1565
+ end
1566
+ ```
1567
+
1568
+ ### Parameters
1569
+
1570
+ | Name | Type | Description | Notes |
1571
+ | ---- | ---- | ----------- | ----- |
1572
+ | **datacenter_id** | **String** | The unique ID of the datacenter | |
1573
+ | **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
1574
+ | **network_load_balancer** | [**NetworkLoadBalancerPut**](NetworkLoadBalancerPut.md) | Modified Network Load Balancer | |
1575
+ | **pretty** | **Boolean** | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
1576
+ | **depth** | **Integer** | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... and so on | [optional][default to 0] |
1577
+ | **x_contract_number** | **Integer** | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional] |
1578
+ | **offset** | **Integer** | the first element (of the total list of elements) to include in the response (use together with limit for pagination) | [optional][default to 0] |
1579
+ | **limit** | **Integer** | the maximum number of elements to return (use together with offset for pagination) | [optional][default to 1000] |
1580
+
1581
+ ### Return type
1582
+
1583
+ [**NetworkLoadBalancer**](NetworkLoadBalancer.md)
1584
+
1585
+ ### Authorization
1586
+
1587
+ Basic Authentication, Token Authentication
1588
+
1589
+ ### HTTP request headers
1590
+
1591
+ - **Content-Type**: application/json
1592
+ - **Accept**: application/json
1593
+