ionoscloud 6.1.1 → 6.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +5 -5
- data/docs/README.md +1 -1
- data/docs/api/ApplicationLoadBalancersApi.md +116 -116
- data/docs/api/BackupUnitsApi.md +3 -3
- data/docs/api/ContractResourcesApi.md +5 -5
- data/docs/api/DataCentersApi.md +18 -18
- data/docs/api/DefaultApi.md +5 -5
- data/docs/api/FirewallRulesApi.md +13 -13
- data/docs/api/FlowLogsApi.md +11 -11
- data/docs/api/IPBlocksApi.md +13 -13
- data/docs/api/ImagesApi.md +7 -7
- data/docs/api/KubernetesApi.md +92 -92
- data/docs/api/LANsApi.md +5 -5
- data/docs/api/LabelsApi.md +55 -55
- data/docs/api/LoadBalancersApi.md +15 -15
- data/docs/api/LocationsApi.md +15 -15
- data/docs/api/NATGatewaysApi.md +39 -39
- data/docs/api/NetworkInterfacesApi.md +8 -8
- data/docs/api/NetworkLoadBalancersApi.md +33 -33
- data/docs/api/PrivateCrossConnectsApi.md +7 -7
- data/docs/api/ServersApi.md +84 -84
- data/docs/api/SnapshotsApi.md +7 -7
- data/docs/api/TargetGroupsApi.md +36 -36
- data/docs/api/TemplatesApi.md +12 -12
- data/docs/api/UserManagementApi.md +12 -12
- data/docs/api/UserS3KeysApi.md +6 -6
- data/docs/api/VolumesApi.md +13 -13
- data/docs/models/ApplicationLoadBalancer.md +18 -6
- data/docs/models/ApplicationLoadBalancerEntities.md +2 -0
- data/docs/models/ApplicationLoadBalancerForwardingRule.md +15 -5
- data/docs/models/ApplicationLoadBalancerForwardingRuleProperties.md +24 -10
- data/docs/models/ApplicationLoadBalancerForwardingRulePut.md +13 -5
- data/docs/models/ApplicationLoadBalancerForwardingRules.md +22 -8
- data/docs/models/ApplicationLoadBalancerHttpRule.md +32 -14
- data/docs/models/ApplicationLoadBalancerHttpRuleCondition.md +17 -7
- data/docs/models/ApplicationLoadBalancerProperties.md +18 -8
- data/docs/models/ApplicationLoadBalancerPut.md +13 -5
- data/docs/models/ApplicationLoadBalancers.md +22 -8
- data/docs/models/AttachedVolumes.md +22 -8
- data/docs/models/BackupUnit.md +15 -5
- data/docs/models/BackupUnitProperties.md +9 -3
- data/docs/models/BackupUnitSSO.md +2 -0
- data/docs/models/BackupUnits.md +13 -5
- data/docs/models/BalancedNics.md +22 -8
- data/docs/models/Cdroms.md +22 -8
- data/docs/models/ConnectableDatacenter.md +9 -3
- data/docs/models/Contract.md +7 -3
- data/docs/models/ContractProperties.md +17 -7
- data/docs/models/Contracts.md +13 -5
- data/docs/models/CpuArchitectureProperties.md +8 -0
- data/docs/models/DataCenterEntities.md +20 -8
- data/docs/models/Datacenter.md +18 -6
- data/docs/models/DatacenterElementMetadata.md +23 -7
- data/docs/models/DatacenterProperties.md +22 -8
- data/docs/models/Datacenters.md +22 -8
- data/docs/models/Error.md +4 -0
- data/docs/models/ErrorMessage.md +4 -0
- data/docs/models/FirewallRule.md +15 -5
- data/docs/models/FirewallRules.md +22 -8
- data/docs/models/FirewallruleProperties.md +35 -11
- data/docs/models/FlowLog.md +15 -5
- data/docs/models/FlowLogProperties.md +12 -4
- data/docs/models/FlowLogPut.md +13 -5
- data/docs/models/FlowLogs.md +22 -8
- data/docs/models/Group.md +16 -6
- data/docs/models/GroupEntities.md +7 -3
- data/docs/models/GroupMembers.md +13 -5
- data/docs/models/GroupProperties.md +60 -20
- data/docs/models/GroupShare.md +13 -5
- data/docs/models/GroupShareProperties.md +4 -0
- data/docs/models/GroupShares.md +13 -5
- data/docs/models/GroupUsers.md +13 -5
- data/docs/models/Groups.md +13 -5
- data/docs/models/IPFailover.md +4 -0
- data/docs/models/Image.md +15 -5
- data/docs/models/ImageProperties.md +64 -26
- data/docs/models/Images.md +13 -5
- data/docs/models/Info.md +11 -5
- data/docs/models/IpBlock.md +15 -5
- data/docs/models/IpBlockProperties.md +14 -4
- data/docs/models/IpBlocks.md +22 -8
- data/docs/models/IpConsumer.md +27 -9
- data/docs/models/KubernetesAutoScaling.md +8 -4
- data/docs/models/KubernetesCluster.md +19 -7
- data/docs/models/KubernetesClusterEntities.md +2 -0
- data/docs/models/KubernetesClusterForPost.md +19 -7
- data/docs/models/KubernetesClusterForPut.md +18 -6
- data/docs/models/KubernetesClusterProperties.md +23 -9
- data/docs/models/KubernetesClusterPropertiesForPost.md +16 -6
- data/docs/models/KubernetesClusterPropertiesForPut.md +16 -6
- data/docs/models/KubernetesClusters.md +15 -7
- data/docs/models/KubernetesMaintenanceWindow.md +6 -2
- data/docs/models/KubernetesNode.md +15 -5
- data/docs/models/KubernetesNodeMetadata.md +18 -8
- data/docs/models/KubernetesNodePool.md +15 -5
- data/docs/models/KubernetesNodePoolForPost.md +15 -5
- data/docs/models/KubernetesNodePoolForPut.md +15 -5
- data/docs/models/KubernetesNodePoolLan.md +14 -4
- data/docs/models/KubernetesNodePoolLanRoutes.md +7 -3
- data/docs/models/KubernetesNodePoolProperties.md +62 -28
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +58 -26
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +32 -14
- data/docs/models/KubernetesNodePools.md +13 -5
- data/docs/models/KubernetesNodeProperties.md +15 -7
- data/docs/models/KubernetesNodes.md +13 -5
- data/docs/models/Label.md +15 -5
- data/docs/models/LabelProperties.md +14 -4
- data/docs/models/LabelResource.md +15 -5
- data/docs/models/LabelResourceProperties.md +4 -0
- data/docs/models/LabelResources.md +22 -8
- data/docs/models/Labels.md +13 -5
- data/docs/models/Lan.md +18 -6
- data/docs/models/LanEntities.md +2 -0
- data/docs/models/LanNics.md +22 -8
- data/docs/models/LanPost.md +19 -7
- data/docs/models/LanProperties.md +10 -2
- data/docs/models/LanPropertiesPost.md +10 -2
- data/docs/models/Lans.md +22 -8
- data/docs/models/Loadbalancer.md +18 -6
- data/docs/models/LoadbalancerEntities.md +2 -0
- data/docs/models/LoadbalancerProperties.md +10 -4
- data/docs/models/Loadbalancers.md +22 -8
- data/docs/models/Location.md +15 -5
- data/docs/models/LocationProperties.md +16 -8
- data/docs/models/Locations.md +13 -5
- data/docs/models/NatGateway.md +18 -6
- data/docs/models/NatGatewayEntities.md +7 -3
- data/docs/models/NatGatewayLanProperties.md +7 -3
- data/docs/models/NatGatewayProperties.md +9 -3
- data/docs/models/NatGatewayPut.md +13 -5
- data/docs/models/NatGatewayRule.md +15 -5
- data/docs/models/NatGatewayRuleProperties.md +20 -6
- data/docs/models/NatGatewayRulePut.md +13 -5
- data/docs/models/NatGatewayRules.md +13 -5
- data/docs/models/NatGateways.md +22 -8
- data/docs/models/NetworkLoadBalancer.md +18 -6
- data/docs/models/NetworkLoadBalancerEntities.md +4 -0
- data/docs/models/NetworkLoadBalancerForwardingRule.md +15 -5
- data/docs/models/NetworkLoadBalancerForwardingRuleHealthCheck.md +11 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +21 -7
- data/docs/models/NetworkLoadBalancerForwardingRulePut.md +13 -5
- data/docs/models/NetworkLoadBalancerForwardingRuleTarget.md +11 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md +6 -0
- data/docs/models/NetworkLoadBalancerForwardingRules.md +22 -8
- data/docs/models/NetworkLoadBalancerProperties.md +17 -7
- data/docs/models/NetworkLoadBalancerPut.md +13 -5
- data/docs/models/NetworkLoadBalancers.md +22 -8
- data/docs/models/Nic.md +18 -6
- data/docs/models/NicEntities.md +7 -3
- data/docs/models/NicProperties.md +30 -13
- data/docs/models/NicPut.md +13 -5
- data/docs/models/Nics.md +22 -8
- data/docs/models/NoStateMetaData.md +21 -7
- data/docs/models/PaginationLinks.md +9 -3
- data/docs/models/Peer.md +15 -5
- data/docs/models/PrivateCrossConnect.md +15 -5
- data/docs/models/PrivateCrossConnectProperties.md +13 -5
- data/docs/models/PrivateCrossConnects.md +13 -5
- data/docs/models/RemoteConsoleUrl.md +2 -0
- data/docs/models/Request.md +15 -5
- data/docs/models/RequestMetadata.md +10 -2
- data/docs/models/RequestProperties.md +12 -4
- data/docs/models/RequestStatus.md +13 -5
- data/docs/models/RequestStatusMetadata.md +12 -4
- data/docs/models/RequestTarget.md +7 -3
- data/docs/models/Requests.md +22 -8
- data/docs/models/Resource.md +18 -6
- data/docs/models/ResourceEntities.md +2 -0
- data/docs/models/ResourceGroups.md +13 -5
- data/docs/models/ResourceLimits.md +88 -44
- data/docs/models/ResourceProperties.md +4 -0
- data/docs/models/ResourceReference.md +9 -3
- data/docs/models/Resources.md +13 -5
- data/docs/models/ResourcesUsers.md +13 -5
- data/docs/models/S3Bucket.md +4 -2
- data/docs/models/S3Key.md +15 -5
- data/docs/models/S3KeyMetadata.md +7 -3
- data/docs/models/S3KeyProperties.md +7 -3
- data/docs/models/S3Keys.md +13 -5
- data/docs/models/S3ObjectStorageSSO.md +2 -0
- data/docs/models/Server.md +18 -6
- data/docs/models/ServerEntities.md +9 -3
- data/docs/models/ServerProperties.md +33 -13
- data/docs/models/Servers.md +22 -8
- data/docs/models/Snapshot.md +15 -5
- data/docs/models/SnapshotProperties.md +55 -23
- data/docs/models/Snapshots.md +13 -5
- data/docs/models/TargetGroup.md +15 -5
- data/docs/models/TargetGroupHealthCheck.md +10 -4
- data/docs/models/TargetGroupHttpHealthCheck.md +22 -10
- data/docs/models/TargetGroupProperties.md +20 -8
- data/docs/models/TargetGroupPut.md +13 -5
- data/docs/models/TargetGroupTarget.md +16 -6
- data/docs/models/TargetGroups.md +22 -8
- data/docs/models/TargetPortRange.md +7 -3
- data/docs/models/Template.md +15 -5
- data/docs/models/TemplateProperties.md +10 -2
- data/docs/models/Templates.md +13 -5
- data/docs/models/Token.md +2 -0
- data/docs/models/User.md +18 -6
- data/docs/models/UserMetadata.md +8 -2
- data/docs/models/UserPost.md +2 -0
- data/docs/models/UserProperties.md +26 -10
- data/docs/models/UserPropertiesPost.md +26 -10
- data/docs/models/UserPropertiesPut.md +25 -9
- data/docs/models/UserPut.md +4 -0
- data/docs/models/Users.md +22 -8
- data/docs/models/UsersEntities.md +7 -3
- data/docs/models/Volume.md +15 -5
- data/docs/models/VolumeProperties.md +74 -30
- data/docs/models/Volumes.md +22 -8
- data/docs/summary.md +22 -4
- data/lib/ionoscloud/api/_api.rb +4 -4
- data/lib/ionoscloud/api/application_load_balancers_api.rb +86 -86
- data/lib/ionoscloud/api/contract_resources_api.rb +4 -4
- data/lib/ionoscloud/api/data_centers_api.rb +12 -12
- data/lib/ionoscloud/api/firewall_rules_api.rb +8 -8
- data/lib/ionoscloud/api/flow_logs_api.rb +4 -4
- data/lib/ionoscloud/api/images_api.rb +4 -4
- data/lib/ionoscloud/api/ip_blocks_api.rb +8 -8
- data/lib/ionoscloud/api/kubernetes_api.rb +70 -70
- data/lib/ionoscloud/api/labels_api.rb +36 -36
- data/lib/ionoscloud/api/lans_api.rb +2 -2
- data/lib/ionoscloud/api/load_balancers_api.rb +10 -10
- data/lib/ionoscloud/api/locations_api.rb +12 -12
- data/lib/ionoscloud/api/nat_gateways_api.rb +18 -18
- data/lib/ionoscloud/api/network_interfaces_api.rb +4 -4
- data/lib/ionoscloud/api/network_load_balancers_api.rb +12 -12
- data/lib/ionoscloud/api/private_cross_connects_api.rb +4 -4
- data/lib/ionoscloud/api/servers_api.rb +62 -62
- data/lib/ionoscloud/api/snapshots_api.rb +4 -4
- data/lib/ionoscloud/api/target_groups_api.rb +24 -24
- data/lib/ionoscloud/api/templates_api.rb +10 -10
- data/lib/ionoscloud/api/user_management_api.rb +4 -4
- data/lib/ionoscloud/api/user_s3_keys_api.rb +4 -4
- data/lib/ionoscloud/api/volumes_api.rb +9 -9
- data/lib/ionoscloud/api_client.rb +1 -1
- data/lib/ionoscloud/models/application_load_balancer.rb +27 -27
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rule.rb +33 -33
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_properties.rb +54 -54
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rule_put.rb +29 -29
- data/lib/ionoscloud/models/application_load_balancer_forwarding_rules.rb +40 -40
- data/lib/ionoscloud/models/application_load_balancer_http_rule.rb +69 -81
- data/lib/ionoscloud/models/application_load_balancer_http_rule_condition.rb +43 -43
- data/lib/ionoscloud/models/application_load_balancer_properties.rb +40 -40
- data/lib/ionoscloud/models/application_load_balancer_put.rb +29 -29
- data/lib/ionoscloud/models/application_load_balancers.rb +40 -40
- data/lib/ionoscloud/models/attached_volumes.rb +40 -40
- data/lib/ionoscloud/models/backup_unit.rb +38 -38
- data/lib/ionoscloud/models/backup_unit_properties.rb +20 -20
- data/lib/ionoscloud/models/backup_units.rb +32 -32
- data/lib/ionoscloud/models/balanced_nics.rb +40 -40
- data/lib/ionoscloud/models/cdroms.rb +40 -40
- data/lib/ionoscloud/models/connectable_datacenter.rb +13 -13
- data/lib/ionoscloud/models/contract.rb +16 -16
- data/lib/ionoscloud/models/contract_properties.rb +19 -19
- data/lib/ionoscloud/models/contracts.rb +28 -28
- data/lib/ionoscloud/models/data_center_entities.rb +32 -32
- data/lib/ionoscloud/models/datacenter.rb +27 -27
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +39 -39
- data/lib/ionoscloud/models/datacenter_properties.rb +37 -37
- data/lib/ionoscloud/models/datacenters.rb +40 -40
- data/lib/ionoscloud/models/firewall_rule.rb +33 -33
- data/lib/ionoscloud/models/firewall_rules.rb +40 -40
- data/lib/ionoscloud/models/firewallrule_properties.rb +144 -164
- data/lib/ionoscloud/models/flow_log.rb +33 -33
- data/lib/ionoscloud/models/flow_log_properties.rb +31 -31
- data/lib/ionoscloud/models/flow_log_put.rb +29 -29
- data/lib/ionoscloud/models/flow_logs.rb +40 -40
- data/lib/ionoscloud/models/group.rb +27 -27
- data/lib/ionoscloud/models/group_entities.rb +13 -13
- data/lib/ionoscloud/models/group_members.rb +28 -28
- data/lib/ionoscloud/models/group_properties.rb +144 -90
- data/lib/ionoscloud/models/group_share.rb +29 -29
- data/lib/ionoscloud/models/group_shares.rb +28 -28
- data/lib/ionoscloud/models/group_users.rb +28 -28
- data/lib/ionoscloud/models/groups.rb +28 -28
- data/lib/ionoscloud/models/image.rb +33 -33
- data/lib/ionoscloud/models/image_properties.rb +152 -152
- data/lib/ionoscloud/models/images.rb +28 -28
- data/lib/ionoscloud/models/info.rb +3 -3
- data/lib/ionoscloud/models/ip_block.rb +33 -33
- data/lib/ionoscloud/models/ip_block_properties.rb +26 -26
- data/lib/ionoscloud/models/ip_blocks.rb +40 -40
- data/lib/ionoscloud/models/ip_consumer.rb +51 -51
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +21 -21
- data/lib/ionoscloud/models/kubernetes_cluster.rb +33 -33
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +33 -33
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +33 -33
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +47 -47
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +21 -21
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +21 -21
- data/lib/ionoscloud/models/kubernetes_clusters.rb +32 -32
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +2 -2
- data/lib/ionoscloud/models/kubernetes_node.rb +38 -38
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +31 -31
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +38 -38
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +38 -38
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +38 -38
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +30 -12
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +15 -15
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +149 -149
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +148 -148
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +53 -53
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +32 -32
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +29 -29
- data/lib/ionoscloud/models/kubernetes_nodes.rb +32 -32
- data/lib/ionoscloud/models/label.rb +38 -38
- data/lib/ionoscloud/models/label_properties.rb +15 -15
- data/lib/ionoscloud/models/label_resource.rb +38 -38
- data/lib/ionoscloud/models/label_resources.rb +47 -47
- data/lib/ionoscloud/models/labels.rb +32 -32
- data/lib/ionoscloud/models/lan.rb +27 -27
- data/lib/ionoscloud/models/lan_nics.rb +40 -40
- data/lib/ionoscloud/models/lan_post.rb +35 -35
- data/lib/ionoscloud/models/lan_properties.rb +14 -14
- data/lib/ionoscloud/models/lan_properties_post.rb +14 -14
- data/lib/ionoscloud/models/lans.rb +40 -40
- data/lib/ionoscloud/models/loadbalancer.rb +27 -27
- data/lib/ionoscloud/models/loadbalancer_properties.rb +15 -32
- data/lib/ionoscloud/models/loadbalancers.rb +40 -40
- data/lib/ionoscloud/models/location.rb +33 -33
- data/lib/ionoscloud/models/location_properties.rb +17 -17
- data/lib/ionoscloud/models/locations.rb +28 -28
- data/lib/ionoscloud/models/nat_gateway.rb +27 -27
- data/lib/ionoscloud/models/nat_gateway_entities.rb +13 -13
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +17 -17
- data/lib/ionoscloud/models/nat_gateway_properties.rb +20 -20
- data/lib/ionoscloud/models/nat_gateway_put.rb +29 -29
- data/lib/ionoscloud/models/nat_gateway_rule.rb +33 -33
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +32 -32
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +29 -29
- data/lib/ionoscloud/models/nat_gateway_rules.rb +28 -28
- data/lib/ionoscloud/models/nat_gateways.rb +40 -40
- data/lib/ionoscloud/models/network_load_balancer.rb +27 -27
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +33 -33
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +15 -15
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +47 -47
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +29 -29
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +19 -19
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +40 -40
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +38 -38
- data/lib/ionoscloud/models/network_load_balancer_put.rb +29 -29
- data/lib/ionoscloud/models/network_load_balancers.rb +40 -40
- data/lib/ionoscloud/models/nic.rb +27 -27
- data/lib/ionoscloud/models/nic_entities.rb +13 -13
- data/lib/ionoscloud/models/nic_properties.rb +66 -64
- data/lib/ionoscloud/models/nic_put.rb +29 -29
- data/lib/ionoscloud/models/nics.rb +40 -40
- data/lib/ionoscloud/models/no_state_meta_data.rb +39 -39
- data/lib/ionoscloud/models/pagination_links.rb +18 -18
- data/lib/ionoscloud/models/peer.rb +29 -29
- data/lib/ionoscloud/models/private_cross_connect.rb +33 -33
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +22 -22
- data/lib/ionoscloud/models/private_cross_connects.rb +28 -28
- data/lib/ionoscloud/models/request.rb +33 -33
- data/lib/ionoscloud/models/request_metadata.rb +14 -14
- data/lib/ionoscloud/models/request_properties.rb +13 -13
- data/lib/ionoscloud/models/request_status.rb +27 -27
- data/lib/ionoscloud/models/request_status_metadata.rb +18 -18
- data/lib/ionoscloud/models/request_target.rb +15 -15
- data/lib/ionoscloud/models/requests.rb +49 -49
- data/lib/ionoscloud/models/resource.rb +27 -27
- data/lib/ionoscloud/models/resource_groups.rb +28 -28
- data/lib/ionoscloud/models/resource_limits.rb +205 -205
- data/lib/ionoscloud/models/resource_reference.rb +20 -20
- data/lib/ionoscloud/models/resources.rb +28 -28
- data/lib/ionoscloud/models/resources_users.rb +28 -28
- data/lib/ionoscloud/models/s3_bucket.rb +1 -1
- data/lib/ionoscloud/models/s3_key.rb +33 -33
- data/lib/ionoscloud/models/s3_key_metadata.rb +15 -15
- data/lib/ionoscloud/models/s3_key_properties.rb +15 -15
- data/lib/ionoscloud/models/s3_keys.rb +28 -28
- data/lib/ionoscloud/models/server.rb +27 -27
- data/lib/ionoscloud/models/server_entities.rb +13 -13
- data/lib/ionoscloud/models/server_properties.rb +77 -87
- data/lib/ionoscloud/models/servers.rb +40 -40
- data/lib/ionoscloud/models/snapshot.rb +33 -33
- data/lib/ionoscloud/models/snapshot_properties.rb +109 -109
- data/lib/ionoscloud/models/snapshots.rb +28 -28
- data/lib/ionoscloud/models/target_group.rb +33 -33
- data/lib/ionoscloud/models/target_group_health_check.rb +15 -15
- data/lib/ionoscloud/models/target_group_http_health_check.rb +49 -49
- data/lib/ionoscloud/models/target_group_properties.rb +52 -52
- data/lib/ionoscloud/models/target_group_put.rb +29 -29
- data/lib/ionoscloud/models/target_group_target.rb +38 -38
- data/lib/ionoscloud/models/target_groups.rb +40 -40
- data/lib/ionoscloud/models/target_port_range.rb +15 -15
- data/lib/ionoscloud/models/template.rb +33 -33
- data/lib/ionoscloud/models/template_properties.rb +20 -20
- data/lib/ionoscloud/models/templates.rb +28 -28
- data/lib/ionoscloud/models/user.rb +27 -27
- data/lib/ionoscloud/models/user_metadata.rb +14 -14
- data/lib/ionoscloud/models/user_properties.rb +36 -36
- data/lib/ionoscloud/models/user_properties_post.rb +36 -36
- data/lib/ionoscloud/models/user_properties_put.rb +48 -48
- data/lib/ionoscloud/models/users.rb +40 -40
- data/lib/ionoscloud/models/users_entities.rb +13 -13
- data/lib/ionoscloud/models/volume.rb +33 -33
- data/lib/ionoscloud/models/volume_properties.rb +185 -184
- data/lib/ionoscloud/models/volumes.rb +40 -40
- data/lib/ionoscloud/version.rb +1 -1
- metadata +2 -2
data/docs/api/NATGatewaysApi.md
CHANGED
@@ -10,18 +10,18 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
10
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
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
|
13
|
+
| [**datacenters_natgateways_flowlogs_post**](NATGatewaysApi.md#datacenters_natgateways_flowlogs_post) | **POST** /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs | Create a NAT Gateway Flow Log |
|
14
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
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
|
17
|
+
| [**datacenters_natgateways_post**](NATGatewaysApi.md#datacenters_natgateways_post) | **POST** /datacenters/{datacenterId}/natgateways | Create a NAT Gateway |
|
18
18
|
| [**datacenters_natgateways_put**](NATGatewaysApi.md#datacenters_natgateways_put) | **PUT** /datacenters/{datacenterId}/natgateways/{natGatewayId} | Modify NAT Gateways |
|
19
19
|
| [**datacenters_natgateways_rules_delete**](NATGatewaysApi.md#datacenters_natgateways_rules_delete) | **DELETE** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Delete NAT Gateway rules |
|
20
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
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
|
23
|
-
| [**datacenters_natgateways_rules_post**](NATGatewaysApi.md#datacenters_natgateways_rules_post) | **POST** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules | Create NAT Gateway
|
24
|
-
| [**datacenters_natgateways_rules_put**](NATGatewaysApi.md#datacenters_natgateways_rules_put) | **PUT** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Modify NAT Gateway
|
22
|
+
| [**datacenters_natgateways_rules_patch**](NATGatewaysApi.md#datacenters_natgateways_rules_patch) | **PATCH** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Partially Modify a NAT Gateway Rule by ID |
|
23
|
+
| [**datacenters_natgateways_rules_post**](NATGatewaysApi.md#datacenters_natgateways_rules_post) | **POST** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules | Create a NAT Gateway Rule |
|
24
|
+
| [**datacenters_natgateways_rules_put**](NATGatewaysApi.md#datacenters_natgateways_rules_put) | **PUT** /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId} | Modify a NAT Gateway Rule by ID |
|
25
25
|
|
26
26
|
|
27
27
|
## datacenters_natgateways_delete
|
@@ -478,7 +478,7 @@ api_instance = Ionoscloud::NATGatewaysApi.new
|
|
478
478
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
479
479
|
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
480
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({
|
481
|
+
nat_gateway_flow_log_properties = Ionoscloud::FlowLogProperties.new({action: 'ACCEPTED', bucket: 'bucketName/key', direction: 'INGRESS', name: 'My resource'}) # 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
|
@@ -518,7 +518,7 @@ end
|
|
518
518
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
519
519
|
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
520
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. | |
|
521
|
+
| **nat_gateway_flow_log_properties** | [**FlowLogProperties**](../models/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
|
|
@@ -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
|
-
Create NAT Gateway Flow
|
543
|
+
Create a NAT Gateway Flow Log
|
544
544
|
|
545
|
-
|
545
|
+
Adds a new Flow Log to the specified NAT Gateway.
|
546
546
|
|
547
547
|
### Examples
|
548
548
|
|
@@ -564,14 +564,14 @@ end
|
|
564
564
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
565
565
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
566
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({
|
567
|
+
nat_gateway_flow_log = Ionoscloud::FlowLog.new({properties: Ionoscloud::FlowLogProperties.new({action: 'ACCEPTED', bucket: 'bucketName/key', direction: 'INGRESS', name: 'My resource'})}) # 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
|
-
# Create NAT Gateway Flow
|
574
|
+
# Create a NAT Gateway Flow Log
|
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
|
-
# Create NAT Gateway Flow
|
590
|
+
# Create a NAT Gateway Flow Log
|
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 # => { ... }
|
@@ -603,7 +603,7 @@ end
|
|
603
603
|
| ---- | ---- | ----------- | ----- |
|
604
604
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
605
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. | |
|
606
|
+
| **nat_gateway_flow_log** | [**FlowLog**](../models/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
|
|
@@ -650,7 +650,7 @@ api_instance = Ionoscloud::NATGatewaysApi.new
|
|
650
650
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
651
651
|
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
652
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({
|
653
|
+
nat_gateway_flow_log = Ionoscloud::FlowLogPut.new({properties: Ionoscloud::FlowLogProperties.new({action: 'ACCEPTED', bucket: 'bucketName/key', direction: 'INGRESS', name: 'My resource'})}) # 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
|
@@ -690,7 +690,7 @@ end
|
|
690
690
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
691
691
|
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
692
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. | |
|
693
|
+
| **nat_gateway_flow_log** | [**FlowLogPut**](../models/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
|
|
@@ -859,7 +859,7 @@ end
|
|
859
859
|
| ---- | ---- | ----------- | ----- |
|
860
860
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
861
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. | |
|
862
|
+
| **nat_gateway_properties** | [**NatGatewayProperties**](../models/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, for which all API requests are to be executed. | [optional] |
|
@@ -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 NAT
|
885
|
+
Create a NAT Gateway
|
886
886
|
|
887
|
-
|
887
|
+
Creates 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
|
|
@@ -913,7 +913,7 @@ opts = {
|
|
913
913
|
}
|
914
914
|
|
915
915
|
begin
|
916
|
-
# Create NAT
|
916
|
+
# Create a NAT Gateway
|
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 NAT
|
932
|
+
# Create a NAT Gateway
|
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,7 +944,7 @@ 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) | The NAT Gateway to create. | |
|
947
|
+
| **nat_gateway** | [**NatGateway**](../models/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, for which all API requests are to be executed. | [optional] |
|
@@ -1031,7 +1031,7 @@ end
|
|
1031
1031
|
| ---- | ---- | ----------- | ----- |
|
1032
1032
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1033
1033
|
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1034
|
-
| **nat_gateway** | [**NatGatewayPut**](NatGatewayPut.md) | The modified NAT Gateway. | |
|
1034
|
+
| **nat_gateway** | [**NatGatewayPut**](../models/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, for which all API requests are to be executed. | [optional] |
|
@@ -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
|
1315
|
+
Partially Modify a NAT Gateway Rule by ID
|
1316
1316
|
|
1317
|
-
|
1317
|
+
Updates the properties of the specified NAT Gateway rule.
|
1318
1318
|
|
1319
1319
|
### Examples
|
1320
1320
|
|
@@ -1337,7 +1337,7 @@ api_instance = Ionoscloud::NATGatewaysApi.new
|
|
1337
1337
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1338
1338
|
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
1339
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',
|
1340
|
+
nat_gateway_rule_properties = Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway rule', public_ip: '192.18.7.17', source_subnet: '10.0.1.0/24'}) # 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
|
1348
|
+
# Partially Modify a NAT Gateway Rule by ID
|
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
|
1364
|
+
# Partially Modify a NAT Gateway Rule by ID
|
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 # => { ... }
|
@@ -1378,7 +1378,7 @@ end
|
|
1378
1378
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1379
1379
|
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1380
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. | |
|
1381
|
+
| **nat_gateway_rule_properties** | [**NatGatewayRuleProperties**](../models/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, for which all API requests are to be executed. | [optional] |
|
@@ -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 NAT Gateway
|
1404
|
+
Create a NAT Gateway Rule
|
1405
1405
|
|
1406
|
-
|
1406
|
+
Creates a rule for the specified NAT Gateway.
|
1407
1407
|
|
1408
1408
|
### Examples
|
1409
1409
|
|
@@ -1425,7 +1425,7 @@ end
|
|
1425
1425
|
api_instance = Ionoscloud::NATGatewaysApi.new
|
1426
1426
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1427
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',
|
1428
|
+
nat_gateway_rule = Ionoscloud::NatGatewayRule.new({properties: Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway rule', public_ip: '192.18.7.17', source_subnet: '10.0.1.0/24'})}) # 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 NAT Gateway
|
1436
|
+
# Create a NAT Gateway Rule
|
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 NAT Gateway
|
1452
|
+
# Create a NAT Gateway Rule
|
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 # => { ... }
|
@@ -1465,7 +1465,7 @@ end
|
|
1465
1465
|
| ---- | ---- | ----------- | ----- |
|
1466
1466
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1467
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. | |
|
1468
|
+
| **nat_gateway_rule** | [**NatGatewayRule**](../models/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, for which all API requests are to be executed. | [optional] |
|
@@ -1488,7 +1488,7 @@ 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 NAT Gateway
|
1491
|
+
Modify a NAT Gateway Rule by ID
|
1492
1492
|
|
1493
1493
|
Modify the specified NAT Gateway rule.
|
1494
1494
|
|
@@ -1513,7 +1513,7 @@ api_instance = Ionoscloud::NATGatewaysApi.new
|
|
1513
1513
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1514
1514
|
nat_gateway_id = 'nat_gateway_id_example' # String | The unique ID of the NAT Gateway.
|
1515
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',
|
1516
|
+
nat_gateway_rule = Ionoscloud::NatGatewayRulePut.new({properties: Ionoscloud::NatGatewayRuleProperties.new({name: 'My NAT Gateway rule', public_ip: '192.18.7.17', source_subnet: '10.0.1.0/24'})}) # 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 NAT Gateway
|
1524
|
+
# Modify a NAT Gateway Rule by ID
|
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 NAT Gateway
|
1540
|
+
# Modify a NAT Gateway Rule by ID
|
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 # => { ... }
|
@@ -1554,7 +1554,7 @@ end
|
|
1554
1554
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1555
1555
|
| **nat_gateway_id** | **String** | The unique ID of the NAT Gateway. | |
|
1556
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. | |
|
1557
|
+
| **nat_gateway_rule** | [**NatGatewayRulePut**](../models/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, for which all API requests are to be executed. | [optional] |
|
@@ -8,7 +8,7 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
8
8
|
| [**datacenters_servers_nics_find_by_id**](NetworkInterfacesApi.md#datacenters_servers_nics_find_by_id) | **GET** /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId} | Retrieve NICs |
|
9
9
|
| [**datacenters_servers_nics_get**](NetworkInterfacesApi.md#datacenters_servers_nics_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/nics | List NICs |
|
10
10
|
| [**datacenters_servers_nics_patch**](NetworkInterfacesApi.md#datacenters_servers_nics_patch) | **PATCH** /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId} | Partially modify NICs |
|
11
|
-
| [**datacenters_servers_nics_post**](NetworkInterfacesApi.md#datacenters_servers_nics_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/nics | Create
|
11
|
+
| [**datacenters_servers_nics_post**](NetworkInterfacesApi.md#datacenters_servers_nics_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/nics | Create a NIC |
|
12
12
|
| [**datacenters_servers_nics_put**](NetworkInterfacesApi.md#datacenters_servers_nics_put) | **PUT** /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId} | Modify NICs |
|
13
13
|
|
14
14
|
|
@@ -344,7 +344,7 @@ end
|
|
344
344
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
345
345
|
| **server_id** | **String** | The unique ID of the server. | |
|
346
346
|
| **nic_id** | **String** | The unique ID of the NIC. | |
|
347
|
-
| **nic** | [**NicProperties**](NicProperties.md) | The properties of the NIC to be updated. | |
|
347
|
+
| **nic** | [**NicProperties**](../models/NicProperties.md) | The properties of the NIC to be updated. | |
|
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
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
@@ -367,9 +367,9 @@ Basic Authentication, Token Authentication
|
|
367
367
|
|
368
368
|
> <Nic> datacenters_servers_nics_post(datacenter_id, server_id, nic, opts)
|
369
369
|
|
370
|
-
Create
|
370
|
+
Create a NIC
|
371
371
|
|
372
|
-
|
372
|
+
Adds a NIC to the specified server. The combined total of NICs and attached volumes cannot exceed 24 per server.
|
373
373
|
|
374
374
|
### Examples
|
375
375
|
|
@@ -399,7 +399,7 @@ opts = {
|
|
399
399
|
}
|
400
400
|
|
401
401
|
begin
|
402
|
-
# Create
|
402
|
+
# Create a NIC
|
403
403
|
result = api_instance.datacenters_servers_nics_post(datacenter_id, server_id, nic, opts)
|
404
404
|
p result
|
405
405
|
rescue Ionoscloud::ApiError => e
|
@@ -415,7 +415,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
415
415
|
|
416
416
|
```ruby
|
417
417
|
begin
|
418
|
-
# Create
|
418
|
+
# Create a NIC
|
419
419
|
data, status_code, headers = api_instance.datacenters_servers_nics_post_with_http_info(datacenter_id, server_id, nic, opts)
|
420
420
|
p status_code # => 2xx
|
421
421
|
p headers # => { ... }
|
@@ -431,7 +431,7 @@ end
|
|
431
431
|
| ---- | ---- | ----------- | ----- |
|
432
432
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
433
433
|
| **server_id** | **String** | The unique ID of the server. | |
|
434
|
-
| **nic** | [**Nic**](Nic.md) | The NIC to create. | |
|
434
|
+
| **nic** | [**Nic**](../models/Nic.md) | The NIC to create. | |
|
435
435
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
436
436
|
| **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] |
|
437
437
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|
@@ -520,7 +520,7 @@ end
|
|
520
520
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
521
521
|
| **server_id** | **String** | The unique ID of the server. | |
|
522
522
|
| **nic_id** | **String** | The unique ID of the NIC. | |
|
523
|
-
| **nic** | [**NicPut**](NicPut.md) | The modified NIC | |
|
523
|
+
| **nic** | [**NicPut**](../models/NicPut.md) | The modified NIC | |
|
524
524
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
525
525
|
| **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] |
|
526
526
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional] |
|