ionoscloud 6.0.0.beta.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +61 -61
- data/docs/api/ContractResourcesApi.md +6 -6
- data/docs/api/DataCentersApi.md +13 -13
- data/docs/api/DefaultApi.md +1 -1
- data/docs/api/FirewallRulesApi.md +73 -73
- data/docs/api/FlowLogsApi.md +69 -69
- data/docs/api/IPBlocksApi.md +51 -51
- data/docs/api/ImagesApi.md +41 -41
- data/docs/api/KubernetesApi.md +153 -153
- data/docs/api/{LansApi.md → LANsApi.md} +105 -105
- data/docs/api/LabelsApi.md +259 -259
- data/docs/api/LoadBalancersApi.md +82 -82
- data/docs/api/LocationsApi.md +11 -11
- data/docs/api/NATGatewaysApi.md +163 -163
- data/docs/api/NetworkInterfacesApi.md +61 -61
- data/docs/api/NetworkLoadBalancersApi.md +167 -167
- data/docs/api/PrivateCrossConnectsApi.md +39 -39
- data/docs/api/RequestsApi.md +44 -44
- data/docs/api/ServersApi.md +179 -179
- data/docs/api/SnapshotsApi.md +40 -40
- data/docs/api/TemplatesApi.md +14 -14
- data/docs/api/UserManagementApi.md +207 -205
- data/docs/api/UserS3KeysApi.md +55 -55
- data/docs/api/VolumesApi.md +74 -74
- data/docs/models/AttachedVolumes.md +6 -6
- data/docs/models/BackupUnit.md +3 -3
- data/docs/models/BackupUnitProperties.md +2 -2
- data/docs/models/BackupUnits.md +4 -4
- data/docs/models/BalancedNics.md +6 -6
- data/docs/models/Cdroms.md +6 -6
- data/docs/models/Contract.md +1 -1
- data/docs/models/ContractProperties.md +4 -4
- data/docs/models/Contracts.md +3 -3
- data/docs/models/CpuArchitectureProperties.md +1 -1
- data/docs/models/Datacenter.md +3 -3
- data/docs/models/DatacenterElementMetadata.md +6 -6
- data/docs/models/DatacenterProperties.md +6 -6
- data/docs/models/Datacenters.md +6 -6
- data/docs/models/Error.md +1 -1
- data/docs/models/ErrorMessage.md +3 -3
- data/docs/models/FirewallRule.md +3 -3
- data/docs/models/FirewallRules.md +6 -6
- data/docs/models/FirewallruleProperties.md +10 -10
- data/docs/models/FlowLog.md +3 -3
- data/docs/models/FlowLogProperties.md +1 -1
- data/docs/models/FlowLogPut.md +3 -3
- data/docs/models/FlowLogs.md +6 -6
- data/docs/models/Group.md +3 -3
- data/docs/models/GroupMembers.md +4 -4
- data/docs/models/GroupProperties.md +11 -11
- data/docs/models/GroupShare.md +2 -2
- data/docs/models/GroupShares.md +3 -3
- data/docs/models/GroupUsers.md +4 -4
- data/docs/models/Groups.md +4 -4
- data/docs/models/Image.md +3 -3
- data/docs/models/ImageProperties.md +17 -17
- data/docs/models/Images.md +4 -4
- data/docs/models/IpBlock.md +3 -3
- data/docs/models/IpBlockProperties.md +5 -5
- data/docs/models/IpBlocks.md +5 -5
- data/docs/models/KubernetesCluster.md +2 -2
- data/docs/models/KubernetesClusterForPost.md +2 -2
- data/docs/models/KubernetesClusterForPut.md +2 -2
- data/docs/models/KubernetesClusterProperties.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPost.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPut.md +3 -3
- data/docs/models/KubernetesClusters.md +4 -4
- data/docs/models/KubernetesNode.md +2 -2
- data/docs/models/KubernetesNodeMetadata.md +4 -4
- data/docs/models/KubernetesNodePool.md +2 -2
- data/docs/models/KubernetesNodePoolForPost.md +2 -2
- data/docs/models/KubernetesNodePoolForPut.md +2 -2
- data/docs/models/KubernetesNodePoolLan.md +1 -1
- data/docs/models/KubernetesNodePoolProperties.md +12 -15
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +11 -14
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +5 -5
- data/docs/models/KubernetesNodePools.md +4 -4
- data/docs/models/KubernetesNodeProperties.md +2 -2
- data/docs/models/KubernetesNodes.md +4 -4
- data/docs/models/Label.md +2 -2
- data/docs/models/LabelProperties.md +3 -3
- data/docs/models/LabelResource.md +2 -2
- data/docs/models/LabelResourceProperties.md +2 -2
- data/docs/models/LabelResources.md +6 -6
- data/docs/models/Labels.md +4 -4
- data/docs/models/Lan.md +3 -3
- data/docs/models/LanNics.md +6 -6
- data/docs/models/LanPost.md +3 -3
- data/docs/models/LanProperties.md +3 -3
- data/docs/models/LanPropertiesPost.md +3 -3
- data/docs/models/Lans.md +6 -6
- data/docs/models/Loadbalancer.md +3 -3
- data/docs/models/LoadbalancerProperties.md +3 -3
- data/docs/models/Loadbalancers.md +6 -6
- data/docs/models/Location.md +3 -3
- data/docs/models/LocationProperties.md +1 -1
- data/docs/models/Locations.md +4 -4
- data/docs/models/NatGateway.md +3 -3
- data/docs/models/NatGatewayLanProperties.md +2 -2
- data/docs/models/NatGatewayProperties.md +3 -3
- data/docs/models/NatGatewayPut.md +3 -3
- data/docs/models/NatGatewayRule.md +3 -3
- data/docs/models/NatGatewayRuleProperties.md +7 -7
- data/docs/models/NatGatewayRulePut.md +3 -3
- data/docs/models/NatGatewayRules.md +4 -4
- data/docs/models/NatGateways.md +6 -6
- data/docs/models/NetworkLoadBalancer.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRule.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +2 -2
- data/docs/models/NetworkLoadBalancerForwardingRulePut.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRules.md +6 -6
- data/docs/models/NetworkLoadBalancerProperties.md +4 -4
- data/docs/models/NetworkLoadBalancerPut.md +3 -3
- data/docs/models/NetworkLoadBalancers.md +6 -6
- data/docs/models/Nic.md +3 -3
- data/docs/models/NicProperties.md +8 -8
- data/docs/models/NicPut.md +3 -3
- data/docs/models/Nics.md +6 -6
- data/docs/models/NoStateMetaData.md +5 -5
- data/docs/models/PaginationLinks.md +3 -3
- data/docs/models/PrivateCrossConnect.md +3 -3
- data/docs/models/PrivateCrossConnectProperties.md +4 -4
- data/docs/models/PrivateCrossConnects.md +4 -4
- data/docs/models/Request.md +3 -3
- data/docs/models/RequestMetadata.md +2 -2
- data/docs/models/RequestStatus.md +3 -3
- data/docs/models/RequestStatusMetadata.md +1 -1
- data/docs/models/Requests.md +6 -6
- data/docs/models/Resource.md +3 -3
- data/docs/models/ResourceGroups.md +4 -4
- data/docs/models/ResourceLimits.md +22 -22
- data/docs/models/ResourceProperties.md +2 -2
- data/docs/models/ResourceReference.md +3 -3
- data/docs/models/Resources.md +4 -4
- data/docs/models/ResourcesUsers.md +4 -4
- data/docs/models/S3Key.md +3 -3
- data/docs/models/S3KeyMetadata.md +2 -2
- data/docs/models/S3KeyProperties.md +2 -2
- data/docs/models/S3Keys.md +4 -4
- data/docs/models/Server.md +3 -3
- data/docs/models/ServerProperties.md +7 -7
- data/docs/models/Servers.md +6 -6
- data/docs/models/Snapshot.md +3 -3
- data/docs/models/SnapshotProperties.md +14 -14
- data/docs/models/Snapshots.md +4 -4
- data/docs/models/TargetPortRange.md +2 -2
- data/docs/models/Template.md +3 -3
- data/docs/models/TemplateProperties.md +4 -4
- data/docs/models/Templates.md +4 -4
- data/docs/models/Token.md +1 -1
- data/docs/models/User.md +3 -3
- data/docs/models/UserMetadata.md +3 -3
- data/docs/models/UserProperties.md +8 -8
- data/docs/models/UserPropertiesPost.md +8 -8
- data/docs/models/UserPropertiesPut.md +9 -7
- data/docs/models/UserPut.md +1 -1
- data/docs/models/Users.md +6 -6
- data/docs/models/Volume.md +3 -3
- data/docs/models/VolumeProperties.md +17 -17
- data/docs/models/Volumes.md +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +1 -1
- data/lib/ionoscloud/api/_api.rb +1 -1
- data/lib/ionoscloud/api/backup_units_api.rb +52 -52
- data/lib/ionoscloud/api/contract_resources_api.rb +5 -5
- data/lib/ionoscloud/api/data_centers_api.rb +13 -13
- data/lib/ionoscloud/api/firewall_rules_api.rb +63 -63
- data/lib/ionoscloud/api/flow_logs_api.rb +61 -61
- data/lib/ionoscloud/api/images_api.rb +33 -33
- data/lib/ionoscloud/api/ip_blocks_api.rb +41 -41
- data/lib/ionoscloud/api/kubernetes_api.rb +130 -130
- data/lib/ionoscloud/api/labels_api.rb +211 -211
- data/lib/ionoscloud/api/lans_api.rb +134 -134
- data/lib/ionoscloud/api/load_balancers_api.rb +67 -67
- data/lib/ionoscloud/api/locations_api.rb +11 -11
- data/lib/ionoscloud/api/nat_gateways_api.rb +135 -135
- data/lib/ionoscloud/api/network_interfaces_api.rb +51 -51
- data/lib/ionoscloud/api/network_load_balancers_api.rb +137 -137
- data/lib/ionoscloud/api/private_cross_connects_api.rb +31 -31
- data/lib/ionoscloud/api/requests_api.rb +39 -39
- data/lib/ionoscloud/api/servers_api.rb +147 -147
- data/lib/ionoscloud/api/snapshots_api.rb +31 -31
- data/lib/ionoscloud/api/templates_api.rb +11 -11
- data/lib/ionoscloud/api/user_management_api.rb +163 -161
- data/lib/ionoscloud/api/user_s3_keys_api.rb +45 -45
- data/lib/ionoscloud/api/volumes_api.rb +61 -61
- data/lib/ionoscloud/api_client.rb +2 -2
- data/lib/ionoscloud/api_error.rb +1 -1
- data/lib/ionoscloud/configuration.rb +1 -1
- data/lib/ionoscloud/models/attached_volumes.rb +72 -18
- data/lib/ionoscloud/models/backup_unit.rb +49 -9
- data/lib/ionoscloud/models/backup_unit_properties.rb +30 -6
- data/lib/ionoscloud/models/backup_unit_sso.rb +10 -2
- data/lib/ionoscloud/models/backup_units.rb +43 -13
- data/lib/ionoscloud/models/balanced_nics.rb +72 -18
- data/lib/ionoscloud/models/cdroms.rb +72 -18
- data/lib/ionoscloud/models/connectable_datacenter.rb +28 -4
- data/lib/ionoscloud/models/contract.rb +20 -4
- data/lib/ionoscloud/models/contract_properties.rb +50 -10
- data/lib/ionoscloud/models/contracts.rb +42 -12
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +38 -6
- data/lib/ionoscloud/models/data_center_entities.rb +55 -7
- data/lib/ionoscloud/models/datacenter.rb +58 -10
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +79 -15
- data/lib/ionoscloud/models/datacenter_properties.rb +74 -22
- data/lib/ionoscloud/models/datacenters.rb +72 -18
- data/lib/ionoscloud/models/error.rb +22 -8
- data/lib/ionoscloud/models/error_message.rb +21 -5
- data/lib/ionoscloud/models/firewall_rule.rb +49 -9
- data/lib/ionoscloud/models/firewall_rules.rb +72 -18
- data/lib/ionoscloud/models/firewallrule_properties.rb +101 -21
- data/lib/ionoscloud/models/flow_log.rb +49 -9
- data/lib/ionoscloud/models/flow_log_properties.rb +38 -6
- data/lib/ionoscloud/models/flow_log_put.rb +40 -8
- data/lib/ionoscloud/models/flow_logs.rb +72 -18
- data/lib/ionoscloud/models/group.rb +49 -9
- data/lib/ionoscloud/models/group_entities.rb +19 -3
- data/lib/ionoscloud/models/group_members.rb +43 -13
- data/lib/ionoscloud/models/group_properties.rb +129 -25
- data/lib/ionoscloud/models/group_share.rb +39 -7
- data/lib/ionoscloud/models/group_share_properties.rb +19 -3
- data/lib/ionoscloud/models/group_shares.rb +42 -12
- data/lib/ionoscloud/models/group_users.rb +44 -14
- data/lib/ionoscloud/models/groups.rb +43 -13
- data/lib/ionoscloud/models/image.rb +49 -9
- data/lib/ionoscloud/models/image_properties.rb +191 -41
- data/lib/ionoscloud/models/images.rb +43 -13
- data/lib/ionoscloud/models/info.rb +28 -4
- data/lib/ionoscloud/models/ip_block.rb +49 -9
- data/lib/ionoscloud/models/ip_block_properties.rb +55 -19
- data/lib/ionoscloud/models/ip_blocks.rb +71 -17
- data/lib/ionoscloud/models/ip_consumer.rb +82 -10
- data/lib/ionoscloud/models/ip_failover.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_cluster.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +10 -2
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +74 -38
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +52 -28
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +53 -17
- data/lib/ionoscloud/models/kubernetes_clusters.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +50 -10
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +31 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +176 -60
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +164 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +94 -35
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +39 -7
- data/lib/ionoscloud/models/kubernetes_nodes.rb +43 -13
- data/lib/ionoscloud/models/label.rb +48 -8
- data/lib/ionoscloud/models/label_properties.rb +49 -9
- data/lib/ionoscloud/models/label_resource.rb +48 -8
- data/lib/ionoscloud/models/label_resource_properties.rb +21 -5
- data/lib/ionoscloud/models/label_resources.rb +72 -18
- data/lib/ionoscloud/models/labels.rb +43 -13
- data/lib/ionoscloud/models/lan.rb +58 -10
- data/lib/ionoscloud/models/lan_entities.rb +10 -2
- data/lib/ionoscloud/models/lan_nics.rb +72 -18
- data/lib/ionoscloud/models/lan_post.rb +58 -10
- data/lib/ionoscloud/models/lan_properties.rb +42 -12
- data/lib/ionoscloud/models/lan_properties_post.rb +42 -12
- data/lib/ionoscloud/models/lans.rb +72 -18
- data/lib/ionoscloud/models/loadbalancer.rb +58 -10
- data/lib/ionoscloud/models/loadbalancer_entities.rb +10 -2
- data/lib/ionoscloud/models/loadbalancer_properties.rb +31 -7
- data/lib/ionoscloud/models/loadbalancers.rb +72 -18
- data/lib/ionoscloud/models/location.rb +49 -9
- data/lib/ionoscloud/models/location_properties.rb +44 -18
- data/lib/ionoscloud/models/locations.rb +43 -13
- data/lib/ionoscloud/models/nat_gateway.rb +58 -10
- data/lib/ionoscloud/models/nat_gateway_entities.rb +19 -3
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +23 -9
- data/lib/ionoscloud/models/nat_gateway_properties.rb +35 -15
- data/lib/ionoscloud/models/nat_gateway_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule.rb +49 -9
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +70 -14
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rules.rb +43 -13
- data/lib/ionoscloud/models/nat_gateways.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer.rb +58 -10
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +19 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +49 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +68 -14
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +28 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +54 -18
- data/lib/ionoscloud/models/network_load_balancer_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancers.rb +72 -18
- data/lib/ionoscloud/models/nic.rb +58 -10
- data/lib/ionoscloud/models/nic_entities.rb +19 -3
- data/lib/ionoscloud/models/nic_properties.rb +92 -22
- data/lib/ionoscloud/models/nic_put.rb +40 -8
- data/lib/ionoscloud/models/nics.rb +72 -18
- data/lib/ionoscloud/models/no_state_meta_data.rb +69 -13
- data/lib/ionoscloud/models/pagination_links.rb +31 -7
- data/lib/ionoscloud/models/peer.rb +46 -6
- data/lib/ionoscloud/models/private_cross_connect.rb +49 -9
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +45 -17
- data/lib/ionoscloud/models/private_cross_connects.rb +43 -13
- data/lib/ionoscloud/models/remote_console_url.rb +10 -2
- data/lib/ionoscloud/models/request.rb +49 -9
- data/lib/ionoscloud/models/request_metadata.rb +39 -7
- data/lib/ionoscloud/models/request_properties.rb +39 -9
- data/lib/ionoscloud/models/request_status.rb +40 -8
- data/lib/ionoscloud/models/request_status_metadata.rb +40 -10
- data/lib/ionoscloud/models/request_target.rb +19 -3
- data/lib/ionoscloud/models/requests.rb +72 -18
- data/lib/ionoscloud/models/resource.rb +58 -10
- data/lib/ionoscloud/models/resource_entities.rb +10 -2
- data/lib/ionoscloud/models/resource_groups.rb +43 -13
- data/lib/ionoscloud/models/resource_limits.rb +221 -45
- data/lib/ionoscloud/models/resource_properties.rb +21 -5
- data/lib/ionoscloud/models/resource_reference.rb +31 -7
- data/lib/ionoscloud/models/resources.rb +44 -14
- data/lib/ionoscloud/models/resources_users.rb +43 -13
- data/lib/ionoscloud/models/s3_bucket.rb +10 -2
- data/lib/ionoscloud/models/s3_key.rb +49 -9
- data/lib/ionoscloud/models/s3_key_metadata.rb +21 -5
- data/lib/ionoscloud/models/s3_key_properties.rb +21 -5
- data/lib/ionoscloud/models/s3_keys.rb +43 -13
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +10 -2
- data/lib/ionoscloud/models/server.rb +58 -10
- data/lib/ionoscloud/models/server_entities.rb +28 -4
- data/lib/ionoscloud/models/server_properties.rb +98 -18
- data/lib/ionoscloud/models/servers.rb +72 -18
- data/lib/ionoscloud/models/snapshot.rb +49 -9
- data/lib/ionoscloud/models/snapshot_properties.rb +159 -31
- data/lib/ionoscloud/models/snapshots.rb +43 -13
- data/lib/ionoscloud/models/target_port_range.rb +21 -5
- data/lib/ionoscloud/models/template.rb +49 -9
- data/lib/ionoscloud/models/template_properties.rb +41 -9
- data/lib/ionoscloud/models/templates.rb +43 -13
- data/lib/ionoscloud/models/token.rb +11 -3
- data/lib/ionoscloud/models/type.rb +1 -1
- data/lib/ionoscloud/models/user.rb +58 -10
- data/lib/ionoscloud/models/user_metadata.rb +31 -7
- data/lib/ionoscloud/models/user_post.rb +10 -2
- data/lib/ionoscloud/models/user_properties.rb +81 -17
- data/lib/ionoscloud/models/user_properties_post.rb +81 -17
- data/lib/ionoscloud/models/user_properties_put.rb +90 -16
- data/lib/ionoscloud/models/user_put.rb +20 -4
- data/lib/ionoscloud/models/users.rb +72 -18
- data/lib/ionoscloud/models/users_entities.rb +19 -3
- data/lib/ionoscloud/models/volume.rb +49 -9
- data/lib/ionoscloud/models/volume_properties.rb +200 -42
- data/lib/ionoscloud/models/volumes.rb +72 -18
- data/lib/ionoscloud/version.rb +2 -2
- data/lib/ionoscloud.rb +2 -2
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -391
- 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 -128
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -474
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -201
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -334
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -340
- data/spec/api/private_cross_connects_api_spec.rb +0 -110
- data/spec/api/requests_api_spec.rb +0 -92
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -404
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -70
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -96
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -106
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -154
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -70
- data/spec/models/ip_consumer_spec.rb +0 -82
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -64
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -76
- 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 -138
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -144
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -46
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -52
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -52
- 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_bucket_spec.rb +0 -34
- 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 -70
- data/spec/models/volume_properties_spec.rb +0 -164
- 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
|
|
@@ -51,7 +51,7 @@ end
|
|
51
51
|
|
52
52
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
53
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
|
54
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
55
55
|
opts = {
|
56
56
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
57
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
|
@@ -59,7 +59,7 @@ opts = {
|
|
59
59
|
}
|
60
60
|
|
61
61
|
begin
|
62
|
-
#
|
62
|
+
# Delete Network Load Balancers
|
63
63
|
api_instance.datacenters_networkloadbalancers_delete(datacenter_id, network_load_balancer_id, opts)
|
64
64
|
rescue Ionoscloud::ApiError => e
|
65
65
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_delete: #{e}"
|
@@ -74,7 +74,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
begin
|
77
|
-
#
|
77
|
+
# Delete Network Load Balancers
|
78
78
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_delete_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
79
79
|
p status_code # => 2xx
|
80
80
|
p headers # => { ... }
|
@@ -89,7 +89,7 @@ end
|
|
89
89
|
| Name | Type | Description | Notes |
|
90
90
|
| ---- | ---- | ----------- | ----- |
|
91
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 | |
|
92
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
93
93
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
94
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
95
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -112,9 +112,9 @@ Basic Authentication, Token Authentication
|
|
112
112
|
|
113
113
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_find_by_network_load_balancer_id(datacenter_id, network_load_balancer_id, opts)
|
114
114
|
|
115
|
-
Retrieve
|
115
|
+
Retrieve Network Load Balancers
|
116
116
|
|
117
|
-
|
117
|
+
Retrieve the properties of the specified Network Load Balancer within the data center.
|
118
118
|
|
119
119
|
### Examples
|
120
120
|
|
@@ -135,7 +135,7 @@ end
|
|
135
135
|
|
136
136
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
137
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
|
138
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
139
139
|
opts = {
|
140
140
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
141
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
|
@@ -143,7 +143,7 @@ opts = {
|
|
143
143
|
}
|
144
144
|
|
145
145
|
begin
|
146
|
-
# Retrieve
|
146
|
+
# Retrieve Network Load Balancers
|
147
147
|
result = api_instance.datacenters_networkloadbalancers_find_by_network_load_balancer_id(datacenter_id, network_load_balancer_id, opts)
|
148
148
|
p result
|
149
149
|
rescue Ionoscloud::ApiError => e
|
@@ -159,7 +159,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
159
159
|
|
160
160
|
```ruby
|
161
161
|
begin
|
162
|
-
# Retrieve
|
162
|
+
# Retrieve Network Load Balancers
|
163
163
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_find_by_network_load_balancer_id_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
164
164
|
p status_code # => 2xx
|
165
165
|
p headers # => { ... }
|
@@ -174,14 +174,14 @@ end
|
|
174
174
|
| Name | Type | Description | Notes |
|
175
175
|
| ---- | ---- | ----------- | ----- |
|
176
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 | |
|
177
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
178
178
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
179
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
180
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
181
181
|
|
182
182
|
### Return type
|
183
183
|
|
184
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
184
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
185
185
|
|
186
186
|
### Authorization
|
187
187
|
|
@@ -197,9 +197,9 @@ Basic Authentication, Token Authentication
|
|
197
197
|
|
198
198
|
> datacenters_networkloadbalancers_flowlogs_delete(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
199
199
|
|
200
|
-
|
200
|
+
Delete NLB Flow Logs
|
201
201
|
|
202
|
-
|
202
|
+
Delete the specified Network Load Balancer Flow Log.
|
203
203
|
|
204
204
|
### Examples
|
205
205
|
|
@@ -220,8 +220,8 @@ end
|
|
220
220
|
|
221
221
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
222
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
|
223
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
224
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
225
225
|
opts = {
|
226
226
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
227
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
|
@@ -229,7 +229,7 @@ opts = {
|
|
229
229
|
}
|
230
230
|
|
231
231
|
begin
|
232
|
-
#
|
232
|
+
# Delete NLB Flow Logs
|
233
233
|
api_instance.datacenters_networkloadbalancers_flowlogs_delete(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
234
234
|
rescue Ionoscloud::ApiError => e
|
235
235
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_flowlogs_delete: #{e}"
|
@@ -244,7 +244,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
244
244
|
|
245
245
|
```ruby
|
246
246
|
begin
|
247
|
-
#
|
247
|
+
# Delete NLB Flow Logs
|
248
248
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_delete_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
249
249
|
p status_code # => 2xx
|
250
250
|
p headers # => { ... }
|
@@ -259,8 +259,8 @@ end
|
|
259
259
|
| Name | Type | Description | Notes |
|
260
260
|
| ---- | ---- | ----------- | ----- |
|
261
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
|
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
264
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
265
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
266
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -283,9 +283,9 @@ Basic Authentication, Token Authentication
|
|
283
283
|
|
284
284
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
285
285
|
|
286
|
-
Retrieve
|
286
|
+
Retrieve NLB Flow Logs
|
287
287
|
|
288
|
-
|
288
|
+
Retrieve the specified Network Load Balancer Flow Log.
|
289
289
|
|
290
290
|
### Examples
|
291
291
|
|
@@ -306,8 +306,8 @@ end
|
|
306
306
|
|
307
307
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
308
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
|
309
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
310
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
311
311
|
opts = {
|
312
312
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
313
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
|
@@ -315,7 +315,7 @@ opts = {
|
|
315
315
|
}
|
316
316
|
|
317
317
|
begin
|
318
|
-
# Retrieve
|
318
|
+
# Retrieve NLB Flow Logs
|
319
319
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
320
320
|
p result
|
321
321
|
rescue Ionoscloud::ApiError => e
|
@@ -331,7 +331,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
331
331
|
|
332
332
|
```ruby
|
333
333
|
begin
|
334
|
-
# Retrieve
|
334
|
+
# Retrieve NLB Flow Logs
|
335
335
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_find_by_flow_log_id_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, opts)
|
336
336
|
p status_code # => 2xx
|
337
337
|
p headers # => { ... }
|
@@ -346,15 +346,15 @@ end
|
|
346
346
|
| Name | Type | Description | Notes |
|
347
347
|
| ---- | ---- | ----------- | ----- |
|
348
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 | |
|
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
351
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
352
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
353
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
354
354
|
|
355
355
|
### Return type
|
356
356
|
|
357
|
-
[**FlowLog**](FlowLog.md)
|
357
|
+
[**FlowLog**](../models/FlowLog.md)
|
358
358
|
|
359
359
|
### Authorization
|
360
360
|
|
@@ -370,9 +370,9 @@ Basic Authentication, Token Authentication
|
|
370
370
|
|
371
371
|
> <FlowLogs> datacenters_networkloadbalancers_flowlogs_get(datacenter_id, network_load_balancer_id, opts)
|
372
372
|
|
373
|
-
List
|
373
|
+
List NLB Flow Logs
|
374
374
|
|
375
|
-
|
375
|
+
List all the Flow Logs for the specified Network Load Balancer.
|
376
376
|
|
377
377
|
### Examples
|
378
378
|
|
@@ -393,7 +393,7 @@ end
|
|
393
393
|
|
394
394
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
395
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
|
396
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
397
397
|
opts = {
|
398
398
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
399
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
|
@@ -401,7 +401,7 @@ opts = {
|
|
401
401
|
}
|
402
402
|
|
403
403
|
begin
|
404
|
-
# List
|
404
|
+
# List NLB Flow Logs
|
405
405
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_get(datacenter_id, network_load_balancer_id, opts)
|
406
406
|
p result
|
407
407
|
rescue Ionoscloud::ApiError => e
|
@@ -417,7 +417,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
417
417
|
|
418
418
|
```ruby
|
419
419
|
begin
|
420
|
-
# List
|
420
|
+
# List NLB Flow Logs
|
421
421
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
422
422
|
p status_code # => 2xx
|
423
423
|
p headers # => { ... }
|
@@ -432,14 +432,14 @@ end
|
|
432
432
|
| Name | Type | Description | Notes |
|
433
433
|
| ---- | ---- | ----------- | ----- |
|
434
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 | |
|
435
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
436
436
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
437
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
438
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
439
439
|
|
440
440
|
### Return type
|
441
441
|
|
442
|
-
[**FlowLogs**](FlowLogs.md)
|
442
|
+
[**FlowLogs**](../models/FlowLogs.md)
|
443
443
|
|
444
444
|
### Authorization
|
445
445
|
|
@@ -455,9 +455,9 @@ Basic Authentication, Token Authentication
|
|
455
455
|
|
456
456
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_patch(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
|
457
457
|
|
458
|
-
Partially modify
|
458
|
+
Partially modify NLB Flow Logs
|
459
459
|
|
460
|
-
|
460
|
+
Update the properties of the specified Network Load Balancer Flow Log.
|
461
461
|
|
462
462
|
### Examples
|
463
463
|
|
@@ -478,9 +478,9 @@ end
|
|
478
478
|
|
479
479
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
480
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 |
|
481
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
482
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
483
|
+
network_load_balancer_flow_log_properties = Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'}) # FlowLogProperties | The properties of the Flow Log to be updated.
|
484
484
|
opts = {
|
485
485
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
486
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
|
@@ -488,7 +488,7 @@ opts = {
|
|
488
488
|
}
|
489
489
|
|
490
490
|
begin
|
491
|
-
# Partially modify
|
491
|
+
# Partially modify NLB Flow Logs
|
492
492
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_patch(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
|
493
493
|
p result
|
494
494
|
rescue Ionoscloud::ApiError => e
|
@@ -504,7 +504,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
504
504
|
|
505
505
|
```ruby
|
506
506
|
begin
|
507
|
-
# Partially modify
|
507
|
+
# Partially modify NLB Flow Logs
|
508
508
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_patch_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log_properties, opts)
|
509
509
|
p status_code # => 2xx
|
510
510
|
p headers # => { ... }
|
@@ -519,16 +519,16 @@ end
|
|
519
519
|
| Name | Type | Description | Notes |
|
520
520
|
| ---- | ---- | ----------- | ----- |
|
521
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) |
|
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
525
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
526
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
527
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
528
528
|
|
529
529
|
### Return type
|
530
530
|
|
531
|
-
[**FlowLog**](FlowLog.md)
|
531
|
+
[**FlowLog**](../models/FlowLog.md)
|
532
532
|
|
533
533
|
### Authorization
|
534
534
|
|
@@ -544,9 +544,9 @@ Basic Authentication, Token Authentication
|
|
544
544
|
|
545
545
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_post(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
|
546
546
|
|
547
|
-
|
547
|
+
Create NLB Flow Logs
|
548
548
|
|
549
|
-
|
549
|
+
Add a new Flow Log for the Network Load Balancer.
|
550
550
|
|
551
551
|
### Examples
|
552
552
|
|
@@ -567,8 +567,8 @@ end
|
|
567
567
|
|
568
568
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
569
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 | Flow Log to
|
570
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
571
|
+
network_load_balancer_flow_log = Ionoscloud::FlowLog.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLog | The Flow Log to create.
|
572
572
|
opts = {
|
573
573
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
574
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
|
@@ -576,7 +576,7 @@ opts = {
|
|
576
576
|
}
|
577
577
|
|
578
578
|
begin
|
579
|
-
#
|
579
|
+
# Create NLB Flow Logs
|
580
580
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_post(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
|
581
581
|
p result
|
582
582
|
rescue Ionoscloud::ApiError => e
|
@@ -592,7 +592,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
592
592
|
|
593
593
|
```ruby
|
594
594
|
begin
|
595
|
-
#
|
595
|
+
# Create NLB Flow Logs
|
596
596
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_post_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_flow_log, opts)
|
597
597
|
p status_code # => 2xx
|
598
598
|
p headers # => { ... }
|
@@ -607,15 +607,15 @@ end
|
|
607
607
|
| Name | Type | Description | Notes |
|
608
608
|
| ---- | ---- | ----------- | ----- |
|
609
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) | Flow Log to
|
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
612
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
613
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
614
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
615
615
|
|
616
616
|
### Return type
|
617
617
|
|
618
|
-
[**FlowLog**](FlowLog.md)
|
618
|
+
[**FlowLog**](../models/FlowLog.md)
|
619
619
|
|
620
620
|
### Authorization
|
621
621
|
|
@@ -631,9 +631,9 @@ Basic Authentication, Token Authentication
|
|
631
631
|
|
632
632
|
> <FlowLog> datacenters_networkloadbalancers_flowlogs_put(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
|
633
633
|
|
634
|
-
Modify
|
634
|
+
Modify NLB Flow Logs
|
635
635
|
|
636
|
-
|
636
|
+
Modify the specified Network Load Balancer Flow Log.
|
637
637
|
|
638
638
|
### Examples
|
639
639
|
|
@@ -654,9 +654,9 @@ end
|
|
654
654
|
|
655
655
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
656
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 |
|
657
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
658
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
659
|
+
network_load_balancer_flow_log = Ionoscloud::FlowLogPut.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLogPut | The modified NLB Flow Log.
|
660
660
|
opts = {
|
661
661
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
662
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
|
@@ -664,7 +664,7 @@ opts = {
|
|
664
664
|
}
|
665
665
|
|
666
666
|
begin
|
667
|
-
# Modify
|
667
|
+
# Modify NLB Flow Logs
|
668
668
|
result = api_instance.datacenters_networkloadbalancers_flowlogs_put(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
|
669
669
|
p result
|
670
670
|
rescue Ionoscloud::ApiError => e
|
@@ -680,7 +680,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
680
680
|
|
681
681
|
```ruby
|
682
682
|
begin
|
683
|
-
# Modify
|
683
|
+
# Modify NLB Flow Logs
|
684
684
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_flowlogs_put_with_http_info(datacenter_id, network_load_balancer_id, flow_log_id, network_load_balancer_flow_log, opts)
|
685
685
|
p status_code # => 2xx
|
686
686
|
p headers # => { ... }
|
@@ -695,16 +695,16 @@ end
|
|
695
695
|
| Name | Type | Description | Notes |
|
696
696
|
| ---- | ---- | ----------- | ----- |
|
697
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) |
|
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
701
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
702
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
703
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
704
704
|
|
705
705
|
### Return type
|
706
706
|
|
707
|
-
[**FlowLog**](FlowLog.md)
|
707
|
+
[**FlowLog**](../models/FlowLog.md)
|
708
708
|
|
709
709
|
### Authorization
|
710
710
|
|
@@ -720,9 +720,9 @@ Basic Authentication, Token Authentication
|
|
720
720
|
|
721
721
|
> datacenters_networkloadbalancers_forwardingrules_delete(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
722
722
|
|
723
|
-
|
723
|
+
Delete NLB forwarding rules
|
724
724
|
|
725
|
-
|
725
|
+
Delete the specified Network Load Balancer forwarding rule.
|
726
726
|
|
727
727
|
### Examples
|
728
728
|
|
@@ -743,8 +743,8 @@ end
|
|
743
743
|
|
744
744
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
745
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
|
746
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
747
|
+
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule.
|
748
748
|
opts = {
|
749
749
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
750
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
|
@@ -752,7 +752,7 @@ opts = {
|
|
752
752
|
}
|
753
753
|
|
754
754
|
begin
|
755
|
-
#
|
755
|
+
# Delete NLB forwarding rules
|
756
756
|
api_instance.datacenters_networkloadbalancers_forwardingrules_delete(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
757
757
|
rescue Ionoscloud::ApiError => e
|
758
758
|
puts "Error when calling NetworkLoadBalancersApi->datacenters_networkloadbalancers_forwardingrules_delete: #{e}"
|
@@ -767,7 +767,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
767
767
|
|
768
768
|
```ruby
|
769
769
|
begin
|
770
|
-
#
|
770
|
+
# Delete NLB forwarding rules
|
771
771
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_delete_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
772
772
|
p status_code # => 2xx
|
773
773
|
p headers # => { ... }
|
@@ -782,8 +782,8 @@ end
|
|
782
782
|
| Name | Type | Description | Notes |
|
783
783
|
| ---- | ---- | ----------- | ----- |
|
784
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 | |
|
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
787
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
788
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
789
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -806,9 +806,9 @@ Basic Authentication, Token Authentication
|
|
806
806
|
|
807
807
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
808
808
|
|
809
|
-
Retrieve
|
809
|
+
Retrieve NLB forwarding rules
|
810
810
|
|
811
|
-
|
811
|
+
Retrieve the specified Network Load Balance forwarding rule.
|
812
812
|
|
813
813
|
### Examples
|
814
814
|
|
@@ -829,8 +829,8 @@ end
|
|
829
829
|
|
830
830
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
831
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
|
832
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
833
|
+
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule.
|
834
834
|
opts = {
|
835
835
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
836
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
|
@@ -838,7 +838,7 @@ opts = {
|
|
838
838
|
}
|
839
839
|
|
840
840
|
begin
|
841
|
-
# Retrieve
|
841
|
+
# Retrieve NLB forwarding rules
|
842
842
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
843
843
|
p result
|
844
844
|
rescue Ionoscloud::ApiError => e
|
@@ -854,7 +854,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
854
854
|
|
855
855
|
```ruby
|
856
856
|
begin
|
857
|
-
# Retrieve
|
857
|
+
# Retrieve NLB forwarding rules
|
858
858
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_find_by_forwarding_rule_id_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, opts)
|
859
859
|
p status_code # => 2xx
|
860
860
|
p headers # => { ... }
|
@@ -869,15 +869,15 @@ end
|
|
869
869
|
| Name | Type | Description | Notes |
|
870
870
|
| ---- | ---- | ----------- | ----- |
|
871
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 | |
|
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
874
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
875
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
876
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
877
877
|
|
878
878
|
### Return type
|
879
879
|
|
880
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
880
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
881
881
|
|
882
882
|
### Authorization
|
883
883
|
|
@@ -893,9 +893,9 @@ Basic Authentication, Token Authentication
|
|
893
893
|
|
894
894
|
> <NetworkLoadBalancerForwardingRules> datacenters_networkloadbalancers_forwardingrules_get(datacenter_id, network_load_balancer_id, opts)
|
895
895
|
|
896
|
-
List
|
896
|
+
List NLB forwarding rules
|
897
897
|
|
898
|
-
|
898
|
+
List the forwarding rules for the specified Network Load Balancer.
|
899
899
|
|
900
900
|
### Examples
|
901
901
|
|
@@ -916,7 +916,7 @@ end
|
|
916
916
|
|
917
917
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
918
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
|
919
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
920
920
|
opts = {
|
921
921
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
922
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
|
@@ -924,7 +924,7 @@ opts = {
|
|
924
924
|
}
|
925
925
|
|
926
926
|
begin
|
927
|
-
# List
|
927
|
+
# List NLB forwarding rules
|
928
928
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_get(datacenter_id, network_load_balancer_id, opts)
|
929
929
|
p result
|
930
930
|
rescue Ionoscloud::ApiError => e
|
@@ -940,7 +940,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
940
940
|
|
941
941
|
```ruby
|
942
942
|
begin
|
943
|
-
# List
|
943
|
+
# List NLB forwarding rules
|
944
944
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_get_with_http_info(datacenter_id, network_load_balancer_id, opts)
|
945
945
|
p status_code # => 2xx
|
946
946
|
p headers # => { ... }
|
@@ -955,14 +955,14 @@ end
|
|
955
955
|
| Name | Type | Description | Notes |
|
956
956
|
| ---- | ---- | ----------- | ----- |
|
957
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 | |
|
958
|
+
| **network_load_balancer_id** | **String** | The unique ID of the Network Load Balancer. | |
|
959
959
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
960
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
961
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
962
962
|
|
963
963
|
### Return type
|
964
964
|
|
965
|
-
[**NetworkLoadBalancerForwardingRules**](NetworkLoadBalancerForwardingRules.md)
|
965
|
+
[**NetworkLoadBalancerForwardingRules**](../models/NetworkLoadBalancerForwardingRules.md)
|
966
966
|
|
967
967
|
### Authorization
|
968
968
|
|
@@ -978,9 +978,9 @@ Basic Authentication, Token Authentication
|
|
978
978
|
|
979
979
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_patch(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
|
980
980
|
|
981
|
-
Partially modify
|
981
|
+
Partially modify NLB forwarding rules
|
982
982
|
|
983
|
-
|
983
|
+
Update the properties of the specified Network Load Balancer forwarding rule.
|
984
984
|
|
985
985
|
### Examples
|
986
986
|
|
@@ -1001,9 +1001,9 @@ end
|
|
1001
1001
|
|
1002
1002
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1003
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 |
|
1004
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1005
|
+
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule.
|
1006
|
+
network_load_balancer_forwarding_rule_properties = Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: 'HTTP', listener_ip: '81.173.1.2', listener_port: 8080, targets: [Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new({ip: '22.231.2.2', port: 8080, weight: 123})]}) # NetworkLoadBalancerForwardingRuleProperties | The properties of the forwarding rule to be updated.
|
1007
1007
|
opts = {
|
1008
1008
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1009
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
|
@@ -1011,7 +1011,7 @@ opts = {
|
|
1011
1011
|
}
|
1012
1012
|
|
1013
1013
|
begin
|
1014
|
-
# Partially modify
|
1014
|
+
# Partially modify NLB forwarding rules
|
1015
1015
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_patch(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
|
1016
1016
|
p result
|
1017
1017
|
rescue Ionoscloud::ApiError => e
|
@@ -1027,7 +1027,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1027
1027
|
|
1028
1028
|
```ruby
|
1029
1029
|
begin
|
1030
|
-
# Partially modify
|
1030
|
+
# Partially modify NLB forwarding rules
|
1031
1031
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_patch_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule_properties, opts)
|
1032
1032
|
p status_code # => 2xx
|
1033
1033
|
p headers # => { ... }
|
@@ -1042,16 +1042,16 @@ end
|
|
1042
1042
|
| Name | Type | Description | Notes |
|
1043
1043
|
| ---- | ---- | ----------- | ----- |
|
1044
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) |
|
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
1048
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1049
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
1050
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1051
1051
|
|
1052
1052
|
### Return type
|
1053
1053
|
|
1054
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
1054
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
1055
1055
|
|
1056
1056
|
### Authorization
|
1057
1057
|
|
@@ -1067,9 +1067,9 @@ Basic Authentication, Token Authentication
|
|
1067
1067
|
|
1068
1068
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_post(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
|
1069
1069
|
|
1070
|
-
|
1070
|
+
Create NLB forwarding rules
|
1071
1071
|
|
1072
|
-
|
1072
|
+
Create a forwarding rule for the specified Network Load Balancer.
|
1073
1073
|
|
1074
1074
|
### Examples
|
1075
1075
|
|
@@ -1090,8 +1090,8 @@ end
|
|
1090
1090
|
|
1091
1091
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1092
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 | forwarding rule to
|
1093
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1094
|
+
network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRule.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: 'HTTP', listener_ip: '81.173.1.2', listener_port: 8080, targets: [Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new({ip: '22.231.2.2', port: 8080, weight: 123})]})}) # NetworkLoadBalancerForwardingRule | The forwarding rule to create.
|
1095
1095
|
opts = {
|
1096
1096
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1097
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
|
@@ -1099,7 +1099,7 @@ opts = {
|
|
1099
1099
|
}
|
1100
1100
|
|
1101
1101
|
begin
|
1102
|
-
#
|
1102
|
+
# Create NLB forwarding rules
|
1103
1103
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_post(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
|
1104
1104
|
p result
|
1105
1105
|
rescue Ionoscloud::ApiError => e
|
@@ -1115,7 +1115,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1115
1115
|
|
1116
1116
|
```ruby
|
1117
1117
|
begin
|
1118
|
-
#
|
1118
|
+
# Create NLB forwarding rules
|
1119
1119
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_post_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_forwarding_rule, opts)
|
1120
1120
|
p status_code # => 2xx
|
1121
1121
|
p headers # => { ... }
|
@@ -1130,15 +1130,15 @@ end
|
|
1130
1130
|
| Name | Type | Description | Notes |
|
1131
1131
|
| ---- | ---- | ----------- | ----- |
|
1132
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) | forwarding rule to
|
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
1135
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1136
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
1137
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1138
1138
|
|
1139
1139
|
### Return type
|
1140
1140
|
|
1141
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
1141
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
1142
1142
|
|
1143
1143
|
### Authorization
|
1144
1144
|
|
@@ -1154,9 +1154,9 @@ Basic Authentication, Token Authentication
|
|
1154
1154
|
|
1155
1155
|
> <NetworkLoadBalancerForwardingRule> datacenters_networkloadbalancers_forwardingrules_put(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
|
1156
1156
|
|
1157
|
-
Modify
|
1157
|
+
Modify NLB forwarding rules
|
1158
1158
|
|
1159
|
-
|
1159
|
+
Modify the specified Network Load Balancer forwarding rule.
|
1160
1160
|
|
1161
1161
|
### Examples
|
1162
1162
|
|
@@ -1177,9 +1177,9 @@ end
|
|
1177
1177
|
|
1178
1178
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1179
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 |
|
1180
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1181
|
+
forwarding_rule_id = 'forwarding_rule_id_example' # String | The unique ID of the forwarding rule.
|
1182
|
+
network_load_balancer_forwarding_rule = Ionoscloud::NetworkLoadBalancerForwardingRulePut.new({properties: Ionoscloud::NetworkLoadBalancerForwardingRuleProperties.new({name: 'My Network Load Balancer forwarding rule', algorithm: 'ROUND_ROBIN', protocol: 'HTTP', listener_ip: '81.173.1.2', listener_port: 8080, targets: [Ionoscloud::NetworkLoadBalancerForwardingRuleTarget.new({ip: '22.231.2.2', port: 8080, weight: 123})]})}) # NetworkLoadBalancerForwardingRulePut | The modified NLB forwarding rule.
|
1183
1183
|
opts = {
|
1184
1184
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1185
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
|
@@ -1187,7 +1187,7 @@ opts = {
|
|
1187
1187
|
}
|
1188
1188
|
|
1189
1189
|
begin
|
1190
|
-
# Modify
|
1190
|
+
# Modify NLB forwarding rules
|
1191
1191
|
result = api_instance.datacenters_networkloadbalancers_forwardingrules_put(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
|
1192
1192
|
p result
|
1193
1193
|
rescue Ionoscloud::ApiError => e
|
@@ -1203,7 +1203,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1203
1203
|
|
1204
1204
|
```ruby
|
1205
1205
|
begin
|
1206
|
-
# Modify
|
1206
|
+
# Modify NLB forwarding rules
|
1207
1207
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_forwardingrules_put_with_http_info(datacenter_id, network_load_balancer_id, forwarding_rule_id, network_load_balancer_forwarding_rule, opts)
|
1208
1208
|
p status_code # => 2xx
|
1209
1209
|
p headers # => { ... }
|
@@ -1218,16 +1218,16 @@ end
|
|
1218
1218
|
| Name | Type | Description | Notes |
|
1219
1219
|
| ---- | ---- | ----------- | ----- |
|
1220
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) |
|
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
1224
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1225
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
1226
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1227
1227
|
|
1228
1228
|
### Return type
|
1229
1229
|
|
1230
|
-
[**NetworkLoadBalancerForwardingRule**](NetworkLoadBalancerForwardingRule.md)
|
1230
|
+
[**NetworkLoadBalancerForwardingRule**](../models/NetworkLoadBalancerForwardingRule.md)
|
1231
1231
|
|
1232
1232
|
### Authorization
|
1233
1233
|
|
@@ -1245,7 +1245,7 @@ Basic Authentication, Token Authentication
|
|
1245
1245
|
|
1246
1246
|
List Network Load Balancers
|
1247
1247
|
|
1248
|
-
|
1248
|
+
List all the Network Load Balancers within the data center.
|
1249
1249
|
|
1250
1250
|
### Examples
|
1251
1251
|
|
@@ -1314,7 +1314,7 @@ end
|
|
1314
1314
|
|
1315
1315
|
### Return type
|
1316
1316
|
|
1317
|
-
[**NetworkLoadBalancers**](NetworkLoadBalancers.md)
|
1317
|
+
[**NetworkLoadBalancers**](../models/NetworkLoadBalancers.md)
|
1318
1318
|
|
1319
1319
|
### Authorization
|
1320
1320
|
|
@@ -1330,9 +1330,9 @@ Basic Authentication, Token Authentication
|
|
1330
1330
|
|
1331
1331
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_patch(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
|
1332
1332
|
|
1333
|
-
Partially
|
1333
|
+
Partially modify Network Load Balancers
|
1334
1334
|
|
1335
|
-
|
1335
|
+
Update the properties of the specified Network Load Balancer within the data center.
|
1336
1336
|
|
1337
1337
|
### Examples
|
1338
1338
|
|
@@ -1353,8 +1353,8 @@ end
|
|
1353
1353
|
|
1354
1354
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1355
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 | Network Load Balancer
|
1356
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1357
|
+
network_load_balancer_properties = Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2}) # NetworkLoadBalancerProperties | The properties of the Network Load Balancer to be updated.
|
1358
1358
|
opts = {
|
1359
1359
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1360
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
|
@@ -1362,7 +1362,7 @@ opts = {
|
|
1362
1362
|
}
|
1363
1363
|
|
1364
1364
|
begin
|
1365
|
-
# Partially
|
1365
|
+
# Partially modify Network Load Balancers
|
1366
1366
|
result = api_instance.datacenters_networkloadbalancers_patch(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
|
1367
1367
|
p result
|
1368
1368
|
rescue Ionoscloud::ApiError => e
|
@@ -1378,7 +1378,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1378
1378
|
|
1379
1379
|
```ruby
|
1380
1380
|
begin
|
1381
|
-
# Partially
|
1381
|
+
# Partially modify Network Load Balancers
|
1382
1382
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_patch_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer_properties, opts)
|
1383
1383
|
p status_code # => 2xx
|
1384
1384
|
p headers # => { ... }
|
@@ -1393,15 +1393,15 @@ end
|
|
1393
1393
|
| Name | Type | Description | Notes |
|
1394
1394
|
| ---- | ---- | ----------- | ----- |
|
1395
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) | Network Load Balancer
|
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
1398
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1399
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
1400
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1401
1401
|
|
1402
1402
|
### Return type
|
1403
1403
|
|
1404
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
1404
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
1405
1405
|
|
1406
1406
|
### Authorization
|
1407
1407
|
|
@@ -1417,9 +1417,9 @@ Basic Authentication, Token Authentication
|
|
1417
1417
|
|
1418
1418
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_post(datacenter_id, network_load_balancer, opts)
|
1419
1419
|
|
1420
|
-
Create
|
1420
|
+
Create Network Load Balancers
|
1421
1421
|
|
1422
|
-
|
1422
|
+
Create a Network Load Balancer within the data center.
|
1423
1423
|
|
1424
1424
|
### Examples
|
1425
1425
|
|
@@ -1440,7 +1440,7 @@ end
|
|
1440
1440
|
|
1441
1441
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1442
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 | Network Load Balancer to
|
1443
|
+
network_load_balancer = Ionoscloud::NetworkLoadBalancer.new({properties: Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2})}) # NetworkLoadBalancer | The Network Load Balancer to create.
|
1444
1444
|
opts = {
|
1445
1445
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1446
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
|
@@ -1448,7 +1448,7 @@ opts = {
|
|
1448
1448
|
}
|
1449
1449
|
|
1450
1450
|
begin
|
1451
|
-
# Create
|
1451
|
+
# Create Network Load Balancers
|
1452
1452
|
result = api_instance.datacenters_networkloadbalancers_post(datacenter_id, network_load_balancer, opts)
|
1453
1453
|
p result
|
1454
1454
|
rescue Ionoscloud::ApiError => e
|
@@ -1464,7 +1464,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1464
1464
|
|
1465
1465
|
```ruby
|
1466
1466
|
begin
|
1467
|
-
# Create
|
1467
|
+
# Create Network Load Balancers
|
1468
1468
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_post_with_http_info(datacenter_id, network_load_balancer, opts)
|
1469
1469
|
p status_code # => 2xx
|
1470
1470
|
p headers # => { ... }
|
@@ -1479,14 +1479,14 @@ end
|
|
1479
1479
|
| Name | Type | Description | Notes |
|
1480
1480
|
| ---- | ---- | ----------- | ----- |
|
1481
1481
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1482
|
-
| **network_load_balancer** | [**NetworkLoadBalancer**](NetworkLoadBalancer.md) | Network Load Balancer to
|
1482
|
+
| **network_load_balancer** | [**NetworkLoadBalancer**](NetworkLoadBalancer.md) | The Network Load Balancer to create. | |
|
1483
1483
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1484
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
1485
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1486
1486
|
|
1487
1487
|
### Return type
|
1488
1488
|
|
1489
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
1489
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
1490
1490
|
|
1491
1491
|
### Authorization
|
1492
1492
|
|
@@ -1502,9 +1502,9 @@ Basic Authentication, Token Authentication
|
|
1502
1502
|
|
1503
1503
|
> <NetworkLoadBalancer> datacenters_networkloadbalancers_put(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
|
1504
1504
|
|
1505
|
-
|
1505
|
+
Modify Network Load Balancers
|
1506
1506
|
|
1507
|
-
|
1507
|
+
Modify the properties of the specified Network Load Balancer within the data center.
|
1508
1508
|
|
1509
1509
|
### Examples
|
1510
1510
|
|
@@ -1525,8 +1525,8 @@ end
|
|
1525
1525
|
|
1526
1526
|
api_instance = Ionoscloud::NetworkLoadBalancersApi.new
|
1527
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 |
|
1528
|
+
network_load_balancer_id = 'network_load_balancer_id_example' # String | The unique ID of the Network Load Balancer.
|
1529
|
+
network_load_balancer = Ionoscloud::NetworkLoadBalancerPut.new({properties: Ionoscloud::NetworkLoadBalancerProperties.new({name: 'My Network Load Balancer', listener_lan: 1, target_lan: 2})}) # NetworkLoadBalancerPut | The modified Network Load Balancer.
|
1530
1530
|
opts = {
|
1531
1531
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1532
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
|
@@ -1534,7 +1534,7 @@ opts = {
|
|
1534
1534
|
}
|
1535
1535
|
|
1536
1536
|
begin
|
1537
|
-
#
|
1537
|
+
# Modify Network Load Balancers
|
1538
1538
|
result = api_instance.datacenters_networkloadbalancers_put(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
|
1539
1539
|
p result
|
1540
1540
|
rescue Ionoscloud::ApiError => e
|
@@ -1550,7 +1550,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1550
1550
|
|
1551
1551
|
```ruby
|
1552
1552
|
begin
|
1553
|
-
#
|
1553
|
+
# Modify Network Load Balancers
|
1554
1554
|
data, status_code, headers = api_instance.datacenters_networkloadbalancers_put_with_http_info(datacenter_id, network_load_balancer_id, network_load_balancer, opts)
|
1555
1555
|
p status_code # => 2xx
|
1556
1556
|
p headers # => { ... }
|
@@ -1565,15 +1565,15 @@ end
|
|
1565
1565
|
| Name | Type | Description | Notes |
|
1566
1566
|
| ---- | ---- | ----------- | ----- |
|
1567
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) |
|
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
1570
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1571
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
1572
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1573
1573
|
|
1574
1574
|
### Return type
|
1575
1575
|
|
1576
|
-
[**NetworkLoadBalancer**](NetworkLoadBalancer.md)
|
1576
|
+
[**NetworkLoadBalancer**](../models/NetworkLoadBalancer.md)
|
1577
1577
|
|
1578
1578
|
### Authorization
|
1579
1579
|
|