ionoscloud 6.0.0.beta.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +61 -61
- data/docs/api/ContractResourcesApi.md +6 -6
- data/docs/api/DataCentersApi.md +13 -13
- data/docs/api/DefaultApi.md +1 -1
- data/docs/api/FirewallRulesApi.md +73 -73
- data/docs/api/FlowLogsApi.md +69 -69
- data/docs/api/IPBlocksApi.md +51 -51
- data/docs/api/ImagesApi.md +41 -41
- data/docs/api/KubernetesApi.md +153 -153
- data/docs/api/{LansApi.md → LANsApi.md} +105 -105
- data/docs/api/LabelsApi.md +259 -259
- data/docs/api/LoadBalancersApi.md +82 -82
- data/docs/api/LocationsApi.md +11 -11
- data/docs/api/NATGatewaysApi.md +163 -163
- data/docs/api/NetworkInterfacesApi.md +61 -61
- data/docs/api/NetworkLoadBalancersApi.md +167 -167
- data/docs/api/PrivateCrossConnectsApi.md +39 -39
- data/docs/api/RequestsApi.md +44 -44
- data/docs/api/ServersApi.md +179 -179
- data/docs/api/SnapshotsApi.md +40 -40
- data/docs/api/TemplatesApi.md +14 -14
- data/docs/api/UserManagementApi.md +207 -205
- data/docs/api/UserS3KeysApi.md +55 -55
- data/docs/api/VolumesApi.md +74 -74
- data/docs/models/AttachedVolumes.md +6 -6
- data/docs/models/BackupUnit.md +3 -3
- data/docs/models/BackupUnitProperties.md +2 -2
- data/docs/models/BackupUnits.md +4 -4
- data/docs/models/BalancedNics.md +6 -6
- data/docs/models/Cdroms.md +6 -6
- data/docs/models/Contract.md +1 -1
- data/docs/models/ContractProperties.md +4 -4
- data/docs/models/Contracts.md +3 -3
- data/docs/models/CpuArchitectureProperties.md +1 -1
- data/docs/models/Datacenter.md +3 -3
- data/docs/models/DatacenterElementMetadata.md +6 -6
- data/docs/models/DatacenterProperties.md +6 -6
- data/docs/models/Datacenters.md +6 -6
- data/docs/models/Error.md +1 -1
- data/docs/models/ErrorMessage.md +3 -3
- data/docs/models/FirewallRule.md +3 -3
- data/docs/models/FirewallRules.md +6 -6
- data/docs/models/FirewallruleProperties.md +10 -10
- data/docs/models/FlowLog.md +3 -3
- data/docs/models/FlowLogProperties.md +1 -1
- data/docs/models/FlowLogPut.md +3 -3
- data/docs/models/FlowLogs.md +6 -6
- data/docs/models/Group.md +3 -3
- data/docs/models/GroupMembers.md +4 -4
- data/docs/models/GroupProperties.md +11 -11
- data/docs/models/GroupShare.md +2 -2
- data/docs/models/GroupShares.md +3 -3
- data/docs/models/GroupUsers.md +4 -4
- data/docs/models/Groups.md +4 -4
- data/docs/models/Image.md +3 -3
- data/docs/models/ImageProperties.md +17 -17
- data/docs/models/Images.md +4 -4
- data/docs/models/IpBlock.md +3 -3
- data/docs/models/IpBlockProperties.md +5 -5
- data/docs/models/IpBlocks.md +5 -5
- data/docs/models/KubernetesCluster.md +2 -2
- data/docs/models/KubernetesClusterForPost.md +2 -2
- data/docs/models/KubernetesClusterForPut.md +2 -2
- data/docs/models/KubernetesClusterProperties.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPost.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPut.md +3 -3
- data/docs/models/KubernetesClusters.md +4 -4
- data/docs/models/KubernetesNode.md +2 -2
- data/docs/models/KubernetesNodeMetadata.md +4 -4
- data/docs/models/KubernetesNodePool.md +2 -2
- data/docs/models/KubernetesNodePoolForPost.md +2 -2
- data/docs/models/KubernetesNodePoolForPut.md +2 -2
- data/docs/models/KubernetesNodePoolLan.md +1 -1
- data/docs/models/KubernetesNodePoolProperties.md +12 -15
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +11 -14
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +5 -5
- data/docs/models/KubernetesNodePools.md +4 -4
- data/docs/models/KubernetesNodeProperties.md +2 -2
- data/docs/models/KubernetesNodes.md +4 -4
- data/docs/models/Label.md +2 -2
- data/docs/models/LabelProperties.md +3 -3
- data/docs/models/LabelResource.md +2 -2
- data/docs/models/LabelResourceProperties.md +2 -2
- data/docs/models/LabelResources.md +6 -6
- data/docs/models/Labels.md +4 -4
- data/docs/models/Lan.md +3 -3
- data/docs/models/LanNics.md +6 -6
- data/docs/models/LanPost.md +3 -3
- data/docs/models/LanProperties.md +3 -3
- data/docs/models/LanPropertiesPost.md +3 -3
- data/docs/models/Lans.md +6 -6
- data/docs/models/Loadbalancer.md +3 -3
- data/docs/models/LoadbalancerProperties.md +3 -3
- data/docs/models/Loadbalancers.md +6 -6
- data/docs/models/Location.md +3 -3
- data/docs/models/LocationProperties.md +1 -1
- data/docs/models/Locations.md +4 -4
- data/docs/models/NatGateway.md +3 -3
- data/docs/models/NatGatewayLanProperties.md +2 -2
- data/docs/models/NatGatewayProperties.md +3 -3
- data/docs/models/NatGatewayPut.md +3 -3
- data/docs/models/NatGatewayRule.md +3 -3
- data/docs/models/NatGatewayRuleProperties.md +7 -7
- data/docs/models/NatGatewayRulePut.md +3 -3
- data/docs/models/NatGatewayRules.md +4 -4
- data/docs/models/NatGateways.md +6 -6
- data/docs/models/NetworkLoadBalancer.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRule.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +2 -2
- data/docs/models/NetworkLoadBalancerForwardingRulePut.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRules.md +6 -6
- data/docs/models/NetworkLoadBalancerProperties.md +4 -4
- data/docs/models/NetworkLoadBalancerPut.md +3 -3
- data/docs/models/NetworkLoadBalancers.md +6 -6
- data/docs/models/Nic.md +3 -3
- data/docs/models/NicProperties.md +8 -8
- data/docs/models/NicPut.md +3 -3
- data/docs/models/Nics.md +6 -6
- data/docs/models/NoStateMetaData.md +5 -5
- data/docs/models/PaginationLinks.md +3 -3
- data/docs/models/PrivateCrossConnect.md +3 -3
- data/docs/models/PrivateCrossConnectProperties.md +4 -4
- data/docs/models/PrivateCrossConnects.md +4 -4
- data/docs/models/Request.md +3 -3
- data/docs/models/RequestMetadata.md +2 -2
- data/docs/models/RequestStatus.md +3 -3
- data/docs/models/RequestStatusMetadata.md +1 -1
- data/docs/models/Requests.md +6 -6
- data/docs/models/Resource.md +3 -3
- data/docs/models/ResourceGroups.md +4 -4
- data/docs/models/ResourceLimits.md +22 -22
- data/docs/models/ResourceProperties.md +2 -2
- data/docs/models/ResourceReference.md +3 -3
- data/docs/models/Resources.md +4 -4
- data/docs/models/ResourcesUsers.md +4 -4
- data/docs/models/S3Key.md +3 -3
- data/docs/models/S3KeyMetadata.md +2 -2
- data/docs/models/S3KeyProperties.md +2 -2
- data/docs/models/S3Keys.md +4 -4
- data/docs/models/Server.md +3 -3
- data/docs/models/ServerProperties.md +7 -7
- data/docs/models/Servers.md +6 -6
- data/docs/models/Snapshot.md +3 -3
- data/docs/models/SnapshotProperties.md +14 -14
- data/docs/models/Snapshots.md +4 -4
- data/docs/models/TargetPortRange.md +2 -2
- data/docs/models/Template.md +3 -3
- data/docs/models/TemplateProperties.md +4 -4
- data/docs/models/Templates.md +4 -4
- data/docs/models/Token.md +1 -1
- data/docs/models/User.md +3 -3
- data/docs/models/UserMetadata.md +3 -3
- data/docs/models/UserProperties.md +8 -8
- data/docs/models/UserPropertiesPost.md +8 -8
- data/docs/models/UserPropertiesPut.md +9 -7
- data/docs/models/UserPut.md +1 -1
- data/docs/models/Users.md +6 -6
- data/docs/models/Volume.md +3 -3
- data/docs/models/VolumeProperties.md +17 -17
- data/docs/models/Volumes.md +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +1 -1
- data/lib/ionoscloud/api/_api.rb +1 -1
- data/lib/ionoscloud/api/backup_units_api.rb +52 -52
- data/lib/ionoscloud/api/contract_resources_api.rb +5 -5
- data/lib/ionoscloud/api/data_centers_api.rb +13 -13
- data/lib/ionoscloud/api/firewall_rules_api.rb +63 -63
- data/lib/ionoscloud/api/flow_logs_api.rb +61 -61
- data/lib/ionoscloud/api/images_api.rb +33 -33
- data/lib/ionoscloud/api/ip_blocks_api.rb +41 -41
- data/lib/ionoscloud/api/kubernetes_api.rb +130 -130
- data/lib/ionoscloud/api/labels_api.rb +211 -211
- data/lib/ionoscloud/api/lans_api.rb +134 -134
- data/lib/ionoscloud/api/load_balancers_api.rb +67 -67
- data/lib/ionoscloud/api/locations_api.rb +11 -11
- data/lib/ionoscloud/api/nat_gateways_api.rb +135 -135
- data/lib/ionoscloud/api/network_interfaces_api.rb +51 -51
- data/lib/ionoscloud/api/network_load_balancers_api.rb +137 -137
- data/lib/ionoscloud/api/private_cross_connects_api.rb +31 -31
- data/lib/ionoscloud/api/requests_api.rb +39 -39
- data/lib/ionoscloud/api/servers_api.rb +147 -147
- data/lib/ionoscloud/api/snapshots_api.rb +31 -31
- data/lib/ionoscloud/api/templates_api.rb +11 -11
- data/lib/ionoscloud/api/user_management_api.rb +163 -161
- data/lib/ionoscloud/api/user_s3_keys_api.rb +45 -45
- data/lib/ionoscloud/api/volumes_api.rb +61 -61
- data/lib/ionoscloud/api_client.rb +2 -2
- data/lib/ionoscloud/api_error.rb +1 -1
- data/lib/ionoscloud/configuration.rb +1 -1
- data/lib/ionoscloud/models/attached_volumes.rb +72 -18
- data/lib/ionoscloud/models/backup_unit.rb +49 -9
- data/lib/ionoscloud/models/backup_unit_properties.rb +30 -6
- data/lib/ionoscloud/models/backup_unit_sso.rb +10 -2
- data/lib/ionoscloud/models/backup_units.rb +43 -13
- data/lib/ionoscloud/models/balanced_nics.rb +72 -18
- data/lib/ionoscloud/models/cdroms.rb +72 -18
- data/lib/ionoscloud/models/connectable_datacenter.rb +28 -4
- data/lib/ionoscloud/models/contract.rb +20 -4
- data/lib/ionoscloud/models/contract_properties.rb +50 -10
- data/lib/ionoscloud/models/contracts.rb +42 -12
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +38 -6
- data/lib/ionoscloud/models/data_center_entities.rb +55 -7
- data/lib/ionoscloud/models/datacenter.rb +58 -10
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +79 -15
- data/lib/ionoscloud/models/datacenter_properties.rb +74 -22
- data/lib/ionoscloud/models/datacenters.rb +72 -18
- data/lib/ionoscloud/models/error.rb +22 -8
- data/lib/ionoscloud/models/error_message.rb +21 -5
- data/lib/ionoscloud/models/firewall_rule.rb +49 -9
- data/lib/ionoscloud/models/firewall_rules.rb +72 -18
- data/lib/ionoscloud/models/firewallrule_properties.rb +101 -21
- data/lib/ionoscloud/models/flow_log.rb +49 -9
- data/lib/ionoscloud/models/flow_log_properties.rb +38 -6
- data/lib/ionoscloud/models/flow_log_put.rb +40 -8
- data/lib/ionoscloud/models/flow_logs.rb +72 -18
- data/lib/ionoscloud/models/group.rb +49 -9
- data/lib/ionoscloud/models/group_entities.rb +19 -3
- data/lib/ionoscloud/models/group_members.rb +43 -13
- data/lib/ionoscloud/models/group_properties.rb +129 -25
- data/lib/ionoscloud/models/group_share.rb +39 -7
- data/lib/ionoscloud/models/group_share_properties.rb +19 -3
- data/lib/ionoscloud/models/group_shares.rb +42 -12
- data/lib/ionoscloud/models/group_users.rb +44 -14
- data/lib/ionoscloud/models/groups.rb +43 -13
- data/lib/ionoscloud/models/image.rb +49 -9
- data/lib/ionoscloud/models/image_properties.rb +191 -41
- data/lib/ionoscloud/models/images.rb +43 -13
- data/lib/ionoscloud/models/info.rb +28 -4
- data/lib/ionoscloud/models/ip_block.rb +49 -9
- data/lib/ionoscloud/models/ip_block_properties.rb +55 -19
- data/lib/ionoscloud/models/ip_blocks.rb +71 -17
- data/lib/ionoscloud/models/ip_consumer.rb +82 -10
- data/lib/ionoscloud/models/ip_failover.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_cluster.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +10 -2
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +74 -38
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +52 -28
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +53 -17
- data/lib/ionoscloud/models/kubernetes_clusters.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +50 -10
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +31 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +176 -60
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +164 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +94 -35
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +39 -7
- data/lib/ionoscloud/models/kubernetes_nodes.rb +43 -13
- data/lib/ionoscloud/models/label.rb +48 -8
- data/lib/ionoscloud/models/label_properties.rb +49 -9
- data/lib/ionoscloud/models/label_resource.rb +48 -8
- data/lib/ionoscloud/models/label_resource_properties.rb +21 -5
- data/lib/ionoscloud/models/label_resources.rb +72 -18
- data/lib/ionoscloud/models/labels.rb +43 -13
- data/lib/ionoscloud/models/lan.rb +58 -10
- data/lib/ionoscloud/models/lan_entities.rb +10 -2
- data/lib/ionoscloud/models/lan_nics.rb +72 -18
- data/lib/ionoscloud/models/lan_post.rb +58 -10
- data/lib/ionoscloud/models/lan_properties.rb +42 -12
- data/lib/ionoscloud/models/lan_properties_post.rb +42 -12
- data/lib/ionoscloud/models/lans.rb +72 -18
- data/lib/ionoscloud/models/loadbalancer.rb +58 -10
- data/lib/ionoscloud/models/loadbalancer_entities.rb +10 -2
- data/lib/ionoscloud/models/loadbalancer_properties.rb +31 -7
- data/lib/ionoscloud/models/loadbalancers.rb +72 -18
- data/lib/ionoscloud/models/location.rb +49 -9
- data/lib/ionoscloud/models/location_properties.rb +44 -18
- data/lib/ionoscloud/models/locations.rb +43 -13
- data/lib/ionoscloud/models/nat_gateway.rb +58 -10
- data/lib/ionoscloud/models/nat_gateway_entities.rb +19 -3
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +23 -9
- data/lib/ionoscloud/models/nat_gateway_properties.rb +35 -15
- data/lib/ionoscloud/models/nat_gateway_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule.rb +49 -9
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +70 -14
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rules.rb +43 -13
- data/lib/ionoscloud/models/nat_gateways.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer.rb +58 -10
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +19 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +49 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +68 -14
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +28 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +54 -18
- data/lib/ionoscloud/models/network_load_balancer_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancers.rb +72 -18
- data/lib/ionoscloud/models/nic.rb +58 -10
- data/lib/ionoscloud/models/nic_entities.rb +19 -3
- data/lib/ionoscloud/models/nic_properties.rb +92 -22
- data/lib/ionoscloud/models/nic_put.rb +40 -8
- data/lib/ionoscloud/models/nics.rb +72 -18
- data/lib/ionoscloud/models/no_state_meta_data.rb +69 -13
- data/lib/ionoscloud/models/pagination_links.rb +31 -7
- data/lib/ionoscloud/models/peer.rb +46 -6
- data/lib/ionoscloud/models/private_cross_connect.rb +49 -9
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +45 -17
- data/lib/ionoscloud/models/private_cross_connects.rb +43 -13
- data/lib/ionoscloud/models/remote_console_url.rb +10 -2
- data/lib/ionoscloud/models/request.rb +49 -9
- data/lib/ionoscloud/models/request_metadata.rb +39 -7
- data/lib/ionoscloud/models/request_properties.rb +39 -9
- data/lib/ionoscloud/models/request_status.rb +40 -8
- data/lib/ionoscloud/models/request_status_metadata.rb +40 -10
- data/lib/ionoscloud/models/request_target.rb +19 -3
- data/lib/ionoscloud/models/requests.rb +72 -18
- data/lib/ionoscloud/models/resource.rb +58 -10
- data/lib/ionoscloud/models/resource_entities.rb +10 -2
- data/lib/ionoscloud/models/resource_groups.rb +43 -13
- data/lib/ionoscloud/models/resource_limits.rb +221 -45
- data/lib/ionoscloud/models/resource_properties.rb +21 -5
- data/lib/ionoscloud/models/resource_reference.rb +31 -7
- data/lib/ionoscloud/models/resources.rb +44 -14
- data/lib/ionoscloud/models/resources_users.rb +43 -13
- data/lib/ionoscloud/models/s3_bucket.rb +10 -2
- data/lib/ionoscloud/models/s3_key.rb +49 -9
- data/lib/ionoscloud/models/s3_key_metadata.rb +21 -5
- data/lib/ionoscloud/models/s3_key_properties.rb +21 -5
- data/lib/ionoscloud/models/s3_keys.rb +43 -13
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +10 -2
- data/lib/ionoscloud/models/server.rb +58 -10
- data/lib/ionoscloud/models/server_entities.rb +28 -4
- data/lib/ionoscloud/models/server_properties.rb +98 -18
- data/lib/ionoscloud/models/servers.rb +72 -18
- data/lib/ionoscloud/models/snapshot.rb +49 -9
- data/lib/ionoscloud/models/snapshot_properties.rb +159 -31
- data/lib/ionoscloud/models/snapshots.rb +43 -13
- data/lib/ionoscloud/models/target_port_range.rb +21 -5
- data/lib/ionoscloud/models/template.rb +49 -9
- data/lib/ionoscloud/models/template_properties.rb +41 -9
- data/lib/ionoscloud/models/templates.rb +43 -13
- data/lib/ionoscloud/models/token.rb +11 -3
- data/lib/ionoscloud/models/type.rb +1 -1
- data/lib/ionoscloud/models/user.rb +58 -10
- data/lib/ionoscloud/models/user_metadata.rb +31 -7
- data/lib/ionoscloud/models/user_post.rb +10 -2
- data/lib/ionoscloud/models/user_properties.rb +81 -17
- data/lib/ionoscloud/models/user_properties_post.rb +81 -17
- data/lib/ionoscloud/models/user_properties_put.rb +90 -16
- data/lib/ionoscloud/models/user_put.rb +20 -4
- data/lib/ionoscloud/models/users.rb +72 -18
- data/lib/ionoscloud/models/users_entities.rb +19 -3
- data/lib/ionoscloud/models/volume.rb +49 -9
- data/lib/ionoscloud/models/volume_properties.rb +200 -42
- data/lib/ionoscloud/models/volumes.rb +72 -18
- data/lib/ionoscloud/version.rb +2 -2
- data/lib/ionoscloud.rb +2 -2
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -391
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_units_api_spec.rb +0 -140
- data/spec/api/contract_resources_api_spec.rb +0 -49
- data/spec/api/data_centers_api_spec.rb +0 -128
- data/spec/api/firewall_rules_api_spec.rb +0 -146
- data/spec/api/flow_logs_api_spec.rb +0 -140
- data/spec/api/images_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -128
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -474
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -201
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -334
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -340
- data/spec/api/private_cross_connects_api_spec.rb +0 -110
- data/spec/api/requests_api_spec.rb +0 -92
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -404
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -70
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -96
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -106
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -154
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -70
- data/spec/models/ip_consumer_spec.rb +0 -82
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -64
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -76
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +0 -40
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -46
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -144
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -46
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -52
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +0 -78
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +0 -46
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +0 -70
- data/spec/models/network_load_balancer_properties_spec.rb +0 -58
- data/spec/models/network_load_balancer_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_spec.rb +0 -64
- data/spec/models/network_load_balancers_spec.rb +0 -70
- data/spec/models/nic_entities_spec.rb +0 -40
- data/spec/models/nic_properties_spec.rb +0 -86
- data/spec/models/nic_put_spec.rb +0 -52
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/remote_console_url_spec.rb +0 -34
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -160
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_bucket_spec.rb +0 -34
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -96
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/target_port_range_spec.rb +0 -40
- data/spec/models/template_properties_spec.rb +0 -52
- data/spec/models/template_spec.rb +0 -58
- data/spec/models/templates_spec.rb +0 -52
- data/spec/models/token_spec.rb +0 -34
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -70
- data/spec/models/volume_properties_spec.rb +0 -164
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
data/docs/api/NATGatewaysApi.md
CHANGED
@@ -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
|
|
@@ -51,7 +51,7 @@ end
|
|
51
51
|
|
52
52
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
53
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
|
54
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
55
55
|
opts = {
|
56
56
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
57
57
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -59,7 +59,7 @@ opts = {
|
|
59
59
|
}
|
60
60
|
|
61
61
|
begin
|
62
|
-
#
|
62
|
+
# Delete 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 # => { ... }
|
@@ -89,7 +89,7 @@ end
|
|
89
89
|
| Name | Type | Description | Notes |
|
90
90
|
| ---- | ---- | ----------- | ----- |
|
91
91
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
92
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
92
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
93
93
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
94
94
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
95
95
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -112,9 +112,9 @@ Basic Authentication, Token Authentication
|
|
112
112
|
|
113
113
|
> <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
|
|
@@ -135,7 +135,7 @@ end
|
|
135
135
|
|
136
136
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
137
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
|
138
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
139
139
|
opts = {
|
140
140
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
141
141
|
depth: 56, # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
@@ -143,7 +143,7 @@ opts = {
|
|
143
143
|
}
|
144
144
|
|
145
145
|
begin
|
146
|
-
# Retrieve
|
146
|
+
# Retrieve 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 # => { ... }
|
@@ -174,14 +174,14 @@ end
|
|
174
174
|
| Name | Type | Description | Notes |
|
175
175
|
| ---- | ---- | ----------- | ----- |
|
176
176
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
177
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
177
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
178
178
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
179
179
|
| **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on | [optional][default to 0] |
|
180
180
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
181
181
|
|
182
182
|
### Return type
|
183
183
|
|
184
|
-
[**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
|
|
@@ -220,15 +220,15 @@ end
|
|
220
220
|
|
221
221
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
222
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
|
224
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the
|
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
226
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
227
227
|
depth: 56 # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
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 # => { ... }
|
@@ -258,8 +258,8 @@ end
|
|
258
258
|
| Name | Type | Description | Notes |
|
259
259
|
| ---- | ---- | ----------- | ----- |
|
260
260
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
261
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
262
|
-
| **flow_log_id** | **String** | The unique ID of the
|
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
263
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
264
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
|
|
@@ -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
|
|
@@ -304,15 +304,15 @@ end
|
|
304
304
|
|
305
305
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
306
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
|
308
|
-
flow_log_id = 'flow_log_id_example' # String | The unique ID of the
|
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
310
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
311
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 # => { ... }
|
@@ -343,14 +343,14 @@ end
|
|
343
343
|
| Name | Type | Description | Notes |
|
344
344
|
| ---- | ---- | ----------- | ----- |
|
345
345
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
346
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
347
|
-
| **flow_log_id** | **String** | The unique ID of the
|
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
348
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
349
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
|
|
@@ -389,7 +389,7 @@ end
|
|
389
389
|
|
390
390
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
391
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
|
392
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
393
393
|
opts = {
|
394
394
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
395
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
|
@@ -429,7 +429,7 @@ end
|
|
429
429
|
| Name | Type | Description | Notes |
|
430
430
|
| ---- | ---- | ----------- | ----- |
|
431
431
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
432
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
432
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
433
433
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
434
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
435
|
| **offset** | **Integer** | The first element (from the complete list of the elements) to include in the response (use together with limit for pagination). | [optional][default to 0] |
|
@@ -437,7 +437,7 @@ end
|
|
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
|
|
@@ -476,16 +476,16 @@ end
|
|
476
476
|
|
477
477
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
478
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
|
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 |
|
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
483
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
484
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 # => { ... }
|
@@ -516,15 +516,15 @@ end
|
|
516
516
|
| Name | Type | Description | Notes |
|
517
517
|
| ---- | ---- | ----------- | ----- |
|
518
518
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
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) |
|
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
522
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
523
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
|
|
@@ -563,15 +563,15 @@ end
|
|
563
563
|
|
564
564
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
565
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
|
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
|
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
569
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
570
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 # => { ... }
|
@@ -602,14 +602,14 @@ end
|
|
602
602
|
| Name | Type | Description | Notes |
|
603
603
|
| ---- | ---- | ----------- | ----- |
|
604
604
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
605
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
606
|
-
| **nat_gateway_flow_log** | [**FlowLog**](FlowLog.md) | Flow Log to
|
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
607
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
608
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
|
|
@@ -648,16 +648,16 @@ end
|
|
648
648
|
|
649
649
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
650
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
|
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 |
|
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
655
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
656
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 # => { ... }
|
@@ -688,15 +688,15 @@ end
|
|
688
688
|
| Name | Type | Description | Notes |
|
689
689
|
| ---- | ---- | ----------- | ----- |
|
690
690
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
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) |
|
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
694
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
695
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
|
|
@@ -779,7 +779,7 @@ end
|
|
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
|
|
@@ -818,8 +818,8 @@ end
|
|
818
818
|
|
819
819
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
820
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
|
822
|
-
nat_gateway_properties = Ionoscloud::NatGatewayProperties.new({name: 'My NAT Gateway', public_ips: ['public_ips_example']}) # NatGatewayProperties | NAT
|
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
824
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
825
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
|
@@ -827,7 +827,7 @@ opts = {
|
|
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 # => { ... }
|
@@ -858,15 +858,15 @@ end
|
|
858
858
|
| Name | Type | Description | Notes |
|
859
859
|
| ---- | ---- | ----------- | ----- |
|
860
860
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
861
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
862
|
-
| **nat_gateway_properties** | [**NatGatewayProperties**](NatGatewayProperties.md) | NAT
|
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
863
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
864
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
865
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against 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
|
|
@@ -905,7 +905,7 @@ end
|
|
905
905
|
|
906
906
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
907
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 | NAT
|
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
910
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
911
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
|
@@ -913,7 +913,7 @@ opts = {
|
|
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 # => { ... }
|
@@ -944,14 +944,14 @@ end
|
|
944
944
|
| Name | Type | Description | Notes |
|
945
945
|
| ---- | ---- | ----------- | ----- |
|
946
946
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
947
|
-
| **nat_gateway** | [**NatGateway**](NatGateway.md) | NAT
|
947
|
+
| **nat_gateway** | [**NatGateway**](NatGateway.md) | The NAT Gateway to create. | |
|
948
948
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
949
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
950
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against 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
|
|
@@ -990,8 +990,8 @@ end
|
|
990
990
|
|
991
991
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
992
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
|
994
|
-
nat_gateway = Ionoscloud::NatGatewayPut.new({properties: Ionoscloud::NatGatewayProperties.new({name: 'My NAT Gateway', public_ips: ['public_ips_example']})}) # NatGatewayPut |
|
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
996
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
997
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
|
@@ -999,7 +999,7 @@ opts = {
|
|
999
999
|
}
|
1000
1000
|
|
1001
1001
|
begin
|
1002
|
-
#
|
1002
|
+
# Modify NAT Gateways
|
1003
1003
|
result = api_instance.datacenters_natgateways_put(datacenter_id, nat_gateway_id, nat_gateway, opts)
|
1004
1004
|
p result
|
1005
1005
|
rescue Ionoscloud::ApiError => e
|
@@ -1015,7 +1015,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1015
1015
|
|
1016
1016
|
```ruby
|
1017
1017
|
begin
|
1018
|
-
#
|
1018
|
+
# Modify NAT Gateways
|
1019
1019
|
data, status_code, headers = api_instance.datacenters_natgateways_put_with_http_info(datacenter_id, nat_gateway_id, nat_gateway, opts)
|
1020
1020
|
p status_code # => 2xx
|
1021
1021
|
p headers # => { ... }
|
@@ -1030,15 +1030,15 @@ end
|
|
1030
1030
|
| Name | Type | Description | Notes |
|
1031
1031
|
| ---- | ---- | ----------- | ----- |
|
1032
1032
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1033
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1034
|
-
| **nat_gateway** | [**NatGatewayPut**](NatGatewayPut.md) |
|
1033
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1034
|
+
| **nat_gateway** | [**NatGatewayPut**](NatGatewayPut.md) | The modified NAT Gateway. | |
|
1035
1035
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1036
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
1037
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1038
1038
|
|
1039
1039
|
### Return type
|
1040
1040
|
|
1041
|
-
[**NatGateway**](NatGateway.md)
|
1041
|
+
[**NatGateway**](../models/NatGateway.md)
|
1042
1042
|
|
1043
1043
|
### Authorization
|
1044
1044
|
|
@@ -1054,9 +1054,9 @@ Basic Authentication, Token Authentication
|
|
1054
1054
|
|
1055
1055
|
> datacenters_natgateways_rules_delete(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1056
1056
|
|
1057
|
-
|
1057
|
+
Delete NAT Gateway rules
|
1058
1058
|
|
1059
|
-
|
1059
|
+
Delete the specified NAT Gateway rule.
|
1060
1060
|
|
1061
1061
|
### Examples
|
1062
1062
|
|
@@ -1077,8 +1077,8 @@ end
|
|
1077
1077
|
|
1078
1078
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1079
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
|
1081
|
-
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT
|
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.
|
1082
1082
|
opts = {
|
1083
1083
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1084
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
|
@@ -1086,7 +1086,7 @@ opts = {
|
|
1086
1086
|
}
|
1087
1087
|
|
1088
1088
|
begin
|
1089
|
-
#
|
1089
|
+
# Delete NAT Gateway rules
|
1090
1090
|
api_instance.datacenters_natgateways_rules_delete(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1091
1091
|
rescue Ionoscloud::ApiError => e
|
1092
1092
|
puts "Error when calling NATGatewaysApi->datacenters_natgateways_rules_delete: #{e}"
|
@@ -1101,7 +1101,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1101
1101
|
|
1102
1102
|
```ruby
|
1103
1103
|
begin
|
1104
|
-
#
|
1104
|
+
# Delete NAT Gateway rules
|
1105
1105
|
data, status_code, headers = api_instance.datacenters_natgateways_rules_delete_with_http_info(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1106
1106
|
p status_code # => 2xx
|
1107
1107
|
p headers # => { ... }
|
@@ -1116,8 +1116,8 @@ end
|
|
1116
1116
|
| Name | Type | Description | Notes |
|
1117
1117
|
| ---- | ---- | ----------- | ----- |
|
1118
1118
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1119
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1120
|
-
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT
|
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
1121
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1122
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
1123
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -1140,9 +1140,9 @@ Basic Authentication, Token Authentication
|
|
1140
1140
|
|
1141
1141
|
> <NatGatewayRule> datacenters_natgateways_rules_find_by_nat_gateway_rule_id(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1142
1142
|
|
1143
|
-
Retrieve
|
1143
|
+
Retrieve NAT Gateway rules
|
1144
1144
|
|
1145
|
-
|
1145
|
+
Retrieve the properties of the specified NAT Gateway rule.
|
1146
1146
|
|
1147
1147
|
### Examples
|
1148
1148
|
|
@@ -1163,8 +1163,8 @@ end
|
|
1163
1163
|
|
1164
1164
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1165
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
|
1167
|
-
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT
|
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.
|
1168
1168
|
opts = {
|
1169
1169
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1170
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
|
@@ -1172,7 +1172,7 @@ opts = {
|
|
1172
1172
|
}
|
1173
1173
|
|
1174
1174
|
begin
|
1175
|
-
# Retrieve
|
1175
|
+
# Retrieve NAT Gateway rules
|
1176
1176
|
result = api_instance.datacenters_natgateways_rules_find_by_nat_gateway_rule_id(datacenter_id, nat_gateway_id, nat_gateway_rule_id, opts)
|
1177
1177
|
p result
|
1178
1178
|
rescue Ionoscloud::ApiError => e
|
@@ -1188,7 +1188,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1188
1188
|
|
1189
1189
|
```ruby
|
1190
1190
|
begin
|
1191
|
-
# Retrieve
|
1191
|
+
# Retrieve NAT Gateway rules
|
1192
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)
|
1193
1193
|
p status_code # => 2xx
|
1194
1194
|
p headers # => { ... }
|
@@ -1203,15 +1203,15 @@ end
|
|
1203
1203
|
| Name | Type | Description | Notes |
|
1204
1204
|
| ---- | ---- | ----------- | ----- |
|
1205
1205
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1206
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1207
|
-
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT
|
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
1208
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1209
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
1210
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1211
1211
|
|
1212
1212
|
### Return type
|
1213
1213
|
|
1214
|
-
[**NatGatewayRule**](NatGatewayRule.md)
|
1214
|
+
[**NatGatewayRule**](../models/NatGatewayRule.md)
|
1215
1215
|
|
1216
1216
|
### Authorization
|
1217
1217
|
|
@@ -1227,9 +1227,9 @@ Basic Authentication, Token Authentication
|
|
1227
1227
|
|
1228
1228
|
> <NatGatewayRules> datacenters_natgateways_rules_get(datacenter_id, nat_gateway_id, opts)
|
1229
1229
|
|
1230
|
-
List NAT
|
1230
|
+
List NAT Gateway rules
|
1231
1231
|
|
1232
|
-
|
1232
|
+
List all rules for the specified NAT Gateway.
|
1233
1233
|
|
1234
1234
|
### Examples
|
1235
1235
|
|
@@ -1250,7 +1250,7 @@ end
|
|
1250
1250
|
|
1251
1251
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1252
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
|
1253
|
+
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
1254
1254
|
opts = {
|
1255
1255
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1256
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
|
@@ -1258,7 +1258,7 @@ opts = {
|
|
1258
1258
|
}
|
1259
1259
|
|
1260
1260
|
begin
|
1261
|
-
# List NAT
|
1261
|
+
# List NAT Gateway rules
|
1262
1262
|
result = api_instance.datacenters_natgateways_rules_get(datacenter_id, nat_gateway_id, opts)
|
1263
1263
|
p result
|
1264
1264
|
rescue Ionoscloud::ApiError => e
|
@@ -1274,7 +1274,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1274
1274
|
|
1275
1275
|
```ruby
|
1276
1276
|
begin
|
1277
|
-
# List NAT
|
1277
|
+
# List NAT Gateway rules
|
1278
1278
|
data, status_code, headers = api_instance.datacenters_natgateways_rules_get_with_http_info(datacenter_id, nat_gateway_id, opts)
|
1279
1279
|
p status_code # => 2xx
|
1280
1280
|
p headers # => { ... }
|
@@ -1289,14 +1289,14 @@ end
|
|
1289
1289
|
| Name | Type | Description | Notes |
|
1290
1290
|
| ---- | ---- | ----------- | ----- |
|
1291
1291
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1292
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1292
|
+
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1293
1293
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1294
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
1295
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1296
1296
|
|
1297
1297
|
### Return type
|
1298
1298
|
|
1299
|
-
[**NatGatewayRules**](NatGatewayRules.md)
|
1299
|
+
[**NatGatewayRules**](../models/NatGatewayRules.md)
|
1300
1300
|
|
1301
1301
|
### Authorization
|
1302
1302
|
|
@@ -1312,9 +1312,9 @@ Basic Authentication, Token Authentication
|
|
1312
1312
|
|
1313
1313
|
> <NatGatewayRule> datacenters_natgateways_rules_patch(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule_properties, opts)
|
1314
1314
|
|
1315
|
-
Partially modify
|
1315
|
+
Partially modify NAT Gateway rules
|
1316
1316
|
|
1317
|
-
|
1317
|
+
Update the properties of the specified NAT Gateway rule.
|
1318
1318
|
|
1319
1319
|
### Examples
|
1320
1320
|
|
@@ -1335,9 +1335,9 @@ end
|
|
1335
1335
|
|
1336
1336
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1337
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
|
1339
|
-
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT
|
1340
|
-
nat_gateway_rule_properties = Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway
|
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.
|
1341
1341
|
opts = {
|
1342
1342
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1343
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
|
@@ -1345,7 +1345,7 @@ opts = {
|
|
1345
1345
|
}
|
1346
1346
|
|
1347
1347
|
begin
|
1348
|
-
# Partially modify
|
1348
|
+
# Partially modify NAT Gateway rules
|
1349
1349
|
result = api_instance.datacenters_natgateways_rules_patch(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule_properties, opts)
|
1350
1350
|
p result
|
1351
1351
|
rescue Ionoscloud::ApiError => e
|
@@ -1361,7 +1361,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1361
1361
|
|
1362
1362
|
```ruby
|
1363
1363
|
begin
|
1364
|
-
# Partially modify
|
1364
|
+
# Partially modify NAT Gateway rules
|
1365
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)
|
1366
1366
|
p status_code # => 2xx
|
1367
1367
|
p headers # => { ... }
|
@@ -1376,16 +1376,16 @@ end
|
|
1376
1376
|
| Name | Type | Description | Notes |
|
1377
1377
|
| ---- | ---- | ----------- | ----- |
|
1378
1378
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1379
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1380
|
-
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT
|
1381
|
-
| **nat_gateway_rule_properties** | [**NatGatewayRuleProperties**](NatGatewayRuleProperties.md) |
|
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
1382
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1383
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
1384
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1385
1385
|
|
1386
1386
|
### Return type
|
1387
1387
|
|
1388
|
-
[**NatGatewayRule**](NatGatewayRule.md)
|
1388
|
+
[**NatGatewayRule**](../models/NatGatewayRule.md)
|
1389
1389
|
|
1390
1390
|
### Authorization
|
1391
1391
|
|
@@ -1401,9 +1401,9 @@ Basic Authentication, Token Authentication
|
|
1401
1401
|
|
1402
1402
|
> <NatGatewayRule> datacenters_natgateways_rules_post(datacenter_id, nat_gateway_id, nat_gateway_rule, opts)
|
1403
1403
|
|
1404
|
-
Create
|
1404
|
+
Create NAT Gateway rules
|
1405
1405
|
|
1406
|
-
|
1406
|
+
Create a rule for the specified NAT Gateway.
|
1407
1407
|
|
1408
1408
|
### Examples
|
1409
1409
|
|
@@ -1424,8 +1424,8 @@ end
|
|
1424
1424
|
|
1425
1425
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1426
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
|
1428
|
-
nat_gateway_rule = Ionoscloud::NatGatewayRule.new({properties: Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway
|
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.
|
1429
1429
|
opts = {
|
1430
1430
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1431
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
|
@@ -1433,7 +1433,7 @@ opts = {
|
|
1433
1433
|
}
|
1434
1434
|
|
1435
1435
|
begin
|
1436
|
-
# Create
|
1436
|
+
# Create NAT Gateway rules
|
1437
1437
|
result = api_instance.datacenters_natgateways_rules_post(datacenter_id, nat_gateway_id, nat_gateway_rule, opts)
|
1438
1438
|
p result
|
1439
1439
|
rescue Ionoscloud::ApiError => e
|
@@ -1449,7 +1449,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1449
1449
|
|
1450
1450
|
```ruby
|
1451
1451
|
begin
|
1452
|
-
# Create
|
1452
|
+
# Create NAT Gateway rules
|
1453
1453
|
data, status_code, headers = api_instance.datacenters_natgateways_rules_post_with_http_info(datacenter_id, nat_gateway_id, nat_gateway_rule, opts)
|
1454
1454
|
p status_code # => 2xx
|
1455
1455
|
p headers # => { ... }
|
@@ -1464,15 +1464,15 @@ end
|
|
1464
1464
|
| Name | Type | Description | Notes |
|
1465
1465
|
| ---- | ---- | ----------- | ----- |
|
1466
1466
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1467
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1468
|
-
| **nat_gateway_rule** | [**NatGatewayRule**](NatGatewayRule.md) | NAT
|
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
1469
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1470
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
1471
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1472
1472
|
|
1473
1473
|
### Return type
|
1474
1474
|
|
1475
|
-
[**NatGatewayRule**](NatGatewayRule.md)
|
1475
|
+
[**NatGatewayRule**](../models/NatGatewayRule.md)
|
1476
1476
|
|
1477
1477
|
### Authorization
|
1478
1478
|
|
@@ -1488,9 +1488,9 @@ Basic Authentication, Token Authentication
|
|
1488
1488
|
|
1489
1489
|
> <NatGatewayRule> datacenters_natgateways_rules_put(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule, opts)
|
1490
1490
|
|
1491
|
-
Modify
|
1491
|
+
Modify NAT Gateway rules
|
1492
1492
|
|
1493
|
-
|
1493
|
+
Modify the specified NAT Gateway rule.
|
1494
1494
|
|
1495
1495
|
### Examples
|
1496
1496
|
|
@@ -1511,9 +1511,9 @@ end
|
|
1511
1511
|
|
1512
1512
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1513
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
|
1515
|
-
nat_gateway_rule_id = 'nat_gateway_rule_id_example' # String | The unique ID of the NAT
|
1516
|
-
nat_gateway_rule = Ionoscloud::NatGatewayRulePut.new({properties: Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway
|
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.
|
1517
1517
|
opts = {
|
1518
1518
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1519
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
|
@@ -1521,7 +1521,7 @@ opts = {
|
|
1521
1521
|
}
|
1522
1522
|
|
1523
1523
|
begin
|
1524
|
-
# Modify
|
1524
|
+
# Modify NAT Gateway rules
|
1525
1525
|
result = api_instance.datacenters_natgateways_rules_put(datacenter_id, nat_gateway_id, nat_gateway_rule_id, nat_gateway_rule, opts)
|
1526
1526
|
p result
|
1527
1527
|
rescue Ionoscloud::ApiError => e
|
@@ -1537,7 +1537,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1537
1537
|
|
1538
1538
|
```ruby
|
1539
1539
|
begin
|
1540
|
-
# Modify
|
1540
|
+
# Modify NAT Gateway rules
|
1541
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)
|
1542
1542
|
p status_code # => 2xx
|
1543
1543
|
p headers # => { ... }
|
@@ -1552,16 +1552,16 @@ end
|
|
1552
1552
|
| Name | Type | Description | Notes |
|
1553
1553
|
| ---- | ---- | ----------- | ----- |
|
1554
1554
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1555
|
-
| **nat_gateway_id** | **String** | The unique ID of the NAT
|
1556
|
-
| **nat_gateway_rule_id** | **String** | The unique ID of the NAT
|
1557
|
-
| **nat_gateway_rule** | [**NatGatewayRulePut**](NatGatewayRulePut.md) |
|
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
1558
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1559
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
1560
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1561
1561
|
|
1562
1562
|
### Return type
|
1563
1563
|
|
1564
|
-
[**NatGatewayRule**](NatGatewayRule.md)
|
1564
|
+
[**NatGatewayRule**](../models/NatGatewayRule.md)
|
1565
1565
|
|
1566
1566
|
### Authorization
|
1567
1567
|
|