ionoscloud 6.0.0.beta.3 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +70 -0
- data/LICENSE +190 -0
- data/README.md +13 -2
- data/docs/README.md +66 -2
- data/docs/{BackupUnitsApi.md → api/BackupUnitsApi.md} +101 -101
- data/docs/{ContractResourcesApi.md → api/ContractResourcesApi.md} +12 -12
- data/docs/api/DataCentersApi.md +516 -0
- data/docs/api/DefaultApi.md +78 -0
- data/docs/{FirewallRulesApi.md → api/FirewallRulesApi.md} +125 -125
- data/docs/{FlowLogsApi.md → api/FlowLogsApi.md} +109 -109
- data/docs/api/IPBlocksApi.md +516 -0
- data/docs/api/ImagesApi.md +428 -0
- data/docs/{KubernetesApi.md → api/KubernetesApi.md} +242 -242
- data/docs/api/LANsApi.md +794 -0
- data/docs/api/LabelsApi.md +2338 -0
- data/docs/{LoadBalancersApi.md → api/LoadBalancersApi.md} +166 -174
- data/docs/api/LocationsApi.md +259 -0
- data/docs/{NATGatewaysApi.md → api/NATGatewaysApi.md} +299 -303
- data/docs/{NetworkInterfacesApi.md → api/NetworkInterfacesApi.md} +113 -113
- data/docs/{NetworkLoadBalancersApi.md → api/NetworkLoadBalancersApi.md} +315 -319
- data/docs/api/PrivateCrossConnectsApi.md +426 -0
- data/docs/api/RequestsApi.md +283 -0
- data/docs/api/ServersApi.md +1918 -0
- data/docs/api/SnapshotsApi.md +428 -0
- data/docs/{TemplatesApi.md → api/TemplatesApi.md} +18 -18
- data/docs/api/UserManagementApi.md +2039 -0
- data/docs/api/UserS3KeysApi.md +516 -0
- data/docs/api/VolumesApi.md +709 -0
- data/docs/{AttachedVolumes.md → models/AttachedVolumes.md} +6 -6
- data/docs/{BackupUnit.md → models/BackupUnit.md} +3 -3
- data/docs/{BackupUnitProperties.md → models/BackupUnitProperties.md} +2 -2
- data/docs/{BackupUnitSSO.md → models/BackupUnitSSO.md} +0 -0
- data/docs/{BackupUnits.md → models/BackupUnits.md} +4 -4
- data/docs/{BalancedNics.md → models/BalancedNics.md} +6 -6
- data/docs/{Cdroms.md → models/Cdroms.md} +6 -6
- data/docs/{ConnectableDatacenter.md → models/ConnectableDatacenter.md} +0 -0
- data/docs/{Contract.md → models/Contract.md} +1 -1
- data/docs/{ContractProperties.md → models/ContractProperties.md} +4 -4
- data/docs/{Contracts.md → models/Contracts.md} +4 -4
- data/docs/{CpuArchitectureProperties.md → models/CpuArchitectureProperties.md} +1 -1
- data/docs/{DataCenterEntities.md → models/DataCenterEntities.md} +0 -0
- data/docs/{Datacenter.md → models/Datacenter.md} +3 -3
- data/docs/{DatacenterElementMetadata.md → models/DatacenterElementMetadata.md} +6 -6
- data/docs/{DatacenterProperties.md → models/DatacenterProperties.md} +6 -6
- data/docs/{Datacenters.md → models/Datacenters.md} +6 -6
- data/docs/{Error.md → models/Error.md} +1 -1
- data/docs/{ErrorMessage.md → models/ErrorMessage.md} +3 -3
- data/docs/{FirewallRule.md → models/FirewallRule.md} +3 -3
- data/docs/{FirewallRules.md → models/FirewallRules.md} +6 -6
- data/docs/{FirewallruleProperties.md → models/FirewallruleProperties.md} +10 -10
- data/docs/{FlowLog.md → models/FlowLog.md} +3 -3
- data/docs/{FlowLogProperties.md → models/FlowLogProperties.md} +1 -1
- data/docs/{FlowLogPut.md → models/FlowLogPut.md} +3 -3
- data/docs/{FlowLogs.md → models/FlowLogs.md} +6 -6
- data/docs/{Group.md → models/Group.md} +3 -3
- data/docs/{GroupEntities.md → models/GroupEntities.md} +0 -0
- data/docs/{GroupMembers.md → models/GroupMembers.md} +4 -4
- data/docs/{GroupProperties.md → models/GroupProperties.md} +11 -11
- data/docs/{GroupShare.md → models/GroupShare.md} +2 -2
- data/docs/{GroupShareProperties.md → models/GroupShareProperties.md} +0 -0
- data/docs/{GroupShares.md → models/GroupShares.md} +3 -3
- data/docs/{GroupUsers.md → models/GroupUsers.md} +4 -4
- data/docs/{Groups.md → models/Groups.md} +4 -4
- data/docs/{IPFailover.md → models/IPFailover.md} +0 -0
- data/docs/{Image.md → models/Image.md} +3 -3
- data/docs/models/ImageProperties.md +54 -0
- data/docs/{Images.md → models/Images.md} +4 -4
- data/docs/{Info.md → models/Info.md} +0 -0
- data/docs/{IpBlock.md → models/IpBlock.md} +3 -3
- data/docs/{IpBlockProperties.md → models/IpBlockProperties.md} +5 -5
- data/docs/models/IpBlocks.md +30 -0
- data/docs/{IpConsumer.md → models/IpConsumer.md} +0 -0
- data/docs/{KubernetesAutoScaling.md → models/KubernetesAutoScaling.md} +0 -0
- data/docs/{KubernetesCluster.md → models/KubernetesCluster.md} +2 -2
- data/docs/{KubernetesClusterEntities.md → models/KubernetesClusterEntities.md} +0 -0
- data/docs/{KubernetesClusterForPost.md → models/KubernetesClusterForPost.md} +2 -2
- data/docs/{KubernetesClusterForPut.md → models/KubernetesClusterForPut.md} +2 -2
- data/docs/{KubernetesClusterProperties.md → models/KubernetesClusterProperties.md} +6 -4
- data/docs/models/KubernetesClusterPropertiesForPost.md +28 -0
- data/docs/models/KubernetesClusterPropertiesForPut.md +26 -0
- data/docs/{KubernetesClusters.md → models/KubernetesClusters.md} +4 -4
- data/docs/{KubernetesMaintenanceWindow.md → models/KubernetesMaintenanceWindow.md} +0 -0
- data/docs/{KubernetesNode.md → models/KubernetesNode.md} +2 -2
- data/docs/{KubernetesNodeMetadata.md → models/KubernetesNodeMetadata.md} +4 -4
- data/docs/{KubernetesNodePool.md → models/KubernetesNodePool.md} +2 -2
- data/docs/{KubernetesNodePoolForPost.md → models/KubernetesNodePoolForPost.md} +2 -2
- data/docs/{KubernetesNodePoolForPut.md → models/KubernetesNodePoolForPut.md} +2 -2
- data/docs/{KubernetesNodePoolLan.md → models/KubernetesNodePoolLan.md} +2 -2
- data/docs/{KubernetesNodePoolLanRoutes.md → models/KubernetesNodePoolLanRoutes.md} +0 -0
- data/docs/{KubernetesNodePoolProperties.md → models/KubernetesNodePoolProperties.md} +16 -14
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +50 -0
- data/docs/{KubernetesNodePoolPropertiesForPut.md → models/KubernetesNodePoolPropertiesForPut.md} +6 -6
- data/docs/{KubernetesNodePools.md → models/KubernetesNodePools.md} +4 -4
- data/docs/{KubernetesNodeProperties.md → models/KubernetesNodeProperties.md} +2 -2
- data/docs/{KubernetesNodes.md → models/KubernetesNodes.md} +4 -4
- data/docs/{Label.md → models/Label.md} +2 -2
- data/docs/{LabelProperties.md → models/LabelProperties.md} +3 -3
- data/docs/{LabelResource.md → models/LabelResource.md} +2 -2
- data/docs/{LabelResourceProperties.md → models/LabelResourceProperties.md} +2 -2
- data/docs/{LabelResources.md → models/LabelResources.md} +6 -6
- data/docs/{Labels.md → models/Labels.md} +4 -4
- data/docs/{Lan.md → models/Lan.md} +3 -3
- data/docs/{LanEntities.md → models/LanEntities.md} +0 -0
- data/docs/{LanNics.md → models/LanNics.md} +6 -6
- data/docs/{LanPost.md → models/LanPost.md} +3 -3
- data/docs/{LanProperties.md → models/LanProperties.md} +3 -3
- data/docs/{LanPropertiesPost.md → models/LanPropertiesPost.md} +3 -3
- data/docs/{Lans.md → models/Lans.md} +6 -6
- data/docs/{Loadbalancer.md → models/Loadbalancer.md} +3 -3
- data/docs/{LoadbalancerEntities.md → models/LoadbalancerEntities.md} +0 -0
- data/docs/{LoadbalancerProperties.md → models/LoadbalancerProperties.md} +3 -3
- data/docs/{Loadbalancers.md → models/Loadbalancers.md} +6 -6
- data/docs/{Location.md → models/Location.md} +3 -3
- data/docs/{LocationProperties.md → models/LocationProperties.md} +1 -1
- data/docs/{Locations.md → models/Locations.md} +4 -4
- data/docs/{NatGateway.md → models/NatGateway.md} +3 -3
- data/docs/{NatGatewayEntities.md → models/NatGatewayEntities.md} +0 -0
- data/docs/{NatGatewayLanProperties.md → models/NatGatewayLanProperties.md} +2 -2
- data/docs/{NatGatewayProperties.md → models/NatGatewayProperties.md} +3 -3
- data/docs/{NatGatewayPut.md → models/NatGatewayPut.md} +3 -3
- data/docs/{NatGatewayRule.md → models/NatGatewayRule.md} +3 -3
- data/docs/{NatGatewayRuleProperties.md → models/NatGatewayRuleProperties.md} +7 -7
- data/docs/{NatGatewayRuleProtocol.md → models/NatGatewayRuleProtocol.md} +0 -0
- data/docs/{NatGatewayRulePut.md → models/NatGatewayRulePut.md} +3 -3
- data/docs/{NatGatewayRuleType.md → models/NatGatewayRuleType.md} +0 -0
- data/docs/{NatGatewayRules.md → models/NatGatewayRules.md} +4 -4
- data/docs/{NatGateways.md → models/NatGateways.md} +6 -6
- data/docs/{NetworkLoadBalancer.md → models/NetworkLoadBalancer.md} +3 -3
- data/docs/{NetworkLoadBalancerEntities.md → models/NetworkLoadBalancerEntities.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRule.md → models/NetworkLoadBalancerForwardingRule.md} +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleHealthCheck.md +24 -0
- data/docs/{NetworkLoadBalancerForwardingRuleProperties.md → models/NetworkLoadBalancerForwardingRuleProperties.md} +7 -7
- data/docs/{NetworkLoadBalancerForwardingRulePut.md → models/NetworkLoadBalancerForwardingRulePut.md} +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleTarget.md +24 -0
- data/docs/models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +22 -0
- data/docs/{NetworkLoadBalancerForwardingRules.md → models/NetworkLoadBalancerForwardingRules.md} +6 -6
- data/docs/models/NetworkLoadBalancerProperties.md +26 -0
- data/docs/{NetworkLoadBalancerPut.md → models/NetworkLoadBalancerPut.md} +3 -3
- data/docs/{NetworkLoadBalancers.md → models/NetworkLoadBalancers.md} +6 -6
- data/docs/{Nic.md → models/Nic.md} +3 -3
- data/docs/{NicEntities.md → models/NicEntities.md} +0 -0
- data/docs/models/NicProperties.md +34 -0
- data/docs/{NicPut.md → models/NicPut.md} +3 -3
- data/docs/{Nics.md → models/Nics.md} +6 -6
- data/docs/{NoStateMetaData.md → models/NoStateMetaData.md} +5 -5
- data/docs/{PaginationLinks.md → models/PaginationLinks.md} +3 -3
- data/docs/{Peer.md → models/Peer.md} +0 -0
- data/docs/{PrivateCrossConnect.md → models/PrivateCrossConnect.md} +3 -3
- data/docs/{PrivateCrossConnectProperties.md → models/PrivateCrossConnectProperties.md} +4 -4
- data/docs/{PrivateCrossConnects.md → models/PrivateCrossConnects.md} +4 -4
- data/docs/{RemoteConsoleUrl.md → models/RemoteConsoleUrl.md} +0 -0
- data/docs/{Request.md → models/Request.md} +3 -3
- data/docs/{RequestMetadata.md → models/RequestMetadata.md} +2 -2
- data/docs/{RequestProperties.md → models/RequestProperties.md} +0 -0
- data/docs/{RequestStatus.md → models/RequestStatus.md} +3 -3
- data/docs/{RequestStatusMetadata.md → models/RequestStatusMetadata.md} +1 -1
- data/docs/{RequestTarget.md → models/RequestTarget.md} +0 -0
- data/docs/{Requests.md → models/Requests.md} +6 -6
- data/docs/{Resource.md → models/Resource.md} +3 -3
- data/docs/{ResourceEntities.md → models/ResourceEntities.md} +0 -0
- data/docs/{ResourceGroups.md → models/ResourceGroups.md} +4 -4
- data/docs/models/ResourceLimits.md +60 -0
- data/docs/{ResourceProperties.md → models/ResourceProperties.md} +2 -2
- data/docs/{ResourceReference.md → models/ResourceReference.md} +3 -3
- data/docs/{Resources.md → models/Resources.md} +4 -4
- data/docs/{ResourcesUsers.md → models/ResourcesUsers.md} +4 -4
- data/docs/models/S3Bucket.md +18 -0
- data/docs/{S3Key.md → models/S3Key.md} +3 -3
- data/docs/{S3KeyMetadata.md → models/S3KeyMetadata.md} +2 -2
- data/docs/{S3KeyProperties.md → models/S3KeyProperties.md} +2 -2
- data/docs/{S3Keys.md → models/S3Keys.md} +4 -4
- data/docs/{S3ObjectStorageSSO.md → models/S3ObjectStorageSSO.md} +0 -0
- data/docs/{Server.md → models/Server.md} +3 -3
- data/docs/{ServerEntities.md → models/ServerEntities.md} +0 -0
- data/docs/{ServerProperties.md → models/ServerProperties.md} +7 -7
- data/docs/{Servers.md → models/Servers.md} +6 -6
- data/docs/{Snapshot.md → models/Snapshot.md} +3 -3
- data/docs/models/SnapshotProperties.md +48 -0
- data/docs/{Snapshots.md → models/Snapshots.md} +4 -4
- data/docs/{TargetPortRange.md → models/TargetPortRange.md} +2 -2
- data/docs/{Template.md → models/Template.md} +3 -3
- data/docs/{TemplateProperties.md → models/TemplateProperties.md} +4 -4
- data/docs/{Templates.md → models/Templates.md} +4 -4
- data/docs/{Token.md → models/Token.md} +1 -1
- data/docs/{Type.md → models/Type.md} +0 -0
- data/docs/{User.md → models/User.md} +3 -3
- data/docs/{UserMetadata.md → models/UserMetadata.md} +3 -3
- data/docs/{UserPost.md → models/UserPost.md} +0 -0
- data/docs/models/UserProperties.md +32 -0
- data/docs/models/UserPropertiesPost.md +32 -0
- data/docs/models/UserPropertiesPut.md +32 -0
- data/docs/{UserPut.md → models/UserPut.md} +1 -1
- data/docs/models/Users.md +30 -0
- data/docs/{UsersEntities.md → models/UsersEntities.md} +0 -0
- data/docs/{Volume.md → models/Volume.md} +3 -3
- data/docs/{VolumeProperties.md → models/VolumeProperties.md} +23 -19
- data/docs/{Volumes.md → models/Volumes.md} +6 -6
- data/docs/summary.md +192 -382
- data/git_push.sh +0 -3
- data/ionoscloud.gemspec +4 -4
- data/lib/ionoscloud/api/_api.rb +9 -9
- data/lib/ionoscloud/api/backup_units_api.rb +94 -94
- data/lib/ionoscloud/api/contract_resources_api.rb +13 -13
- data/lib/ionoscloud/api/data_centers_api.rb +81 -81
- data/lib/ionoscloud/api/firewall_rules_api.rb +117 -117
- data/lib/ionoscloud/api/flow_logs_api.rb +103 -103
- data/lib/ionoscloud/api/images_api.rb +65 -65
- data/lib/ionoscloud/api/ip_blocks_api.rb +95 -77
- data/lib/ionoscloud/api/kubernetes_api.rb +218 -218
- data/lib/ionoscloud/api/labels_api.rb +395 -431
- data/lib/ionoscloud/api/lans_api.rb +216 -216
- data/lib/ionoscloud/api/load_balancers_api.rb +153 -189
- data/lib/ionoscloud/api/locations_api.rb +39 -39
- data/lib/ionoscloud/api/nat_gateways_api.rb +273 -291
- data/lib/ionoscloud/api/network_interfaces_api.rb +105 -105
- data/lib/ionoscloud/api/network_load_balancers_api.rb +287 -305
- data/lib/ionoscloud/api/private_cross_connects_api.rb +63 -81
- data/lib/ionoscloud/api/requests_api.rb +63 -63
- data/lib/ionoscloud/api/servers_api.rb +339 -339
- data/lib/ionoscloud/api/snapshots_api.rb +63 -63
- data/lib/ionoscloud/api/templates_api.rb +17 -17
- data/lib/ionoscloud/api/user_management_api.rb +325 -305
- data/lib/ionoscloud/api/user_s3_keys_api.rb +81 -81
- data/lib/ionoscloud/api/volumes_api.rb +132 -132
- data/lib/ionoscloud/api_client.rb +8 -7
- data/lib/ionoscloud/api_error.rb +3 -3
- data/lib/ionoscloud/configuration.rb +3 -3
- data/lib/ionoscloud/models/attached_volumes.rb +76 -20
- data/lib/ionoscloud/models/backup_unit.rb +53 -11
- data/lib/ionoscloud/models/backup_unit_properties.rb +34 -8
- data/lib/ionoscloud/models/backup_unit_sso.rb +14 -4
- data/lib/ionoscloud/models/backup_units.rb +47 -15
- data/lib/ionoscloud/models/balanced_nics.rb +76 -20
- data/lib/ionoscloud/models/cdroms.rb +76 -20
- data/lib/ionoscloud/models/connectable_datacenter.rb +32 -6
- data/lib/ionoscloud/models/contract.rb +24 -6
- data/lib/ionoscloud/models/contract_properties.rb +54 -12
- data/lib/ionoscloud/models/contracts.rb +47 -15
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +42 -8
- data/lib/ionoscloud/models/data_center_entities.rb +59 -9
- data/lib/ionoscloud/models/datacenter.rb +62 -12
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +83 -17
- data/lib/ionoscloud/models/datacenter_properties.rb +78 -24
- data/lib/ionoscloud/models/datacenters.rb +76 -20
- data/lib/ionoscloud/models/error.rb +26 -10
- data/lib/ionoscloud/models/error_message.rb +25 -7
- data/lib/ionoscloud/models/firewall_rule.rb +53 -11
- data/lib/ionoscloud/models/firewall_rules.rb +76 -20
- data/lib/ionoscloud/models/firewallrule_properties.rb +110 -23
- data/lib/ionoscloud/models/flow_log.rb +53 -11
- data/lib/ionoscloud/models/flow_log_properties.rb +42 -8
- data/lib/ionoscloud/models/flow_log_put.rb +44 -10
- data/lib/ionoscloud/models/flow_logs.rb +76 -20
- data/lib/ionoscloud/models/group.rb +53 -11
- data/lib/ionoscloud/models/group_entities.rb +23 -5
- data/lib/ionoscloud/models/group_members.rb +47 -15
- data/lib/ionoscloud/models/group_properties.rb +133 -27
- data/lib/ionoscloud/models/group_share.rb +43 -9
- data/lib/ionoscloud/models/group_share_properties.rb +23 -5
- data/lib/ionoscloud/models/group_shares.rb +46 -14
- data/lib/ionoscloud/models/group_users.rb +48 -16
- data/lib/ionoscloud/models/groups.rb +47 -15
- data/lib/ionoscloud/models/image.rb +53 -11
- data/lib/ionoscloud/models/image_properties.rb +199 -47
- data/lib/ionoscloud/models/images.rb +47 -15
- data/lib/ionoscloud/models/info.rb +32 -6
- data/lib/ionoscloud/models/ip_block.rb +53 -11
- data/lib/ionoscloud/models/ip_block_properties.rb +59 -21
- data/lib/ionoscloud/models/ip_blocks.rb +103 -18
- data/lib/ionoscloud/models/ip_consumer.rb +86 -12
- data/lib/ionoscloud/models/ip_failover.rb +23 -5
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +23 -5
- data/lib/ionoscloud/models/kubernetes_cluster.rb +61 -11
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +14 -4
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +61 -11
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +61 -11
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +99 -27
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +77 -17
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +73 -11
- data/lib/ionoscloud/models/kubernetes_clusters.rb +47 -15
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +23 -5
- data/lib/ionoscloud/models/kubernetes_node.rb +52 -10
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +54 -12
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +52 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +52 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +52 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +40 -11
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +23 -5
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +202 -56
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +190 -50
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +99 -38
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +47 -15
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +43 -9
- data/lib/ionoscloud/models/kubernetes_nodes.rb +47 -15
- data/lib/ionoscloud/models/label.rb +52 -10
- data/lib/ionoscloud/models/label_properties.rb +53 -11
- data/lib/ionoscloud/models/label_resource.rb +52 -10
- data/lib/ionoscloud/models/label_resource_properties.rb +25 -7
- data/lib/ionoscloud/models/label_resources.rb +76 -20
- data/lib/ionoscloud/models/labels.rb +47 -15
- data/lib/ionoscloud/models/lan.rb +62 -12
- data/lib/ionoscloud/models/lan_entities.rb +14 -4
- data/lib/ionoscloud/models/lan_nics.rb +76 -20
- data/lib/ionoscloud/models/lan_post.rb +62 -12
- data/lib/ionoscloud/models/lan_properties.rb +46 -14
- data/lib/ionoscloud/models/lan_properties_post.rb +46 -14
- data/lib/ionoscloud/models/lans.rb +76 -20
- data/lib/ionoscloud/models/loadbalancer.rb +62 -12
- data/lib/ionoscloud/models/loadbalancer_entities.rb +14 -4
- data/lib/ionoscloud/models/loadbalancer_properties.rb +36 -9
- data/lib/ionoscloud/models/loadbalancers.rb +76 -20
- data/lib/ionoscloud/models/location.rb +53 -11
- data/lib/ionoscloud/models/location_properties.rb +48 -20
- data/lib/ionoscloud/models/locations.rb +47 -15
- data/lib/ionoscloud/models/nat_gateway.rb +62 -12
- data/lib/ionoscloud/models/nat_gateway_entities.rb +23 -5
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +27 -11
- data/lib/ionoscloud/models/nat_gateway_properties.rb +39 -17
- data/lib/ionoscloud/models/nat_gateway_put.rb +44 -10
- data/lib/ionoscloud/models/nat_gateway_rule.rb +53 -11
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +74 -16
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +3 -3
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +44 -10
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +3 -3
- data/lib/ionoscloud/models/nat_gateway_rules.rb +47 -15
- data/lib/ionoscloud/models/nat_gateways.rb +76 -20
- data/lib/ionoscloud/models/network_load_balancer.rb +62 -12
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +23 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +53 -11
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +44 -20
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +78 -22
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +44 -10
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +44 -10
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +35 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +76 -20
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +59 -21
- data/lib/ionoscloud/models/network_load_balancer_put.rb +44 -10
- data/lib/ionoscloud/models/network_load_balancers.rb +76 -20
- data/lib/ionoscloud/models/nic.rb +62 -12
- data/lib/ionoscloud/models/nic_entities.rb +23 -5
- data/lib/ionoscloud/models/nic_properties.rb +98 -25
- data/lib/ionoscloud/models/nic_put.rb +44 -10
- data/lib/ionoscloud/models/nics.rb +76 -20
- data/lib/ionoscloud/models/no_state_meta_data.rb +73 -15
- data/lib/ionoscloud/models/pagination_links.rb +35 -9
- data/lib/ionoscloud/models/peer.rb +50 -8
- data/lib/ionoscloud/models/private_cross_connect.rb +53 -11
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +49 -19
- data/lib/ionoscloud/models/private_cross_connects.rb +47 -15
- data/lib/ionoscloud/models/remote_console_url.rb +14 -4
- data/lib/ionoscloud/models/request.rb +53 -11
- data/lib/ionoscloud/models/request_metadata.rb +43 -9
- data/lib/ionoscloud/models/request_properties.rb +43 -11
- data/lib/ionoscloud/models/request_status.rb +44 -10
- data/lib/ionoscloud/models/request_status_metadata.rb +44 -12
- data/lib/ionoscloud/models/request_target.rb +23 -5
- data/lib/ionoscloud/models/requests.rb +76 -20
- data/lib/ionoscloud/models/resource.rb +62 -12
- data/lib/ionoscloud/models/resource_entities.rb +14 -4
- data/lib/ionoscloud/models/resource_groups.rb +47 -15
- data/lib/ionoscloud/models/resource_limits.rb +225 -47
- data/lib/ionoscloud/models/resource_properties.rb +25 -7
- data/lib/ionoscloud/models/resource_reference.rb +35 -9
- data/lib/ionoscloud/models/resources.rb +48 -16
- data/lib/ionoscloud/models/resources_users.rb +47 -15
- data/lib/ionoscloud/models/s3_bucket.rb +232 -0
- data/lib/ionoscloud/models/s3_key.rb +53 -11
- data/lib/ionoscloud/models/s3_key_metadata.rb +25 -7
- data/lib/ionoscloud/models/s3_key_properties.rb +25 -7
- data/lib/ionoscloud/models/s3_keys.rb +47 -15
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +14 -4
- data/lib/ionoscloud/models/server.rb +62 -12
- data/lib/ionoscloud/models/server_entities.rb +32 -6
- data/lib/ionoscloud/models/server_properties.rb +102 -20
- data/lib/ionoscloud/models/servers.rb +76 -20
- data/lib/ionoscloud/models/snapshot.rb +53 -11
- data/lib/ionoscloud/models/snapshot_properties.rb +165 -35
- data/lib/ionoscloud/models/snapshots.rb +47 -15
- data/lib/ionoscloud/models/target_port_range.rb +25 -7
- data/lib/ionoscloud/models/template.rb +53 -11
- data/lib/ionoscloud/models/template_properties.rb +45 -11
- data/lib/ionoscloud/models/templates.rb +47 -15
- data/lib/ionoscloud/models/token.rb +15 -5
- data/lib/ionoscloud/models/type.rb +5 -5
- data/lib/ionoscloud/models/user.rb +62 -12
- data/lib/ionoscloud/models/user_metadata.rb +35 -9
- data/lib/ionoscloud/models/user_post.rb +14 -4
- data/lib/ionoscloud/models/user_properties.rb +85 -19
- data/lib/ionoscloud/models/user_properties_post.rb +85 -19
- data/lib/ionoscloud/models/user_properties_put.rb +94 -18
- data/lib/ionoscloud/models/user_put.rb +24 -6
- data/lib/ionoscloud/models/users.rb +103 -18
- data/lib/ionoscloud/models/users_entities.rb +23 -5
- data/lib/ionoscloud/models/volume.rb +53 -11
- data/lib/ionoscloud/models/volume_properties.rb +240 -53
- data/lib/ionoscloud/models/volumes.rb +76 -20
- data/lib/ionoscloud/version.rb +4 -4
- data/lib/ionoscloud.rb +5 -4
- data/lib/test_driver.rb +119 -0
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +211 -590
- data/docs/DataCentersApi.md +0 -516
- data/docs/DefaultApi.md +0 -78
- data/docs/IPBlocksApi.md +0 -512
- data/docs/ImageProperties.md +0 -54
- data/docs/ImagesApi.md +0 -428
- data/docs/IpBlocks.md +0 -24
- data/docs/KubernetesClusterPropertiesForPost.md +0 -26
- data/docs/KubernetesClusterPropertiesForPut.md +0 -22
- data/docs/KubernetesNodePoolPropertiesForPost.md +0 -48
- data/docs/LabelsApi.md +0 -2346
- data/docs/LansApi.md +0 -794
- data/docs/LocationsApi.md +0 -259
- data/docs/NetworkLoadBalancerForwardingRuleHealthCheck.md +0 -26
- data/docs/NetworkLoadBalancerForwardingRuleTarget.md +0 -24
- data/docs/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +0 -22
- data/docs/NetworkLoadBalancerProperties.md +0 -26
- data/docs/NicProperties.md +0 -34
- data/docs/PrivateCrossConnectsApi.md +0 -430
- data/docs/RequestsApi.md +0 -283
- data/docs/ResourceLimits.md +0 -60
- data/docs/ServersApi.md +0 -1908
- data/docs/SnapshotProperties.md +0 -48
- data/docs/SnapshotsApi.md +0 -428
- data/docs/UserManagementApi.md +0 -2033
- data/docs/UserProperties.md +0 -32
- data/docs/UserPropertiesPost.md +0 -32
- data/docs/UserPropertiesPut.md +0 -30
- data/docs/UserS3KeysApi.md +0 -516
- data/docs/Users.md +0 -24
- data/docs/VolumesApi.md +0 -709
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_units_api_spec.rb +0 -140
- data/spec/api/contract_resources_api_spec.rb +0 -49
- data/spec/api/data_centers_api_spec.rb +0 -128
- data/spec/api/firewall_rules_api_spec.rb +0 -146
- data/spec/api/flow_logs_api_spec.rb +0 -140
- data/spec/api/images_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -126
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -478
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -205
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -336
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -342
- data/spec/api/private_cross_connects_api_spec.rb +0 -112
- data/spec/api/requests_api_spec.rb +0 -92
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -402
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -70
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -96
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -106
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -154
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -52
- data/spec/models/ip_consumer_spec.rb +0 -82
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -46
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -70
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +0 -40
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -46
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -132
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -46
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -52
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +0 -78
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +0 -46
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +0 -70
- data/spec/models/network_load_balancer_properties_spec.rb +0 -58
- data/spec/models/network_load_balancer_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_spec.rb +0 -64
- data/spec/models/network_load_balancers_spec.rb +0 -70
- data/spec/models/nic_entities_spec.rb +0 -40
- data/spec/models/nic_properties_spec.rb +0 -86
- data/spec/models/nic_put_spec.rb +0 -52
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/remote_console_url_spec.rb +0 -34
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -160
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -96
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/target_port_range_spec.rb +0 -40
- data/spec/models/template_properties_spec.rb +0 -52
- data/spec/models/template_spec.rb +0 -58
- data/spec/models/templates_spec.rb +0 -52
- data/spec/models/token_spec.rb +0 -34
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -52
- data/spec/models/volume_properties_spec.rb +0 -158
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
@@ -4,33 +4,33 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**datacenters_natgateways_delete**](NATGatewaysApi.md#datacenters_natgateways_delete) | **DELETE** /datacenters/{datacenterId}/natgateways/{natGatewayId} |
|
8
|
-
| [**datacenters_natgateways_find_by_nat_gateway_id**](NATGatewaysApi.md#datacenters_natgateways_find_by_nat_gateway_id) | **GET** /datacenters/{datacenterId}/natgateways/{natGatewayId} | Retrieve
|
9
|
-
| [**datacenters_natgateways_flowlogs_delete**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_delete) | **DELETE** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId} |
|
10
|
-
| [**datacenters_natgateways_flowlogs_find_by_flow_log_id**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_find_by_flow_log_id) | **GET** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId} | Retrieve
|
7
|
+
| [**datacenters_natgateways_delete**](NATGatewaysApi.md#datacenters_natgateways_delete) | **DELETE** /datacenters/{datacenterId}/natgateways/{natGatewayId} | Delete NAT Gateways |
|
8
|
+
| [**datacenters_natgateways_find_by_nat_gateway_id**](NATGatewaysApi.md#datacenters_natgateways_find_by_nat_gateway_id) | **GET** /datacenters/{datacenterId}/natgateways/{natGatewayId} | Retrieve NAT Gateways |
|
9
|
+
| [**datacenters_natgateways_flowlogs_delete**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_delete) | **DELETE** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId} | Delete NAT Gateway Flow Logs |
|
10
|
+
| [**datacenters_natgateways_flowlogs_find_by_flow_log_id**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_find_by_flow_log_id) | **GET** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId} | Retrieve NAT Gateway Flow Logs |
|
11
11
|
| [**datacenters_natgateways_flowlogs_get**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_get) | **GET** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs | List NAT Gateway Flow Logs |
|
12
|
-
| [**datacenters_natgateways_flowlogs_patch**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_patch) | **PATCH** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId} | Partially modify
|
13
|
-
| [**datacenters_natgateways_flowlogs_post**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_post) | **POST** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs |
|
14
|
-
| [**datacenters_natgateways_flowlogs_put**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_put) | **PUT** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId} | Modify
|
12
|
+
| [**datacenters_natgateways_flowlogs_patch**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_patch) | **PATCH** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId} | Partially modify NAT Gateway Flow Logs |
|
13
|
+
| [**datacenters_natgateways_flowlogs_post**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_post) | **POST** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs | Create NAT Gateway Flow Logs |
|
14
|
+
| [**datacenters_natgateways_flowlogs_put**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_put) | **PUT** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId} | Modify NAT Gateway Flow Logs |
|
15
15
|
| [**datacenters_natgateways_get**](NATGatewaysApi.md#datacenters_natgateways_get) | **GET** /datacenters/{datacenterId}/natgateways | List NAT Gateways |
|
16
|
-
| [**datacenters_natgateways_patch**](NATGatewaysApi.md#datacenters_natgateways_patch) | **PATCH** /datacenters/{datacenterId}/natgateways/{natGatewayId} | Partially
|
17
|
-
| [**datacenters_natgateways_post**](NATGatewaysApi.md#datacenters_natgateways_post) | **POST** /datacenters/{datacenterId}/natgateways | Create
|
18
|
-
| [**datacenters_natgateways_put**](NATGatewaysApi.md#datacenters_natgateways_put) | **PUT** /datacenters/{datacenterId}/natgateways/{natGatewayId} |
|
19
|
-
| [**datacenters_natgateways_rules_delete**](NATGatewaysApi.md#datacenters_natgateways_rules_delete) | **DELETE** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} |
|
20
|
-
| [**datacenters_natgateways_rules_find_by_nat_gateway_rule_id**](NATGatewaysApi.md#datacenters_natgateways_rules_find_by_nat_gateway_rule_id) | **GET** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Retrieve
|
21
|
-
| [**datacenters_natgateways_rules_get**](NATGatewaysApi.md#datacenters_natgateways_rules_get) | **GET** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules | List NAT
|
22
|
-
| [**datacenters_natgateways_rules_patch**](NATGatewaysApi.md#datacenters_natgateways_rules_patch) | **PATCH** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Partially modify
|
23
|
-
| [**datacenters_natgateways_rules_post**](NATGatewaysApi.md#datacenters_natgateways_rules_post) | **POST** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules | Create
|
24
|
-
| [**datacenters_natgateways_rules_put**](NATGatewaysApi.md#datacenters_natgateways_rules_put) | **PUT** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Modify
|
16
|
+
| [**datacenters_natgateways_patch**](NATGatewaysApi.md#datacenters_natgateways_patch) | **PATCH** /datacenters/{datacenterId}/natgateways/{natGatewayId} | Partially modify NAT Gateways |
|
17
|
+
| [**datacenters_natgateways_post**](NATGatewaysApi.md#datacenters_natgateways_post) | **POST** /datacenters/{datacenterId}/natgateways | Create NAT Gateways |
|
18
|
+
| [**datacenters_natgateways_put**](NATGatewaysApi.md#datacenters_natgateways_put) | **PUT** /datacenters/{datacenterId}/natgateways/{natGatewayId} | Modify NAT Gateways |
|
19
|
+
| [**datacenters_natgateways_rules_delete**](NATGatewaysApi.md#datacenters_natgateways_rules_delete) | **DELETE** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Delete NAT Gateway rules |
|
20
|
+
| [**datacenters_natgateways_rules_find_by_nat_gateway_rule_id**](NATGatewaysApi.md#datacenters_natgateways_rules_find_by_nat_gateway_rule_id) | **GET** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Retrieve NAT Gateway rules |
|
21
|
+
| [**datacenters_natgateways_rules_get**](NATGatewaysApi.md#datacenters_natgateways_rules_get) | **GET** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules | List NAT Gateway rules |
|
22
|
+
| [**datacenters_natgateways_rules_patch**](NATGatewaysApi.md#datacenters_natgateways_rules_patch) | **PATCH** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Partially modify NAT Gateway rules |
|
23
|
+
| [**datacenters_natgateways_rules_post**](NATGatewaysApi.md#datacenters_natgateways_rules_post) | **POST** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules | Create NAT Gateway rules |
|
24
|
+
| [**datacenters_natgateways_rules_put**](NATGatewaysApi.md#datacenters_natgateways_rules_put) | **PUT** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Modify NAT Gateway rules |
|
25
25
|
|
26
26
|
|
27
27
|
## datacenters_natgateways_delete
|
28
28
|
|
29
29
|
> datacenters_natgateways_delete(datacenter_id, nat_gateway_id, opts)
|
30
30
|
|
31
|
-
|
31
|
+
Delete NAT Gateways
|
32
32
|
|
33
|
-
|
33
|
+
Remove the specified NAT Gateway from the data center.
|
34
34
|
|
35
35
|
### Examples
|
36
36
|
|
@@ -50,16 +50,16 @@ Ionoscloud.configure do |config|
|
|
50
50
|
end
|
51
51
|
|
52
52
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
53
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
54
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
53
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
54
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
55
55
|
opts = {
|
56
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
57
|
-
depth: 56, # Integer | Controls the
|
58
|
-
x_contract_number: 56 # Integer | Users
|
56
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
57
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
58
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
59
59
|
}
|
60
60
|
|
61
61
|
begin
|
62
|
-
#
|
62
|
+
# Delete NAT Gateways
|
63
63
|
api_instance.datacenters_natgateways_delete(datacenter_id, nat_gateway_id, opts)
|
64
64
|
rescue Ionoscloud::ApiError => e
|
65
65
|
puts "Error when calling NATGatewaysApi->datacenters_natgateways_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 NAT Gateways
|
78
78
|
data, status_code, headers = api_instance.datacenters_natgateways_delete_with_http_info(datacenter_id, nat_gateway_id, opts)
|
79
79
|
p status_code # => 2xx
|
80
80
|
p headers # => { ... }
|
@@ -88,11 +88,11 @@ end
|
|
88
88
|
|
89
89
|
| Name | Type | Description | Notes |
|
90
90
|
| ---- | ---- | ----------- | ----- |
|
91
|
-
| **datacenter_id** | **String** | The unique ID of the
|
92
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
93
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
94
|
-
| **depth** | **Integer** | Controls the
|
95
|
-
| **x_contract_number** | **Integer** | Users
|
91
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
92
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
93
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
94
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
95
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
96
96
|
|
97
97
|
### Return type
|
98
98
|
|
@@ -112,9 +112,9 @@ Basic Authentication, Token Authentication
|
|
112
112
|
|
113
113
|
> <NatGateway> datacenters_natgateways_find_by_nat_gateway_id(datacenter_id, nat_gateway_id, opts)
|
114
114
|
|
115
|
-
Retrieve
|
115
|
+
Retrieve NAT Gateways
|
116
116
|
|
117
|
-
|
117
|
+
Retrieve the properties of the specified NAT Gateway within the data center.
|
118
118
|
|
119
119
|
### Examples
|
120
120
|
|
@@ -134,16 +134,16 @@ Ionoscloud.configure do |config|
|
|
134
134
|
end
|
135
135
|
|
136
136
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
137
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
138
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
137
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
138
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
139
139
|
opts = {
|
140
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
141
|
-
depth: 56, # Integer | Controls the
|
142
|
-
x_contract_number: 56 # Integer | Users
|
140
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
141
|
+
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
142
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
143
143
|
}
|
144
144
|
|
145
145
|
begin
|
146
|
-
# Retrieve
|
146
|
+
# Retrieve NAT Gateways
|
147
147
|
result = api_instance.datacenters_natgateways_find_by_nat_gateway_id(datacenter_id, nat_gateway_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 NAT Gateways
|
163
163
|
data, status_code, headers = api_instance.datacenters_natgateways_find_by_nat_gateway_id_with_http_info(datacenter_id, nat_gateway_id, opts)
|
164
164
|
p status_code # => 2xx
|
165
165
|
p headers # => { ... }
|
@@ -173,15 +173,15 @@ end
|
|
173
173
|
|
174
174
|
| Name | Type | Description | Notes |
|
175
175
|
| ---- | ---- | ----------- | ----- |
|
176
|
-
| **datacenter_id** | **String** | The unique ID of the
|
177
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
178
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
179
|
-
| **depth** | **Integer** | Controls the
|
180
|
-
| **x_contract_number** | **Integer** | Users
|
176
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
177
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
178
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
179
|
+
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
180
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
181
181
|
|
182
182
|
### Return type
|
183
183
|
|
184
|
-
[**NatGateway**](NatGateway.md)
|
184
|
+
[**NatGateway**](../models/NatGateway.md)
|
185
185
|
|
186
186
|
### Authorization
|
187
187
|
|
@@ -197,9 +197,9 @@ Basic Authentication, Token Authentication
|
|
197
197
|
|
198
198
|
> datacenters_natgateways_flowlogs_delete(datacenter_id, nat_gateway_id, flow_log_id, opts)
|
199
199
|
|
200
|
-
|
200
|
+
Delete NAT Gateway Flow Logs
|
201
201
|
|
202
|
-
|
202
|
+
Delete the specified NAT Gateway Flow Log.
|
203
203
|
|
204
204
|
### Examples
|
205
205
|
|
@@ -219,16 +219,16 @@ Ionoscloud.configure do |config|
|
|
219
219
|
end
|
220
220
|
|
221
221
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
222
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
223
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
224
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the
|
222
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
223
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
224
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
225
225
|
opts = {
|
226
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
227
|
-
depth: 56 # Integer | Controls the
|
226
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
227
|
+
depth: 56 # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
228
228
|
}
|
229
229
|
|
230
230
|
begin
|
231
|
-
#
|
231
|
+
# Delete NAT Gateway Flow Logs
|
232
232
|
api_instance.datacenters_natgateways_flowlogs_delete(datacenter_id, nat_gateway_id, flow_log_id, opts)
|
233
233
|
rescue Ionoscloud::ApiError => e
|
234
234
|
puts "Error when calling NATGatewaysApi->datacenters_natgateways_flowlogs_delete: #{e}"
|
@@ -243,7 +243,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
243
243
|
|
244
244
|
```ruby
|
245
245
|
begin
|
246
|
-
#
|
246
|
+
# Delete NAT Gateway Flow Logs
|
247
247
|
data, status_code, headers = api_instance.datacenters_natgateways_flowlogs_delete_with_http_info(datacenter_id, nat_gateway_id, flow_log_id, opts)
|
248
248
|
p status_code # => 2xx
|
249
249
|
p headers # => { ... }
|
@@ -257,11 +257,11 @@ end
|
|
257
257
|
|
258
258
|
| Name | Type | Description | Notes |
|
259
259
|
| ---- | ---- | ----------- | ----- |
|
260
|
-
| **datacenter_id** | **String** | The unique ID of the
|
261
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
262
|
-
| **flow_log_id** | **String** | The unique ID of the
|
263
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
264
|
-
| **depth** | **Integer** | Controls the
|
260
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
261
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
262
|
+
| **flow_log_id** | **String** | The unique ID of the Flow Log. | |
|
263
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
264
|
+
| **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] |
|
265
265
|
|
266
266
|
### Return type
|
267
267
|
|
@@ -281,9 +281,9 @@ Basic Authentication, Token Authentication
|
|
281
281
|
|
282
282
|
> <FlowLog> datacenters_natgateways_flowlogs_find_by_flow_log_id(datacenter_id, nat_gateway_id, flow_log_id, opts)
|
283
283
|
|
284
|
-
Retrieve
|
284
|
+
Retrieve NAT Gateway Flow Logs
|
285
285
|
|
286
|
-
|
286
|
+
Retrieve the specified NAT Gateway Flow Log.
|
287
287
|
|
288
288
|
### Examples
|
289
289
|
|
@@ -303,16 +303,16 @@ Ionoscloud.configure do |config|
|
|
303
303
|
end
|
304
304
|
|
305
305
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
306
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
307
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
308
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the
|
306
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
307
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
308
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
309
309
|
opts = {
|
310
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
311
|
-
depth: 56 # Integer | Controls the
|
310
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
311
|
+
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
|
312
312
|
}
|
313
313
|
|
314
314
|
begin
|
315
|
-
# Retrieve
|
315
|
+
# Retrieve NAT Gateway Flow Logs
|
316
316
|
result = api_instance.datacenters_natgateways_flowlogs_find_by_flow_log_id(datacenter_id, nat_gateway_id, flow_log_id, opts)
|
317
317
|
p result
|
318
318
|
rescue Ionoscloud::ApiError => e
|
@@ -328,7 +328,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
328
328
|
|
329
329
|
```ruby
|
330
330
|
begin
|
331
|
-
# Retrieve
|
331
|
+
# Retrieve NAT Gateway Flow Logs
|
332
332
|
data, status_code, headers = api_instance.datacenters_natgateways_flowlogs_find_by_flow_log_id_with_http_info(datacenter_id, nat_gateway_id, flow_log_id, opts)
|
333
333
|
p status_code # => 2xx
|
334
334
|
p headers # => { ... }
|
@@ -342,15 +342,15 @@ end
|
|
342
342
|
|
343
343
|
| Name | Type | Description | Notes |
|
344
344
|
| ---- | ---- | ----------- | ----- |
|
345
|
-
| **datacenter_id** | **String** | The unique ID of the
|
346
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
347
|
-
| **flow_log_id** | **String** | The unique ID of the
|
348
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
349
|
-
| **depth** | **Integer** | Controls the
|
345
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
346
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
347
|
+
| **flow_log_id** | **String** | The unique ID of the Flow Log. | |
|
348
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
349
|
+
| **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] |
|
350
350
|
|
351
351
|
### Return type
|
352
352
|
|
353
|
-
[**FlowLog**](FlowLog.md)
|
353
|
+
[**FlowLog**](../models/FlowLog.md)
|
354
354
|
|
355
355
|
### Authorization
|
356
356
|
|
@@ -368,7 +368,7 @@ Basic Authentication, Token Authentication
|
|
368
368
|
|
369
369
|
List NAT Gateway Flow Logs
|
370
370
|
|
371
|
-
|
371
|
+
List all the Flow Logs for the specified NAT Gateway.
|
372
372
|
|
373
373
|
### Examples
|
374
374
|
|
@@ -388,13 +388,13 @@ Ionoscloud.configure do |config|
|
|
388
388
|
end
|
389
389
|
|
390
390
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
391
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
392
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
391
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
392
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
393
393
|
opts = {
|
394
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
395
|
-
depth: 56, # Integer | Controls the
|
396
|
-
offset: 56, # Integer |
|
397
|
-
limit: 56 # Integer |
|
394
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
395
|
+
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
|
396
|
+
offset: 56, # Integer | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).
|
397
|
+
limit: 56 # Integer | The maximum number of elements to return (use together with offset for pagination).
|
398
398
|
}
|
399
399
|
|
400
400
|
begin
|
@@ -428,16 +428,16 @@ end
|
|
428
428
|
|
429
429
|
| Name | Type | Description | Notes |
|
430
430
|
| ---- | ---- | ----------- | ----- |
|
431
|
-
| **datacenter_id** | **String** | The unique ID of the
|
432
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
433
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
434
|
-
| **depth** | **Integer** | Controls the
|
435
|
-
| **offset** | **Integer** |
|
436
|
-
| **limit** | **Integer** |
|
431
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
432
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
433
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
434
|
+
| **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] |
|
435
|
+
| **offset** | **Integer** | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). | [optional][default to 0] |
|
436
|
+
| **limit** | **Integer** | The maximum number of elements to return (use together with offset for pagination). | [optional][default to 1000] |
|
437
437
|
|
438
438
|
### Return type
|
439
439
|
|
440
|
-
[**FlowLogs**](FlowLogs.md)
|
440
|
+
[**FlowLogs**](../models/FlowLogs.md)
|
441
441
|
|
442
442
|
### Authorization
|
443
443
|
|
@@ -453,9 +453,9 @@ Basic Authentication, Token Authentication
|
|
453
453
|
|
454
454
|
> <FlowLog> datacenters_natgateways_flowlogs_patch(datacenter_id, nat_gateway_id, flow_log_id, nat_gateway_flow_log_properties, opts)
|
455
455
|
|
456
|
-
Partially modify
|
456
|
+
Partially modify NAT Gateway Flow Logs
|
457
457
|
|
458
|
-
|
458
|
+
Update the properties of the specified NAT Gateway Flow Log.
|
459
459
|
|
460
460
|
### Examples
|
461
461
|
|
@@ -475,17 +475,17 @@ Ionoscloud.configure do |config|
|
|
475
475
|
end
|
476
476
|
|
477
477
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
478
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
479
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
480
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the
|
481
|
-
nat_gateway_flow_log_properties = Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'}) # FlowLogProperties |
|
478
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
479
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
480
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
481
|
+
nat_gateway_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.
|
482
482
|
opts = {
|
483
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
484
|
-
depth: 56 # Integer | Controls the
|
483
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
484
|
+
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
|
485
485
|
}
|
486
486
|
|
487
487
|
begin
|
488
|
-
# Partially modify
|
488
|
+
# Partially modify NAT Gateway Flow Logs
|
489
489
|
result = api_instance.datacenters_natgateways_flowlogs_patch(datacenter_id, nat_gateway_id, flow_log_id, nat_gateway_flow_log_properties, opts)
|
490
490
|
p result
|
491
491
|
rescue Ionoscloud::ApiError => e
|
@@ -501,7 +501,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
501
501
|
|
502
502
|
```ruby
|
503
503
|
begin
|
504
|
-
# Partially modify
|
504
|
+
# Partially modify NAT Gateway Flow Logs
|
505
505
|
data, status_code, headers = api_instance.datacenters_natgateways_flowlogs_patch_with_http_info(datacenter_id, nat_gateway_id, flow_log_id, nat_gateway_flow_log_properties, opts)
|
506
506
|
p status_code # => 2xx
|
507
507
|
p headers # => { ... }
|
@@ -515,16 +515,16 @@ end
|
|
515
515
|
|
516
516
|
| Name | Type | Description | Notes |
|
517
517
|
| ---- | ---- | ----------- | ----- |
|
518
|
-
| **datacenter_id** | **String** | The unique ID of the
|
519
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
520
|
-
| **flow_log_id** | **String** | The unique ID of the
|
521
|
-
| **nat_gateway_flow_log_properties** | [**FlowLogProperties**](FlowLogProperties.md) |
|
522
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
523
|
-
| **depth** | **Integer** | Controls the
|
518
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
519
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
520
|
+
| **flow_log_id** | **String** | The unique ID of the Flow Log. | |
|
521
|
+
| **nat_gateway_flow_log_properties** | [**FlowLogProperties**](FlowLogProperties.md) | The properties of the Flow Log to be updated. | |
|
522
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
523
|
+
| **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] |
|
524
524
|
|
525
525
|
### Return type
|
526
526
|
|
527
|
-
[**FlowLog**](FlowLog.md)
|
527
|
+
[**FlowLog**](../models/FlowLog.md)
|
528
528
|
|
529
529
|
### Authorization
|
530
530
|
|
@@ -540,9 +540,9 @@ Basic Authentication, Token Authentication
|
|
540
540
|
|
541
541
|
> <FlowLog> datacenters_natgateways_flowlogs_post(datacenter_id, nat_gateway_id, nat_gateway_flow_log, opts)
|
542
542
|
|
543
|
-
|
543
|
+
Create NAT Gateway Flow Logs
|
544
544
|
|
545
|
-
|
545
|
+
Add a new Flow Log for the specified NAT Gateway.
|
546
546
|
|
547
547
|
### Examples
|
548
548
|
|
@@ -562,16 +562,16 @@ Ionoscloud.configure do |config|
|
|
562
562
|
end
|
563
563
|
|
564
564
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
565
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
566
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
567
|
-
nat_gateway_flow_log = Ionoscloud::FlowLog.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLog | Flow Log to
|
565
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
566
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
567
|
+
nat_gateway_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.
|
568
568
|
opts = {
|
569
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
570
|
-
depth: 56 # Integer | Controls the
|
569
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
570
|
+
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
|
571
571
|
}
|
572
572
|
|
573
573
|
begin
|
574
|
-
#
|
574
|
+
# Create NAT Gateway Flow Logs
|
575
575
|
result = api_instance.datacenters_natgateways_flowlogs_post(datacenter_id, nat_gateway_id, nat_gateway_flow_log, opts)
|
576
576
|
p result
|
577
577
|
rescue Ionoscloud::ApiError => e
|
@@ -587,7 +587,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
587
587
|
|
588
588
|
```ruby
|
589
589
|
begin
|
590
|
-
#
|
590
|
+
# Create NAT Gateway Flow Logs
|
591
591
|
data, status_code, headers = api_instance.datacenters_natgateways_flowlogs_post_with_http_info(datacenter_id, nat_gateway_id, nat_gateway_flow_log, opts)
|
592
592
|
p status_code # => 2xx
|
593
593
|
p headers # => { ... }
|
@@ -601,15 +601,15 @@ end
|
|
601
601
|
|
602
602
|
| Name | Type | Description | Notes |
|
603
603
|
| ---- | ---- | ----------- | ----- |
|
604
|
-
| **datacenter_id** | **String** | The unique ID of the
|
605
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
606
|
-
| **nat_gateway_flow_log** | [**FlowLog**](FlowLog.md) | Flow Log to
|
607
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
608
|
-
| **depth** | **Integer** | Controls the
|
604
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
605
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
606
|
+
| **nat_gateway_flow_log** | [**FlowLog**](FlowLog.md) | The Flow Log to create. | |
|
607
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
608
|
+
| **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] |
|
609
609
|
|
610
610
|
### Return type
|
611
611
|
|
612
|
-
[**FlowLog**](FlowLog.md)
|
612
|
+
[**FlowLog**](../models/FlowLog.md)
|
613
613
|
|
614
614
|
### Authorization
|
615
615
|
|
@@ -625,9 +625,9 @@ Basic Authentication, Token Authentication
|
|
625
625
|
|
626
626
|
> <FlowLog> datacenters_natgateways_flowlogs_put(datacenter_id, nat_gateway_id, flow_log_id, nat_gateway_flow_log, opts)
|
627
627
|
|
628
|
-
Modify
|
628
|
+
Modify NAT Gateway Flow Logs
|
629
629
|
|
630
|
-
|
630
|
+
Modify the specified NAT Gateway Flow Log.
|
631
631
|
|
632
632
|
### Examples
|
633
633
|
|
@@ -647,17 +647,17 @@ Ionoscloud.configure do |config|
|
|
647
647
|
end
|
648
648
|
|
649
649
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
650
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
651
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
652
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the
|
653
|
-
nat_gateway_flow_log = Ionoscloud::FlowLogPut.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLogPut |
|
650
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
651
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
652
|
+
flow_log_id = 'flow_log_id_example' # String | The unique ID of the Flow Log.
|
653
|
+
nat_gateway_flow_log = Ionoscloud::FlowLogPut.new({properties: Ionoscloud::FlowLogProperties.new({name: 'My resource', action: 'ACCEPTED', direction: 'INGRESS', bucket: 'bucketName/key'})}) # FlowLogPut | The modified NAT Gateway Flow Log.
|
654
654
|
opts = {
|
655
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
656
|
-
depth: 56 # Integer | Controls the
|
655
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
656
|
+
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
|
657
657
|
}
|
658
658
|
|
659
659
|
begin
|
660
|
-
# Modify
|
660
|
+
# Modify NAT Gateway Flow Logs
|
661
661
|
result = api_instance.datacenters_natgateways_flowlogs_put(datacenter_id, nat_gateway_id, flow_log_id, nat_gateway_flow_log, opts)
|
662
662
|
p result
|
663
663
|
rescue Ionoscloud::ApiError => e
|
@@ -673,7 +673,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
673
673
|
|
674
674
|
```ruby
|
675
675
|
begin
|
676
|
-
# Modify
|
676
|
+
# Modify NAT Gateway Flow Logs
|
677
677
|
data, status_code, headers = api_instance.datacenters_natgateways_flowlogs_put_with_http_info(datacenter_id, nat_gateway_id, flow_log_id, nat_gateway_flow_log, opts)
|
678
678
|
p status_code # => 2xx
|
679
679
|
p headers # => { ... }
|
@@ -687,16 +687,16 @@ end
|
|
687
687
|
|
688
688
|
| Name | Type | Description | Notes |
|
689
689
|
| ---- | ---- | ----------- | ----- |
|
690
|
-
| **datacenter_id** | **String** | The unique ID of the
|
691
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
692
|
-
| **flow_log_id** | **String** | The unique ID of the
|
693
|
-
| **nat_gateway_flow_log** | [**FlowLogPut**](FlowLogPut.md) |
|
694
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
695
|
-
| **depth** | **Integer** | Controls the
|
690
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
691
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
692
|
+
| **flow_log_id** | **String** | The unique ID of the Flow Log. | |
|
693
|
+
| **nat_gateway_flow_log** | [**FlowLogPut**](FlowLogPut.md) | The modified NAT Gateway Flow Log. | |
|
694
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
695
|
+
| **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] |
|
696
696
|
|
697
697
|
### Return type
|
698
698
|
|
699
|
-
[**FlowLog**](FlowLog.md)
|
699
|
+
[**FlowLog**](../models/FlowLog.md)
|
700
700
|
|
701
701
|
### Authorization
|
702
702
|
|
@@ -714,7 +714,7 @@ Basic Authentication, Token Authentication
|
|
714
714
|
|
715
715
|
List NAT Gateways
|
716
716
|
|
717
|
-
|
717
|
+
List all NAT Gateways within the data center.
|
718
718
|
|
719
719
|
### Examples
|
720
720
|
|
@@ -734,11 +734,11 @@ Ionoscloud.configure do |config|
|
|
734
734
|
end
|
735
735
|
|
736
736
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
737
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
737
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
738
738
|
opts = {
|
739
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
740
|
-
depth: 56, # Integer | Controls the
|
741
|
-
x_contract_number: 56 # Integer | Users
|
739
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
740
|
+
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
|
741
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
742
742
|
}
|
743
743
|
|
744
744
|
begin
|
@@ -772,14 +772,14 @@ end
|
|
772
772
|
|
773
773
|
| Name | Type | Description | Notes |
|
774
774
|
| ---- | ---- | ----------- | ----- |
|
775
|
-
| **datacenter_id** | **String** | The unique ID of the
|
776
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
777
|
-
| **depth** | **Integer** | Controls the
|
778
|
-
| **x_contract_number** | **Integer** | Users
|
775
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
776
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
777
|
+
| **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] |
|
778
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
779
779
|
|
780
780
|
### Return type
|
781
781
|
|
782
|
-
[**NatGateways**](NatGateways.md)
|
782
|
+
[**NatGateways**](../models/NatGateways.md)
|
783
783
|
|
784
784
|
### Authorization
|
785
785
|
|
@@ -795,9 +795,9 @@ Basic Authentication, Token Authentication
|
|
795
795
|
|
796
796
|
> <NatGateway> datacenters_natgateways_patch(datacenter_id, nat_gateway_id, nat_gateway_properties, opts)
|
797
797
|
|
798
|
-
Partially
|
798
|
+
Partially modify NAT Gateways
|
799
799
|
|
800
|
-
|
800
|
+
Update the properties of the specified NAT Gateway within the data center.
|
801
801
|
|
802
802
|
### Examples
|
803
803
|
|
@@ -817,17 +817,17 @@ Ionoscloud.configure do |config|
|
|
817
817
|
end
|
818
818
|
|
819
819
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
820
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
821
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
822
|
-
nat_gateway_properties = Ionoscloud::NatGatewayProperties.new({name: 'My NAT Gateway', public_ips: ['public_ips_example']}) # NatGatewayProperties | NAT
|
820
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
821
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
822
|
+
nat_gateway_properties = Ionoscloud::NatGatewayProperties.new({name: 'My NAT Gateway', public_ips: ['public_ips_example']}) # NatGatewayProperties | The properties of the NAT Gateway to be updated.
|
823
823
|
opts = {
|
824
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
825
|
-
depth: 56, # Integer | Controls the
|
826
|
-
x_contract_number: 56 # Integer | Users
|
824
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
825
|
+
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
|
826
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
827
827
|
}
|
828
828
|
|
829
829
|
begin
|
830
|
-
# Partially
|
830
|
+
# Partially modify NAT Gateways
|
831
831
|
result = api_instance.datacenters_natgateways_patch(datacenter_id, nat_gateway_id, nat_gateway_properties, opts)
|
832
832
|
p result
|
833
833
|
rescue Ionoscloud::ApiError => e
|
@@ -843,7 +843,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
843
843
|
|
844
844
|
```ruby
|
845
845
|
begin
|
846
|
-
# Partially
|
846
|
+
# Partially modify NAT Gateways
|
847
847
|
data, status_code, headers = api_instance.datacenters_natgateways_patch_with_http_info(datacenter_id, nat_gateway_id, nat_gateway_properties, opts)
|
848
848
|
p status_code # => 2xx
|
849
849
|
p headers # => { ... }
|
@@ -857,16 +857,16 @@ end
|
|
857
857
|
|
858
858
|
| Name | Type | Description | Notes |
|
859
859
|
| ---- | ---- | ----------- | ----- |
|
860
|
-
| **datacenter_id** | **String** | The unique ID of the
|
861
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
862
|
-
| **nat_gateway_properties** | [**NatGatewayProperties**](NatGatewayProperties.md) | NAT
|
863
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
864
|
-
| **depth** | **Integer** | Controls the
|
865
|
-
| **x_contract_number** | **Integer** | Users
|
860
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
861
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
862
|
+
| **nat_gateway_properties** | [**NatGatewayProperties**](NatGatewayProperties.md) | The properties of the NAT Gateway to be updated. | |
|
863
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
864
|
+
| **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] |
|
865
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
866
866
|
|
867
867
|
### Return type
|
868
868
|
|
869
|
-
[**NatGateway**](NatGateway.md)
|
869
|
+
[**NatGateway**](../models/NatGateway.md)
|
870
870
|
|
871
871
|
### Authorization
|
872
872
|
|
@@ -882,9 +882,9 @@ Basic Authentication, Token Authentication
|
|
882
882
|
|
883
883
|
> <NatGateway> datacenters_natgateways_post(datacenter_id, nat_gateway, opts)
|
884
884
|
|
885
|
-
Create
|
885
|
+
Create NAT Gateways
|
886
886
|
|
887
|
-
|
887
|
+
Create a NAT Gateway within the data center. This operation is restricted to contract owner, admin, and users with 'createInternetAccess' privileges.
|
888
888
|
|
889
889
|
### Examples
|
890
890
|
|
@@ -904,16 +904,16 @@ Ionoscloud.configure do |config|
|
|
904
904
|
end
|
905
905
|
|
906
906
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
907
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
908
|
-
nat_gateway = Ionoscloud::NatGateway.new({properties: Ionoscloud::NatGatewayProperties.new({name: 'My NAT Gateway', public_ips: ['public_ips_example']})}) # NatGateway | NAT
|
907
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
908
|
+
nat_gateway = Ionoscloud::NatGateway.new({properties: Ionoscloud::NatGatewayProperties.new({name: 'My NAT Gateway', public_ips: ['public_ips_example']})}) # NatGateway | The NAT Gateway to create.
|
909
909
|
opts = {
|
910
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
911
|
-
depth: 56, # Integer | Controls the
|
912
|
-
x_contract_number: 56 # Integer | Users
|
910
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
911
|
+
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
|
912
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
913
913
|
}
|
914
914
|
|
915
915
|
begin
|
916
|
-
# Create
|
916
|
+
# Create NAT Gateways
|
917
917
|
result = api_instance.datacenters_natgateways_post(datacenter_id, nat_gateway, opts)
|
918
918
|
p result
|
919
919
|
rescue Ionoscloud::ApiError => e
|
@@ -929,7 +929,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
929
929
|
|
930
930
|
```ruby
|
931
931
|
begin
|
932
|
-
# Create
|
932
|
+
# Create NAT Gateways
|
933
933
|
data, status_code, headers = api_instance.datacenters_natgateways_post_with_http_info(datacenter_id, nat_gateway, opts)
|
934
934
|
p status_code # => 2xx
|
935
935
|
p headers # => { ... }
|
@@ -943,15 +943,15 @@ end
|
|
943
943
|
|
944
944
|
| Name | Type | Description | Notes |
|
945
945
|
| ---- | ---- | ----------- | ----- |
|
946
|
-
| **datacenter_id** | **String** | The unique ID of the
|
947
|
-
| **nat_gateway** | [**NatGateway**](NatGateway.md) | NAT
|
948
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
949
|
-
| **depth** | **Integer** | Controls the
|
950
|
-
| **x_contract_number** | **Integer** | Users
|
946
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
947
|
+
| **nat_gateway** | [**NatGateway**](NatGateway.md) | The NAT Gateway to create. | |
|
948
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
949
|
+
| **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] |
|
950
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
951
951
|
|
952
952
|
### Return type
|
953
953
|
|
954
|
-
[**NatGateway**](NatGateway.md)
|
954
|
+
[**NatGateway**](../models/NatGateway.md)
|
955
955
|
|
956
956
|
### Authorization
|
957
957
|
|
@@ -967,9 +967,9 @@ Basic Authentication, Token Authentication
|
|
967
967
|
|
968
968
|
> <NatGateway> datacenters_natgateways_put(datacenter_id, nat_gateway_id, nat_gateway, opts)
|
969
969
|
|
970
|
-
|
970
|
+
Modify NAT Gateways
|
971
971
|
|
972
|
-
|
972
|
+
Modify the properties of the specified NAT Gateway within the data center.
|
973
973
|
|
974
974
|
### Examples
|
975
975
|
|
@@ -989,19 +989,17 @@ Ionoscloud.configure do |config|
|
|
989
989
|
end
|
990
990
|
|
991
991
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
992
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
993
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
994
|
-
nat_gateway = Ionoscloud::NatGatewayPut.new({properties: Ionoscloud::NatGatewayProperties.new({name: 'My NAT Gateway', public_ips: ['public_ips_example']})}) # NatGatewayPut |
|
992
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
993
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
994
|
+
nat_gateway = Ionoscloud::NatGatewayPut.new({properties: Ionoscloud::NatGatewayProperties.new({name: 'My NAT Gateway', public_ips: ['public_ips_example']})}) # NatGatewayPut | The modified NAT Gateway.
|
995
995
|
opts = {
|
996
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
997
|
-
depth: 56, # Integer | Controls the
|
998
|
-
x_contract_number: 56
|
999
|
-
offset: 56, # Integer | the first element (of the total list of elements) to include in the response (use together with limit for pagination)
|
1000
|
-
limit: 56 # Integer | the maximum number of elements to return (use together with offset for pagination)
|
996
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
997
|
+
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
|
998
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1001
999
|
}
|
1002
1000
|
|
1003
1001
|
begin
|
1004
|
-
#
|
1002
|
+
# Modify NAT Gateways
|
1005
1003
|
result = api_instance.datacenters_natgateways_put(datacenter_id, nat_gateway_id, nat_gateway, opts)
|
1006
1004
|
p result
|
1007
1005
|
rescue Ionoscloud::ApiError => e
|
@@ -1017,7 +1015,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1017
1015
|
|
1018
1016
|
```ruby
|
1019
1017
|
begin
|
1020
|
-
#
|
1018
|
+
# Modify NAT Gateways
|
1021
1019
|
data, status_code, headers = api_instance.datacenters_natgateways_put_with_http_info(datacenter_id, nat_gateway_id, nat_gateway, opts)
|
1022
1020
|
p status_code # => 2xx
|
1023
1021
|
p headers # => { ... }
|
@@ -1031,18 +1029,16 @@ end
|
|
1031
1029
|
|
1032
1030
|
| Name | Type | Description | Notes |
|
1033
1031
|
| ---- | ---- | ----------- | ----- |
|
1034
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1035
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1036
|
-
| **nat_gateway** | [**NatGatewayPut**](NatGatewayPut.md) |
|
1037
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1038
|
-
| **depth** | **Integer** | Controls the
|
1039
|
-
| **x_contract_number** | **Integer** | Users
|
1040
|
-
| **offset** | **Integer** | the first element (of the total list of elements) to include in the response (use together with limit for pagination) | [optional][default to 0] |
|
1041
|
-
| **limit** | **Integer** | the maximum number of elements to return (use together with offset for pagination) | [optional][default to 1000] |
|
1032
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1033
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1034
|
+
| **nat_gateway** | [**NatGatewayPut**](NatGatewayPut.md) | The modified NAT Gateway. | |
|
1035
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1036
|
+
| **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] |
|
1037
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1042
1038
|
|
1043
1039
|
### Return type
|
1044
1040
|
|
1045
|
-
[**NatGateway**](NatGateway.md)
|
1041
|
+
[**NatGateway**](../models/NatGateway.md)
|
1046
1042
|
|
1047
1043
|
### Authorization
|
1048
1044
|
|
@@ -1058,9 +1054,9 @@ Basic Authentication, Token Authentication
|
|
1058
1054
|
|
1059
1055
|
> datacenters_natgateways_rules_delete(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1060
1056
|
|
1061
|
-
|
1057
|
+
Delete NAT Gateway rules
|
1062
1058
|
|
1063
|
-
|
1059
|
+
Delete the specified NAT Gateway rule.
|
1064
1060
|
|
1065
1061
|
### Examples
|
1066
1062
|
|
@@ -1080,17 +1076,17 @@ Ionoscloud.configure do |config|
|
|
1080
1076
|
end
|
1081
1077
|
|
1082
1078
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1083
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1084
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
1085
|
-
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT
|
1079
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1080
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
1081
|
+
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT Gateway rule.
|
1086
1082
|
opts = {
|
1087
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1088
|
-
depth: 56, # Integer | Controls the
|
1089
|
-
x_contract_number: 56 # Integer | Users
|
1083
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1084
|
+
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
|
1085
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1090
1086
|
}
|
1091
1087
|
|
1092
1088
|
begin
|
1093
|
-
#
|
1089
|
+
# Delete NAT Gateway rules
|
1094
1090
|
api_instance.datacenters_natgateways_rules_delete(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1095
1091
|
rescue Ionoscloud::ApiError => e
|
1096
1092
|
puts "Error when calling NATGatewaysApi->datacenters_natgateways_rules_delete: #{e}"
|
@@ -1105,7 +1101,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1105
1101
|
|
1106
1102
|
```ruby
|
1107
1103
|
begin
|
1108
|
-
#
|
1104
|
+
# Delete NAT Gateway rules
|
1109
1105
|
data, status_code, headers = api_instance.datacenters_natgateways_rules_delete_with_http_info(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1110
1106
|
p status_code # => 2xx
|
1111
1107
|
p headers # => { ... }
|
@@ -1119,12 +1115,12 @@ end
|
|
1119
1115
|
|
1120
1116
|
| Name | Type | Description | Notes |
|
1121
1117
|
| ---- | ---- | ----------- | ----- |
|
1122
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1123
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1124
|
-
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT
|
1125
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1126
|
-
| **depth** | **Integer** | Controls the
|
1127
|
-
| **x_contract_number** | **Integer** | Users
|
1118
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1119
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1120
|
+
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT Gateway rule. | |
|
1121
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1122
|
+
| **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] |
|
1123
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1128
1124
|
|
1129
1125
|
### Return type
|
1130
1126
|
|
@@ -1144,9 +1140,9 @@ Basic Authentication, Token Authentication
|
|
1144
1140
|
|
1145
1141
|
> <NatGatewayRule> datacenters_natgateways_rules_find_by_nat_gateway_rule_id(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1146
1142
|
|
1147
|
-
Retrieve
|
1143
|
+
Retrieve NAT Gateway rules
|
1148
1144
|
|
1149
|
-
|
1145
|
+
Retrieve the properties of the specified NAT Gateway rule.
|
1150
1146
|
|
1151
1147
|
### Examples
|
1152
1148
|
|
@@ -1166,17 +1162,17 @@ Ionoscloud.configure do |config|
|
|
1166
1162
|
end
|
1167
1163
|
|
1168
1164
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1169
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1170
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
1171
|
-
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT
|
1165
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1166
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
1167
|
+
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT Gateway rule.
|
1172
1168
|
opts = {
|
1173
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1174
|
-
depth: 56, # Integer | Controls the
|
1175
|
-
x_contract_number: 56 # Integer | Users
|
1169
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1170
|
+
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
|
1171
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1176
1172
|
}
|
1177
1173
|
|
1178
1174
|
begin
|
1179
|
-
# Retrieve
|
1175
|
+
# Retrieve NAT Gateway rules
|
1180
1176
|
result = api_instance.datacenters_natgateways_rules_find_by_nat_gateway_rule_id(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1181
1177
|
p result
|
1182
1178
|
rescue Ionoscloud::ApiError => e
|
@@ -1192,7 +1188,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1192
1188
|
|
1193
1189
|
```ruby
|
1194
1190
|
begin
|
1195
|
-
# Retrieve
|
1191
|
+
# Retrieve NAT Gateway rules
|
1196
1192
|
data, status_code, headers = api_instance.datacenters_natgateways_rules_find_by_nat_gateway_rule_id_with_http_info(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1197
1193
|
p status_code # => 2xx
|
1198
1194
|
p headers # => { ... }
|
@@ -1206,16 +1202,16 @@ end
|
|
1206
1202
|
|
1207
1203
|
| Name | Type | Description | Notes |
|
1208
1204
|
| ---- | ---- | ----------- | ----- |
|
1209
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1210
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1211
|
-
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT
|
1212
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1213
|
-
| **depth** | **Integer** | Controls the
|
1214
|
-
| **x_contract_number** | **Integer** | Users
|
1205
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1206
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1207
|
+
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT Gateway rule. | |
|
1208
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1209
|
+
| **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] |
|
1210
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1215
1211
|
|
1216
1212
|
### Return type
|
1217
1213
|
|
1218
|
-
[**NatGatewayRule**](NatGatewayRule.md)
|
1214
|
+
[**NatGatewayRule**](../models/NatGatewayRule.md)
|
1219
1215
|
|
1220
1216
|
### Authorization
|
1221
1217
|
|
@@ -1231,9 +1227,9 @@ Basic Authentication, Token Authentication
|
|
1231
1227
|
|
1232
1228
|
> <NatGatewayRules> datacenters_natgateways_rules_get(datacenter_id, nat_gateway_id, opts)
|
1233
1229
|
|
1234
|
-
List NAT
|
1230
|
+
List NAT Gateway rules
|
1235
1231
|
|
1236
|
-
|
1232
|
+
List all rules for the specified NAT Gateway.
|
1237
1233
|
|
1238
1234
|
### Examples
|
1239
1235
|
|
@@ -1253,16 +1249,16 @@ Ionoscloud.configure do |config|
|
|
1253
1249
|
end
|
1254
1250
|
|
1255
1251
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1256
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1257
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
1252
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1253
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
1258
1254
|
opts = {
|
1259
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1260
|
-
depth: 56, # Integer | Controls the
|
1261
|
-
x_contract_number: 56 # Integer | Users
|
1255
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1256
|
+
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
|
1257
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1262
1258
|
}
|
1263
1259
|
|
1264
1260
|
begin
|
1265
|
-
# List NAT
|
1261
|
+
# List NAT Gateway rules
|
1266
1262
|
result = api_instance.datacenters_natgateways_rules_get(datacenter_id, nat_gateway_id, opts)
|
1267
1263
|
p result
|
1268
1264
|
rescue Ionoscloud::ApiError => e
|
@@ -1278,7 +1274,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1278
1274
|
|
1279
1275
|
```ruby
|
1280
1276
|
begin
|
1281
|
-
# List NAT
|
1277
|
+
# List NAT Gateway rules
|
1282
1278
|
data, status_code, headers = api_instance.datacenters_natgateways_rules_get_with_http_info(datacenter_id, nat_gateway_id, opts)
|
1283
1279
|
p status_code # => 2xx
|
1284
1280
|
p headers # => { ... }
|
@@ -1292,15 +1288,15 @@ end
|
|
1292
1288
|
|
1293
1289
|
| Name | Type | Description | Notes |
|
1294
1290
|
| ---- | ---- | ----------- | ----- |
|
1295
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1296
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1297
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1298
|
-
| **depth** | **Integer** | Controls the
|
1299
|
-
| **x_contract_number** | **Integer** | Users
|
1291
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1292
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1293
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1294
|
+
| **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] |
|
1295
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1300
1296
|
|
1301
1297
|
### Return type
|
1302
1298
|
|
1303
|
-
[**NatGatewayRules**](NatGatewayRules.md)
|
1299
|
+
[**NatGatewayRules**](../models/NatGatewayRules.md)
|
1304
1300
|
|
1305
1301
|
### Authorization
|
1306
1302
|
|
@@ -1316,9 +1312,9 @@ Basic Authentication, Token Authentication
|
|
1316
1312
|
|
1317
1313
|
> <NatGatewayRule> datacenters_natgateways_rules_patch(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule_properties, opts)
|
1318
1314
|
|
1319
|
-
Partially modify
|
1315
|
+
Partially modify NAT Gateway rules
|
1320
1316
|
|
1321
|
-
|
1317
|
+
Update the properties of the specified NAT Gateway rule.
|
1322
1318
|
|
1323
1319
|
### Examples
|
1324
1320
|
|
@@ -1338,18 +1334,18 @@ Ionoscloud.configure do |config|
|
|
1338
1334
|
end
|
1339
1335
|
|
1340
1336
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1341
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1342
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
1343
|
-
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT
|
1344
|
-
nat_gateway_rule_properties = Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway
|
1337
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1338
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
1339
|
+
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT Gateway rule.
|
1340
|
+
nat_gateway_rule_properties = Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway rule', source_subnet: '10.0.1.0/24', public_ip: '192.18.7.17'}) # NatGatewayRuleProperties | The properties of the NAT Gateway rule to be updated.
|
1345
1341
|
opts = {
|
1346
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1347
|
-
depth: 56, # Integer | Controls the
|
1348
|
-
x_contract_number: 56 # Integer | Users
|
1342
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1343
|
+
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
|
1344
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1349
1345
|
}
|
1350
1346
|
|
1351
1347
|
begin
|
1352
|
-
# Partially modify
|
1348
|
+
# Partially modify NAT Gateway rules
|
1353
1349
|
result = api_instance.datacenters_natgateways_rules_patch(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule_properties, opts)
|
1354
1350
|
p result
|
1355
1351
|
rescue Ionoscloud::ApiError => e
|
@@ -1365,7 +1361,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1365
1361
|
|
1366
1362
|
```ruby
|
1367
1363
|
begin
|
1368
|
-
# Partially modify
|
1364
|
+
# Partially modify NAT Gateway rules
|
1369
1365
|
data, status_code, headers = api_instance.datacenters_natgateways_rules_patch_with_http_info(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule_properties, opts)
|
1370
1366
|
p status_code # => 2xx
|
1371
1367
|
p headers # => { ... }
|
@@ -1379,17 +1375,17 @@ end
|
|
1379
1375
|
|
1380
1376
|
| Name | Type | Description | Notes |
|
1381
1377
|
| ---- | ---- | ----------- | ----- |
|
1382
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1383
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1384
|
-
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT
|
1385
|
-
| **nat_gateway_rule_properties** | [**NatGatewayRuleProperties**](NatGatewayRuleProperties.md) |
|
1386
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1387
|
-
| **depth** | **Integer** | Controls the
|
1388
|
-
| **x_contract_number** | **Integer** | Users
|
1378
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1379
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1380
|
+
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT Gateway rule. | |
|
1381
|
+
| **nat_gateway_rule_properties** | [**NatGatewayRuleProperties**](NatGatewayRuleProperties.md) | The properties of the NAT Gateway rule to be updated. | |
|
1382
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1383
|
+
| **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] |
|
1384
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1389
1385
|
|
1390
1386
|
### Return type
|
1391
1387
|
|
1392
|
-
[**NatGatewayRule**](NatGatewayRule.md)
|
1388
|
+
[**NatGatewayRule**](../models/NatGatewayRule.md)
|
1393
1389
|
|
1394
1390
|
### Authorization
|
1395
1391
|
|
@@ -1405,9 +1401,9 @@ Basic Authentication, Token Authentication
|
|
1405
1401
|
|
1406
1402
|
> <NatGatewayRule> datacenters_natgateways_rules_post(datacenter_id, nat_gateway_id, nat_gateway_rule, opts)
|
1407
1403
|
|
1408
|
-
Create
|
1404
|
+
Create NAT Gateway rules
|
1409
1405
|
|
1410
|
-
|
1406
|
+
Create a rule for the specified NAT Gateway.
|
1411
1407
|
|
1412
1408
|
### Examples
|
1413
1409
|
|
@@ -1427,17 +1423,17 @@ Ionoscloud.configure do |config|
|
|
1427
1423
|
end
|
1428
1424
|
|
1429
1425
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1430
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1431
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
1432
|
-
nat_gateway_rule = Ionoscloud::NatGatewayRule.new({properties: Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway
|
1426
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1427
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
1428
|
+
nat_gateway_rule = Ionoscloud::NatGatewayRule.new({properties: Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway rule', source_subnet: '10.0.1.0/24', public_ip: '192.18.7.17'})}) # NatGatewayRule | The NAT Gateway rule to create.
|
1433
1429
|
opts = {
|
1434
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1435
|
-
depth: 56, # Integer | Controls the
|
1436
|
-
x_contract_number: 56 # Integer | Users
|
1430
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1431
|
+
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
|
1432
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1437
1433
|
}
|
1438
1434
|
|
1439
1435
|
begin
|
1440
|
-
# Create
|
1436
|
+
# Create NAT Gateway rules
|
1441
1437
|
result = api_instance.datacenters_natgateways_rules_post(datacenter_id, nat_gateway_id, nat_gateway_rule, opts)
|
1442
1438
|
p result
|
1443
1439
|
rescue Ionoscloud::ApiError => e
|
@@ -1453,7 +1449,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1453
1449
|
|
1454
1450
|
```ruby
|
1455
1451
|
begin
|
1456
|
-
# Create
|
1452
|
+
# Create NAT Gateway rules
|
1457
1453
|
data, status_code, headers = api_instance.datacenters_natgateways_rules_post_with_http_info(datacenter_id, nat_gateway_id, nat_gateway_rule, opts)
|
1458
1454
|
p status_code # => 2xx
|
1459
1455
|
p headers # => { ... }
|
@@ -1467,16 +1463,16 @@ end
|
|
1467
1463
|
|
1468
1464
|
| Name | Type | Description | Notes |
|
1469
1465
|
| ---- | ---- | ----------- | ----- |
|
1470
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1471
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1472
|
-
| **nat_gateway_rule** | [**NatGatewayRule**](NatGatewayRule.md) | NAT
|
1473
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1474
|
-
| **depth** | **Integer** | Controls the
|
1475
|
-
| **x_contract_number** | **Integer** | Users
|
1466
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1467
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1468
|
+
| **nat_gateway_rule** | [**NatGatewayRule**](NatGatewayRule.md) | The NAT Gateway rule to create. | |
|
1469
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1470
|
+
| **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] |
|
1471
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1476
1472
|
|
1477
1473
|
### Return type
|
1478
1474
|
|
1479
|
-
[**NatGatewayRule**](NatGatewayRule.md)
|
1475
|
+
[**NatGatewayRule**](../models/NatGatewayRule.md)
|
1480
1476
|
|
1481
1477
|
### Authorization
|
1482
1478
|
|
@@ -1492,9 +1488,9 @@ Basic Authentication, Token Authentication
|
|
1492
1488
|
|
1493
1489
|
> <NatGatewayRule> datacenters_natgateways_rules_put(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule, opts)
|
1494
1490
|
|
1495
|
-
Modify
|
1491
|
+
Modify NAT Gateway rules
|
1496
1492
|
|
1497
|
-
|
1493
|
+
Modify the specified NAT Gateway rule.
|
1498
1494
|
|
1499
1495
|
### Examples
|
1500
1496
|
|
@@ -1514,18 +1510,18 @@ Ionoscloud.configure do |config|
|
|
1514
1510
|
end
|
1515
1511
|
|
1516
1512
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1517
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
1518
|
-
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT
|
1519
|
-
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT
|
1520
|
-
nat_gateway_rule = Ionoscloud::NatGatewayRulePut.new({properties: Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway
|
1513
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1514
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
1515
|
+
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT Gateway rule.
|
1516
|
+
nat_gateway_rule = Ionoscloud::NatGatewayRulePut.new({properties: Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway rule', source_subnet: '10.0.1.0/24', public_ip: '192.18.7.17'})}) # NatGatewayRulePut | The modified NAT Gateway rule.
|
1521
1517
|
opts = {
|
1522
|
-
pretty: true, # Boolean | Controls whether response is pretty-printed (with
|
1523
|
-
depth: 56, # Integer | Controls the
|
1524
|
-
x_contract_number: 56 # Integer | Users
|
1518
|
+
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1519
|
+
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
|
1520
|
+
x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
|
1525
1521
|
}
|
1526
1522
|
|
1527
1523
|
begin
|
1528
|
-
# Modify
|
1524
|
+
# Modify NAT Gateway rules
|
1529
1525
|
result = api_instance.datacenters_natgateways_rules_put(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule, opts)
|
1530
1526
|
p result
|
1531
1527
|
rescue Ionoscloud::ApiError => e
|
@@ -1541,7 +1537,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1541
1537
|
|
1542
1538
|
```ruby
|
1543
1539
|
begin
|
1544
|
-
# Modify
|
1540
|
+
# Modify NAT Gateway rules
|
1545
1541
|
data, status_code, headers = api_instance.datacenters_natgateways_rules_put_with_http_info(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule, opts)
|
1546
1542
|
p status_code # => 2xx
|
1547
1543
|
p headers # => { ... }
|
@@ -1555,17 +1551,17 @@ end
|
|
1555
1551
|
|
1556
1552
|
| Name | Type | Description | Notes |
|
1557
1553
|
| ---- | ---- | ----------- | ----- |
|
1558
|
-
| **datacenter_id** | **String** | The unique ID of the
|
1559
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1560
|
-
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT
|
1561
|
-
| **nat_gateway_rule** | [**NatGatewayRulePut**](NatGatewayRulePut.md) |
|
1562
|
-
| **pretty** | **Boolean** | Controls whether response is pretty-printed (with
|
1563
|
-
| **depth** | **Integer** | Controls the
|
1564
|
-
| **x_contract_number** | **Integer** | Users
|
1554
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1555
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1556
|
+
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT Gateway rule. | |
|
1557
|
+
| **nat_gateway_rule** | [**NatGatewayRulePut**](NatGatewayRulePut.md) | The modified NAT Gateway rule. | |
|
1558
|
+
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1559
|
+
| **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] |
|
1560
|
+
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
1565
1561
|
|
1566
1562
|
### Return type
|
1567
1563
|
|
1568
|
-
[**NatGatewayRule**](NatGatewayRule.md)
|
1564
|
+
[**NatGatewayRule**](../models/NatGatewayRule.md)
|
1569
1565
|
|
1570
1566
|
### Authorization
|
1571
1567
|
|