ionoscloud 6.0.0.beta.1 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +190 -0
- data/README.md +57 -0
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +594 -0
- 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} +131 -132
- data/docs/{FlowLogsApi.md → api/FlowLogsApi.md} +115 -116
- data/docs/api/IPBlocksApi.md +516 -0
- data/docs/api/ImagesApi.md +428 -0
- data/docs/{KubernetesApi.md → api/KubernetesApi.md} +266 -270
- data/docs/api/LANsApi.md +794 -0
- data/docs/api/LabelsApi.md +2338 -0
- data/docs/{LoadBalancersApi.md → api/LoadBalancersApi.md} +178 -188
- data/docs/api/LocationsApi.md +259 -0
- data/docs/{NATGatewaysApi.md → api/NATGatewaysApi.md} +317 -324
- data/docs/api/NetworkInterfacesApi.md +540 -0
- data/docs/{NetworkLoadBalancersApi.md → api/NetworkLoadBalancersApi.md} +333 -340
- data/docs/api/PrivateCrossConnectsApi.md +426 -0
- data/docs/api/RequestsApi.md +283 -0
- data/docs/api/ServersApi.md +1908 -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} +3 -3
- 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/models/GroupProperties.md +42 -0
- 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/models/IpBlockProperties.md +26 -0
- data/docs/models/IpBlocks.md +30 -0
- data/docs/{IpConsumer.md → models/IpConsumer.md} +5 -1
- 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/models/KubernetesClusterProperties.md +30 -0
- data/docs/models/KubernetesClusterPropertiesForPost.md +26 -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} +13 -14
- data/docs/{KubernetesNodePoolPropertiesForPost.md → models/KubernetesNodePoolPropertiesForPost.md} +12 -13
- data/docs/{KubernetesNodePoolPropertiesForPut.md → models/KubernetesNodePoolPropertiesForPut.md} +5 -5
- 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/{NetworkLoadBalancerForwardingRuleHealthCheck.md → models/NetworkLoadBalancerForwardingRuleHealthCheck.md} +0 -2
- data/docs/{NetworkLoadBalancerForwardingRuleProperties.md → models/NetworkLoadBalancerForwardingRuleProperties.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRulePut.md → models/NetworkLoadBalancerForwardingRulePut.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRuleTarget.md → models/NetworkLoadBalancerForwardingRuleTarget.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRuleTargetHealthCheck.md → models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRules.md → models/NetworkLoadBalancerForwardingRules.md} +6 -6
- data/docs/{NetworkLoadBalancerProperties.md → models/NetworkLoadBalancerProperties.md} +4 -4
- 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} +19 -17
- data/docs/{Volumes.md → models/Volumes.md} +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +3 -3
- data/lib/ionoscloud/api/_api.rb +8 -8
- data/lib/ionoscloud/api/backup_units_api.rb +98 -98
- data/lib/ionoscloud/api/contract_resources_api.rb +12 -12
- data/lib/ionoscloud/api/data_centers_api.rb +85 -85
- data/lib/ionoscloud/api/firewall_rules_api.rb +121 -121
- data/lib/ionoscloud/api/flow_logs_api.rb +107 -107
- data/lib/ionoscloud/api/images_api.rb +69 -69
- data/lib/ionoscloud/api/ip_blocks_api.rb +99 -81
- data/lib/ionoscloud/api/kubernetes_api.rb +237 -237
- data/lib/ionoscloud/api/labels_api.rb +419 -455
- data/lib/ionoscloud/api/lans_api.rb +220 -220
- data/lib/ionoscloud/api/load_balancers_api.rb +162 -198
- data/lib/ionoscloud/api/locations_api.rb +38 -38
- data/lib/ionoscloud/api/nat_gateways_api.rb +287 -305
- data/lib/ionoscloud/api/network_interfaces_api.rb +109 -109
- data/lib/ionoscloud/api/network_load_balancers_api.rb +301 -319
- data/lib/ionoscloud/api/private_cross_connects_api.rb +67 -85
- data/lib/ionoscloud/api/requests_api.rb +70 -46
- data/lib/ionoscloud/api/servers_api.rb +381 -381
- data/lib/ionoscloud/api/snapshots_api.rb +67 -67
- data/lib/ionoscloud/api/templates_api.rb +16 -16
- data/lib/ionoscloud/api/user_management_api.rb +350 -330
- data/lib/ionoscloud/api/user_s3_keys_api.rb +85 -85
- data/lib/ionoscloud/api/volumes_api.rb +140 -140
- data/lib/ionoscloud/api_client.rb +20 -20
- data/lib/ionoscloud/api_error.rb +2 -2
- data/lib/ionoscloud/configuration.rb +4 -4
- data/lib/ionoscloud/models/attached_volumes.rb +75 -19
- data/lib/ionoscloud/models/backup_unit.rb +52 -10
- data/lib/ionoscloud/models/backup_unit_properties.rb +33 -7
- data/lib/ionoscloud/models/backup_unit_sso.rb +13 -3
- data/lib/ionoscloud/models/backup_units.rb +48 -16
- data/lib/ionoscloud/models/balanced_nics.rb +75 -19
- data/lib/ionoscloud/models/cdroms.rb +75 -19
- data/lib/ionoscloud/models/connectable_datacenter.rb +31 -5
- data/lib/ionoscloud/models/contract.rb +23 -5
- data/lib/ionoscloud/models/contract_properties.rb +53 -11
- data/lib/ionoscloud/models/contracts.rb +45 -13
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +41 -7
- data/lib/ionoscloud/models/data_center_entities.rb +58 -8
- data/lib/ionoscloud/models/datacenter.rb +61 -11
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +82 -16
- data/lib/ionoscloud/models/datacenter_properties.rb +77 -45
- data/lib/ionoscloud/models/datacenters.rb +75 -19
- data/lib/ionoscloud/models/error.rb +25 -9
- data/lib/ionoscloud/models/error_message.rb +24 -6
- data/lib/ionoscloud/models/firewall_rule.rb +52 -10
- data/lib/ionoscloud/models/firewall_rules.rb +75 -19
- data/lib/ionoscloud/models/firewallrule_properties.rb +140 -43
- data/lib/ionoscloud/models/flow_log.rb +52 -10
- data/lib/ionoscloud/models/flow_log_properties.rb +41 -7
- data/lib/ionoscloud/models/flow_log_put.rb +43 -9
- data/lib/ionoscloud/models/flow_logs.rb +75 -19
- data/lib/ionoscloud/models/group.rb +52 -10
- data/lib/ionoscloud/models/group_entities.rb +22 -4
- data/lib/ionoscloud/models/group_members.rb +46 -14
- data/lib/ionoscloud/models/group_properties.rb +144 -28
- data/lib/ionoscloud/models/group_share.rb +42 -8
- data/lib/ionoscloud/models/group_share_properties.rb +22 -4
- data/lib/ionoscloud/models/group_shares.rb +45 -13
- data/lib/ionoscloud/models/group_users.rb +47 -15
- data/lib/ionoscloud/models/groups.rb +46 -14
- data/lib/ionoscloud/models/image.rb +52 -10
- data/lib/ionoscloud/models/image_properties.rb +226 -40
- data/lib/ionoscloud/models/images.rb +46 -14
- data/lib/ionoscloud/models/info.rb +31 -5
- data/lib/ionoscloud/models/ip_block.rb +52 -10
- data/lib/ionoscloud/models/ip_block_properties.rb +58 -20
- data/lib/ionoscloud/models/ip_blocks.rb +101 -16
- data/lib/ionoscloud/models/ip_consumer.rb +104 -12
- data/lib/ionoscloud/models/ip_failover.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_cluster.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +13 -3
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +86 -34
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +64 -24
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +72 -10
- data/lib/ionoscloud/models/kubernetes_clusters.rb +46 -14
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_node.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +53 -11
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +39 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +182 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +170 -48
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +97 -36
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +46 -14
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +42 -8
- data/lib/ionoscloud/models/kubernetes_nodes.rb +46 -14
- data/lib/ionoscloud/models/label.rb +51 -9
- data/lib/ionoscloud/models/label_properties.rb +52 -10
- data/lib/ionoscloud/models/label_resource.rb +51 -9
- data/lib/ionoscloud/models/label_resource_properties.rb +24 -6
- data/lib/ionoscloud/models/label_resources.rb +77 -21
- data/lib/ionoscloud/models/labels.rb +48 -16
- data/lib/ionoscloud/models/lan.rb +61 -11
- data/lib/ionoscloud/models/lan_entities.rb +13 -3
- data/lib/ionoscloud/models/lan_nics.rb +75 -19
- data/lib/ionoscloud/models/lan_post.rb +61 -11
- data/lib/ionoscloud/models/lan_properties.rb +45 -13
- data/lib/ionoscloud/models/lan_properties_post.rb +45 -13
- data/lib/ionoscloud/models/lans.rb +75 -19
- data/lib/ionoscloud/models/loadbalancer.rb +61 -11
- data/lib/ionoscloud/models/loadbalancer_entities.rb +13 -3
- data/lib/ionoscloud/models/loadbalancer_properties.rb +46 -37
- data/lib/ionoscloud/models/loadbalancers.rb +75 -19
- data/lib/ionoscloud/models/location.rb +52 -10
- data/lib/ionoscloud/models/location_properties.rb +47 -41
- data/lib/ionoscloud/models/locations.rb +46 -14
- data/lib/ionoscloud/models/nat_gateway.rb +61 -11
- data/lib/ionoscloud/models/nat_gateway_entities.rb +22 -4
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +26 -10
- data/lib/ionoscloud/models/nat_gateway_properties.rb +38 -16
- data/lib/ionoscloud/models/nat_gateway_put.rb +43 -9
- data/lib/ionoscloud/models/nat_gateway_rule.rb +52 -10
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +73 -15
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +2 -2
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +43 -9
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +2 -2
- data/lib/ionoscloud/models/nat_gateway_rules.rb +46 -14
- data/lib/ionoscloud/models/nat_gateways.rb +75 -19
- data/lib/ionoscloud/models/network_load_balancer.rb +61 -11
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +22 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +52 -10
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +39 -15
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +73 -17
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +43 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +40 -6
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +31 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +75 -19
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +57 -19
- data/lib/ionoscloud/models/network_load_balancer_put.rb +43 -9
- data/lib/ionoscloud/models/network_load_balancers.rb +75 -19
- data/lib/ionoscloud/models/nic.rb +61 -11
- data/lib/ionoscloud/models/nic_entities.rb +22 -4
- data/lib/ionoscloud/models/nic_properties.rb +95 -23
- data/lib/ionoscloud/models/nic_put.rb +43 -9
- data/lib/ionoscloud/models/nics.rb +75 -19
- data/lib/ionoscloud/models/no_state_meta_data.rb +72 -14
- data/lib/ionoscloud/models/pagination_links.rb +34 -8
- data/lib/ionoscloud/models/peer.rb +49 -7
- data/lib/ionoscloud/models/private_cross_connect.rb +52 -10
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +48 -18
- data/lib/ionoscloud/models/private_cross_connects.rb +46 -14
- data/lib/ionoscloud/models/remote_console_url.rb +13 -3
- data/lib/ionoscloud/models/request.rb +52 -10
- data/lib/ionoscloud/models/request_metadata.rb +42 -8
- data/lib/ionoscloud/models/request_properties.rb +42 -10
- data/lib/ionoscloud/models/request_status.rb +43 -9
- data/lib/ionoscloud/models/request_status_metadata.rb +43 -11
- data/lib/ionoscloud/models/request_target.rb +22 -4
- data/lib/ionoscloud/models/requests.rb +75 -19
- data/lib/ionoscloud/models/resource.rb +61 -11
- data/lib/ionoscloud/models/resource_entities.rb +13 -3
- data/lib/ionoscloud/models/resource_groups.rb +46 -14
- data/lib/ionoscloud/models/resource_limits.rb +224 -46
- data/lib/ionoscloud/models/resource_properties.rb +24 -6
- data/lib/ionoscloud/models/resource_reference.rb +34 -8
- data/lib/ionoscloud/models/resources.rb +47 -15
- data/lib/ionoscloud/models/resources_users.rb +46 -14
- data/lib/ionoscloud/models/s3_bucket.rb +232 -0
- data/lib/ionoscloud/models/s3_key.rb +52 -10
- data/lib/ionoscloud/models/s3_key_metadata.rb +24 -6
- data/lib/ionoscloud/models/s3_key_properties.rb +24 -6
- data/lib/ionoscloud/models/s3_keys.rb +46 -14
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +13 -3
- data/lib/ionoscloud/models/server.rb +61 -11
- data/lib/ionoscloud/models/server_entities.rb +31 -5
- data/lib/ionoscloud/models/server_properties.rb +103 -21
- data/lib/ionoscloud/models/servers.rb +75 -19
- data/lib/ionoscloud/models/snapshot.rb +52 -10
- data/lib/ionoscloud/models/snapshot_properties.rb +162 -32
- data/lib/ionoscloud/models/snapshots.rb +46 -14
- data/lib/ionoscloud/models/target_port_range.rb +24 -6
- data/lib/ionoscloud/models/template.rb +52 -10
- data/lib/ionoscloud/models/template_properties.rb +44 -10
- data/lib/ionoscloud/models/templates.rb +46 -14
- data/lib/ionoscloud/models/token.rb +14 -4
- data/lib/ionoscloud/models/type.rb +4 -4
- data/lib/ionoscloud/models/user.rb +61 -11
- data/lib/ionoscloud/models/user_metadata.rb +34 -8
- data/lib/ionoscloud/models/user_post.rb +13 -3
- data/lib/ionoscloud/models/user_properties.rb +84 -18
- data/lib/ionoscloud/models/user_properties_post.rb +84 -18
- data/lib/ionoscloud/models/user_properties_put.rb +93 -17
- data/lib/ionoscloud/models/user_put.rb +23 -5
- data/lib/ionoscloud/models/users.rb +102 -17
- data/lib/ionoscloud/models/users_entities.rb +22 -4
- data/lib/ionoscloud/models/volume.rb +52 -10
- data/lib/ionoscloud/models/volume_properties.rb +216 -47
- data/lib/ionoscloud/models/volumes.rb +75 -19
- data/lib/ionoscloud/version.rb +3 -3
- data/lib/ionoscloud.rb +4 -3
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +207 -587
- data/docs/BackupUnitsApi.md +0 -595
- data/docs/DataCentersApi.md +0 -517
- data/docs/DefaultApi.md +0 -78
- data/docs/GroupProperties.md +0 -40
- data/docs/IPBlocksApi.md +0 -513
- data/docs/ImageProperties.md +0 -50
- data/docs/ImagesApi.md +0 -429
- data/docs/IpBlockProperties.md +0 -26
- data/docs/IpBlocks.md +0 -24
- data/docs/KubernetesClusterProperties.md +0 -30
- data/docs/KubernetesClusterPropertiesForPost.md +0 -26
- data/docs/KubernetesClusterPropertiesForPut.md +0 -22
- data/docs/LabelsApi.md +0 -2351
- data/docs/LansApi.md +0 -795
- data/docs/LocationsApi.md +0 -259
- data/docs/NetworkInterfacesApi.md +0 -541
- data/docs/NicProperties.md +0 -34
- data/docs/PrivateCrossConnectsApi.md +0 -431
- data/docs/RequestsApi.md +0 -267
- data/docs/ResourceLimits.md +0 -60
- data/docs/ServersApi.md +0 -1917
- data/docs/SnapshotProperties.md +0 -48
- data/docs/SnapshotsApi.md +0 -429
- data/docs/UserManagementApi.md +0 -2037
- data/docs/UserProperties.md +0 -32
- data/docs/UserPropertiesPost.md +0 -32
- data/docs/UserPropertiesPut.md +0 -30
- data/docs/UserS3KeysApi.md +0 -517
- data/docs/Users.md +0 -24
- data/docs/VolumesApi.md +0 -711
- 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 -84
- 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 -74
- 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 -108
- 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 -100
- 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 -138
- 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 -70
- 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 -50
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -56
- 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,18 +50,17 @@ 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, against which all API requests are to be executed.
|
59
59
|
}
|
60
60
|
|
61
61
|
begin
|
62
|
-
#
|
63
|
-
|
64
|
-
p result
|
62
|
+
# Delete Network Load Balancers
|
63
|
+
api_instance.datacenters_networkloadbalancers_delete(datacenter_id, network_load_balancer_id, opts)
|
65
64
|
rescue Ionoscloud::ApiError => e
|
66
65
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_delete: #{e}"
|
67
66
|
end
|
@@ -69,17 +68,17 @@ end
|
|
69
68
|
|
70
69
|
#### Using the datacenters_networkloadbalancers_delete_with_http_info variant
|
71
70
|
|
72
|
-
This returns an Array which contains the response data, status code and headers.
|
71
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
73
72
|
|
74
|
-
> <Array(
|
73
|
+
> <Array(nil, Integer, Hash)> datacenters_networkloadbalancers_delete_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
75
74
|
|
76
75
|
```ruby
|
77
76
|
begin
|
78
|
-
#
|
77
|
+
# Delete Network Load Balancers
|
79
78
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_delete_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
80
79
|
p status_code # => 2xx
|
81
80
|
p headers # => { ... }
|
82
|
-
p data # =>
|
81
|
+
p data # => nil
|
83
82
|
rescue Ionoscloud::ApiError => e
|
84
83
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_delete_with_http_info: #{e}"
|
85
84
|
end
|
@@ -89,15 +88,15 @@ end
|
|
89
88
|
|
90
89
|
| Name | Type | Description | Notes |
|
91
90
|
| ---- | ---- | ----------- | ----- |
|
92
|
-
| **datacenter_id** | **String** | The unique ID of the
|
93
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
94
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
95
|
-
| **depth** | **Integer** | Controls the
|
96
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
97
96
|
|
98
97
|
### Return type
|
99
98
|
|
100
|
-
|
99
|
+
nil (empty response body)
|
101
100
|
|
102
101
|
### Authorization
|
103
102
|
|
@@ -113,9 +112,9 @@ Basic Authentication, Token Authentication
|
|
113
112
|
|
114
113
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_find_by_network_load_balancer_id(datacenter_id, network_load_balancer_id, opts)
|
115
114
|
|
116
|
-
Retrieve
|
115
|
+
Retrieve Network Load Balancers
|
117
116
|
|
118
|
-
|
117
|
+
Retrieve the properties of the specified Network Load Balancer within the data center.
|
119
118
|
|
120
119
|
### Examples
|
121
120
|
|
@@ -135,16 +134,16 @@ Ionoscloud.configure do |config|
|
|
135
134
|
end
|
136
135
|
|
137
136
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
138
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
139
|
-
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.
|
140
139
|
opts = {
|
141
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
142
|
-
depth: 56, # Integer | Controls the
|
143
|
-
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, against which all API requests are to be executed.
|
144
143
|
}
|
145
144
|
|
146
145
|
begin
|
147
|
-
# Retrieve
|
146
|
+
# Retrieve Network Load Balancers
|
148
147
|
result = api_instance.datacenters_networkloadbalancers_find_by_network_load_balancer_id(datacenter_id, network_load_balancer_id, opts)
|
149
148
|
p result
|
150
149
|
rescue Ionoscloud::ApiError => e
|
@@ -160,7 +159,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
160
159
|
|
161
160
|
```ruby
|
162
161
|
begin
|
163
|
-
# Retrieve
|
162
|
+
# Retrieve Network Load Balancers
|
164
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)
|
165
164
|
p status_code # => 2xx
|
166
165
|
p headers # => { ... }
|
@@ -174,15 +173,15 @@ end
|
|
174
173
|
|
175
174
|
| Name | Type | Description | Notes |
|
176
175
|
| ---- | ---- | ----------- | ----- |
|
177
|
-
| **datacenter_id** | **String** | The unique ID of the
|
178
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
179
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
180
|
-
| **depth** | **Integer** | Controls the
|
181
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
182
181
|
|
183
182
|
### Return type
|
184
183
|
|
185
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
184
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
186
185
|
|
187
186
|
### Authorization
|
188
187
|
|
@@ -196,11 +195,11 @@ Basic Authentication, Token Authentication
|
|
196
195
|
|
197
196
|
## datacenters_networkloadbalancers_flowlogs_delete
|
198
197
|
|
199
|
-
>
|
198
|
+
> datacenters_networkloadbalancers_flowlogs_delete(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
200
199
|
|
201
|
-
|
200
|
+
Delete NLB Flow Logs
|
202
201
|
|
203
|
-
|
202
|
+
Delete the specified Network Load Balancer Flow Log.
|
204
203
|
|
205
204
|
### Examples
|
206
205
|
|
@@ -220,19 +219,18 @@ Ionoscloud.configure do |config|
|
|
220
219
|
end
|
221
220
|
|
222
221
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
223
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
224
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
225
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the
|
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.
|
226
225
|
opts = {
|
227
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
228
|
-
depth: 56, # Integer | Controls the
|
229
|
-
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, against which all API requests are to be executed.
|
230
229
|
}
|
231
230
|
|
232
231
|
begin
|
233
|
-
#
|
234
|
-
|
235
|
-
p result
|
232
|
+
# Delete NLB Flow Logs
|
233
|
+
api_instance.datacenters_networkloadbalancers_flowlogs_delete(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
236
234
|
rescue Ionoscloud::ApiError => e
|
237
235
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_delete: #{e}"
|
238
236
|
end
|
@@ -240,17 +238,17 @@ end
|
|
240
238
|
|
241
239
|
#### Using the datacenters_networkloadbalancers_flowlogs_delete_with_http_info variant
|
242
240
|
|
243
|
-
This returns an Array which contains the response data, status code and headers.
|
241
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
244
242
|
|
245
|
-
> <Array(
|
243
|
+
> <Array(nil, Integer, Hash)> datacenters_networkloadbalancers_flowlogs_delete_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
246
244
|
|
247
245
|
```ruby
|
248
246
|
begin
|
249
|
-
#
|
247
|
+
# Delete NLB Flow Logs
|
250
248
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_delete_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
251
249
|
p status_code # => 2xx
|
252
250
|
p headers # => { ... }
|
253
|
-
p data # =>
|
251
|
+
p data # => nil
|
254
252
|
rescue Ionoscloud::ApiError => e
|
255
253
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_delete_with_http_info: #{e}"
|
256
254
|
end
|
@@ -260,16 +258,16 @@ end
|
|
260
258
|
|
261
259
|
| Name | Type | Description | Notes |
|
262
260
|
| ---- | ---- | ----------- | ----- |
|
263
|
-
| **datacenter_id** | **String** | The unique ID of the
|
264
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
265
|
-
| **flow_log_id** | **String** | The unique ID of the
|
266
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
267
|
-
| **depth** | **Integer** | Controls the
|
268
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
269
267
|
|
270
268
|
### Return type
|
271
269
|
|
272
|
-
|
270
|
+
nil (empty response body)
|
273
271
|
|
274
272
|
### Authorization
|
275
273
|
|
@@ -285,9 +283,9 @@ Basic Authentication, Token Authentication
|
|
285
283
|
|
286
284
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
287
285
|
|
288
|
-
Retrieve
|
286
|
+
Retrieve NLB Flow Logs
|
289
287
|
|
290
|
-
|
288
|
+
Retrieve the specified Network Load Balancer Flow Log.
|
291
289
|
|
292
290
|
### Examples
|
293
291
|
|
@@ -307,17 +305,17 @@ Ionoscloud.configure do |config|
|
|
307
305
|
end
|
308
306
|
|
309
307
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
310
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
311
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
312
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log
|
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.
|
313
311
|
opts = {
|
314
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
315
|
-
depth: 56, # Integer | Controls the
|
316
|
-
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, against which all API requests are to be executed.
|
317
315
|
}
|
318
316
|
|
319
317
|
begin
|
320
|
-
# Retrieve
|
318
|
+
# Retrieve NLB Flow Logs
|
321
319
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
322
320
|
p result
|
323
321
|
rescue Ionoscloud::ApiError => e
|
@@ -333,7 +331,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
333
331
|
|
334
332
|
```ruby
|
335
333
|
begin
|
336
|
-
# Retrieve
|
334
|
+
# Retrieve NLB Flow Logs
|
337
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)
|
338
336
|
p status_code # => 2xx
|
339
337
|
p headers # => { ... }
|
@@ -347,16 +345,16 @@ end
|
|
347
345
|
|
348
346
|
| Name | Type | Description | Notes |
|
349
347
|
| ---- | ---- | ----------- | ----- |
|
350
|
-
| **datacenter_id** | **String** | The unique ID of the
|
351
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
352
|
-
| **flow_log_id** | **String** | The unique ID of the Flow Log | |
|
353
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
354
|
-
| **depth** | **Integer** | Controls the
|
355
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
356
354
|
|
357
355
|
### Return type
|
358
356
|
|
359
|
-
[**FlowLog**](FlowLog.md)
|
357
|
+
[**FlowLog**](../models/FlowLog.md)
|
360
358
|
|
361
359
|
### Authorization
|
362
360
|
|
@@ -372,9 +370,9 @@ Basic Authentication, Token Authentication
|
|
372
370
|
|
373
371
|
> <FlowLogs> datacenters_networkloadbalancers_flowlogs_get(datacenter_id, network_load_balancer_id, opts)
|
374
372
|
|
375
|
-
List
|
373
|
+
List NLB Flow Logs
|
376
374
|
|
377
|
-
|
375
|
+
List all the Flow Logs for the specified Network Load Balancer.
|
378
376
|
|
379
377
|
### Examples
|
380
378
|
|
@@ -394,16 +392,16 @@ Ionoscloud.configure do |config|
|
|
394
392
|
end
|
395
393
|
|
396
394
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
397
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
398
|
-
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.
|
399
397
|
opts = {
|
400
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
401
|
-
depth: 56, # Integer | Controls the
|
402
|
-
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, against which all API requests are to be executed.
|
403
401
|
}
|
404
402
|
|
405
403
|
begin
|
406
|
-
# List
|
404
|
+
# List NLB Flow Logs
|
407
405
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_get(datacenter_id, network_load_balancer_id, opts)
|
408
406
|
p result
|
409
407
|
rescue Ionoscloud::ApiError => e
|
@@ -419,7 +417,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
419
417
|
|
420
418
|
```ruby
|
421
419
|
begin
|
422
|
-
# List
|
420
|
+
# List NLB Flow Logs
|
423
421
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
424
422
|
p status_code # => 2xx
|
425
423
|
p headers # => { ... }
|
@@ -433,15 +431,15 @@ end
|
|
433
431
|
|
434
432
|
| Name | Type | Description | Notes |
|
435
433
|
| ---- | ---- | ----------- | ----- |
|
436
|
-
| **datacenter_id** | **String** | The unique ID of the
|
437
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
438
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
439
|
-
| **depth** | **Integer** | Controls the
|
440
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
441
439
|
|
442
440
|
### Return type
|
443
441
|
|
444
|
-
[**FlowLogs**](FlowLogs.md)
|
442
|
+
[**FlowLogs**](../models/FlowLogs.md)
|
445
443
|
|
446
444
|
### Authorization
|
447
445
|
|
@@ -457,9 +455,9 @@ Basic Authentication, Token Authentication
|
|
457
455
|
|
458
456
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_patch(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
|
459
457
|
|
460
|
-
Partially modify
|
458
|
+
Partially modify NLB Flow Logs
|
461
459
|
|
462
|
-
|
460
|
+
Update the properties of the specified Network Load Balancer Flow Log.
|
463
461
|
|
464
462
|
### Examples
|
465
463
|
|
@@ -479,18 +477,18 @@ Ionoscloud.configure do |config|
|
|
479
477
|
end
|
480
478
|
|
481
479
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
482
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
483
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
484
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log
|
485
|
-
network_load_balancer_flow_log_properties = Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'}) # FlowLogProperties |
|
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.
|
486
484
|
opts = {
|
487
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
488
|
-
depth: 56, # Integer | Controls the
|
489
|
-
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, against which all API requests are to be executed.
|
490
488
|
}
|
491
489
|
|
492
490
|
begin
|
493
|
-
# Partially modify
|
491
|
+
# Partially modify NLB Flow Logs
|
494
492
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_patch(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
|
495
493
|
p result
|
496
494
|
rescue Ionoscloud::ApiError => e
|
@@ -506,7 +504,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
506
504
|
|
507
505
|
```ruby
|
508
506
|
begin
|
509
|
-
# Partially modify
|
507
|
+
# Partially modify NLB Flow Logs
|
510
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)
|
511
509
|
p status_code # => 2xx
|
512
510
|
p headers # => { ... }
|
@@ -520,17 +518,17 @@ end
|
|
520
518
|
|
521
519
|
| Name | Type | Description | Notes |
|
522
520
|
| ---- | ---- | ----------- | ----- |
|
523
|
-
| **datacenter_id** | **String** | The unique ID of the
|
524
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
525
|
-
| **flow_log_id** | **String** | The unique ID of the Flow Log | |
|
526
|
-
| **network_load_balancer_flow_log_properties** | [**FlowLogProperties**](FlowLogProperties.md) |
|
527
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
528
|
-
| **depth** | **Integer** | Controls the
|
529
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
530
528
|
|
531
529
|
### Return type
|
532
530
|
|
533
|
-
[**FlowLog**](FlowLog.md)
|
531
|
+
[**FlowLog**](../models/FlowLog.md)
|
534
532
|
|
535
533
|
### Authorization
|
536
534
|
|
@@ -546,9 +544,9 @@ Basic Authentication, Token Authentication
|
|
546
544
|
|
547
545
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_post(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
|
548
546
|
|
549
|
-
|
547
|
+
Create NLB Flow Logs
|
550
548
|
|
551
|
-
|
549
|
+
Add a new Flow Log for the Network Load Balancer.
|
552
550
|
|
553
551
|
### Examples
|
554
552
|
|
@@ -568,17 +566,17 @@ Ionoscloud.configure do |config|
|
|
568
566
|
end
|
569
567
|
|
570
568
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
571
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
572
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
573
|
-
network_load_balancer_flow_log = Ionoscloud::FlowLog.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLog | Flow Log to
|
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.
|
574
572
|
opts = {
|
575
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
576
|
-
depth: 56, # Integer | Controls the
|
577
|
-
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, against which all API requests are to be executed.
|
578
576
|
}
|
579
577
|
|
580
578
|
begin
|
581
|
-
#
|
579
|
+
# Create NLB Flow Logs
|
582
580
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_post(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
|
583
581
|
p result
|
584
582
|
rescue Ionoscloud::ApiError => e
|
@@ -594,7 +592,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
594
592
|
|
595
593
|
```ruby
|
596
594
|
begin
|
597
|
-
#
|
595
|
+
# Create NLB Flow Logs
|
598
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)
|
599
597
|
p status_code # => 2xx
|
600
598
|
p headers # => { ... }
|
@@ -608,16 +606,16 @@ end
|
|
608
606
|
|
609
607
|
| Name | Type | Description | Notes |
|
610
608
|
| ---- | ---- | ----------- | ----- |
|
611
|
-
| **datacenter_id** | **String** | The unique ID of the
|
612
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
613
|
-
| **network_load_balancer_flow_log** | [**FlowLog**](FlowLog.md) | Flow Log to
|
614
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
615
|
-
| **depth** | **Integer** | Controls the
|
616
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
617
615
|
|
618
616
|
### Return type
|
619
617
|
|
620
|
-
[**FlowLog**](FlowLog.md)
|
618
|
+
[**FlowLog**](../models/FlowLog.md)
|
621
619
|
|
622
620
|
### Authorization
|
623
621
|
|
@@ -633,9 +631,9 @@ Basic Authentication, Token Authentication
|
|
633
631
|
|
634
632
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_put(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
|
635
633
|
|
636
|
-
Modify
|
634
|
+
Modify NLB Flow Logs
|
637
635
|
|
638
|
-
|
636
|
+
Modify the specified Network Load Balancer Flow Log.
|
639
637
|
|
640
638
|
### Examples
|
641
639
|
|
@@ -655,18 +653,18 @@ Ionoscloud.configure do |config|
|
|
655
653
|
end
|
656
654
|
|
657
655
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
658
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
659
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
660
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log
|
661
|
-
network_load_balancer_flow_log = Ionoscloud::FlowLogPut.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLogPut |
|
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.
|
662
660
|
opts = {
|
663
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
664
|
-
depth: 56, # Integer | Controls the
|
665
|
-
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, against which all API requests are to be executed.
|
666
664
|
}
|
667
665
|
|
668
666
|
begin
|
669
|
-
# Modify
|
667
|
+
# Modify NLB Flow Logs
|
670
668
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_put(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
|
671
669
|
p result
|
672
670
|
rescue Ionoscloud::ApiError => e
|
@@ -682,7 +680,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
682
680
|
|
683
681
|
```ruby
|
684
682
|
begin
|
685
|
-
# Modify
|
683
|
+
# Modify NLB Flow Logs
|
686
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)
|
687
685
|
p status_code # => 2xx
|
688
686
|
p headers # => { ... }
|
@@ -696,17 +694,17 @@ end
|
|
696
694
|
|
697
695
|
| Name | Type | Description | Notes |
|
698
696
|
| ---- | ---- | ----------- | ----- |
|
699
|
-
| **datacenter_id** | **String** | The unique ID of the
|
700
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
701
|
-
| **flow_log_id** | **String** | The unique ID of the Flow Log | |
|
702
|
-
| **network_load_balancer_flow_log** | [**FlowLogPut**](FlowLogPut.md) |
|
703
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
704
|
-
| **depth** | **Integer** | Controls the
|
705
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
706
704
|
|
707
705
|
### Return type
|
708
706
|
|
709
|
-
[**FlowLog**](FlowLog.md)
|
707
|
+
[**FlowLog**](../models/FlowLog.md)
|
710
708
|
|
711
709
|
### Authorization
|
712
710
|
|
@@ -720,11 +718,11 @@ Basic Authentication, Token Authentication
|
|
720
718
|
|
721
719
|
## datacenters_networkloadbalancers_forwardingrules_delete
|
722
720
|
|
723
|
-
>
|
721
|
+
> datacenters_networkloadbalancers_forwardingrules_delete(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
724
722
|
|
725
|
-
|
723
|
+
Delete NLB forwarding rules
|
726
724
|
|
727
|
-
|
725
|
+
Delete the specified Network Load Balancer forwarding rule.
|
728
726
|
|
729
727
|
### Examples
|
730
728
|
|
@@ -744,19 +742,18 @@ Ionoscloud.configure do |config|
|
|
744
742
|
end
|
745
743
|
|
746
744
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
747
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
748
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
749
|
-
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
|
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.
|
750
748
|
opts = {
|
751
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
752
|
-
depth: 56, # Integer | Controls the
|
753
|
-
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, against which all API requests are to be executed.
|
754
752
|
}
|
755
753
|
|
756
754
|
begin
|
757
|
-
#
|
758
|
-
|
759
|
-
p result
|
755
|
+
# Delete NLB forwarding rules
|
756
|
+
api_instance.datacenters_networkloadbalancers_forwardingrules_delete(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
760
757
|
rescue Ionoscloud::ApiError => e
|
761
758
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_delete: #{e}"
|
762
759
|
end
|
@@ -764,17 +761,17 @@ end
|
|
764
761
|
|
765
762
|
#### Using the datacenters_networkloadbalancers_forwardingrules_delete_with_http_info variant
|
766
763
|
|
767
|
-
This returns an Array which contains the response data, status code and headers.
|
764
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
768
765
|
|
769
|
-
> <Array(
|
766
|
+
> <Array(nil, Integer, Hash)> datacenters_networkloadbalancers_forwardingrules_delete_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
770
767
|
|
771
768
|
```ruby
|
772
769
|
begin
|
773
|
-
#
|
770
|
+
# Delete NLB forwarding rules
|
774
771
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_delete_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
775
772
|
p status_code # => 2xx
|
776
773
|
p headers # => { ... }
|
777
|
-
p data # =>
|
774
|
+
p data # => nil
|
778
775
|
rescue Ionoscloud::ApiError => e
|
779
776
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_delete_with_http_info: #{e}"
|
780
777
|
end
|
@@ -784,16 +781,16 @@ end
|
|
784
781
|
|
785
782
|
| Name | Type | Description | Notes |
|
786
783
|
| ---- | ---- | ----------- | ----- |
|
787
|
-
| **datacenter_id** | **String** | The unique ID of the
|
788
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
789
|
-
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
|
790
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
791
|
-
| **depth** | **Integer** | Controls the
|
792
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
793
790
|
|
794
791
|
### Return type
|
795
792
|
|
796
|
-
|
793
|
+
nil (empty response body)
|
797
794
|
|
798
795
|
### Authorization
|
799
796
|
|
@@ -809,9 +806,9 @@ Basic Authentication, Token Authentication
|
|
809
806
|
|
810
807
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
811
808
|
|
812
|
-
Retrieve
|
809
|
+
Retrieve NLB forwarding rules
|
813
810
|
|
814
|
-
|
811
|
+
Retrieve the specified Network Load Balance forwarding rule.
|
815
812
|
|
816
813
|
### Examples
|
817
814
|
|
@@ -831,17 +828,17 @@ Ionoscloud.configure do |config|
|
|
831
828
|
end
|
832
829
|
|
833
830
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
834
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
835
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
836
|
-
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
|
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.
|
837
834
|
opts = {
|
838
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
839
|
-
depth: 56, # Integer | Controls the
|
840
|
-
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, against which all API requests are to be executed.
|
841
838
|
}
|
842
839
|
|
843
840
|
begin
|
844
|
-
# Retrieve
|
841
|
+
# Retrieve NLB forwarding rules
|
845
842
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
846
843
|
p result
|
847
844
|
rescue Ionoscloud::ApiError => e
|
@@ -857,7 +854,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
857
854
|
|
858
855
|
```ruby
|
859
856
|
begin
|
860
|
-
# Retrieve
|
857
|
+
# Retrieve NLB forwarding rules
|
861
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)
|
862
859
|
p status_code # => 2xx
|
863
860
|
p headers # => { ... }
|
@@ -871,16 +868,16 @@ end
|
|
871
868
|
|
872
869
|
| Name | Type | Description | Notes |
|
873
870
|
| ---- | ---- | ----------- | ----- |
|
874
|
-
| **datacenter_id** | **String** | The unique ID of the
|
875
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
876
|
-
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
|
877
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
878
|
-
| **depth** | **Integer** | Controls the
|
879
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
880
877
|
|
881
878
|
### Return type
|
882
879
|
|
883
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
880
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
884
881
|
|
885
882
|
### Authorization
|
886
883
|
|
@@ -896,9 +893,9 @@ Basic Authentication, Token Authentication
|
|
896
893
|
|
897
894
|
> <NetworkLoadBalancerForwardingRules> datacenters_networkloadbalancers_forwardingrules_get(datacenter_id, network_load_balancer_id, opts)
|
898
895
|
|
899
|
-
List
|
896
|
+
List NLB forwarding rules
|
900
897
|
|
901
|
-
|
898
|
+
List the forwarding rules for the specified Network Load Balancer.
|
902
899
|
|
903
900
|
### Examples
|
904
901
|
|
@@ -918,16 +915,16 @@ Ionoscloud.configure do |config|
|
|
918
915
|
end
|
919
916
|
|
920
917
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
921
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
922
|
-
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.
|
923
920
|
opts = {
|
924
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
925
|
-
depth: 56, # Integer | Controls the
|
926
|
-
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, against which all API requests are to be executed.
|
927
924
|
}
|
928
925
|
|
929
926
|
begin
|
930
|
-
# List
|
927
|
+
# List NLB forwarding rules
|
931
928
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_get(datacenter_id, network_load_balancer_id, opts)
|
932
929
|
p result
|
933
930
|
rescue Ionoscloud::ApiError => e
|
@@ -943,7 +940,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
943
940
|
|
944
941
|
```ruby
|
945
942
|
begin
|
946
|
-
# List
|
943
|
+
# List NLB forwarding rules
|
947
944
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
948
945
|
p status_code # => 2xx
|
949
946
|
p headers # => { ... }
|
@@ -957,15 +954,15 @@ end
|
|
957
954
|
|
958
955
|
| Name | Type | Description | Notes |
|
959
956
|
| ---- | ---- | ----------- | ----- |
|
960
|
-
| **datacenter_id** | **String** | The unique ID of the
|
961
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
962
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
963
|
-
| **depth** | **Integer** | Controls the
|
964
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
965
962
|
|
966
963
|
### Return type
|
967
964
|
|
968
|
-
[**NetworkLoadBalancerForwardingRules**](NetworkLoadBalancerForwardingRules.md)
|
965
|
+
[**NetworkLoadBalancerForwardingRules**](../models/NetworkLoadBalancerForwardingRules.md)
|
969
966
|
|
970
967
|
### Authorization
|
971
968
|
|
@@ -981,9 +978,9 @@ Basic Authentication, Token Authentication
|
|
981
978
|
|
982
979
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_patch(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
|
983
980
|
|
984
|
-
Partially modify
|
981
|
+
Partially modify NLB forwarding rules
|
985
982
|
|
986
|
-
|
983
|
+
Update the properties of the specified Network Load Balancer forwarding rule.
|
987
984
|
|
988
985
|
### Examples
|
989
986
|
|
@@ -1003,18 +1000,18 @@ Ionoscloud.configure do |config|
|
|
1003
1000
|
end
|
1004
1001
|
|
1005
1002
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1006
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1007
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1008
|
-
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
|
1009
|
-
network_load_balancer_forwarding_rule_properties = Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: '
|
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.
|
1010
1007
|
opts = {
|
1011
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1012
|
-
depth: 56, # Integer | Controls the
|
1013
|
-
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, against which all API requests are to be executed.
|
1014
1011
|
}
|
1015
1012
|
|
1016
1013
|
begin
|
1017
|
-
# Partially modify
|
1014
|
+
# Partially modify NLB forwarding rules
|
1018
1015
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_patch(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
|
1019
1016
|
p result
|
1020
1017
|
rescue Ionoscloud::ApiError => e
|
@@ -1030,7 +1027,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1030
1027
|
|
1031
1028
|
```ruby
|
1032
1029
|
begin
|
1033
|
-
# Partially modify
|
1030
|
+
# Partially modify NLB forwarding rules
|
1034
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)
|
1035
1032
|
p status_code # => 2xx
|
1036
1033
|
p headers # => { ... }
|
@@ -1044,17 +1041,17 @@ end
|
|
1044
1041
|
|
1045
1042
|
| Name | Type | Description | Notes |
|
1046
1043
|
| ---- | ---- | ----------- | ----- |
|
1047
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1048
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1049
|
-
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
|
1050
|
-
| **network_load_balancer_forwarding_rule_properties** | [**NetworkLoadBalancerForwardingRuleProperties**](NetworkLoadBalancerForwardingRuleProperties.md) |
|
1051
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1052
|
-
| **depth** | **Integer** | Controls the
|
1053
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
1054
1051
|
|
1055
1052
|
### Return type
|
1056
1053
|
|
1057
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
1054
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
1058
1055
|
|
1059
1056
|
### Authorization
|
1060
1057
|
|
@@ -1070,9 +1067,9 @@ Basic Authentication, Token Authentication
|
|
1070
1067
|
|
1071
1068
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_post(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
|
1072
1069
|
|
1073
|
-
|
1070
|
+
Create NLB forwarding rules
|
1074
1071
|
|
1075
|
-
|
1072
|
+
Create a forwarding rule for the specified Network Load Balancer.
|
1076
1073
|
|
1077
1074
|
### Examples
|
1078
1075
|
|
@@ -1092,17 +1089,17 @@ Ionoscloud.configure do |config|
|
|
1092
1089
|
end
|
1093
1090
|
|
1094
1091
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1095
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1096
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1097
|
-
network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRule.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: '
|
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.
|
1098
1095
|
opts = {
|
1099
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1100
|
-
depth: 56, # Integer | Controls the
|
1101
|
-
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, against which all API requests are to be executed.
|
1102
1099
|
}
|
1103
1100
|
|
1104
1101
|
begin
|
1105
|
-
#
|
1102
|
+
# Create NLB forwarding rules
|
1106
1103
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_post(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
|
1107
1104
|
p result
|
1108
1105
|
rescue Ionoscloud::ApiError => e
|
@@ -1118,7 +1115,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1118
1115
|
|
1119
1116
|
```ruby
|
1120
1117
|
begin
|
1121
|
-
#
|
1118
|
+
# Create NLB forwarding rules
|
1122
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)
|
1123
1120
|
p status_code # => 2xx
|
1124
1121
|
p headers # => { ... }
|
@@ -1132,16 +1129,16 @@ end
|
|
1132
1129
|
|
1133
1130
|
| Name | Type | Description | Notes |
|
1134
1131
|
| ---- | ---- | ----------- | ----- |
|
1135
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1136
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1137
|
-
| **network_load_balancer_forwarding_rule** | [**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md) | forwarding rule to
|
1138
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1139
|
-
| **depth** | **Integer** | Controls the
|
1140
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
1141
1138
|
|
1142
1139
|
### Return type
|
1143
1140
|
|
1144
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
1141
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
1145
1142
|
|
1146
1143
|
### Authorization
|
1147
1144
|
|
@@ -1157,9 +1154,9 @@ Basic Authentication, Token Authentication
|
|
1157
1154
|
|
1158
1155
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_put(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
|
1159
1156
|
|
1160
|
-
Modify
|
1157
|
+
Modify NLB forwarding rules
|
1161
1158
|
|
1162
|
-
|
1159
|
+
Modify the specified Network Load Balancer forwarding rule.
|
1163
1160
|
|
1164
1161
|
### Examples
|
1165
1162
|
|
@@ -1179,18 +1176,18 @@ Ionoscloud.configure do |config|
|
|
1179
1176
|
end
|
1180
1177
|
|
1181
1178
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1182
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1183
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1184
|
-
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule
|
1185
|
-
network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRulePut.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: '
|
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.
|
1186
1183
|
opts = {
|
1187
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1188
|
-
depth: 56, # Integer | Controls the
|
1189
|
-
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, against which all API requests are to be executed.
|
1190
1187
|
}
|
1191
1188
|
|
1192
1189
|
begin
|
1193
|
-
# Modify
|
1190
|
+
# Modify NLB forwarding rules
|
1194
1191
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_put(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
|
1195
1192
|
p result
|
1196
1193
|
rescue Ionoscloud::ApiError => e
|
@@ -1206,7 +1203,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1206
1203
|
|
1207
1204
|
```ruby
|
1208
1205
|
begin
|
1209
|
-
# Modify
|
1206
|
+
# Modify NLB forwarding rules
|
1210
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)
|
1211
1208
|
p status_code # => 2xx
|
1212
1209
|
p headers # => { ... }
|
@@ -1220,17 +1217,17 @@ end
|
|
1220
1217
|
|
1221
1218
|
| Name | Type | Description | Notes |
|
1222
1219
|
| ---- | ---- | ----------- | ----- |
|
1223
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1224
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1225
|
-
| **forwarding_rule_id** | **String** | The unique ID of the forwarding rule | |
|
1226
|
-
| **network_load_balancer_forwarding_rule** | [**NetworkLoadBalancerForwardingRulePut**](NetworkLoadBalancerForwardingRulePut.md) |
|
1227
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1228
|
-
| **depth** | **Integer** | Controls the
|
1229
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
1230
1227
|
|
1231
1228
|
### Return type
|
1232
1229
|
|
1233
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
1230
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
1234
1231
|
|
1235
1232
|
### Authorization
|
1236
1233
|
|
@@ -1248,7 +1245,7 @@ Basic Authentication, Token Authentication
|
|
1248
1245
|
|
1249
1246
|
List Network Load Balancers
|
1250
1247
|
|
1251
|
-
|
1248
|
+
List all the Network Load Balancers within the data center.
|
1252
1249
|
|
1253
1250
|
### Examples
|
1254
1251
|
|
@@ -1268,13 +1265,13 @@ Ionoscloud.configure do |config|
|
|
1268
1265
|
end
|
1269
1266
|
|
1270
1267
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1271
|
-
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.
|
1272
1269
|
opts = {
|
1273
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1274
|
-
depth: 56, # Integer | Controls the
|
1275
|
-
x_contract_number: 56, # Integer | Users
|
1276
|
-
offset: 56, # Integer |
|
1277
|
-
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, against 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 (use together with limit for pagination).
|
1274
|
+
limit: 56 # Integer | The maximum number of elements to return (use together with offset for pagination).
|
1278
1275
|
}
|
1279
1276
|
|
1280
1277
|
begin
|
@@ -1308,16 +1305,16 @@ end
|
|
1308
1305
|
|
1309
1306
|
| Name | Type | Description | Notes |
|
1310
1307
|
| ---- | ---- | ----------- | ----- |
|
1311
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1312
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1313
|
-
| **depth** | **Integer** | Controls the
|
1314
|
-
| **x_contract_number** | **Integer** | Users
|
1315
|
-
| **offset** | **Integer** |
|
1316
|
-
| **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, against 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 (use together with limit 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] |
|
1317
1314
|
|
1318
1315
|
### Return type
|
1319
1316
|
|
1320
|
-
[**NetworkLoadBalancers**](NetworkLoadBalancers.md)
|
1317
|
+
[**NetworkLoadBalancers**](../models/NetworkLoadBalancers.md)
|
1321
1318
|
|
1322
1319
|
### Authorization
|
1323
1320
|
|
@@ -1333,9 +1330,9 @@ Basic Authentication, Token Authentication
|
|
1333
1330
|
|
1334
1331
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_patch(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
|
1335
1332
|
|
1336
|
-
Partially
|
1333
|
+
Partially modify Network Load Balancers
|
1337
1334
|
|
1338
|
-
|
1335
|
+
Update the properties of the specified Network Load Balancer within the data center.
|
1339
1336
|
|
1340
1337
|
### Examples
|
1341
1338
|
|
@@ -1355,17 +1352,17 @@ Ionoscloud.configure do |config|
|
|
1355
1352
|
end
|
1356
1353
|
|
1357
1354
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1358
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1359
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1360
|
-
network_load_balancer_properties = Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2}) # NetworkLoadBalancerProperties | Network Load Balancer
|
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.
|
1361
1358
|
opts = {
|
1362
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1363
|
-
depth: 56, # Integer | Controls the
|
1364
|
-
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, against which all API requests are to be executed.
|
1365
1362
|
}
|
1366
1363
|
|
1367
1364
|
begin
|
1368
|
-
# Partially
|
1365
|
+
# Partially modify Network Load Balancers
|
1369
1366
|
result = api_instance.datacenters_networkloadbalancers_patch(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
|
1370
1367
|
p result
|
1371
1368
|
rescue Ionoscloud::ApiError => e
|
@@ -1381,7 +1378,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1381
1378
|
|
1382
1379
|
```ruby
|
1383
1380
|
begin
|
1384
|
-
# Partially
|
1381
|
+
# Partially modify Network Load Balancers
|
1385
1382
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_patch_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
|
1386
1383
|
p status_code # => 2xx
|
1387
1384
|
p headers # => { ... }
|
@@ -1395,16 +1392,16 @@ end
|
|
1395
1392
|
|
1396
1393
|
| Name | Type | Description | Notes |
|
1397
1394
|
| ---- | ---- | ----------- | ----- |
|
1398
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1399
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1400
|
-
| **network_load_balancer_properties** | [**NetworkLoadBalancerProperties**](NetworkLoadBalancerProperties.md) | Network Load Balancer
|
1401
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1402
|
-
| **depth** | **Integer** | Controls the
|
1403
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
1404
1401
|
|
1405
1402
|
### Return type
|
1406
1403
|
|
1407
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
1404
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
1408
1405
|
|
1409
1406
|
### Authorization
|
1410
1407
|
|
@@ -1420,9 +1417,9 @@ Basic Authentication, Token Authentication
|
|
1420
1417
|
|
1421
1418
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_post(datacenter_id, network_load_balancer, opts)
|
1422
1419
|
|
1423
|
-
Create
|
1420
|
+
Create Network Load Balancers
|
1424
1421
|
|
1425
|
-
|
1422
|
+
Create a Network Load Balancer within the data center.
|
1426
1423
|
|
1427
1424
|
### Examples
|
1428
1425
|
|
@@ -1442,16 +1439,16 @@ Ionoscloud.configure do |config|
|
|
1442
1439
|
end
|
1443
1440
|
|
1444
1441
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1445
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1446
|
-
network_load_balancer = Ionoscloud::NetworkLoadBalancer.new({properties: Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2})}) # NetworkLoadBalancer | Network Load Balancer to
|
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.
|
1447
1444
|
opts = {
|
1448
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1449
|
-
depth: 56, # Integer | Controls the
|
1450
|
-
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, against which all API requests are to be executed.
|
1451
1448
|
}
|
1452
1449
|
|
1453
1450
|
begin
|
1454
|
-
# Create
|
1451
|
+
# Create Network Load Balancers
|
1455
1452
|
result = api_instance.datacenters_networkloadbalancers_post(datacenter_id, network_load_balancer, opts)
|
1456
1453
|
p result
|
1457
1454
|
rescue Ionoscloud::ApiError => e
|
@@ -1467,7 +1464,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1467
1464
|
|
1468
1465
|
```ruby
|
1469
1466
|
begin
|
1470
|
-
# Create
|
1467
|
+
# Create Network Load Balancers
|
1471
1468
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_post_with_http_info(datacenter_id, network_load_balancer, opts)
|
1472
1469
|
p status_code # => 2xx
|
1473
1470
|
p headers # => { ... }
|
@@ -1481,15 +1478,15 @@ end
|
|
1481
1478
|
|
1482
1479
|
| Name | Type | Description | Notes |
|
1483
1480
|
| ---- | ---- | ----------- | ----- |
|
1484
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1485
|
-
| **network_load_balancer** | [**NetworkLoadBalancer**](NetworkLoadBalancer.md) | Network Load Balancer to
|
1486
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1487
|
-
| **depth** | **Integer** | Controls the
|
1488
|
-
| **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, against which all API requests are to be executed. | [optional] |
|
1489
1486
|
|
1490
1487
|
### Return type
|
1491
1488
|
|
1492
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
1489
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
1493
1490
|
|
1494
1491
|
### Authorization
|
1495
1492
|
|
@@ -1505,9 +1502,9 @@ Basic Authentication, Token Authentication
|
|
1505
1502
|
|
1506
1503
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_put(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
|
1507
1504
|
|
1508
|
-
|
1505
|
+
Modify Network Load Balancers
|
1509
1506
|
|
1510
|
-
|
1507
|
+
Modify the properties of the specified Network Load Balancer within the data center.
|
1511
1508
|
|
1512
1509
|
### Examples
|
1513
1510
|
|
@@ -1527,19 +1524,17 @@ Ionoscloud.configure do |config|
|
|
1527
1524
|
end
|
1528
1525
|
|
1529
1526
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1530
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1531
|
-
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer
|
1532
|
-
network_load_balancer = Ionoscloud::NetworkLoadBalancerPut.new({properties: Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2})}) # NetworkLoadBalancerPut |
|
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.
|
1533
1530
|
opts = {
|
1534
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1535
|
-
depth: 56, # Integer | Controls the
|
1536
|
-
x_contract_number: 56
|
1537
|
-
offset: 56, # Integer | the first element (of the total list of elements) to include in the response (use together with limit for pagination)
|
1538
|
-
limit: 56 # Integer | the maximum number of elements to return (use together with offset for pagination)
|
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, against which all API requests are to be executed.
|
1539
1534
|
}
|
1540
1535
|
|
1541
1536
|
begin
|
1542
|
-
#
|
1537
|
+
# Modify Network Load Balancers
|
1543
1538
|
result = api_instance.datacenters_networkloadbalancers_put(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
|
1544
1539
|
p result
|
1545
1540
|
rescue Ionoscloud::ApiError => e
|
@@ -1555,7 +1550,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1555
1550
|
|
1556
1551
|
```ruby
|
1557
1552
|
begin
|
1558
|
-
#
|
1553
|
+
# Modify Network Load Balancers
|
1559
1554
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_put_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
|
1560
1555
|
p status_code # => 2xx
|
1561
1556
|
p headers # => { ... }
|
@@ -1569,18 +1564,16 @@ end
|
|
1569
1564
|
|
1570
1565
|
| Name | Type | Description | Notes |
|
1571
1566
|
| ---- | ---- | ----------- | ----- |
|
1572
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1573
|
-
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer | |
|
1574
|
-
| **network_load_balancer** | [**NetworkLoadBalancerPut**](NetworkLoadBalancerPut.md) |
|
1575
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1576
|
-
| **depth** | **Integer** | Controls the
|
1577
|
-
| **x_contract_number** | **Integer** | Users
|
1578
|
-
| **offset** | **Integer** | the first element (of the total list of elements) to include in the response (use together with limit for pagination) | [optional][default to 0] |
|
1579
|
-
| **limit** | **Integer** | the maximum number of elements to return (use together with offset for pagination) | [optional][default to 1000] |
|
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, against which all API requests are to be executed. | [optional] |
|
1580
1573
|
|
1581
1574
|
### Return type
|
1582
1575
|
|
1583
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
1576
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
1584
1577
|
|
1585
1578
|
### Authorization
|
1586
1579
|
|