ionoscloud 5.0.0.beta.1 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +68 -0
- data/LICENSE +190 -0
- data/README.md +18 -8
- data/docs/README.md +111 -0
- data/docs/api/BackupUnitApi.md +595 -0
- data/docs/api/ContractApi.md +89 -0
- data/docs/api/DataCenterApi.md +517 -0
- data/docs/api/DefaultApi.md +89 -0
- data/docs/api/IPBlocksApi.md +517 -0
- data/docs/api/ImageApi.md +429 -0
- data/docs/api/KubernetesApi.md +1513 -0
- data/docs/api/LabelApi.md +2355 -0
- data/docs/api/LanApi.md +795 -0
- data/docs/api/LoadBalancerApi.md +883 -0
- data/docs/api/LocationApi.md +259 -0
- data/docs/api/NicApi.md +1087 -0
- data/docs/api/PrivateCrossConnectApi.md +427 -0
- data/docs/api/RequestApi.md +283 -0
- data/docs/api/ServerApi.md +1573 -0
- data/docs/api/SnapshotApi.md +429 -0
- data/docs/api/UserManagementApi.md +2551 -0
- data/docs/api/VolumeApi.md +711 -0
- data/docs/models/AttachedVolumes.md +30 -0
- data/docs/models/BackupUnit.md +26 -0
- data/docs/models/BackupUnitProperties.md +22 -0
- data/docs/models/BackupUnitSSO.md +18 -0
- data/docs/models/BackupUnits.md +24 -0
- data/docs/models/BalancedNics.md +30 -0
- data/docs/models/Cdroms.md +30 -0
- data/docs/models/ConnectableDatacenter.md +22 -0
- data/docs/models/Contract.md +20 -0
- data/docs/models/ContractProperties.md +26 -0
- data/docs/models/DataCenterEntities.md +24 -0
- data/docs/models/Datacenter.md +28 -0
- data/docs/models/DatacenterElementMetadata.md +32 -0
- data/docs/models/DatacenterProperties.md +28 -0
- data/docs/models/Datacenters.md +30 -0
- data/docs/models/Error.md +20 -0
- data/docs/models/ErrorMessage.md +20 -0
- data/docs/models/FirewallRule.md +26 -0
- data/docs/models/FirewallRules.md +30 -0
- data/docs/models/FirewallruleProperties.md +34 -0
- data/docs/models/Group.md +26 -0
- data/docs/models/GroupEntities.md +20 -0
- data/docs/models/GroupMembers.md +24 -0
- data/docs/models/GroupProperties.md +36 -0
- data/docs/models/GroupShare.md +24 -0
- data/docs/models/GroupShareProperties.md +20 -0
- data/docs/models/GroupShares.md +24 -0
- data/docs/models/GroupUsers.md +24 -0
- data/docs/models/Groups.md +24 -0
- data/docs/models/IPFailover.md +20 -0
- data/docs/models/Image.md +26 -0
- data/docs/models/ImageProperties.md +54 -0
- data/docs/models/Images.md +24 -0
- data/docs/models/Info.md +22 -0
- data/docs/models/IpBlock.md +26 -0
- data/docs/models/IpBlockProperties.md +26 -0
- data/docs/models/IpBlocks.md +30 -0
- data/docs/models/IpConsumer.md +34 -0
- data/docs/models/KubernetesAutoScaling.md +20 -0
- data/docs/models/KubernetesCluster.md +28 -0
- data/docs/models/KubernetesClusterEntities.md +18 -0
- data/docs/models/KubernetesClusterForPost.md +28 -0
- data/docs/models/KubernetesClusterForPut.md +28 -0
- data/docs/models/KubernetesClusterProperties.md +32 -0
- data/docs/models/KubernetesClusterPropertiesForPost.md +28 -0
- data/docs/models/KubernetesClusterPropertiesForPut.md +26 -0
- data/docs/models/KubernetesClusters.md +24 -0
- data/docs/models/KubernetesConfig.md +24 -0
- data/docs/models/KubernetesConfigProperties.md +18 -0
- data/docs/models/KubernetesMaintenanceWindow.md +20 -0
- data/docs/models/KubernetesNode.md +26 -0
- data/docs/models/KubernetesNodeMetadata.md +26 -0
- data/docs/models/KubernetesNodePool.md +26 -0
- data/docs/models/KubernetesNodePoolForPost.md +26 -0
- data/docs/models/KubernetesNodePoolForPut.md +26 -0
- data/docs/models/KubernetesNodePoolLan.md +18 -0
- data/docs/models/KubernetesNodePoolProperties.md +52 -0
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +50 -0
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +34 -0
- data/docs/models/KubernetesNodePools.md +24 -0
- data/docs/models/KubernetesNodeProperties.md +24 -0
- data/docs/models/KubernetesNodes.md +24 -0
- data/docs/models/Label.md +26 -0
- data/docs/models/LabelProperties.md +26 -0
- data/docs/models/LabelResource.md +26 -0
- data/docs/models/LabelResourceProperties.md +20 -0
- data/docs/models/LabelResources.md +30 -0
- data/docs/models/Labels.md +24 -0
- data/docs/models/Lan.md +28 -0
- data/docs/models/LanEntities.md +18 -0
- data/docs/models/LanNics.md +30 -0
- data/docs/models/LanPost.md +28 -0
- data/docs/models/LanProperties.md +24 -0
- data/docs/models/LanPropertiesPost.md +24 -0
- data/docs/models/Lans.md +30 -0
- data/docs/models/Loadbalancer.md +28 -0
- data/docs/models/LoadbalancerEntities.md +18 -0
- data/docs/models/LoadbalancerProperties.md +22 -0
- data/docs/models/Loadbalancers.md +30 -0
- data/docs/models/Location.md +26 -0
- data/docs/models/LocationProperties.md +22 -0
- data/docs/models/Locations.md +24 -0
- data/docs/models/Nic.md +28 -0
- data/docs/models/NicEntities.md +18 -0
- data/docs/models/NicProperties.md +30 -0
- data/docs/models/Nics.md +30 -0
- data/docs/models/NoStateMetaData.md +30 -0
- data/docs/models/PaginationLinks.md +22 -0
- data/docs/models/Peer.md +26 -0
- data/docs/models/PrivateCrossConnect.md +26 -0
- data/docs/models/PrivateCrossConnectProperties.md +24 -0
- data/docs/models/PrivateCrossConnects.md +24 -0
- data/docs/models/Request.md +26 -0
- data/docs/models/RequestMetadata.md +24 -0
- data/docs/models/RequestProperties.md +24 -0
- data/docs/models/RequestStatus.md +24 -0
- data/docs/models/RequestStatusMetadata.md +24 -0
- data/docs/models/RequestTarget.md +20 -0
- data/docs/models/Requests.md +30 -0
- data/docs/models/Resource.md +28 -0
- data/docs/models/ResourceEntities.md +18 -0
- data/docs/models/ResourceGroups.md +24 -0
- data/docs/models/ResourceLimits.md +50 -0
- data/docs/models/ResourceProperties.md +20 -0
- data/docs/models/ResourceReference.md +22 -0
- data/docs/models/Resources.md +24 -0
- data/docs/models/ResourcesUsers.md +24 -0
- data/docs/models/S3Bucket.md +18 -0
- data/docs/models/S3Key.md +26 -0
- data/docs/models/S3KeyMetadata.md +20 -0
- data/docs/models/S3KeyProperties.md +20 -0
- data/docs/models/S3Keys.md +24 -0
- data/docs/models/S3ObjectStorageSSO.md +18 -0
- data/docs/models/Server.md +28 -0
- data/docs/models/ServerEntities.md +22 -0
- data/docs/models/ServerProperties.md +32 -0
- data/docs/models/Servers.md +30 -0
- data/docs/models/Snapshot.md +26 -0
- data/docs/models/SnapshotProperties.md +48 -0
- data/docs/models/Snapshots.md +24 -0
- data/docs/models/Type.md +15 -0
- data/docs/models/User.md +28 -0
- data/docs/models/UserMetadata.md +22 -0
- data/docs/models/UserPost.md +18 -0
- data/docs/models/UserProperties.md +32 -0
- data/docs/models/UserPropertiesPost.md +32 -0
- data/docs/models/UserPropertiesPut.md +30 -0
- data/docs/models/UserPut.md +20 -0
- data/docs/models/Users.md +30 -0
- data/docs/models/UsersEntities.md +20 -0
- data/docs/models/Volume.md +26 -0
- data/docs/models/VolumeProperties.md +54 -0
- data/docs/models/Volumes.md +30 -0
- data/docs/summary.md +168 -0
- data/gitbook.yaml +4 -0
- data/ionoscloud.gemspec +1 -1
- data/lib/ionoscloud/api/_api.rb +2 -2
- data/lib/ionoscloud/api/backup_unit_api.rb +1 -1
- data/lib/ionoscloud/api/contract_api.rb +1 -1
- data/lib/ionoscloud/api/data_center_api.rb +3 -3
- data/lib/ionoscloud/api/image_api.rb +1 -1
- data/lib/ionoscloud/api/ip_blocks_api.rb +19 -1
- data/lib/ionoscloud/api/kubernetes_api.rb +12 -12
- data/lib/ionoscloud/api/label_api.rb +1 -1
- data/lib/ionoscloud/api/lan_api.rb +1 -1
- data/lib/ionoscloud/api/load_balancer_api.rb +1 -1
- data/lib/ionoscloud/api/location_api.rb +1 -1
- data/lib/ionoscloud/api/nic_api.rb +1 -1
- data/lib/ionoscloud/api/private_cross_connect_api.rb +1 -1
- data/lib/ionoscloud/api/request_api.rb +31 -7
- data/lib/ionoscloud/api/server_api.rb +1 -1
- data/lib/ionoscloud/api/snapshot_api.rb +1 -1
- data/lib/ionoscloud/api/user_management_api.rb +27 -9
- data/lib/ionoscloud/api/volume_api.rb +1 -1
- data/lib/ionoscloud/api_client.rb +19 -22
- data/lib/ionoscloud/api_error.rb +1 -1
- data/lib/ionoscloud/configuration.rb +3 -3
- data/lib/ionoscloud/models/attached_volumes.rb +3 -1
- data/lib/ionoscloud/models/backup_unit.rb +3 -1
- data/lib/ionoscloud/models/backup_unit_properties.rb +3 -1
- data/lib/ionoscloud/models/backup_unit_sso.rb +3 -1
- data/lib/ionoscloud/models/backup_units.rb +5 -3
- data/lib/ionoscloud/models/balanced_nics.rb +3 -1
- data/lib/ionoscloud/models/cdroms.rb +3 -1
- data/lib/ionoscloud/models/connectable_datacenter.rb +3 -1
- data/lib/ionoscloud/models/contract.rb +3 -1
- data/lib/ionoscloud/models/contract_properties.rb +3 -1
- data/lib/ionoscloud/models/data_center_entities.rb +3 -1
- data/lib/ionoscloud/models/datacenter.rb +3 -1
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +5 -3
- data/lib/ionoscloud/models/datacenter_properties.rb +3 -23
- data/lib/ionoscloud/models/datacenters.rb +3 -1
- data/lib/ionoscloud/models/error.rb +3 -1
- data/lib/ionoscloud/models/error_message.rb +3 -1
- data/lib/ionoscloud/models/firewall_rule.rb +3 -1
- data/lib/ionoscloud/models/firewall_rules.rb +3 -1
- data/lib/ionoscloud/models/firewallrule_properties.rb +39 -22
- data/lib/ionoscloud/models/group.rb +3 -1
- data/lib/ionoscloud/models/group_entities.rb +3 -1
- data/lib/ionoscloud/models/group_members.rb +3 -1
- data/lib/ionoscloud/models/group_properties.rb +3 -1
- data/lib/ionoscloud/models/group_share.rb +3 -1
- data/lib/ionoscloud/models/group_share_properties.rb +3 -1
- data/lib/ionoscloud/models/group_shares.rb +3 -1
- data/lib/ionoscloud/models/group_users.rb +3 -1
- data/lib/ionoscloud/models/groups.rb +3 -1
- data/lib/ionoscloud/models/image.rb +3 -1
- data/lib/ionoscloud/models/image_properties.rb +43 -7
- data/lib/ionoscloud/models/images.rb +3 -1
- data/lib/ionoscloud/models/info.rb +3 -1
- data/lib/ionoscloud/models/ip_block.rb +3 -1
- data/lib/ionoscloud/models/ip_block_properties.rb +3 -1
- data/lib/ionoscloud/models/ip_blocks.rb +36 -5
- data/lib/ionoscloud/models/ip_consumer.rb +25 -5
- data/lib/ionoscloud/models/ip_failover.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_cluster.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +305 -0
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +305 -0
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +43 -5
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +279 -0
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +267 -0
- data/lib/ionoscloud/models/kubernetes_clusters.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_config.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_config_properties.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_node.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +296 -0
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +8 -1
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +18 -6
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +18 -6
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +4 -153
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +3 -1
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +14 -7
- data/lib/ionoscloud/models/kubernetes_nodes.rb +5 -3
- data/lib/ionoscloud/models/label.rb +3 -1
- data/lib/ionoscloud/models/label_properties.rb +3 -1
- data/lib/ionoscloud/models/label_resource.rb +3 -1
- data/lib/ionoscloud/models/label_resource_properties.rb +3 -1
- data/lib/ionoscloud/models/label_resources.rb +5 -3
- data/lib/ionoscloud/models/labels.rb +5 -3
- data/lib/ionoscloud/models/lan.rb +3 -1
- data/lib/ionoscloud/models/lan_entities.rb +3 -1
- data/lib/ionoscloud/models/lan_nics.rb +3 -1
- data/lib/ionoscloud/models/lan_post.rb +3 -1
- data/lib/ionoscloud/models/lan_properties.rb +3 -1
- data/lib/ionoscloud/models/lan_properties_post.rb +3 -1
- data/lib/ionoscloud/models/lans.rb +3 -1
- data/lib/ionoscloud/models/loadbalancer.rb +3 -1
- data/lib/ionoscloud/models/loadbalancer_entities.rb +3 -1
- data/lib/ionoscloud/models/loadbalancer_properties.rb +15 -30
- data/lib/ionoscloud/models/loadbalancers.rb +3 -1
- data/lib/ionoscloud/models/location.rb +3 -1
- data/lib/ionoscloud/models/location_properties.rb +3 -23
- data/lib/ionoscloud/models/locations.rb +3 -1
- data/lib/ionoscloud/models/nic.rb +3 -1
- data/lib/ionoscloud/models/nic_entities.rb +3 -1
- data/lib/ionoscloud/models/nic_properties.rb +3 -1
- data/lib/ionoscloud/models/nics.rb +3 -1
- data/lib/ionoscloud/models/no_state_meta_data.rb +3 -1
- data/lib/ionoscloud/models/pagination_links.rb +3 -1
- data/lib/ionoscloud/models/peer.rb +3 -1
- data/lib/ionoscloud/models/private_cross_connect.rb +3 -1
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +3 -1
- data/lib/ionoscloud/models/private_cross_connects.rb +3 -1
- data/lib/ionoscloud/models/request.rb +3 -1
- data/lib/ionoscloud/models/request_metadata.rb +3 -1
- data/lib/ionoscloud/models/request_properties.rb +3 -1
- data/lib/ionoscloud/models/request_status.rb +3 -1
- data/lib/ionoscloud/models/request_status_metadata.rb +3 -1
- data/lib/ionoscloud/models/request_target.rb +3 -1
- data/lib/ionoscloud/models/requests.rb +4 -2
- data/lib/ionoscloud/models/resource.rb +3 -1
- data/lib/ionoscloud/models/resource_entities.rb +3 -1
- data/lib/ionoscloud/models/resource_groups.rb +3 -1
- data/lib/ionoscloud/models/resource_limits.rb +3 -1
- data/lib/ionoscloud/models/resource_properties.rb +3 -1
- data/lib/ionoscloud/models/resource_reference.rb +3 -1
- data/lib/ionoscloud/models/resources.rb +3 -1
- data/lib/ionoscloud/models/resources_users.rb +3 -1
- data/lib/ionoscloud/models/{kubernetes_cluster_properties_for_post_and_put.rb → s3_bucket.rb} +11 -28
- data/lib/ionoscloud/models/s3_key.rb +3 -1
- data/lib/ionoscloud/models/s3_key_metadata.rb +3 -1
- data/lib/ionoscloud/models/s3_key_properties.rb +5 -3
- data/lib/ionoscloud/models/s3_keys.rb +3 -1
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +3 -1
- data/lib/ionoscloud/models/server.rb +3 -1
- data/lib/ionoscloud/models/server_entities.rb +3 -1
- data/lib/ionoscloud/models/server_properties.rb +5 -3
- data/lib/ionoscloud/models/servers.rb +3 -1
- data/lib/ionoscloud/models/snapshot.rb +3 -1
- data/lib/ionoscloud/models/snapshot_properties.rb +3 -1
- data/lib/ionoscloud/models/snapshots.rb +3 -1
- data/lib/ionoscloud/models/type.rb +2 -1
- data/lib/ionoscloud/models/user.rb +3 -1
- data/lib/ionoscloud/models/user_metadata.rb +3 -1
- data/lib/ionoscloud/models/user_post.rb +223 -0
- data/lib/ionoscloud/models/user_properties.rb +4 -12
- data/lib/ionoscloud/models/user_properties_post.rb +289 -0
- data/lib/ionoscloud/models/user_properties_put.rb +279 -0
- data/lib/ionoscloud/models/user_put.rb +233 -0
- data/lib/ionoscloud/models/users.rb +36 -5
- data/lib/ionoscloud/models/users_entities.rb +3 -1
- data/lib/ionoscloud/models/volume.rb +3 -1
- data/lib/ionoscloud/models/volume_properties.rb +22 -10
- data/lib/ionoscloud/models/volumes.rb +3 -1
- data/lib/ionoscloud/version.rb +2 -2
- data/lib/ionoscloud.rb +11 -2
- data/lib/test_driver.rb +104 -0
- data/spec/api/_api_spec.rb +1 -1
- data/spec/api/backup_unit_api_spec.rb +1 -1
- data/spec/api/contract_api_spec.rb +1 -1
- data/spec/api/data_center_api_spec.rb +2 -2
- data/spec/api/image_api_spec.rb +1 -1
- data/spec/api/ip_blocks_api_spec.rb +3 -1
- data/spec/api/kubernetes_api_spec.rb +5 -5
- data/spec/api/label_api_spec.rb +1 -1
- data/spec/api/lan_api_spec.rb +1 -1
- data/spec/api/load_balancer_api_spec.rb +1 -1
- data/spec/api/location_api_spec.rb +1 -1
- data/spec/api/nic_api_spec.rb +1 -1
- data/spec/api/private_cross_connect_api_spec.rb +1 -1
- data/spec/api/request_api_spec.rb +12 -4
- data/spec/api/server_api_spec.rb +1 -1
- data/spec/api/snapshot_api_spec.rb +1 -1
- data/spec/api/user_management_api_spec.rb +5 -3
- data/spec/api/volume_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/attached_volumes_spec.rb +1 -1
- data/spec/models/backup_unit_properties_spec.rb +1 -1
- data/spec/models/backup_unit_spec.rb +1 -1
- data/spec/models/backup_unit_sso_spec.rb +1 -1
- data/spec/models/backup_units_spec.rb +2 -2
- data/spec/models/balanced_nics_spec.rb +1 -1
- data/spec/models/cdroms_spec.rb +1 -1
- data/spec/models/connectable_datacenter_spec.rb +1 -1
- data/spec/models/contract_properties_spec.rb +1 -1
- data/spec/models/contract_spec.rb +1 -1
- data/spec/models/data_center_entities_spec.rb +1 -1
- data/spec/models/datacenter_element_metadata_spec.rb +2 -2
- data/spec/models/datacenter_properties_spec.rb +1 -5
- data/spec/models/datacenter_spec.rb +1 -1
- data/spec/models/datacenters_spec.rb +1 -1
- data/spec/models/error_message_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/firewall_rule_spec.rb +1 -1
- data/spec/models/firewall_rules_spec.rb +1 -1
- data/spec/models/firewallrule_properties_spec.rb +1 -13
- data/spec/models/group_entities_spec.rb +1 -1
- data/spec/models/group_members_spec.rb +1 -1
- data/spec/models/group_properties_spec.rb +1 -1
- data/spec/models/group_share_properties_spec.rb +1 -1
- data/spec/models/group_share_spec.rb +1 -1
- data/spec/models/group_shares_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/group_users_spec.rb +1 -1
- data/spec/models/groups_spec.rb +1 -1
- data/spec/models/image_properties_spec.rb +18 -2
- data/spec/models/image_spec.rb +1 -1
- data/spec/models/images_spec.rb +1 -1
- data/spec/models/info_spec.rb +1 -1
- data/spec/models/ip_block_properties_spec.rb +1 -1
- data/spec/models/ip_block_spec.rb +1 -1
- data/spec/models/ip_blocks_spec.rb +19 -1
- data/spec/models/ip_consumer_spec.rb +13 -1
- data/spec/models/ip_failover_spec.rb +1 -1
- data/spec/models/kubernetes_auto_scaling_spec.rb +1 -1
- data/spec/models/kubernetes_cluster_entities_spec.rb +1 -1
- data/spec/models/kubernetes_cluster_for_post_spec.rb +68 -0
- data/spec/models/kubernetes_cluster_for_put_spec.rb +68 -0
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +64 -0
- data/spec/models/{kubernetes_cluster_properties_for_post_and_put_spec.rb → kubernetes_cluster_properties_for_put_spec.rb} +19 -7
- data/spec/models/kubernetes_cluster_properties_spec.rb +19 -1
- data/spec/models/kubernetes_cluster_spec.rb +1 -1
- data/spec/models/kubernetes_clusters_spec.rb +1 -1
- data/spec/models/kubernetes_config_properties_spec.rb +1 -1
- data/spec/models/kubernetes_config_spec.rb +1 -1
- data/spec/models/kubernetes_maintenance_window_spec.rb +1 -1
- data/spec/models/kubernetes_node_metadata_spec.rb +2 -2
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +62 -0
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +1 -1
- data/spec/models/kubernetes_node_pool_lan_spec.rb +1 -1
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +7 -1
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +1 -51
- data/spec/models/kubernetes_node_pool_properties_spec.rb +7 -1
- data/spec/models/kubernetes_node_pool_spec.rb +1 -1
- data/spec/models/kubernetes_node_pools_spec.rb +1 -1
- data/spec/models/kubernetes_node_properties_spec.rb +7 -1
- data/spec/models/kubernetes_node_spec.rb +2 -2
- data/spec/models/kubernetes_nodes_spec.rb +2 -2
- data/spec/models/label_properties_spec.rb +1 -1
- data/spec/models/label_resource_properties_spec.rb +1 -1
- data/spec/models/label_resource_spec.rb +1 -1
- data/spec/models/label_resources_spec.rb +2 -2
- data/spec/models/label_spec.rb +1 -1
- data/spec/models/labels_spec.rb +2 -2
- data/spec/models/lan_entities_spec.rb +1 -1
- data/spec/models/lan_nics_spec.rb +1 -1
- data/spec/models/lan_post_spec.rb +1 -1
- data/spec/models/lan_properties_post_spec.rb +1 -1
- data/spec/models/lan_properties_spec.rb +1 -1
- data/spec/models/lan_spec.rb +1 -1
- data/spec/models/lans_spec.rb +1 -1
- data/spec/models/loadbalancer_entities_spec.rb +1 -1
- data/spec/models/loadbalancer_properties_spec.rb +1 -5
- data/spec/models/loadbalancer_spec.rb +1 -1
- data/spec/models/loadbalancers_spec.rb +1 -1
- data/spec/models/location_properties_spec.rb +1 -5
- data/spec/models/location_spec.rb +1 -1
- data/spec/models/locations_spec.rb +1 -1
- data/spec/models/nic_entities_spec.rb +1 -1
- data/spec/models/nic_properties_spec.rb +1 -1
- data/spec/models/nic_spec.rb +1 -1
- data/spec/models/nics_spec.rb +1 -1
- data/spec/models/no_state_meta_data_spec.rb +1 -1
- data/spec/models/pagination_links_spec.rb +1 -1
- data/spec/models/peer_spec.rb +1 -1
- data/spec/models/private_cross_connect_properties_spec.rb +1 -1
- data/spec/models/private_cross_connect_spec.rb +1 -1
- data/spec/models/private_cross_connects_spec.rb +1 -1
- data/spec/models/request_metadata_spec.rb +1 -1
- data/spec/models/request_properties_spec.rb +1 -1
- data/spec/models/request_spec.rb +1 -1
- data/spec/models/request_status_metadata_spec.rb +1 -1
- data/spec/models/request_status_spec.rb +1 -1
- data/spec/models/request_target_spec.rb +1 -1
- data/spec/models/requests_spec.rb +1 -1
- data/spec/models/resource_entities_spec.rb +1 -1
- data/spec/models/resource_groups_spec.rb +1 -1
- data/spec/models/resource_limits_spec.rb +1 -1
- data/spec/models/resource_properties_spec.rb +1 -1
- data/spec/models/resource_reference_spec.rb +1 -1
- data/spec/models/resource_spec.rb +1 -1
- data/spec/models/resources_spec.rb +1 -1
- data/spec/models/resources_users_spec.rb +1 -1
- data/spec/models/s3_bucket_spec.rb +34 -0
- data/spec/models/s3_key_metadata_spec.rb +1 -1
- data/spec/models/s3_key_properties_spec.rb +1 -1
- data/spec/models/s3_key_spec.rb +1 -1
- data/spec/models/s3_keys_spec.rb +1 -1
- data/spec/models/s3_object_storage_sso_spec.rb +1 -1
- data/spec/models/server_entities_spec.rb +1 -1
- data/spec/models/server_properties_spec.rb +2 -2
- data/spec/models/server_spec.rb +1 -1
- data/spec/models/servers_spec.rb +1 -1
- data/spec/models/snapshot_properties_spec.rb +1 -1
- data/spec/models/snapshot_spec.rb +1 -1
- data/spec/models/snapshots_spec.rb +1 -1
- data/spec/models/type_spec.rb +1 -1
- data/spec/models/user_metadata_spec.rb +1 -1
- data/spec/models/user_post_spec.rb +34 -0
- data/spec/models/user_properties_post_spec.rb +76 -0
- data/spec/models/user_properties_put_spec.rb +70 -0
- data/spec/models/user_properties_spec.rb +1 -7
- data/spec/models/user_put_spec.rb +40 -0
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/users_entities_spec.rb +1 -1
- data/spec/models/users_spec.rb +19 -1
- data/spec/models/volume_properties_spec.rb +9 -3
- data/spec/models/volume_spec.rb +1 -1
- data/spec/models/volumes_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +311 -128
- data/DOCS.md +0 -14618
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -64,7 +64,7 @@ describe 'DataCenterApi' do
|
|
64
64
|
|
65
65
|
# unit tests for datacenters_get
|
66
66
|
# List Data Centers under your account
|
67
|
-
# You can retrieve a
|
67
|
+
# You can retrieve a list of data centers provisioned under your account. Default list will contain first 100 items. For more items use pagination query parameters
|
68
68
|
# @param [Hash] opts the optional parameters
|
69
69
|
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
|
70
70
|
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) 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
|
data/spec/api/image_api_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -69,6 +69,8 @@ describe 'IPBlocksApi' do
|
|
69
69
|
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
|
70
70
|
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) 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
|
71
71
|
# @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
|
72
|
+
# @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with <code>limit</code> for pagination)
|
73
|
+
# @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination)
|
72
74
|
# @return [IpBlocks]
|
73
75
|
describe 'ipblocks_get test' do
|
74
76
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -209,7 +209,7 @@ describe 'KubernetesApi' do
|
|
209
209
|
# Create a Kubernetes Node Pool
|
210
210
|
# This will create a new Kubernetes Node Pool inside a Kubernetes Cluster.
|
211
211
|
# @param k8s_cluster_id The unique ID of the Kubernetes Cluster
|
212
|
-
# @param kubernetes_node_pool Details of Kubernetes Node Pool
|
212
|
+
# @param kubernetes_node_pool Details of the Kubernetes Node Pool
|
213
213
|
# @param [Hash] opts the optional parameters
|
214
214
|
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
|
215
215
|
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) 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
|
@@ -231,7 +231,7 @@ describe 'KubernetesApi' do
|
|
231
231
|
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
|
232
232
|
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) 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
|
233
233
|
# @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
|
234
|
-
# @return [
|
234
|
+
# @return [KubernetesNodePool]
|
235
235
|
describe 'k8s_nodepools_put test' do
|
236
236
|
it 'should work' do
|
237
237
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -241,7 +241,7 @@ describe 'KubernetesApi' do
|
|
241
241
|
# unit tests for k8s_post
|
242
242
|
# Create Kubernetes Cluster
|
243
243
|
# This will create a new Kubernetes Cluster.
|
244
|
-
# @param kubernetes_cluster
|
244
|
+
# @param kubernetes_cluster Details of the Kubernetes Cluster
|
245
245
|
# @param [Hash] opts the optional parameters
|
246
246
|
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
|
247
247
|
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) 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
|
@@ -257,7 +257,7 @@ describe 'KubernetesApi' do
|
|
257
257
|
# Modify Kubernetes Cluster
|
258
258
|
# This will modify the Kubernetes Cluster.
|
259
259
|
# @param k8s_cluster_id The unique ID of the Kubernetes Cluster
|
260
|
-
# @param kubernetes_cluster
|
260
|
+
# @param kubernetes_cluster Details of the Kubernetes Cluster
|
261
261
|
# @param [Hash] opts the optional parameters
|
262
262
|
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
|
263
263
|
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) 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
|
data/spec/api/label_api_spec.rb
CHANGED
data/spec/api/lan_api_spec.rb
CHANGED
data/spec/api/nic_api_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -54,9 +54,17 @@ describe 'RequestApi' do
|
|
54
54
|
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
|
55
55
|
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) 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
|
56
56
|
# @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
|
57
|
-
# @option opts [String] :filter_status Request
|
58
|
-
# @option opts [String] :filter_created_after
|
59
|
-
# @option opts [String] :filter_created_before
|
57
|
+
# @option opts [String] :filter_status Request filter to fetch all requests based on a particular status [QUEUED, RUNNING, DONE, FAILED]. It doesn't depend on depth query parameter
|
58
|
+
# @option opts [String] :filter_created_after Request filter to fetch all requests created after the specified date. It doesn't depend on depth query parameter. Date format e.g. 2021-01-01+00:00:00
|
59
|
+
# @option opts [String] :filter_created_before Request filter to fetch all requests created before the specified date. It doesn't depend on depth query parameter. Date format e.g. 2021-01-01+00:00:00
|
60
|
+
# @option opts [String] :filter_created_date Response filter to select and display only the requests that contains the specified createdDate. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0. Date format e.g. 2020-11-16T17:42:59Z
|
61
|
+
# @option opts [String] :filter_created_by Response filter to select and display only the requests that contains the specified createdBy. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
|
62
|
+
# @option opts [String] :filter_etag Response filter to select and display only the requests that contains the specified etag. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
|
63
|
+
# @option opts [String] :filter_request_status Response filter to select and display only the requests that contains the specified requestStatus. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
|
64
|
+
# @option opts [String] :filter_method Response filter to select and display only the requests that contains the specified method. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
|
65
|
+
# @option opts [String] :filter_headers Response filter to select and display only the requests that contains the specified headers. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
|
66
|
+
# @option opts [String] :filter_body Response filter to select and display only the requests that contains the specified body. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
|
67
|
+
# @option opts [String] :filter_url Response filter to select and display only the requests that contains the specified url. The value is case insensitive and it depends on depth query parameter that should have a value greater than 0.
|
60
68
|
# @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with <code>limit</code> for pagination)
|
61
69
|
# @option opts [Integer] :limit the maximum number of elements to return (use together with <code>offset</code> for pagination)
|
62
70
|
# @return [Requests]
|
data/spec/api/server_api_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -331,6 +331,8 @@ describe 'UserManagementApi' do
|
|
331
331
|
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
|
332
332
|
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) 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
|
333
333
|
# @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
|
334
|
+
# @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with <code>limit</code> for pagination)
|
335
|
+
# @option opts [Integer] :limit the maximum number of elements to return (use together with <code>offset</code> for pagination)
|
334
336
|
# @return [Users]
|
335
337
|
describe 'um_users_get test' do
|
336
338
|
it 'should work' do
|
@@ -463,10 +465,10 @@ describe 'UserManagementApi' do
|
|
463
465
|
|
464
466
|
# unit tests for um_users_s3keys_put
|
465
467
|
# Modify a S3 key having the given key id
|
466
|
-
# You can enable or disable a given S3 key
|
468
|
+
# You can enable or disable a given S3 key.
|
467
469
|
# @param user_id
|
468
470
|
# @param key_id The unique access key ID of the S3 key
|
469
|
-
# @param s3_key Modified
|
471
|
+
# @param s3_key Modified S3 key
|
470
472
|
# @param [Hash] opts the optional parameters
|
471
473
|
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
|
472
474
|
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) 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
|
data/spec/api/volume_api_spec.rb
CHANGED
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -34,7 +34,7 @@ describe Ionoscloud::BackupUnits do
|
|
34
34
|
describe 'test attribute "type"' do
|
35
35
|
it 'should work' do
|
36
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["collection"])
|
38
38
|
# validator.allowable_values.each do |value|
|
39
39
|
# expect { instance.type = value }.not_to raise_error
|
40
40
|
# end
|
data/spec/models/cdroms_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -70,7 +70,7 @@ describe Ionoscloud::DatacenterElementMetadata do
|
|
70
70
|
describe 'test attribute "state"' do
|
71
71
|
it 'should work' do
|
72
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AVAILABLE", "INACTIVE", "BUSY", "DEPLOYING", "ACTIVE", "FAILED", "SUSPENDED", "FAILED_SUSPENDED", "UPDATING", "FAILED_UPDATING", "DESTROYING", "FAILED_DESTROYING", "TERMINATED"])
|
73
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AVAILABLE", "INACTIVE", "BUSY", "DEPLOYING", "ACTIVE", "FAILED", "SUSPENDED", "FAILED_SUSPENDED", "UPDATING", "FAILED_UPDATING", "DESTROYING", "FAILED_DESTROYING", "TERMINATED", "UNKNOWN"])
|
74
74
|
# validator.allowable_values.each do |value|
|
75
75
|
# expect { instance.state = value }.not_to raise_error
|
76
76
|
# end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -52,10 +52,6 @@ describe Ionoscloud::DatacenterProperties do
|
|
52
52
|
describe 'test attribute "features"' do
|
53
53
|
it 'should work' do
|
54
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["SSD", "SSD_STORAGE_ZONING"])
|
56
|
-
# validator.allowable_values.each do |value|
|
57
|
-
# expect { instance.features = value }.not_to raise_error
|
58
|
-
# end
|
59
55
|
end
|
60
56
|
end
|
61
57
|
|
data/spec/models/error_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 5.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -44,30 +44,18 @@ describe Ionoscloud::FirewallruleProperties do
|
|
44
44
|
describe 'test attribute "source_mac"' do
|
45
45
|
it 'should work' do
|
46
46
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["@Valid MAC address@", "null"])
|
48
|
-
# validator.allowable_values.each do |value|
|
49
|
-
# expect { instance.source_mac = value }.not_to raise_error
|
50
|
-
# end
|
51
47
|
end
|
52
48
|
end
|
53
49
|
|
54
50
|
describe 'test attribute "source_ip"' do
|
55
51
|
it 'should work' do
|
56
52
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["@Valid IP address@", "null"])
|
58
|
-
# validator.allowable_values.each do |value|
|
59
|
-
# expect { instance.source_ip = value }.not_to raise_error
|
60
|
-
# end
|
61
53
|
end
|
62
54
|
end
|
63
55
|
|
64
56
|
describe 'test attribute "target_ip"' do
|
65
57
|
it 'should work' do
|
66
58
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["@Valid IP address@", "null"])
|
68
|
-
# validator.allowable_values.each do |value|
|
69
|
-
# expect { instance.target_ip = value }.not_to raise_error
|
70
|
-
# end
|
71
59
|
end
|
72
60
|
end
|
73
61
|
|
data/spec/models/group_spec.rb
CHANGED