ionoscloud 6.0.0.beta.3 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +70 -0
- data/LICENSE +190 -0
- data/README.md +13 -2
- data/docs/README.md +66 -2
- data/docs/{BackupUnitsApi.md → api/BackupUnitsApi.md} +101 -101
- data/docs/{ContractResourcesApi.md → api/ContractResourcesApi.md} +12 -12
- data/docs/api/DataCentersApi.md +516 -0
- data/docs/api/DefaultApi.md +78 -0
- data/docs/{FirewallRulesApi.md → api/FirewallRulesApi.md} +125 -125
- data/docs/{FlowLogsApi.md → api/FlowLogsApi.md} +109 -109
- data/docs/api/IPBlocksApi.md +516 -0
- data/docs/api/ImagesApi.md +428 -0
- data/docs/{KubernetesApi.md → api/KubernetesApi.md} +242 -242
- data/docs/api/LANsApi.md +794 -0
- data/docs/api/LabelsApi.md +2338 -0
- data/docs/{LoadBalancersApi.md → api/LoadBalancersApi.md} +166 -174
- data/docs/api/LocationsApi.md +259 -0
- data/docs/{NATGatewaysApi.md → api/NATGatewaysApi.md} +299 -303
- data/docs/{NetworkInterfacesApi.md → api/NetworkInterfacesApi.md} +113 -113
- data/docs/{NetworkLoadBalancersApi.md → api/NetworkLoadBalancersApi.md} +315 -319
- data/docs/api/PrivateCrossConnectsApi.md +426 -0
- data/docs/api/RequestsApi.md +283 -0
- data/docs/api/ServersApi.md +1918 -0
- data/docs/api/SnapshotsApi.md +428 -0
- data/docs/{TemplatesApi.md → api/TemplatesApi.md} +18 -18
- data/docs/api/UserManagementApi.md +2039 -0
- data/docs/api/UserS3KeysApi.md +516 -0
- data/docs/api/VolumesApi.md +709 -0
- data/docs/{AttachedVolumes.md → models/AttachedVolumes.md} +6 -6
- data/docs/{BackupUnit.md → models/BackupUnit.md} +3 -3
- data/docs/{BackupUnitProperties.md → models/BackupUnitProperties.md} +2 -2
- data/docs/{BackupUnitSSO.md → models/BackupUnitSSO.md} +0 -0
- data/docs/{BackupUnits.md → models/BackupUnits.md} +4 -4
- data/docs/{BalancedNics.md → models/BalancedNics.md} +6 -6
- data/docs/{Cdroms.md → models/Cdroms.md} +6 -6
- data/docs/{ConnectableDatacenter.md → models/ConnectableDatacenter.md} +0 -0
- data/docs/{Contract.md → models/Contract.md} +1 -1
- data/docs/{ContractProperties.md → models/ContractProperties.md} +4 -4
- data/docs/{Contracts.md → models/Contracts.md} +4 -4
- data/docs/{CpuArchitectureProperties.md → models/CpuArchitectureProperties.md} +1 -1
- data/docs/{DataCenterEntities.md → models/DataCenterEntities.md} +0 -0
- data/docs/{Datacenter.md → models/Datacenter.md} +3 -3
- data/docs/{DatacenterElementMetadata.md → models/DatacenterElementMetadata.md} +6 -6
- data/docs/{DatacenterProperties.md → models/DatacenterProperties.md} +6 -6
- data/docs/{Datacenters.md → models/Datacenters.md} +6 -6
- data/docs/{Error.md → models/Error.md} +1 -1
- data/docs/{ErrorMessage.md → models/ErrorMessage.md} +3 -3
- data/docs/{FirewallRule.md → models/FirewallRule.md} +3 -3
- data/docs/{FirewallRules.md → models/FirewallRules.md} +6 -6
- data/docs/{FirewallruleProperties.md → models/FirewallruleProperties.md} +10 -10
- data/docs/{FlowLog.md → models/FlowLog.md} +3 -3
- data/docs/{FlowLogProperties.md → models/FlowLogProperties.md} +1 -1
- data/docs/{FlowLogPut.md → models/FlowLogPut.md} +3 -3
- data/docs/{FlowLogs.md → models/FlowLogs.md} +6 -6
- data/docs/{Group.md → models/Group.md} +3 -3
- data/docs/{GroupEntities.md → models/GroupEntities.md} +0 -0
- data/docs/{GroupMembers.md → models/GroupMembers.md} +4 -4
- data/docs/{GroupProperties.md → models/GroupProperties.md} +11 -11
- data/docs/{GroupShare.md → models/GroupShare.md} +2 -2
- data/docs/{GroupShareProperties.md → models/GroupShareProperties.md} +0 -0
- data/docs/{GroupShares.md → models/GroupShares.md} +3 -3
- data/docs/{GroupUsers.md → models/GroupUsers.md} +4 -4
- data/docs/{Groups.md → models/Groups.md} +4 -4
- data/docs/{IPFailover.md → models/IPFailover.md} +0 -0
- data/docs/{Image.md → models/Image.md} +3 -3
- data/docs/models/ImageProperties.md +54 -0
- data/docs/{Images.md → models/Images.md} +4 -4
- data/docs/{Info.md → models/Info.md} +0 -0
- data/docs/{IpBlock.md → models/IpBlock.md} +3 -3
- data/docs/{IpBlockProperties.md → models/IpBlockProperties.md} +5 -5
- data/docs/models/IpBlocks.md +30 -0
- data/docs/{IpConsumer.md → models/IpConsumer.md} +0 -0
- data/docs/{KubernetesAutoScaling.md → models/KubernetesAutoScaling.md} +0 -0
- data/docs/{KubernetesCluster.md → models/KubernetesCluster.md} +2 -2
- data/docs/{KubernetesClusterEntities.md → models/KubernetesClusterEntities.md} +0 -0
- data/docs/{KubernetesClusterForPost.md → models/KubernetesClusterForPost.md} +2 -2
- data/docs/{KubernetesClusterForPut.md → models/KubernetesClusterForPut.md} +2 -2
- data/docs/{KubernetesClusterProperties.md → models/KubernetesClusterProperties.md} +6 -4
- data/docs/models/KubernetesClusterPropertiesForPost.md +28 -0
- data/docs/models/KubernetesClusterPropertiesForPut.md +26 -0
- data/docs/{KubernetesClusters.md → models/KubernetesClusters.md} +4 -4
- data/docs/{KubernetesMaintenanceWindow.md → models/KubernetesMaintenanceWindow.md} +0 -0
- data/docs/{KubernetesNode.md → models/KubernetesNode.md} +2 -2
- data/docs/{KubernetesNodeMetadata.md → models/KubernetesNodeMetadata.md} +4 -4
- data/docs/{KubernetesNodePool.md → models/KubernetesNodePool.md} +2 -2
- data/docs/{KubernetesNodePoolForPost.md → models/KubernetesNodePoolForPost.md} +2 -2
- data/docs/{KubernetesNodePoolForPut.md → models/KubernetesNodePoolForPut.md} +2 -2
- data/docs/{KubernetesNodePoolLan.md → models/KubernetesNodePoolLan.md} +2 -2
- data/docs/{KubernetesNodePoolLanRoutes.md → models/KubernetesNodePoolLanRoutes.md} +0 -0
- data/docs/{KubernetesNodePoolProperties.md → models/KubernetesNodePoolProperties.md} +16 -14
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +50 -0
- data/docs/{KubernetesNodePoolPropertiesForPut.md → models/KubernetesNodePoolPropertiesForPut.md} +6 -6
- data/docs/{KubernetesNodePools.md → models/KubernetesNodePools.md} +4 -4
- data/docs/{KubernetesNodeProperties.md → models/KubernetesNodeProperties.md} +2 -2
- data/docs/{KubernetesNodes.md → models/KubernetesNodes.md} +4 -4
- data/docs/{Label.md → models/Label.md} +2 -2
- data/docs/{LabelProperties.md → models/LabelProperties.md} +3 -3
- data/docs/{LabelResource.md → models/LabelResource.md} +2 -2
- data/docs/{LabelResourceProperties.md → models/LabelResourceProperties.md} +2 -2
- data/docs/{LabelResources.md → models/LabelResources.md} +6 -6
- data/docs/{Labels.md → models/Labels.md} +4 -4
- data/docs/{Lan.md → models/Lan.md} +3 -3
- data/docs/{LanEntities.md → models/LanEntities.md} +0 -0
- data/docs/{LanNics.md → models/LanNics.md} +6 -6
- data/docs/{LanPost.md → models/LanPost.md} +3 -3
- data/docs/{LanProperties.md → models/LanProperties.md} +3 -3
- data/docs/{LanPropertiesPost.md → models/LanPropertiesPost.md} +3 -3
- data/docs/{Lans.md → models/Lans.md} +6 -6
- data/docs/{Loadbalancer.md → models/Loadbalancer.md} +3 -3
- data/docs/{LoadbalancerEntities.md → models/LoadbalancerEntities.md} +0 -0
- data/docs/{LoadbalancerProperties.md → models/LoadbalancerProperties.md} +3 -3
- data/docs/{Loadbalancers.md → models/Loadbalancers.md} +6 -6
- data/docs/{Location.md → models/Location.md} +3 -3
- data/docs/{LocationProperties.md → models/LocationProperties.md} +1 -1
- data/docs/{Locations.md → models/Locations.md} +4 -4
- data/docs/{NatGateway.md → models/NatGateway.md} +3 -3
- data/docs/{NatGatewayEntities.md → models/NatGatewayEntities.md} +0 -0
- data/docs/{NatGatewayLanProperties.md → models/NatGatewayLanProperties.md} +2 -2
- data/docs/{NatGatewayProperties.md → models/NatGatewayProperties.md} +3 -3
- data/docs/{NatGatewayPut.md → models/NatGatewayPut.md} +3 -3
- data/docs/{NatGatewayRule.md → models/NatGatewayRule.md} +3 -3
- data/docs/{NatGatewayRuleProperties.md → models/NatGatewayRuleProperties.md} +7 -7
- data/docs/{NatGatewayRuleProtocol.md → models/NatGatewayRuleProtocol.md} +0 -0
- data/docs/{NatGatewayRulePut.md → models/NatGatewayRulePut.md} +3 -3
- data/docs/{NatGatewayRuleType.md → models/NatGatewayRuleType.md} +0 -0
- data/docs/{NatGatewayRules.md → models/NatGatewayRules.md} +4 -4
- data/docs/{NatGateways.md → models/NatGateways.md} +6 -6
- data/docs/{NetworkLoadBalancer.md → models/NetworkLoadBalancer.md} +3 -3
- data/docs/{NetworkLoadBalancerEntities.md → models/NetworkLoadBalancerEntities.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRule.md → models/NetworkLoadBalancerForwardingRule.md} +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleHealthCheck.md +24 -0
- data/docs/{NetworkLoadBalancerForwardingRuleProperties.md → models/NetworkLoadBalancerForwardingRuleProperties.md} +7 -7
- data/docs/{NetworkLoadBalancerForwardingRulePut.md → models/NetworkLoadBalancerForwardingRulePut.md} +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleTarget.md +24 -0
- data/docs/models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +22 -0
- data/docs/{NetworkLoadBalancerForwardingRules.md → models/NetworkLoadBalancerForwardingRules.md} +6 -6
- data/docs/models/NetworkLoadBalancerProperties.md +26 -0
- data/docs/{NetworkLoadBalancerPut.md → models/NetworkLoadBalancerPut.md} +3 -3
- data/docs/{NetworkLoadBalancers.md → models/NetworkLoadBalancers.md} +6 -6
- data/docs/{Nic.md → models/Nic.md} +3 -3
- data/docs/{NicEntities.md → models/NicEntities.md} +0 -0
- data/docs/models/NicProperties.md +34 -0
- data/docs/{NicPut.md → models/NicPut.md} +3 -3
- data/docs/{Nics.md → models/Nics.md} +6 -6
- data/docs/{NoStateMetaData.md → models/NoStateMetaData.md} +5 -5
- data/docs/{PaginationLinks.md → models/PaginationLinks.md} +3 -3
- data/docs/{Peer.md → models/Peer.md} +0 -0
- data/docs/{PrivateCrossConnect.md → models/PrivateCrossConnect.md} +3 -3
- data/docs/{PrivateCrossConnectProperties.md → models/PrivateCrossConnectProperties.md} +4 -4
- data/docs/{PrivateCrossConnects.md → models/PrivateCrossConnects.md} +4 -4
- data/docs/{RemoteConsoleUrl.md → models/RemoteConsoleUrl.md} +0 -0
- data/docs/{Request.md → models/Request.md} +3 -3
- data/docs/{RequestMetadata.md → models/RequestMetadata.md} +2 -2
- data/docs/{RequestProperties.md → models/RequestProperties.md} +0 -0
- data/docs/{RequestStatus.md → models/RequestStatus.md} +3 -3
- data/docs/{RequestStatusMetadata.md → models/RequestStatusMetadata.md} +1 -1
- data/docs/{RequestTarget.md → models/RequestTarget.md} +0 -0
- data/docs/{Requests.md → models/Requests.md} +6 -6
- data/docs/{Resource.md → models/Resource.md} +3 -3
- data/docs/{ResourceEntities.md → models/ResourceEntities.md} +0 -0
- data/docs/{ResourceGroups.md → models/ResourceGroups.md} +4 -4
- data/docs/models/ResourceLimits.md +60 -0
- data/docs/{ResourceProperties.md → models/ResourceProperties.md} +2 -2
- data/docs/{ResourceReference.md → models/ResourceReference.md} +3 -3
- data/docs/{Resources.md → models/Resources.md} +4 -4
- data/docs/{ResourcesUsers.md → models/ResourcesUsers.md} +4 -4
- data/docs/models/S3Bucket.md +18 -0
- data/docs/{S3Key.md → models/S3Key.md} +3 -3
- data/docs/{S3KeyMetadata.md → models/S3KeyMetadata.md} +2 -2
- data/docs/{S3KeyProperties.md → models/S3KeyProperties.md} +2 -2
- data/docs/{S3Keys.md → models/S3Keys.md} +4 -4
- data/docs/{S3ObjectStorageSSO.md → models/S3ObjectStorageSSO.md} +0 -0
- data/docs/{Server.md → models/Server.md} +3 -3
- data/docs/{ServerEntities.md → models/ServerEntities.md} +0 -0
- data/docs/{ServerProperties.md → models/ServerProperties.md} +7 -7
- data/docs/{Servers.md → models/Servers.md} +6 -6
- data/docs/{Snapshot.md → models/Snapshot.md} +3 -3
- data/docs/models/SnapshotProperties.md +48 -0
- data/docs/{Snapshots.md → models/Snapshots.md} +4 -4
- data/docs/{TargetPortRange.md → models/TargetPortRange.md} +2 -2
- data/docs/{Template.md → models/Template.md} +3 -3
- data/docs/{TemplateProperties.md → models/TemplateProperties.md} +4 -4
- data/docs/{Templates.md → models/Templates.md} +4 -4
- data/docs/{Token.md → models/Token.md} +1 -1
- data/docs/{Type.md → models/Type.md} +0 -0
- data/docs/{User.md → models/User.md} +3 -3
- data/docs/{UserMetadata.md → models/UserMetadata.md} +3 -3
- data/docs/{UserPost.md → models/UserPost.md} +0 -0
- data/docs/models/UserProperties.md +32 -0
- data/docs/models/UserPropertiesPost.md +32 -0
- data/docs/models/UserPropertiesPut.md +32 -0
- data/docs/{UserPut.md → models/UserPut.md} +1 -1
- data/docs/models/Users.md +30 -0
- data/docs/{UsersEntities.md → models/UsersEntities.md} +0 -0
- data/docs/{Volume.md → models/Volume.md} +3 -3
- data/docs/{VolumeProperties.md → models/VolumeProperties.md} +23 -19
- data/docs/{Volumes.md → models/Volumes.md} +6 -6
- data/docs/summary.md +192 -382
- data/git_push.sh +0 -3
- data/ionoscloud.gemspec +4 -4
- data/lib/ionoscloud/api/_api.rb +9 -9
- data/lib/ionoscloud/api/backup_units_api.rb +94 -94
- data/lib/ionoscloud/api/contract_resources_api.rb +13 -13
- data/lib/ionoscloud/api/data_centers_api.rb +81 -81
- data/lib/ionoscloud/api/firewall_rules_api.rb +117 -117
- data/lib/ionoscloud/api/flow_logs_api.rb +103 -103
- data/lib/ionoscloud/api/images_api.rb +65 -65
- data/lib/ionoscloud/api/ip_blocks_api.rb +95 -77
- data/lib/ionoscloud/api/kubernetes_api.rb +218 -218
- data/lib/ionoscloud/api/labels_api.rb +395 -431
- data/lib/ionoscloud/api/lans_api.rb +216 -216
- data/lib/ionoscloud/api/load_balancers_api.rb +153 -189
- data/lib/ionoscloud/api/locations_api.rb +39 -39
- data/lib/ionoscloud/api/nat_gateways_api.rb +273 -291
- data/lib/ionoscloud/api/network_interfaces_api.rb +105 -105
- data/lib/ionoscloud/api/network_load_balancers_api.rb +287 -305
- data/lib/ionoscloud/api/private_cross_connects_api.rb +63 -81
- data/lib/ionoscloud/api/requests_api.rb +63 -63
- data/lib/ionoscloud/api/servers_api.rb +339 -339
- data/lib/ionoscloud/api/snapshots_api.rb +63 -63
- data/lib/ionoscloud/api/templates_api.rb +17 -17
- data/lib/ionoscloud/api/user_management_api.rb +325 -305
- data/lib/ionoscloud/api/user_s3_keys_api.rb +81 -81
- data/lib/ionoscloud/api/volumes_api.rb +132 -132
- data/lib/ionoscloud/api_client.rb +8 -7
- data/lib/ionoscloud/api_error.rb +3 -3
- data/lib/ionoscloud/configuration.rb +3 -3
- data/lib/ionoscloud/models/attached_volumes.rb +76 -20
- data/lib/ionoscloud/models/backup_unit.rb +53 -11
- data/lib/ionoscloud/models/backup_unit_properties.rb +34 -8
- data/lib/ionoscloud/models/backup_unit_sso.rb +14 -4
- data/lib/ionoscloud/models/backup_units.rb +47 -15
- data/lib/ionoscloud/models/balanced_nics.rb +76 -20
- data/lib/ionoscloud/models/cdroms.rb +76 -20
- data/lib/ionoscloud/models/connectable_datacenter.rb +32 -6
- data/lib/ionoscloud/models/contract.rb +24 -6
- data/lib/ionoscloud/models/contract_properties.rb +54 -12
- data/lib/ionoscloud/models/contracts.rb +47 -15
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +42 -8
- data/lib/ionoscloud/models/data_center_entities.rb +59 -9
- data/lib/ionoscloud/models/datacenter.rb +62 -12
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +83 -17
- data/lib/ionoscloud/models/datacenter_properties.rb +78 -24
- data/lib/ionoscloud/models/datacenters.rb +76 -20
- data/lib/ionoscloud/models/error.rb +26 -10
- data/lib/ionoscloud/models/error_message.rb +25 -7
- data/lib/ionoscloud/models/firewall_rule.rb +53 -11
- data/lib/ionoscloud/models/firewall_rules.rb +76 -20
- data/lib/ionoscloud/models/firewallrule_properties.rb +110 -23
- data/lib/ionoscloud/models/flow_log.rb +53 -11
- data/lib/ionoscloud/models/flow_log_properties.rb +42 -8
- data/lib/ionoscloud/models/flow_log_put.rb +44 -10
- data/lib/ionoscloud/models/flow_logs.rb +76 -20
- data/lib/ionoscloud/models/group.rb +53 -11
- data/lib/ionoscloud/models/group_entities.rb +23 -5
- data/lib/ionoscloud/models/group_members.rb +47 -15
- data/lib/ionoscloud/models/group_properties.rb +133 -27
- data/lib/ionoscloud/models/group_share.rb +43 -9
- data/lib/ionoscloud/models/group_share_properties.rb +23 -5
- data/lib/ionoscloud/models/group_shares.rb +46 -14
- data/lib/ionoscloud/models/group_users.rb +48 -16
- data/lib/ionoscloud/models/groups.rb +47 -15
- data/lib/ionoscloud/models/image.rb +53 -11
- data/lib/ionoscloud/models/image_properties.rb +199 -47
- data/lib/ionoscloud/models/images.rb +47 -15
- data/lib/ionoscloud/models/info.rb +32 -6
- data/lib/ionoscloud/models/ip_block.rb +53 -11
- data/lib/ionoscloud/models/ip_block_properties.rb +59 -21
- data/lib/ionoscloud/models/ip_blocks.rb +103 -18
- data/lib/ionoscloud/models/ip_consumer.rb +86 -12
- data/lib/ionoscloud/models/ip_failover.rb +23 -5
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +23 -5
- data/lib/ionoscloud/models/kubernetes_cluster.rb +61 -11
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +14 -4
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +61 -11
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +61 -11
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +99 -27
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +77 -17
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +73 -11
- data/lib/ionoscloud/models/kubernetes_clusters.rb +47 -15
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +23 -5
- data/lib/ionoscloud/models/kubernetes_node.rb +52 -10
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +54 -12
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +52 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +52 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +52 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +40 -11
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +23 -5
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +202 -56
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +190 -50
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +99 -38
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +47 -15
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +43 -9
- data/lib/ionoscloud/models/kubernetes_nodes.rb +47 -15
- data/lib/ionoscloud/models/label.rb +52 -10
- data/lib/ionoscloud/models/label_properties.rb +53 -11
- data/lib/ionoscloud/models/label_resource.rb +52 -10
- data/lib/ionoscloud/models/label_resource_properties.rb +25 -7
- data/lib/ionoscloud/models/label_resources.rb +76 -20
- data/lib/ionoscloud/models/labels.rb +47 -15
- data/lib/ionoscloud/models/lan.rb +62 -12
- data/lib/ionoscloud/models/lan_entities.rb +14 -4
- data/lib/ionoscloud/models/lan_nics.rb +76 -20
- data/lib/ionoscloud/models/lan_post.rb +62 -12
- data/lib/ionoscloud/models/lan_properties.rb +46 -14
- data/lib/ionoscloud/models/lan_properties_post.rb +46 -14
- data/lib/ionoscloud/models/lans.rb +76 -20
- data/lib/ionoscloud/models/loadbalancer.rb +62 -12
- data/lib/ionoscloud/models/loadbalancer_entities.rb +14 -4
- data/lib/ionoscloud/models/loadbalancer_properties.rb +36 -9
- data/lib/ionoscloud/models/loadbalancers.rb +76 -20
- data/lib/ionoscloud/models/location.rb +53 -11
- data/lib/ionoscloud/models/location_properties.rb +48 -20
- data/lib/ionoscloud/models/locations.rb +47 -15
- data/lib/ionoscloud/models/nat_gateway.rb +62 -12
- data/lib/ionoscloud/models/nat_gateway_entities.rb +23 -5
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +27 -11
- data/lib/ionoscloud/models/nat_gateway_properties.rb +39 -17
- data/lib/ionoscloud/models/nat_gateway_put.rb +44 -10
- data/lib/ionoscloud/models/nat_gateway_rule.rb +53 -11
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +74 -16
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +3 -3
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +44 -10
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +3 -3
- data/lib/ionoscloud/models/nat_gateway_rules.rb +47 -15
- data/lib/ionoscloud/models/nat_gateways.rb +76 -20
- data/lib/ionoscloud/models/network_load_balancer.rb +62 -12
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +23 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +53 -11
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +44 -20
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +78 -22
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +44 -10
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +44 -10
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +35 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +76 -20
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +59 -21
- data/lib/ionoscloud/models/network_load_balancer_put.rb +44 -10
- data/lib/ionoscloud/models/network_load_balancers.rb +76 -20
- data/lib/ionoscloud/models/nic.rb +62 -12
- data/lib/ionoscloud/models/nic_entities.rb +23 -5
- data/lib/ionoscloud/models/nic_properties.rb +98 -25
- data/lib/ionoscloud/models/nic_put.rb +44 -10
- data/lib/ionoscloud/models/nics.rb +76 -20
- data/lib/ionoscloud/models/no_state_meta_data.rb +73 -15
- data/lib/ionoscloud/models/pagination_links.rb +35 -9
- data/lib/ionoscloud/models/peer.rb +50 -8
- data/lib/ionoscloud/models/private_cross_connect.rb +53 -11
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +49 -19
- data/lib/ionoscloud/models/private_cross_connects.rb +47 -15
- data/lib/ionoscloud/models/remote_console_url.rb +14 -4
- data/lib/ionoscloud/models/request.rb +53 -11
- data/lib/ionoscloud/models/request_metadata.rb +43 -9
- data/lib/ionoscloud/models/request_properties.rb +43 -11
- data/lib/ionoscloud/models/request_status.rb +44 -10
- data/lib/ionoscloud/models/request_status_metadata.rb +44 -12
- data/lib/ionoscloud/models/request_target.rb +23 -5
- data/lib/ionoscloud/models/requests.rb +76 -20
- data/lib/ionoscloud/models/resource.rb +62 -12
- data/lib/ionoscloud/models/resource_entities.rb +14 -4
- data/lib/ionoscloud/models/resource_groups.rb +47 -15
- data/lib/ionoscloud/models/resource_limits.rb +225 -47
- data/lib/ionoscloud/models/resource_properties.rb +25 -7
- data/lib/ionoscloud/models/resource_reference.rb +35 -9
- data/lib/ionoscloud/models/resources.rb +48 -16
- data/lib/ionoscloud/models/resources_users.rb +47 -15
- data/lib/ionoscloud/models/s3_bucket.rb +232 -0
- data/lib/ionoscloud/models/s3_key.rb +53 -11
- data/lib/ionoscloud/models/s3_key_metadata.rb +25 -7
- data/lib/ionoscloud/models/s3_key_properties.rb +25 -7
- data/lib/ionoscloud/models/s3_keys.rb +47 -15
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +14 -4
- data/lib/ionoscloud/models/server.rb +62 -12
- data/lib/ionoscloud/models/server_entities.rb +32 -6
- data/lib/ionoscloud/models/server_properties.rb +102 -20
- data/lib/ionoscloud/models/servers.rb +76 -20
- data/lib/ionoscloud/models/snapshot.rb +53 -11
- data/lib/ionoscloud/models/snapshot_properties.rb +165 -35
- data/lib/ionoscloud/models/snapshots.rb +47 -15
- data/lib/ionoscloud/models/target_port_range.rb +25 -7
- data/lib/ionoscloud/models/template.rb +53 -11
- data/lib/ionoscloud/models/template_properties.rb +45 -11
- data/lib/ionoscloud/models/templates.rb +47 -15
- data/lib/ionoscloud/models/token.rb +15 -5
- data/lib/ionoscloud/models/type.rb +5 -5
- data/lib/ionoscloud/models/user.rb +62 -12
- data/lib/ionoscloud/models/user_metadata.rb +35 -9
- data/lib/ionoscloud/models/user_post.rb +14 -4
- data/lib/ionoscloud/models/user_properties.rb +85 -19
- data/lib/ionoscloud/models/user_properties_post.rb +85 -19
- data/lib/ionoscloud/models/user_properties_put.rb +94 -18
- data/lib/ionoscloud/models/user_put.rb +24 -6
- data/lib/ionoscloud/models/users.rb +103 -18
- data/lib/ionoscloud/models/users_entities.rb +23 -5
- data/lib/ionoscloud/models/volume.rb +53 -11
- data/lib/ionoscloud/models/volume_properties.rb +240 -53
- data/lib/ionoscloud/models/volumes.rb +76 -20
- data/lib/ionoscloud/version.rb +4 -4
- data/lib/ionoscloud.rb +5 -4
- data/lib/test_driver.rb +119 -0
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +211 -590
- data/docs/DataCentersApi.md +0 -516
- data/docs/DefaultApi.md +0 -78
- data/docs/IPBlocksApi.md +0 -512
- data/docs/ImageProperties.md +0 -54
- data/docs/ImagesApi.md +0 -428
- data/docs/IpBlocks.md +0 -24
- data/docs/KubernetesClusterPropertiesForPost.md +0 -26
- data/docs/KubernetesClusterPropertiesForPut.md +0 -22
- data/docs/KubernetesNodePoolPropertiesForPost.md +0 -48
- data/docs/LabelsApi.md +0 -2346
- data/docs/LansApi.md +0 -794
- data/docs/LocationsApi.md +0 -259
- data/docs/NetworkLoadBalancerForwardingRuleHealthCheck.md +0 -26
- data/docs/NetworkLoadBalancerForwardingRuleTarget.md +0 -24
- data/docs/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +0 -22
- data/docs/NetworkLoadBalancerProperties.md +0 -26
- data/docs/NicProperties.md +0 -34
- data/docs/PrivateCrossConnectsApi.md +0 -430
- data/docs/RequestsApi.md +0 -283
- data/docs/ResourceLimits.md +0 -60
- data/docs/ServersApi.md +0 -1908
- data/docs/SnapshotProperties.md +0 -48
- data/docs/SnapshotsApi.md +0 -428
- data/docs/UserManagementApi.md +0 -2033
- data/docs/UserProperties.md +0 -32
- data/docs/UserPropertiesPost.md +0 -32
- data/docs/UserPropertiesPut.md +0 -30
- data/docs/UserS3KeysApi.md +0 -516
- data/docs/Users.md +0 -24
- data/docs/VolumesApi.md +0 -709
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_units_api_spec.rb +0 -140
- data/spec/api/contract_resources_api_spec.rb +0 -49
- data/spec/api/data_centers_api_spec.rb +0 -128
- data/spec/api/firewall_rules_api_spec.rb +0 -146
- data/spec/api/flow_logs_api_spec.rb +0 -140
- data/spec/api/images_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -126
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -478
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -205
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -336
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -342
- data/spec/api/private_cross_connects_api_spec.rb +0 -112
- data/spec/api/requests_api_spec.rb +0 -92
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -402
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -70
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -96
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -106
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -154
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -52
- data/spec/models/ip_consumer_spec.rb +0 -82
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -46
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -70
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +0 -40
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -46
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -132
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -46
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -52
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +0 -78
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +0 -46
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +0 -70
- data/spec/models/network_load_balancer_properties_spec.rb +0 -58
- data/spec/models/network_load_balancer_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_spec.rb +0 -64
- data/spec/models/network_load_balancers_spec.rb +0 -70
- data/spec/models/nic_entities_spec.rb +0 -40
- data/spec/models/nic_properties_spec.rb +0 -86
- data/spec/models/nic_put_spec.rb +0 -52
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/remote_console_url_spec.rb +0 -34
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -160
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -96
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/target_port_range_spec.rb +0 -40
- data/spec/models/template_properties_spec.rb +0 -52
- data/spec/models/template_spec.rb +0 -58
- data/spec/models/templates_spec.rb +0 -52
- data/spec/models/token_spec.rb +0 -34
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -52
- data/spec/models/volume_properties_spec.rb +0 -158
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
@@ -4,33 +4,33 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**datacenters_networkloadbalancers_delete**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_delete) | **DELETE** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId} |
|
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
|
9
|
-
| [**datacenters_networkloadbalancers_flowlogs_delete**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_delete) | **DELETE** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} |
|
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
|
11
|
-
| [**datacenters_networkloadbalancers_flowlogs_get**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_get) | **GET** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs | List
|
12
|
-
| [**datacenters_networkloadbalancers_flowlogs_patch**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_patch) | **PATCH** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} | Partially modify
|
13
|
-
| [**datacenters_networkloadbalancers_flowlogs_post**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_post) | **POST** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs |
|
14
|
-
| [**datacenters_networkloadbalancers_flowlogs_put**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_put) | **PUT** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} | Modify
|
15
|
-
| [**datacenters_networkloadbalancers_forwardingrules_delete**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_delete) | **DELETE** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} |
|
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
|
17
|
-
| [**datacenters_networkloadbalancers_forwardingrules_get**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_get) | **GET** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules | List
|
18
|
-
| [**datacenters_networkloadbalancers_forwardingrules_patch**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_patch) | **PATCH** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} | Partially modify
|
19
|
-
| [**datacenters_networkloadbalancers_forwardingrules_post**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_post) | **POST** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules |
|
20
|
-
| [**datacenters_networkloadbalancers_forwardingrules_put**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_put) | **PUT** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} | Modify
|
7
|
+
| [**datacenters_networkloadbalancers_delete**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_delete) | **DELETE** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId} | Delete Network Load Balancers |
|
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 Network Load Balancers |
|
9
|
+
| [**datacenters_networkloadbalancers_flowlogs_delete**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_delete) | **DELETE** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} | Delete NLB Flow Logs |
|
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 NLB Flow Logs |
|
11
|
+
| [**datacenters_networkloadbalancers_flowlogs_get**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_get) | **GET** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs | List NLB Flow Logs |
|
12
|
+
| [**datacenters_networkloadbalancers_flowlogs_patch**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_patch) | **PATCH** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} | Partially modify NLB Flow Logs |
|
13
|
+
| [**datacenters_networkloadbalancers_flowlogs_post**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_post) | **POST** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs | Create NLB Flow Logs |
|
14
|
+
| [**datacenters_networkloadbalancers_flowlogs_put**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_flowlogs_put) | **PUT** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId} | Modify NLB Flow Logs |
|
15
|
+
| [**datacenters_networkloadbalancers_forwardingrules_delete**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_delete) | **DELETE** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} | Delete NLB forwarding rules |
|
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 NLB forwarding rules |
|
17
|
+
| [**datacenters_networkloadbalancers_forwardingrules_get**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_get) | **GET** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules | List NLB forwarding rules |
|
18
|
+
| [**datacenters_networkloadbalancers_forwardingrules_patch**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_patch) | **PATCH** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} | Partially modify NLB forwarding rules |
|
19
|
+
| [**datacenters_networkloadbalancers_forwardingrules_post**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_post) | **POST** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules | Create NLB forwarding rules |
|
20
|
+
| [**datacenters_networkloadbalancers_forwardingrules_put**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_forwardingrules_put) | **PUT** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId} | Modify NLB forwarding rules |
|
21
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
|
23
|
-
| [**datacenters_networkloadbalancers_post**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_post) | **POST** /datacenters/{datacenterId}/networkloadbalancers | Create
|
24
|
-
| [**datacenters_networkloadbalancers_put**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_put) | **PUT** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId} |
|
22
|
+
| [**datacenters_networkloadbalancers_patch**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_patch) | **PATCH** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId} | Partially modify Network Load Balancers |
|
23
|
+
| [**datacenters_networkloadbalancers_post**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_post) | **POST** /datacenters/{datacenterId}/networkloadbalancers | Create Network Load Balancers |
|
24
|
+
| [**datacenters_networkloadbalancers_put**](NetworkLoadBalancersApi.md#datacenters_networkloadbalancers_put) | **PUT** /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId} | Modify Network Load Balancers |
|
25
25
|
|
26
26
|
|
27
27
|
## datacenters_networkloadbalancers_delete
|
28
28
|
|
29
29
|
> datacenters_networkloadbalancers_delete(datacenter_id, network_load_balancer_id, opts)
|
30
30
|
|
31
|
-
|
31
|
+
Delete Network Load Balancers
|
32
32
|
|
33
|
-
|
33
|
+
Remove the specified Network Load Balancer from the data center.
|
34
34
|
|
35
35
|
### Examples
|
36
36
|
|
@@ -50,16 +50,16 @@ Ionoscloud.configure do |config|
|
|
50
50
|
end
|
51
51
|
|
52
52
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
53
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
54
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
53
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
54
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
55
55
|
opts = {
|
56
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
57
|
-
depth: 56, # Integer | Controls the
|
58
|
-
x_contract_number: 56 # Integer | Users
|
56
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
57
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
59
59
|
}
|
60
60
|
|
61
61
|
begin
|
62
|
-
#
|
62
|
+
# Delete Network Load Balancers
|
63
63
|
api_instance.datacenters_networkloadbalancers_delete(datacenter_id, network_load_balancer_id, opts)
|
64
64
|
rescue Ionoscloud::ApiError => e
|
65
65
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_delete: #{e}"
|
@@ -74,7 +74,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
begin
|
77
|
-
#
|
77
|
+
# Delete Network Load Balancers
|
78
78
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_delete_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
79
79
|
p status_code # => 2xx
|
80
80
|
p headers # => { ... }
|
@@ -88,11 +88,11 @@ end
|
|
88
88
|
|
89
89
|
| Name | Type | Description | Notes |
|
90
90
|
| ---- | ---- | ----------- | ----- |
|
91
|
-
| **datacenter_id** | **String** | The unique ID of the
|
92
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
93
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
94
|
-
| **depth** | **Integer** | Controls the
|
95
|
-
| **x_contract_number** | **Integer** | Users
|
91
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
92
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
93
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
94
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
95
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
96
96
|
|
97
97
|
### Return type
|
98
98
|
|
@@ -112,9 +112,9 @@ Basic Authentication, Token Authentication
|
|
112
112
|
|
113
113
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_find_by_network_load_balancer_id(datacenter_id, network_load_balancer_id, opts)
|
114
114
|
|
115
|
-
Retrieve
|
115
|
+
Retrieve Network Load Balancers
|
116
116
|
|
117
|
-
|
117
|
+
Retrieve the properties of the specified Network Load Balancer within the data center.
|
118
118
|
|
119
119
|
### Examples
|
120
120
|
|
@@ -134,16 +134,16 @@ Ionoscloud.configure do |config|
|
|
134
134
|
end
|
135
135
|
|
136
136
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
137
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
138
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
137
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
138
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
139
139
|
opts = {
|
140
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
141
|
-
depth: 56, # Integer | Controls the
|
142
|
-
x_contract_number: 56 # Integer | Users
|
140
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
141
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
142
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
143
143
|
}
|
144
144
|
|
145
145
|
begin
|
146
|
-
# Retrieve
|
146
|
+
# Retrieve Network Load Balancers
|
147
147
|
result = api_instance.datacenters_networkloadbalancers_find_by_network_load_balancer_id(datacenter_id, network_load_balancer_id, opts)
|
148
148
|
p result
|
149
149
|
rescue Ionoscloud::ApiError => e
|
@@ -159,7 +159,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
159
159
|
|
160
160
|
```ruby
|
161
161
|
begin
|
162
|
-
# Retrieve
|
162
|
+
# Retrieve Network Load Balancers
|
163
163
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_find_by_network_load_balancer_id_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
164
164
|
p status_code # => 2xx
|
165
165
|
p headers # => { ... }
|
@@ -173,15 +173,15 @@ end
|
|
173
173
|
|
174
174
|
| Name | Type | Description | Notes |
|
175
175
|
| ---- | ---- | ----------- | ----- |
|
176
|
-
| **datacenter_id** | **String** | The unique ID of the
|
177
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
178
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
179
|
-
| **depth** | **Integer** | Controls the
|
180
|
-
| **x_contract_number** | **Integer** | Users
|
176
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
177
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
178
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
179
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
180
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
181
181
|
|
182
182
|
### Return type
|
183
183
|
|
184
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
184
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
185
185
|
|
186
186
|
### Authorization
|
187
187
|
|
@@ -197,9 +197,9 @@ Basic Authentication, Token Authentication
|
|
197
197
|
|
198
198
|
> datacenters_networkloadbalancers_flowlogs_delete(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
199
199
|
|
200
|
-
|
200
|
+
Delete NLB Flow Logs
|
201
201
|
|
202
|
-
|
202
|
+
Delete the specified Network Load Balancer Flow Log.
|
203
203
|
|
204
204
|
### Examples
|
205
205
|
|
@@ -219,17 +219,17 @@ Ionoscloud.configure do |config|
|
|
219
219
|
end
|
220
220
|
|
221
221
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
222
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
223
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
224
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the
|
222
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
223
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
224
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
225
225
|
opts = {
|
226
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
227
|
-
depth: 56, # Integer | Controls the
|
228
|
-
x_contract_number: 56 # Integer | Users
|
226
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
227
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
228
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
229
229
|
}
|
230
230
|
|
231
231
|
begin
|
232
|
-
#
|
232
|
+
# Delete NLB Flow Logs
|
233
233
|
api_instance.datacenters_networkloadbalancers_flowlogs_delete(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
234
234
|
rescue Ionoscloud::ApiError => e
|
235
235
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_delete: #{e}"
|
@@ -244,7 +244,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
244
244
|
|
245
245
|
```ruby
|
246
246
|
begin
|
247
|
-
#
|
247
|
+
# Delete NLB Flow Logs
|
248
248
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_delete_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
249
249
|
p status_code # => 2xx
|
250
250
|
p headers # => { ... }
|
@@ -258,12 +258,12 @@ end
|
|
258
258
|
|
259
259
|
| Name | Type | Description | Notes |
|
260
260
|
| ---- | ---- | ----------- | ----- |
|
261
|
-
| **datacenter_id** | **String** | The unique ID of the
|
262
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
263
|
-
| **flow_log_id** | **String** | The unique ID of the
|
264
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
265
|
-
| **depth** | **Integer** | Controls the
|
266
|
-
| **x_contract_number** | **Integer** | Users
|
261
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
262
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
263
|
+
| **flow_log_id** | **String** | The unique ID of the Flow Log. | |
|
264
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
265
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
266
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
267
267
|
|
268
268
|
### Return type
|
269
269
|
|
@@ -283,9 +283,9 @@ Basic Authentication, Token Authentication
|
|
283
283
|
|
284
284
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
285
285
|
|
286
|
-
Retrieve
|
286
|
+
Retrieve NLB Flow Logs
|
287
287
|
|
288
|
-
|
288
|
+
Retrieve the specified Network Load Balancer Flow Log.
|
289
289
|
|
290
290
|
### Examples
|
291
291
|
|
@@ -305,17 +305,17 @@ Ionoscloud.configure do |config|
|
|
305
305
|
end
|
306
306
|
|
307
307
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
308
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
309
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
310
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log
|
308
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
309
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
310
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
311
311
|
opts = {
|
312
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
313
|
-
depth: 56, # Integer | Controls the
|
314
|
-
x_contract_number: 56 # Integer | Users
|
312
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
313
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
314
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
315
315
|
}
|
316
316
|
|
317
317
|
begin
|
318
|
-
# Retrieve
|
318
|
+
# Retrieve NLB Flow Logs
|
319
319
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
320
320
|
p result
|
321
321
|
rescue Ionoscloud::ApiError => e
|
@@ -331,7 +331,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
331
331
|
|
332
332
|
```ruby
|
333
333
|
begin
|
334
|
-
# Retrieve
|
334
|
+
# Retrieve NLB Flow Logs
|
335
335
|
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)
|
336
336
|
p status_code # => 2xx
|
337
337
|
p headers # => { ... }
|
@@ -345,16 +345,16 @@ end
|
|
345
345
|
|
346
346
|
| Name | Type | Description | Notes |
|
347
347
|
| ---- | ---- | ----------- | ----- |
|
348
|
-
| **datacenter_id** | **String** | The unique ID of the
|
349
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
350
|
-
| **flow_log_id** | **String** | The unique ID of the Flow Log | |
|
351
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
352
|
-
| **depth** | **Integer** | Controls the
|
353
|
-
| **x_contract_number** | **Integer** | Users
|
348
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
349
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
350
|
+
| **flow_log_id** | **String** | The unique ID of the Flow Log. | |
|
351
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
352
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
353
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
354
354
|
|
355
355
|
### Return type
|
356
356
|
|
357
|
-
[**FlowLog**](FlowLog.md)
|
357
|
+
[**FlowLog**](../models/FlowLog.md)
|
358
358
|
|
359
359
|
### Authorization
|
360
360
|
|
@@ -370,9 +370,9 @@ Basic Authentication, Token Authentication
|
|
370
370
|
|
371
371
|
> <FlowLogs> datacenters_networkloadbalancers_flowlogs_get(datacenter_id, network_load_balancer_id, opts)
|
372
372
|
|
373
|
-
List
|
373
|
+
List NLB Flow Logs
|
374
374
|
|
375
|
-
|
375
|
+
List all the Flow Logs for the specified Network Load Balancer.
|
376
376
|
|
377
377
|
### Examples
|
378
378
|
|
@@ -392,16 +392,16 @@ Ionoscloud.configure do |config|
|
|
392
392
|
end
|
393
393
|
|
394
394
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
395
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
396
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
395
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
396
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
397
397
|
opts = {
|
398
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
399
|
-
depth: 56, # Integer | Controls the
|
400
|
-
x_contract_number: 56 # Integer | Users
|
398
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
399
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
400
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
401
401
|
}
|
402
402
|
|
403
403
|
begin
|
404
|
-
# List
|
404
|
+
# List NLB Flow Logs
|
405
405
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_get(datacenter_id, network_load_balancer_id, opts)
|
406
406
|
p result
|
407
407
|
rescue Ionoscloud::ApiError => e
|
@@ -417,7 +417,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
417
417
|
|
418
418
|
```ruby
|
419
419
|
begin
|
420
|
-
# List
|
420
|
+
# List NLB Flow Logs
|
421
421
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
422
422
|
p status_code # => 2xx
|
423
423
|
p headers # => { ... }
|
@@ -431,15 +431,15 @@ end
|
|
431
431
|
|
432
432
|
| Name | Type | Description | Notes |
|
433
433
|
| ---- | ---- | ----------- | ----- |
|
434
|
-
| **datacenter_id** | **String** | The unique ID of the
|
435
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
436
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
437
|
-
| **depth** | **Integer** | Controls the
|
438
|
-
| **x_contract_number** | **Integer** | Users
|
434
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
435
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
436
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
437
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
438
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
439
439
|
|
440
440
|
### Return type
|
441
441
|
|
442
|
-
[**FlowLogs**](FlowLogs.md)
|
442
|
+
[**FlowLogs**](../models/FlowLogs.md)
|
443
443
|
|
444
444
|
### Authorization
|
445
445
|
|
@@ -455,9 +455,9 @@ Basic Authentication, Token Authentication
|
|
455
455
|
|
456
456
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_patch(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
|
457
457
|
|
458
|
-
Partially modify
|
458
|
+
Partially modify NLB Flow Logs
|
459
459
|
|
460
|
-
|
460
|
+
Update the properties of the specified Network Load Balancer Flow Log.
|
461
461
|
|
462
462
|
### Examples
|
463
463
|
|
@@ -477,18 +477,18 @@ Ionoscloud.configure do |config|
|
|
477
477
|
end
|
478
478
|
|
479
479
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
480
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
481
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
482
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log
|
483
|
-
network_load_balancer_flow_log_properties = Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'}) # FlowLogProperties |
|
480
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
481
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
482
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
483
|
+
network_load_balancer_flow_log_properties = Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'}) # FlowLogProperties | The properties of the Flow Log to be updated.
|
484
484
|
opts = {
|
485
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
486
|
-
depth: 56, # Integer | Controls the
|
487
|
-
x_contract_number: 56 # Integer | Users
|
485
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
486
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
487
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
488
488
|
}
|
489
489
|
|
490
490
|
begin
|
491
|
-
# Partially modify
|
491
|
+
# Partially modify NLB Flow Logs
|
492
492
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_patch(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
|
493
493
|
p result
|
494
494
|
rescue Ionoscloud::ApiError => e
|
@@ -504,7 +504,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
504
504
|
|
505
505
|
```ruby
|
506
506
|
begin
|
507
|
-
# Partially modify
|
507
|
+
# Partially modify NLB Flow Logs
|
508
508
|
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)
|
509
509
|
p status_code # => 2xx
|
510
510
|
p headers # => { ... }
|
@@ -518,17 +518,17 @@ end
|
|
518
518
|
|
519
519
|
| Name | Type | Description | Notes |
|
520
520
|
| ---- | ---- | ----------- | ----- |
|
521
|
-
| **datacenter_id** | **String** | The unique ID of the
|
522
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
523
|
-
| **flow_log_id** | **String** | The unique ID of the Flow Log | |
|
524
|
-
| **network_load_balancer_flow_log_properties** | [**FlowLogProperties**](FlowLogProperties.md) |
|
525
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
526
|
-
| **depth** | **Integer** | Controls the
|
527
|
-
| **x_contract_number** | **Integer** | Users
|
521
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
522
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
523
|
+
| **flow_log_id** | **String** | The unique ID of the Flow Log. | |
|
524
|
+
| **network_load_balancer_flow_log_properties** | [**FlowLogProperties**](FlowLogProperties.md) | The properties of the Flow Log to be updated. | |
|
525
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
526
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
527
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
528
528
|
|
529
529
|
### Return type
|
530
530
|
|
531
|
-
[**FlowLog**](FlowLog.md)
|
531
|
+
[**FlowLog**](../models/FlowLog.md)
|
532
532
|
|
533
533
|
### Authorization
|
534
534
|
|
@@ -544,9 +544,9 @@ Basic Authentication, Token Authentication
|
|
544
544
|
|
545
545
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_post(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
|
546
546
|
|
547
|
-
|
547
|
+
Create NLB Flow Logs
|
548
548
|
|
549
|
-
|
549
|
+
Add a new Flow Log for the Network Load Balancer.
|
550
550
|
|
551
551
|
### Examples
|
552
552
|
|
@@ -566,17 +566,17 @@ Ionoscloud.configure do |config|
|
|
566
566
|
end
|
567
567
|
|
568
568
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
569
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
570
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
571
|
-
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
|
569
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
570
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
571
|
+
network_load_balancer_flow_log = Ionoscloud::FlowLog.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLog | The Flow Log to create.
|
572
572
|
opts = {
|
573
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
574
|
-
depth: 56, # Integer | Controls the
|
575
|
-
x_contract_number: 56 # Integer | Users
|
573
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
574
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
575
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
576
576
|
}
|
577
577
|
|
578
578
|
begin
|
579
|
-
#
|
579
|
+
# Create NLB Flow Logs
|
580
580
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_post(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
|
581
581
|
p result
|
582
582
|
rescue Ionoscloud::ApiError => e
|
@@ -592,7 +592,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
592
592
|
|
593
593
|
```ruby
|
594
594
|
begin
|
595
|
-
#
|
595
|
+
# Create NLB Flow Logs
|
596
596
|
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)
|
597
597
|
p status_code # => 2xx
|
598
598
|
p headers # => { ... }
|
@@ -606,16 +606,16 @@ end
|
|
606
606
|
|
607
607
|
| Name | Type | Description | Notes |
|
608
608
|
| ---- | ---- | ----------- | ----- |
|
609
|
-
| **datacenter_id** | **String** | The unique ID of the
|
610
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
611
|
-
| **network_load_balancer_flow_log** | [**FlowLog**](FlowLog.md) | Flow Log to
|
612
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
613
|
-
| **depth** | **Integer** | Controls the
|
614
|
-
| **x_contract_number** | **Integer** | Users
|
609
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
610
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
611
|
+
| **network_load_balancer_flow_log** | [**FlowLog**](FlowLog.md) | The Flow Log to create. | |
|
612
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
613
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
614
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
615
615
|
|
616
616
|
### Return type
|
617
617
|
|
618
|
-
[**FlowLog**](FlowLog.md)
|
618
|
+
[**FlowLog**](../models/FlowLog.md)
|
619
619
|
|
620
620
|
### Authorization
|
621
621
|
|
@@ -631,9 +631,9 @@ Basic Authentication, Token Authentication
|
|
631
631
|
|
632
632
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_put(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
|
633
633
|
|
634
|
-
Modify
|
634
|
+
Modify NLB Flow Logs
|
635
635
|
|
636
|
-
|
636
|
+
Modify the specified Network Load Balancer Flow Log.
|
637
637
|
|
638
638
|
### Examples
|
639
639
|
|
@@ -653,18 +653,18 @@ Ionoscloud.configure do |config|
|
|
653
653
|
end
|
654
654
|
|
655
655
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
656
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
657
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
658
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log
|
659
|
-
network_load_balancer_flow_log = Ionoscloud::FlowLogPut.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLogPut |
|
656
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
657
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
658
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
659
|
+
network_load_balancer_flow_log = Ionoscloud::FlowLogPut.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLogPut | The modified NLB Flow Log.
|
660
660
|
opts = {
|
661
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
662
|
-
depth: 56, # Integer | Controls the
|
663
|
-
x_contract_number: 56 # Integer | Users
|
661
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
662
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
663
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
664
664
|
}
|
665
665
|
|
666
666
|
begin
|
667
|
-
# Modify
|
667
|
+
# Modify NLB Flow Logs
|
668
668
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_put(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
|
669
669
|
p result
|
670
670
|
rescue Ionoscloud::ApiError => e
|
@@ -680,7 +680,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
680
680
|
|
681
681
|
```ruby
|
682
682
|
begin
|
683
|
-
# Modify
|
683
|
+
# Modify NLB Flow Logs
|
684
684
|
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)
|
685
685
|
p status_code # => 2xx
|
686
686
|
p headers # => { ... }
|
@@ -694,17 +694,17 @@ end
|
|
694
694
|
|
695
695
|
| Name | Type | Description | Notes |
|
696
696
|
| ---- | ---- | ----------- | ----- |
|
697
|
-
| **datacenter_id** | **String** | The unique ID of the
|
698
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
699
|
-
| **flow_log_id** | **String** | The unique ID of the Flow Log | |
|
700
|
-
| **network_load_balancer_flow_log** | [**FlowLogPut**](FlowLogPut.md) |
|
701
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
702
|
-
| **depth** | **Integer** | Controls the
|
703
|
-
| **x_contract_number** | **Integer** | Users
|
697
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
698
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
699
|
+
| **flow_log_id** | **String** | The unique ID of the Flow Log. | |
|
700
|
+
| **network_load_balancer_flow_log** | [**FlowLogPut**](FlowLogPut.md) | The modified NLB Flow Log. | |
|
701
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
702
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
703
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
704
704
|
|
705
705
|
### Return type
|
706
706
|
|
707
|
-
[**FlowLog**](FlowLog.md)
|
707
|
+
[**FlowLog**](../models/FlowLog.md)
|
708
708
|
|
709
709
|
### Authorization
|
710
710
|
|
@@ -720,9 +720,9 @@ Basic Authentication, Token Authentication
|
|
720
720
|
|
721
721
|
> datacenters_networkloadbalancers_forwardingrules_delete(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
722
722
|
|
723
|
-
|
723
|
+
Delete NLB forwarding rules
|
724
724
|
|
725
|
-
|
725
|
+
Delete the specified Network Load Balancer forwarding rule.
|
726
726
|
|
727
727
|
### Examples
|
728
728
|
|
@@ -742,17 +742,17 @@ Ionoscloud.configure do |config|
|
|
742
742
|
end
|
743
743
|
|
744
744
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
745
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
746
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
747
|
-
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
|
745
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
746
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
747
|
+
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule.
|
748
748
|
opts = {
|
749
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
750
|
-
depth: 56, # Integer | Controls the
|
751
|
-
x_contract_number: 56 # Integer | Users
|
749
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
750
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
751
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
752
752
|
}
|
753
753
|
|
754
754
|
begin
|
755
|
-
#
|
755
|
+
# Delete NLB forwarding rules
|
756
756
|
api_instance.datacenters_networkloadbalancers_forwardingrules_delete(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
757
757
|
rescue Ionoscloud::ApiError => e
|
758
758
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_delete: #{e}"
|
@@ -767,7 +767,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
767
767
|
|
768
768
|
```ruby
|
769
769
|
begin
|
770
|
-
#
|
770
|
+
# Delete NLB forwarding rules
|
771
771
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_delete_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
772
772
|
p status_code # => 2xx
|
773
773
|
p headers # => { ... }
|
@@ -781,12 +781,12 @@ end
|
|
781
781
|
|
782
782
|
| Name | Type | Description | Notes |
|
783
783
|
| ---- | ---- | ----------- | ----- |
|
784
|
-
| **datacenter_id** | **String** | The unique ID of the
|
785
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
786
|
-
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
|
787
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
788
|
-
| **depth** | **Integer** | Controls the
|
789
|
-
| **x_contract_number** | **Integer** | Users
|
784
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
785
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
786
|
+
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule. | |
|
787
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
788
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
789
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
790
790
|
|
791
791
|
### Return type
|
792
792
|
|
@@ -806,9 +806,9 @@ Basic Authentication, Token Authentication
|
|
806
806
|
|
807
807
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
808
808
|
|
809
|
-
Retrieve
|
809
|
+
Retrieve NLB forwarding rules
|
810
810
|
|
811
|
-
|
811
|
+
Retrieve the specified Network Load Balance forwarding rule.
|
812
812
|
|
813
813
|
### Examples
|
814
814
|
|
@@ -828,17 +828,17 @@ Ionoscloud.configure do |config|
|
|
828
828
|
end
|
829
829
|
|
830
830
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
831
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
832
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
833
|
-
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
|
831
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
832
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
833
|
+
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule.
|
834
834
|
opts = {
|
835
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
836
|
-
depth: 56, # Integer | Controls the
|
837
|
-
x_contract_number: 56 # Integer | Users
|
835
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
836
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
837
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
838
838
|
}
|
839
839
|
|
840
840
|
begin
|
841
|
-
# Retrieve
|
841
|
+
# Retrieve NLB forwarding rules
|
842
842
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
843
843
|
p result
|
844
844
|
rescue Ionoscloud::ApiError => e
|
@@ -854,7 +854,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
854
854
|
|
855
855
|
```ruby
|
856
856
|
begin
|
857
|
-
# Retrieve
|
857
|
+
# Retrieve NLB forwarding rules
|
858
858
|
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)
|
859
859
|
p status_code # => 2xx
|
860
860
|
p headers # => { ... }
|
@@ -868,16 +868,16 @@ end
|
|
868
868
|
|
869
869
|
| Name | Type | Description | Notes |
|
870
870
|
| ---- | ---- | ----------- | ----- |
|
871
|
-
| **datacenter_id** | **String** | The unique ID of the
|
872
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
873
|
-
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
|
874
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
875
|
-
| **depth** | **Integer** | Controls the
|
876
|
-
| **x_contract_number** | **Integer** | Users
|
871
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
872
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
873
|
+
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule. | |
|
874
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
875
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
876
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
877
877
|
|
878
878
|
### Return type
|
879
879
|
|
880
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
880
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
881
881
|
|
882
882
|
### Authorization
|
883
883
|
|
@@ -893,9 +893,9 @@ Basic Authentication, Token Authentication
|
|
893
893
|
|
894
894
|
> <NetworkLoadBalancerForwardingRules> datacenters_networkloadbalancers_forwardingrules_get(datacenter_id, network_load_balancer_id, opts)
|
895
895
|
|
896
|
-
List
|
896
|
+
List NLB forwarding rules
|
897
897
|
|
898
|
-
|
898
|
+
List the forwarding rules for the specified Network Load Balancer.
|
899
899
|
|
900
900
|
### Examples
|
901
901
|
|
@@ -915,16 +915,16 @@ Ionoscloud.configure do |config|
|
|
915
915
|
end
|
916
916
|
|
917
917
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
918
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
919
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
918
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
919
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
920
920
|
opts = {
|
921
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
922
|
-
depth: 56, # Integer | Controls the
|
923
|
-
x_contract_number: 56 # Integer | Users
|
921
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
922
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
923
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
924
924
|
}
|
925
925
|
|
926
926
|
begin
|
927
|
-
# List
|
927
|
+
# List NLB forwarding rules
|
928
928
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_get(datacenter_id, network_load_balancer_id, opts)
|
929
929
|
p result
|
930
930
|
rescue Ionoscloud::ApiError => e
|
@@ -940,7 +940,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
940
940
|
|
941
941
|
```ruby
|
942
942
|
begin
|
943
|
-
# List
|
943
|
+
# List NLB forwarding rules
|
944
944
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
945
945
|
p status_code # => 2xx
|
946
946
|
p headers # => { ... }
|
@@ -954,15 +954,15 @@ end
|
|
954
954
|
|
955
955
|
| Name | Type | Description | Notes |
|
956
956
|
| ---- | ---- | ----------- | ----- |
|
957
|
-
| **datacenter_id** | **String** | The unique ID of the
|
958
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
959
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
960
|
-
| **depth** | **Integer** | Controls the
|
961
|
-
| **x_contract_number** | **Integer** | Users
|
957
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
958
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
959
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
960
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
961
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
962
962
|
|
963
963
|
### Return type
|
964
964
|
|
965
|
-
[**NetworkLoadBalancerForwardingRules**](NetworkLoadBalancerForwardingRules.md)
|
965
|
+
[**NetworkLoadBalancerForwardingRules**](../models/NetworkLoadBalancerForwardingRules.md)
|
966
966
|
|
967
967
|
### Authorization
|
968
968
|
|
@@ -978,9 +978,9 @@ Basic Authentication, Token Authentication
|
|
978
978
|
|
979
979
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_patch(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
|
980
980
|
|
981
|
-
Partially modify
|
981
|
+
Partially modify NLB forwarding rules
|
982
982
|
|
983
|
-
|
983
|
+
Update the properties of the specified Network Load Balancer forwarding rule.
|
984
984
|
|
985
985
|
### Examples
|
986
986
|
|
@@ -1000,18 +1000,18 @@ Ionoscloud.configure do |config|
|
|
1000
1000
|
end
|
1001
1001
|
|
1002
1002
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1003
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1004
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1005
|
-
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
|
1006
|
-
network_load_balancer_forwarding_rule_properties = Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: '
|
1003
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1004
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1005
|
+
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule.
|
1006
|
+
network_load_balancer_forwarding_rule_properties = Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: 'HTTP', listener_ip: '81.173.1.2', listener_port: 8080, targets: [Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new({ip: '22.231.2.2', port: 8080, weight: 123})]}) # NetworkLoadBalancerForwardingRuleProperties | The properties of the forwarding rule to be updated.
|
1007
1007
|
opts = {
|
1008
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1009
|
-
depth: 56, # Integer | Controls the
|
1010
|
-
x_contract_number: 56 # Integer | Users
|
1008
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1009
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
1010
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1011
1011
|
}
|
1012
1012
|
|
1013
1013
|
begin
|
1014
|
-
# Partially modify
|
1014
|
+
# Partially modify NLB forwarding rules
|
1015
1015
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_patch(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
|
1016
1016
|
p result
|
1017
1017
|
rescue Ionoscloud::ApiError => e
|
@@ -1027,7 +1027,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1027
1027
|
|
1028
1028
|
```ruby
|
1029
1029
|
begin
|
1030
|
-
# Partially modify
|
1030
|
+
# Partially modify NLB forwarding rules
|
1031
1031
|
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)
|
1032
1032
|
p status_code # => 2xx
|
1033
1033
|
p headers # => { ... }
|
@@ -1041,17 +1041,17 @@ end
|
|
1041
1041
|
|
1042
1042
|
| Name | Type | Description | Notes |
|
1043
1043
|
| ---- | ---- | ----------- | ----- |
|
1044
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1045
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1046
|
-
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
|
1047
|
-
| **network_load_balancer_forwarding_rule_properties** | [**NetworkLoadBalancerForwardingRuleProperties**](NetworkLoadBalancerForwardingRuleProperties.md) |
|
1048
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1049
|
-
| **depth** | **Integer** | Controls the
|
1050
|
-
| **x_contract_number** | **Integer** | Users
|
1044
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1045
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
1046
|
+
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule. | |
|
1047
|
+
| **network_load_balancer_forwarding_rule_properties** | [**NetworkLoadBalancerForwardingRuleProperties**](NetworkLoadBalancerForwardingRuleProperties.md) | The properties of the forwarding rule to be updated. | |
|
1048
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1049
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
1050
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1051
1051
|
|
1052
1052
|
### Return type
|
1053
1053
|
|
1054
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
1054
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
1055
1055
|
|
1056
1056
|
### Authorization
|
1057
1057
|
|
@@ -1067,9 +1067,9 @@ Basic Authentication, Token Authentication
|
|
1067
1067
|
|
1068
1068
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_post(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
|
1069
1069
|
|
1070
|
-
|
1070
|
+
Create NLB forwarding rules
|
1071
1071
|
|
1072
|
-
|
1072
|
+
Create a forwarding rule for the specified Network Load Balancer.
|
1073
1073
|
|
1074
1074
|
### Examples
|
1075
1075
|
|
@@ -1089,17 +1089,17 @@ Ionoscloud.configure do |config|
|
|
1089
1089
|
end
|
1090
1090
|
|
1091
1091
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1092
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1093
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1094
|
-
network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRule.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: '
|
1092
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1093
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1094
|
+
network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRule.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: 'HTTP', listener_ip: '81.173.1.2', listener_port: 8080, targets: [Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new({ip: '22.231.2.2', port: 8080, weight: 123})]})}) # NetworkLoadBalancerForwardingRule | The forwarding rule to create.
|
1095
1095
|
opts = {
|
1096
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1097
|
-
depth: 56, # Integer | Controls the
|
1098
|
-
x_contract_number: 56 # Integer | Users
|
1096
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1097
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
1098
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1099
1099
|
}
|
1100
1100
|
|
1101
1101
|
begin
|
1102
|
-
#
|
1102
|
+
# Create NLB forwarding rules
|
1103
1103
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_post(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
|
1104
1104
|
p result
|
1105
1105
|
rescue Ionoscloud::ApiError => e
|
@@ -1115,7 +1115,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1115
1115
|
|
1116
1116
|
```ruby
|
1117
1117
|
begin
|
1118
|
-
#
|
1118
|
+
# Create NLB forwarding rules
|
1119
1119
|
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)
|
1120
1120
|
p status_code # => 2xx
|
1121
1121
|
p headers # => { ... }
|
@@ -1129,16 +1129,16 @@ end
|
|
1129
1129
|
|
1130
1130
|
| Name | Type | Description | Notes |
|
1131
1131
|
| ---- | ---- | ----------- | ----- |
|
1132
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1133
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1134
|
-
| **network_load_balancer_forwarding_rule** | [**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md) | forwarding rule to
|
1135
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1136
|
-
| **depth** | **Integer** | Controls the
|
1137
|
-
| **x_contract_number** | **Integer** | Users
|
1132
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1133
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
1134
|
+
| **network_load_balancer_forwarding_rule** | [**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md) | The forwarding rule to create. | |
|
1135
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1136
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
1137
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1138
1138
|
|
1139
1139
|
### Return type
|
1140
1140
|
|
1141
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
1141
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
1142
1142
|
|
1143
1143
|
### Authorization
|
1144
1144
|
|
@@ -1154,9 +1154,9 @@ Basic Authentication, Token Authentication
|
|
1154
1154
|
|
1155
1155
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_put(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
|
1156
1156
|
|
1157
|
-
Modify
|
1157
|
+
Modify NLB forwarding rules
|
1158
1158
|
|
1159
|
-
|
1159
|
+
Modify the specified Network Load Balancer forwarding rule.
|
1160
1160
|
|
1161
1161
|
### Examples
|
1162
1162
|
|
@@ -1176,18 +1176,18 @@ Ionoscloud.configure do |config|
|
|
1176
1176
|
end
|
1177
1177
|
|
1178
1178
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1179
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1180
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1181
|
-
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
|
1182
|
-
network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRulePut.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: '
|
1179
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1180
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1181
|
+
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule.
|
1182
|
+
network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRulePut.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: 'HTTP', listener_ip: '81.173.1.2', listener_port: 8080, targets: [Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new({ip: '22.231.2.2', port: 8080, weight: 123})]})}) # NetworkLoadBalancerForwardingRulePut | The modified NLB forwarding rule.
|
1183
1183
|
opts = {
|
1184
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1185
|
-
depth: 56, # Integer | Controls the
|
1186
|
-
x_contract_number: 56 # Integer | Users
|
1184
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1185
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
1186
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1187
1187
|
}
|
1188
1188
|
|
1189
1189
|
begin
|
1190
|
-
# Modify
|
1190
|
+
# Modify NLB forwarding rules
|
1191
1191
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_put(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
|
1192
1192
|
p result
|
1193
1193
|
rescue Ionoscloud::ApiError => e
|
@@ -1203,7 +1203,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1203
1203
|
|
1204
1204
|
```ruby
|
1205
1205
|
begin
|
1206
|
-
# Modify
|
1206
|
+
# Modify NLB forwarding rules
|
1207
1207
|
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)
|
1208
1208
|
p status_code # => 2xx
|
1209
1209
|
p headers # => { ... }
|
@@ -1217,17 +1217,17 @@ end
|
|
1217
1217
|
|
1218
1218
|
| Name | Type | Description | Notes |
|
1219
1219
|
| ---- | ---- | ----------- | ----- |
|
1220
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1221
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1222
|
-
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
|
1223
|
-
| **network_load_balancer_forwarding_rule** | [**NetworkLoadBalancerForwardingRulePut**](NetworkLoadBalancerForwardingRulePut.md) |
|
1224
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1225
|
-
| **depth** | **Integer** | Controls the
|
1226
|
-
| **x_contract_number** | **Integer** | Users
|
1220
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1221
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
1222
|
+
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule. | |
|
1223
|
+
| **network_load_balancer_forwarding_rule** | [**NetworkLoadBalancerForwardingRulePut**](NetworkLoadBalancerForwardingRulePut.md) | The modified NLB forwarding rule. | |
|
1224
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1225
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
1226
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1227
1227
|
|
1228
1228
|
### Return type
|
1229
1229
|
|
1230
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
1230
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
1231
1231
|
|
1232
1232
|
### Authorization
|
1233
1233
|
|
@@ -1245,7 +1245,7 @@ Basic Authentication, Token Authentication
|
|
1245
1245
|
|
1246
1246
|
List Network Load Balancers
|
1247
1247
|
|
1248
|
-
|
1248
|
+
List all the Network Load Balancers within the data center.
|
1249
1249
|
|
1250
1250
|
### Examples
|
1251
1251
|
|
@@ -1265,13 +1265,13 @@ Ionoscloud.configure do |config|
|
|
1265
1265
|
end
|
1266
1266
|
|
1267
1267
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1268
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1268
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1269
1269
|
opts = {
|
1270
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1271
|
-
depth: 56, # Integer | Controls the
|
1272
|
-
x_contract_number: 56, # Integer | Users
|
1273
|
-
offset: 56, # Integer |
|
1274
|
-
limit: 56 # Integer |
|
1270
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1271
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
1272
|
+
x_contract_number: 56, # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1273
|
+
offset: 56, # Integer | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).
|
1274
|
+
limit: 56 # Integer | The maximum number of elements to return (use together with offset for pagination).
|
1275
1275
|
}
|
1276
1276
|
|
1277
1277
|
begin
|
@@ -1305,16 +1305,16 @@ end
|
|
1305
1305
|
|
1306
1306
|
| Name | Type | Description | Notes |
|
1307
1307
|
| ---- | ---- | ----------- | ----- |
|
1308
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1309
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1310
|
-
| **depth** | **Integer** | Controls the
|
1311
|
-
| **x_contract_number** | **Integer** | Users
|
1312
|
-
| **offset** | **Integer** |
|
1313
|
-
| **limit** | **Integer** |
|
1308
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1309
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1310
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
1311
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1312
|
+
| **offset** | **Integer** | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). | [optional][default to 0] |
|
1313
|
+
| **limit** | **Integer** | The maximum number of elements to return (use together with offset for pagination). | [optional][default to 1000] |
|
1314
1314
|
|
1315
1315
|
### Return type
|
1316
1316
|
|
1317
|
-
[**NetworkLoadBalancers**](NetworkLoadBalancers.md)
|
1317
|
+
[**NetworkLoadBalancers**](../models/NetworkLoadBalancers.md)
|
1318
1318
|
|
1319
1319
|
### Authorization
|
1320
1320
|
|
@@ -1330,9 +1330,9 @@ Basic Authentication, Token Authentication
|
|
1330
1330
|
|
1331
1331
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_patch(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
|
1332
1332
|
|
1333
|
-
Partially
|
1333
|
+
Partially modify Network Load Balancers
|
1334
1334
|
|
1335
|
-
|
1335
|
+
Update the properties of the specified Network Load Balancer within the data center.
|
1336
1336
|
|
1337
1337
|
### Examples
|
1338
1338
|
|
@@ -1352,17 +1352,17 @@ Ionoscloud.configure do |config|
|
|
1352
1352
|
end
|
1353
1353
|
|
1354
1354
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1355
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1356
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1357
|
-
network_load_balancer_properties = Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2}) # NetworkLoadBalancerProperties | Network Load Balancer
|
1355
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1356
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1357
|
+
network_load_balancer_properties = Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2}) # NetworkLoadBalancerProperties | The properties of the Network Load Balancer to be updated.
|
1358
1358
|
opts = {
|
1359
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1360
|
-
depth: 56, # Integer | Controls the
|
1361
|
-
x_contract_number: 56 # Integer | Users
|
1359
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1360
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
1361
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1362
1362
|
}
|
1363
1363
|
|
1364
1364
|
begin
|
1365
|
-
# Partially
|
1365
|
+
# Partially modify Network Load Balancers
|
1366
1366
|
result = api_instance.datacenters_networkloadbalancers_patch(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
|
1367
1367
|
p result
|
1368
1368
|
rescue Ionoscloud::ApiError => e
|
@@ -1378,7 +1378,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1378
1378
|
|
1379
1379
|
```ruby
|
1380
1380
|
begin
|
1381
|
-
# Partially
|
1381
|
+
# Partially modify Network Load Balancers
|
1382
1382
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_patch_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
|
1383
1383
|
p status_code # => 2xx
|
1384
1384
|
p headers # => { ... }
|
@@ -1392,16 +1392,16 @@ end
|
|
1392
1392
|
|
1393
1393
|
| Name | Type | Description | Notes |
|
1394
1394
|
| ---- | ---- | ----------- | ----- |
|
1395
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1396
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1397
|
-
| **network_load_balancer_properties** | [**NetworkLoadBalancerProperties**](NetworkLoadBalancerProperties.md) | Network Load Balancer
|
1398
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1399
|
-
| **depth** | **Integer** | Controls the
|
1400
|
-
| **x_contract_number** | **Integer** | Users
|
1395
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1396
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
1397
|
+
| **network_load_balancer_properties** | [**NetworkLoadBalancerProperties**](NetworkLoadBalancerProperties.md) | The properties of the Network Load Balancer to be updated. | |
|
1398
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1399
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
1400
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1401
1401
|
|
1402
1402
|
### Return type
|
1403
1403
|
|
1404
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
1404
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
1405
1405
|
|
1406
1406
|
### Authorization
|
1407
1407
|
|
@@ -1417,9 +1417,9 @@ Basic Authentication, Token Authentication
|
|
1417
1417
|
|
1418
1418
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_post(datacenter_id, network_load_balancer, opts)
|
1419
1419
|
|
1420
|
-
Create
|
1420
|
+
Create Network Load Balancers
|
1421
1421
|
|
1422
|
-
|
1422
|
+
Create a Network Load Balancer within the data center.
|
1423
1423
|
|
1424
1424
|
### Examples
|
1425
1425
|
|
@@ -1439,16 +1439,16 @@ Ionoscloud.configure do |config|
|
|
1439
1439
|
end
|
1440
1440
|
|
1441
1441
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1442
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1443
|
-
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
|
1442
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1443
|
+
network_load_balancer = Ionoscloud::NetworkLoadBalancer.new({properties: Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2})}) # NetworkLoadBalancer | The Network Load Balancer to create.
|
1444
1444
|
opts = {
|
1445
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1446
|
-
depth: 56, # Integer | Controls the
|
1447
|
-
x_contract_number: 56 # Integer | Users
|
1445
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1446
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
1447
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1448
1448
|
}
|
1449
1449
|
|
1450
1450
|
begin
|
1451
|
-
# Create
|
1451
|
+
# Create Network Load Balancers
|
1452
1452
|
result = api_instance.datacenters_networkloadbalancers_post(datacenter_id, network_load_balancer, opts)
|
1453
1453
|
p result
|
1454
1454
|
rescue Ionoscloud::ApiError => e
|
@@ -1464,7 +1464,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1464
1464
|
|
1465
1465
|
```ruby
|
1466
1466
|
begin
|
1467
|
-
# Create
|
1467
|
+
# Create Network Load Balancers
|
1468
1468
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_post_with_http_info(datacenter_id, network_load_balancer, opts)
|
1469
1469
|
p status_code # => 2xx
|
1470
1470
|
p headers # => { ... }
|
@@ -1478,15 +1478,15 @@ end
|
|
1478
1478
|
|
1479
1479
|
| Name | Type | Description | Notes |
|
1480
1480
|
| ---- | ---- | ----------- | ----- |
|
1481
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1482
|
-
| **network_load_balancer** | [**NetworkLoadBalancer**](NetworkLoadBalancer.md) | Network Load Balancer to
|
1483
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1484
|
-
| **depth** | **Integer** | Controls the
|
1485
|
-
| **x_contract_number** | **Integer** | Users
|
1481
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1482
|
+
| **network_load_balancer** | [**NetworkLoadBalancer**](NetworkLoadBalancer.md) | The Network Load Balancer to create. | |
|
1483
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1484
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
1485
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1486
1486
|
|
1487
1487
|
### Return type
|
1488
1488
|
|
1489
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
1489
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
1490
1490
|
|
1491
1491
|
### Authorization
|
1492
1492
|
|
@@ -1502,9 +1502,9 @@ Basic Authentication, Token Authentication
|
|
1502
1502
|
|
1503
1503
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_put(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
|
1504
1504
|
|
1505
|
-
|
1505
|
+
Modify Network Load Balancers
|
1506
1506
|
|
1507
|
-
|
1507
|
+
Modify the properties of the specified Network Load Balancer within the data center.
|
1508
1508
|
|
1509
1509
|
### Examples
|
1510
1510
|
|
@@ -1524,19 +1524,17 @@ Ionoscloud.configure do |config|
|
|
1524
1524
|
end
|
1525
1525
|
|
1526
1526
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1527
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1528
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1529
|
-
network_load_balancer = Ionoscloud::NetworkLoadBalancerPut.new({properties: Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2})}) # NetworkLoadBalancerPut |
|
1527
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1528
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1529
|
+
network_load_balancer = Ionoscloud::NetworkLoadBalancerPut.new({properties: Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2})}) # NetworkLoadBalancerPut | The modified Network Load Balancer.
|
1530
1530
|
opts = {
|
1531
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1532
|
-
depth: 56, # Integer | Controls the
|
1533
|
-
x_contract_number: 56
|
1534
|
-
offset: 56, # Integer | the first element (of the total list of elements) to include in the response (use together with limit for pagination)
|
1535
|
-
limit: 56 # Integer | the maximum number of elements to return (use together with offset for pagination)
|
1531
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1532
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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
|
1533
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1536
1534
|
}
|
1537
1535
|
|
1538
1536
|
begin
|
1539
|
-
#
|
1537
|
+
# Modify Network Load Balancers
|
1540
1538
|
result = api_instance.datacenters_networkloadbalancers_put(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
|
1541
1539
|
p result
|
1542
1540
|
rescue Ionoscloud::ApiError => e
|
@@ -1552,7 +1550,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1552
1550
|
|
1553
1551
|
```ruby
|
1554
1552
|
begin
|
1555
|
-
#
|
1553
|
+
# Modify Network Load Balancers
|
1556
1554
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_put_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
|
1557
1555
|
p status_code # => 2xx
|
1558
1556
|
p headers # => { ... }
|
@@ -1566,18 +1564,16 @@ end
|
|
1566
1564
|
|
1567
1565
|
| Name | Type | Description | Notes |
|
1568
1566
|
| ---- | ---- | ----------- | ----- |
|
1569
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1570
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1571
|
-
| **network_load_balancer** | [**NetworkLoadBalancerPut**](NetworkLoadBalancerPut.md) |
|
1572
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1573
|
-
| **depth** | **Integer** | Controls the
|
1574
|
-
| **x_contract_number** | **Integer** | Users
|
1575
|
-
| **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] |
|
1576
|
-
| **limit** | **Integer** | the maximum number of elements to return (use together with offset for pagination) | [optional][default to 1000] |
|
1567
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1568
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
1569
|
+
| **network_load_balancer** | [**NetworkLoadBalancerPut**](NetworkLoadBalancerPut.md) | The modified Network Load Balancer. | |
|
1570
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1571
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) 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 | [optional][default to 0] |
|
1572
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1577
1573
|
|
1578
1574
|
### Return type
|
1579
1575
|
|
1580
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
1576
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
1581
1577
|
|
1582
1578
|
### Authorization
|
1583
1579
|
|