ionoscloud 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/AttachedVolumes.md +30 -0
- data/docs/BackupUnit.md +26 -0
- data/docs/BackupUnitApi.md +595 -0
- data/docs/BackupUnitProperties.md +22 -0
- data/docs/BackupUnitSSO.md +18 -0
- data/docs/BackupUnits.md +24 -0
- data/docs/BalancedNics.md +30 -0
- data/docs/CHANGELOG.md +1 -0
- data/docs/Cdroms.md +30 -0
- data/docs/ConnectableDatacenter.md +22 -0
- data/docs/Contract.md +20 -0
- data/docs/ContractApi.md +89 -0
- data/docs/ContractProperties.md +26 -0
- data/docs/DataCenterApi.md +517 -0
- data/docs/DataCenterEntities.md +24 -0
- data/docs/Datacenter.md +28 -0
- data/docs/DatacenterElementMetadata.md +32 -0
- data/docs/DatacenterProperties.md +28 -0
- data/docs/Datacenters.md +30 -0
- data/docs/DefaultApi.md +84 -0
- data/docs/Error.md +20 -0
- data/docs/ErrorMessage.md +20 -0
- data/docs/FirewallRule.md +26 -0
- data/docs/FirewallRules.md +30 -0
- data/docs/FirewallruleProperties.md +34 -0
- data/docs/Group.md +26 -0
- data/docs/GroupEntities.md +20 -0
- data/docs/GroupMembers.md +24 -0
- data/docs/GroupProperties.md +36 -0
- data/docs/GroupShare.md +24 -0
- data/docs/GroupShareProperties.md +20 -0
- data/docs/GroupShares.md +24 -0
- data/docs/GroupUsers.md +24 -0
- data/docs/Groups.md +24 -0
- data/docs/IPBlocksApi.md +513 -0
- data/docs/IPFailover.md +20 -0
- data/docs/Image.md +26 -0
- data/docs/ImageApi.md +429 -0
- data/docs/ImageProperties.md +50 -0
- data/docs/Images.md +24 -0
- data/docs/Info.md +22 -0
- data/docs/IpBlock.md +26 -0
- data/docs/IpBlockProperties.md +26 -0
- data/docs/IpBlocks.md +24 -0
- data/docs/IpConsumer.md +30 -0
- data/docs/KubernetesApi.md +1513 -0
- data/docs/KubernetesAutoScaling.md +20 -0
- data/docs/KubernetesCluster.md +28 -0
- data/docs/KubernetesClusterEntities.md +18 -0
- data/docs/KubernetesClusterProperties.md +26 -0
- data/docs/KubernetesClusterPropertiesForPostAndPut.md +22 -0
- data/docs/KubernetesClusters.md +24 -0
- data/docs/KubernetesConfig.md +24 -0
- data/docs/KubernetesConfigProperties.md +18 -0
- data/docs/KubernetesMaintenanceWindow.md +20 -0
- data/docs/KubernetesNode.md +26 -0
- data/docs/KubernetesNodeMetadata.md +26 -0
- data/docs/KubernetesNodePool.md +26 -0
- data/docs/KubernetesNodePoolForPut.md +26 -0
- data/docs/KubernetesNodePoolLan.md +18 -0
- data/docs/KubernetesNodePoolProperties.md +50 -0
- data/docs/KubernetesNodePoolPropertiesForPost.md +48 -0
- data/docs/KubernetesNodePoolPropertiesForPut.md +48 -0
- data/docs/KubernetesNodePools.md +24 -0
- data/docs/KubernetesNodeProperties.md +22 -0
- data/docs/KubernetesNodes.md +24 -0
- data/docs/Label.md +26 -0
- data/docs/LabelApi.md +2355 -0
- data/docs/LabelProperties.md +26 -0
- data/docs/LabelResource.md +26 -0
- data/docs/LabelResourceProperties.md +20 -0
- data/docs/LabelResources.md +30 -0
- data/docs/Labels.md +24 -0
- data/docs/Lan.md +28 -0
- data/docs/LanApi.md +795 -0
- data/docs/LanEntities.md +18 -0
- data/docs/LanNics.md +30 -0
- data/docs/LanPost.md +28 -0
- data/docs/LanProperties.md +24 -0
- data/docs/LanPropertiesPost.md +24 -0
- data/docs/Lans.md +30 -0
- data/docs/LoadBalancerApi.md +883 -0
- data/docs/Loadbalancer.md +28 -0
- data/docs/LoadbalancerEntities.md +18 -0
- data/docs/LoadbalancerProperties.md +22 -0
- data/docs/Loadbalancers.md +30 -0
- data/docs/Location.md +26 -0
- data/docs/LocationApi.md +259 -0
- data/docs/LocationProperties.md +22 -0
- data/docs/Locations.md +24 -0
- data/docs/Nic.md +28 -0
- data/docs/NicApi.md +1087 -0
- data/docs/NicEntities.md +18 -0
- data/docs/NicProperties.md +30 -0
- data/docs/Nics.md +30 -0
- data/docs/NoStateMetaData.md +30 -0
- data/docs/PaginationLinks.md +22 -0
- data/docs/Peer.md +26 -0
- data/docs/PrivateCrossConnect.md +26 -0
- data/docs/PrivateCrossConnectApi.md +427 -0
- data/docs/PrivateCrossConnectProperties.md +24 -0
- data/docs/PrivateCrossConnects.md +24 -0
- data/docs/README.md +111 -0
- data/docs/Request.md +26 -0
- data/docs/RequestApi.md +267 -0
- data/docs/RequestMetadata.md +24 -0
- data/docs/RequestProperties.md +24 -0
- data/docs/RequestStatus.md +24 -0
- data/docs/RequestStatusMetadata.md +24 -0
- data/docs/RequestTarget.md +20 -0
- data/docs/Requests.md +30 -0
- data/docs/Resource.md +28 -0
- data/docs/ResourceEntities.md +18 -0
- data/docs/ResourceGroups.md +24 -0
- data/docs/ResourceLimits.md +50 -0
- data/docs/ResourceProperties.md +20 -0
- data/docs/ResourceReference.md +22 -0
- data/docs/Resources.md +24 -0
- data/docs/ResourcesUsers.md +24 -0
- data/docs/S3Key.md +26 -0
- data/docs/S3KeyMetadata.md +20 -0
- data/docs/S3KeyProperties.md +20 -0
- data/docs/S3Keys.md +24 -0
- data/docs/S3ObjectStorageSSO.md +18 -0
- data/docs/Server.md +28 -0
- data/docs/ServerApi.md +1573 -0
- data/docs/ServerEntities.md +22 -0
- data/docs/ServerProperties.md +32 -0
- data/docs/Servers.md +30 -0
- data/docs/Snapshot.md +26 -0
- data/docs/SnapshotApi.md +429 -0
- data/docs/SnapshotProperties.md +48 -0
- data/docs/Snapshots.md +24 -0
- data/docs/Type.md +15 -0
- data/docs/User.md +28 -0
- data/docs/UserManagementApi.md +2547 -0
- data/docs/UserMetadata.md +22 -0
- data/docs/UserProperties.md +34 -0
- data/docs/Users.md +24 -0
- data/docs/UsersEntities.md +20 -0
- data/docs/Volume.md +26 -0
- data/docs/VolumeApi.md +711 -0
- data/docs/VolumeProperties.md +54 -0
- data/docs/Volumes.md +30 -0
- data/docs/summary.md +295 -0
- data/gitbook.yaml +4 -0
- data/lib/ionoscloud/api/_api.rb +1 -1
- data/lib/ionoscloud/api_client.rb +1 -4
- data/lib/ionoscloud/models/backup_units.rb +2 -2
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +2 -2
- data/lib/ionoscloud/models/firewallrule_properties.rb +36 -21
- data/lib/ionoscloud/models/kubernetes_node.rb +2 -2
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +2 -2
- data/lib/ionoscloud/models/kubernetes_nodes.rb +2 -2
- data/lib/ionoscloud/models/label_resources.rb +2 -2
- data/lib/ionoscloud/models/labels.rb +2 -2
- data/lib/ionoscloud/models/loadbalancer_properties.rb +12 -29
- data/lib/ionoscloud/models/type.rb +1 -0
- data/lib/ionoscloud/models/volume_properties.rb +14 -4
- data/lib/ionoscloud/version.rb +1 -1
- data/spec/models/backup_units_spec.rb +1 -1
- data/spec/models/datacenter_element_metadata_spec.rb +1 -1
- data/spec/models/firewallrule_properties_spec.rb +0 -12
- data/spec/models/kubernetes_node_metadata_spec.rb +1 -1
- data/spec/models/kubernetes_node_spec.rb +1 -1
- data/spec/models/kubernetes_nodes_spec.rb +1 -1
- data/spec/models/label_resources_spec.rb +1 -1
- data/spec/models/labels_spec.rb +1 -1
- data/spec/models/loadbalancer_properties_spec.rb +0 -4
- data/spec/models/volume_properties_spec.rb +6 -0
- metadata +264 -120
- data/DOCS.md +0 -14618
- data/README.md +0 -55
@@ -0,0 +1,54 @@
|
|
1
|
+
# VolumeProperties
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | A name of that resource | [optional] |
|
8
|
+
| **type** | **String** | Hardware type of the volume. | [optional] |
|
9
|
+
| **size** | **Float** | The size of the volume in GB | |
|
10
|
+
| **availability_zone** | **String** | The availability zone in which the volume should exist. The storage volume will be provisioned on as less physical storages as possible but cannot guarantee upfront | [optional] |
|
11
|
+
| **image** | **String** | Image or snapshot ID to be used as template for this volume | [optional] |
|
12
|
+
| **image_password** | **String** | Initial password to be set for installed OS. Works with public images only. Not modifiable, forbidden in update requests. Password rules allows all characters from a-z, A-Z, 0-9 | [optional] |
|
13
|
+
| **image_alias** | **String** | | [optional] |
|
14
|
+
| **ssh_keys** | **Array<String>** | Public SSH keys are set on the image as authorized keys for appropriate SSH login to the instance using the corresponding private key. This field may only be set in creation requests. When reading, it always returns null. SSH keys are only supported if a public Linux image is used for the volume creation. | [optional] |
|
15
|
+
| **bus** | **String** | The bus type of the volume. Default is VIRTIO | [optional] |
|
16
|
+
| **licence_type** | **String** | OS type of this volume | [optional][readonly] |
|
17
|
+
| **cpu_hot_plug** | **Boolean** | Is capable of CPU hot plug (no reboot required) | [optional] |
|
18
|
+
| **ram_hot_plug** | **Boolean** | Is capable of memory hot plug (no reboot required) | [optional] |
|
19
|
+
| **nic_hot_plug** | **Boolean** | Is capable of nic hot plug (no reboot required) | [optional] |
|
20
|
+
| **nic_hot_unplug** | **Boolean** | Is capable of nic hot unplug (no reboot required) | [optional] |
|
21
|
+
| **disc_virtio_hot_plug** | **Boolean** | Is capable of Virt-IO drive hot plug (no reboot required) | [optional] |
|
22
|
+
| **disc_virtio_hot_unplug** | **Boolean** | Is capable of Virt-IO drive hot unplug (no reboot required). This works only for non-Windows virtual Machines. | [optional] |
|
23
|
+
| **device_number** | **Integer** | The LUN ID of the storage volume. Null for volumes not mounted to any VM | [optional][readonly] |
|
24
|
+
| **backupunit_id** | **String** | The uuid of the Backup Unit that user has access to. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provied either public image or imageAlias in conjunction with this property. | [optional] |
|
25
|
+
| **user_data** | **String** | The cloud-init configuration for the volume as base64 encoded string. The property is immutable and is only allowed to be set on a new volume creation. It is mandatory to provide either 'public image' or 'imageAlias' that has cloud-init compatibility in conjunction with this property. | [optional] |
|
26
|
+
|
27
|
+
## Example
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
require 'ionoscloud'
|
31
|
+
|
32
|
+
instance = Ionoscloud::VolumeProperties.new(
|
33
|
+
name: My resource,
|
34
|
+
type: HDD,
|
35
|
+
size: 100.0,
|
36
|
+
availability_zone: AUTO,
|
37
|
+
image: d6ad1576-fde9-4696-aa41-1ebd75bdaf49,
|
38
|
+
image_password: mypass123,
|
39
|
+
image_alias: null,
|
40
|
+
ssh_keys: [ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/4JNoFQBsaGV974hDmloS5LOvSJjKpXs8Ed437ln712345, ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyWh6LZ7f2wxnupVgtK2096bc69Vv9uT2A58lwN3ol0A6mxqlT0f4M1NbarVUxa+MVdxBLud5PvlkbYc9mY91OyzLGZMfVWvhAYz/tJSsDtsgRUl0GFVv332zDWk0i+mAVy0N408OORm5XqV6zvIDaiB/jopyjemUp2rnP7pXU4+98ilZw6ef9DF9y4YZ64mchL5//rcrGm1Lff3pC75X/polGONHeG6m4Vs8eIu+0epJ4PJBxO+rwRYp1zMnn90UCk21KvTcYops2cte7ouXQwkGUq3vmXxnSdvuivK/asdfghjkjhyutry545tgvbn76e4rf43],
|
41
|
+
bus: VIRTIO,
|
42
|
+
licence_type: LINUX,
|
43
|
+
cpu_hot_plug: true,
|
44
|
+
ram_hot_plug: true,
|
45
|
+
nic_hot_plug: true,
|
46
|
+
nic_hot_unplug: true,
|
47
|
+
disc_virtio_hot_plug: true,
|
48
|
+
disc_virtio_hot_unplug: true,
|
49
|
+
device_number: 3,
|
50
|
+
backupunit_id: 25f67991-0f51-4efc-a8ad-ef1fb31a481c,
|
51
|
+
user_data: null
|
52
|
+
)
|
53
|
+
```
|
54
|
+
|
data/docs/Volumes.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# Volumes
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | The resource's unique identifier | [optional][readonly] |
|
8
|
+
| **type** | [**Type**](Type.md) | The type of object that has been created | [optional] |
|
9
|
+
| **href** | **String** | URL to the object representation (absolute path) | [optional][readonly] |
|
10
|
+
| **items** | [**Array<Volume>**](Volume.md) | Array of items in that collection | [optional][readonly] |
|
11
|
+
| **offset** | **Float** | the offset (if specified in the request) | [optional] |
|
12
|
+
| **limit** | **Float** | the limit (if specified in the request) | [optional] |
|
13
|
+
| **_links** | [**PaginationLinks**](PaginationLinks.md) | | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'ionoscloud'
|
19
|
+
|
20
|
+
instance = Ionoscloud::Volumes.new(
|
21
|
+
id: 15f67991-0f51-4efc-a8ad-ef1fb31a480c,
|
22
|
+
type: "collection",
|
23
|
+
href: <RESOURCE-URI>,
|
24
|
+
items: null,
|
25
|
+
offset: 0,
|
26
|
+
limit: 1000,
|
27
|
+
_links: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
data/docs/summary.md
ADDED
@@ -0,0 +1,295 @@
|
|
1
|
+
# Table of contents
|
2
|
+
|
3
|
+
* [Introduction](README.md)
|
4
|
+
* [Changelog](CHANGELOG.md)
|
5
|
+
|
6
|
+
## API
|
7
|
+
|
8
|
+
* [DefaultApi](DefaultApi.md)
|
9
|
+
|
10
|
+
* [BackupUnitApi](BackupUnitApi.md)
|
11
|
+
|
12
|
+
* [ContractApi](ContractApi.md)
|
13
|
+
|
14
|
+
* [DataCenterApi](DataCenterApi.md)
|
15
|
+
|
16
|
+
* [IPBlocksApi](IPBlocksApi.md)
|
17
|
+
|
18
|
+
* [ImageApi](ImageApi.md)
|
19
|
+
|
20
|
+
* [KubernetesApi](KubernetesApi.md)
|
21
|
+
|
22
|
+
* [LabelApi](LabelApi.md)
|
23
|
+
|
24
|
+
* [LanApi](LanApi.md)
|
25
|
+
|
26
|
+
* [LoadBalancerApi](LoadBalancerApi.md)
|
27
|
+
|
28
|
+
* [LocationApi](LocationApi.md)
|
29
|
+
|
30
|
+
* [NicApi](NicApi.md)
|
31
|
+
|
32
|
+
* [PrivateCrossConnectApi](PrivateCrossConnectApi.md)
|
33
|
+
|
34
|
+
* [RequestApi](RequestApi.md)
|
35
|
+
|
36
|
+
* [ServerApi](ServerApi.md)
|
37
|
+
|
38
|
+
* [SnapshotApi](SnapshotApi.md)
|
39
|
+
|
40
|
+
* [UserManagementApi](UserManagementApi.md)
|
41
|
+
|
42
|
+
* [VolumeApi](VolumeApi.md)
|
43
|
+
|
44
|
+
|
45
|
+
## Models
|
46
|
+
|
47
|
+
* [AttachedVolumes](AttachedVolumes.md)
|
48
|
+
|
49
|
+
* [BackupUnit](BackupUnit.md)
|
50
|
+
|
51
|
+
* [BackupUnitProperties](BackupUnitProperties.md)
|
52
|
+
|
53
|
+
* [BackupUnitSSO](BackupUnitSSO.md)
|
54
|
+
|
55
|
+
* [BackupUnits](BackupUnits.md)
|
56
|
+
|
57
|
+
* [BalancedNics](BalancedNics.md)
|
58
|
+
|
59
|
+
* [Cdroms](Cdroms.md)
|
60
|
+
|
61
|
+
* [ConnectableDatacenter](ConnectableDatacenter.md)
|
62
|
+
|
63
|
+
* [Contract](Contract.md)
|
64
|
+
|
65
|
+
* [ContractProperties](ContractProperties.md)
|
66
|
+
|
67
|
+
* [DataCenterEntities](DataCenterEntities.md)
|
68
|
+
|
69
|
+
* [Datacenter](Datacenter.md)
|
70
|
+
|
71
|
+
* [DatacenterElementMetadata](DatacenterElementMetadata.md)
|
72
|
+
|
73
|
+
* [DatacenterProperties](DatacenterProperties.md)
|
74
|
+
|
75
|
+
* [Datacenters](Datacenters.md)
|
76
|
+
|
77
|
+
* [Error](Error.md)
|
78
|
+
|
79
|
+
* [ErrorMessage](ErrorMessage.md)
|
80
|
+
|
81
|
+
* [FirewallRule](FirewallRule.md)
|
82
|
+
|
83
|
+
* [FirewallRules](FirewallRules.md)
|
84
|
+
|
85
|
+
* [FirewallruleProperties](FirewallruleProperties.md)
|
86
|
+
|
87
|
+
* [Group](Group.md)
|
88
|
+
|
89
|
+
* [GroupEntities](GroupEntities.md)
|
90
|
+
|
91
|
+
* [GroupMembers](GroupMembers.md)
|
92
|
+
|
93
|
+
* [GroupProperties](GroupProperties.md)
|
94
|
+
|
95
|
+
* [GroupShare](GroupShare.md)
|
96
|
+
|
97
|
+
* [GroupShareProperties](GroupShareProperties.md)
|
98
|
+
|
99
|
+
* [GroupShares](GroupShares.md)
|
100
|
+
|
101
|
+
* [GroupUsers](GroupUsers.md)
|
102
|
+
|
103
|
+
* [Groups](Groups.md)
|
104
|
+
|
105
|
+
* [IPFailover](IPFailover.md)
|
106
|
+
|
107
|
+
* [Image](Image.md)
|
108
|
+
|
109
|
+
* [ImageProperties](ImageProperties.md)
|
110
|
+
|
111
|
+
* [Images](Images.md)
|
112
|
+
|
113
|
+
* [Info](Info.md)
|
114
|
+
|
115
|
+
* [IpBlock](IpBlock.md)
|
116
|
+
|
117
|
+
* [IpBlockProperties](IpBlockProperties.md)
|
118
|
+
|
119
|
+
* [IpBlocks](IpBlocks.md)
|
120
|
+
|
121
|
+
* [IpConsumer](IpConsumer.md)
|
122
|
+
|
123
|
+
* [KubernetesAutoScaling](KubernetesAutoScaling.md)
|
124
|
+
|
125
|
+
* [KubernetesCluster](KubernetesCluster.md)
|
126
|
+
|
127
|
+
* [KubernetesClusterEntities](KubernetesClusterEntities.md)
|
128
|
+
|
129
|
+
* [KubernetesClusterProperties](KubernetesClusterProperties.md)
|
130
|
+
|
131
|
+
* [KubernetesClusterPropertiesForPostAndPut](KubernetesClusterPropertiesForPostAndPut.md)
|
132
|
+
|
133
|
+
* [KubernetesClusters](KubernetesClusters.md)
|
134
|
+
|
135
|
+
* [KubernetesConfig](KubernetesConfig.md)
|
136
|
+
|
137
|
+
* [KubernetesConfigProperties](KubernetesConfigProperties.md)
|
138
|
+
|
139
|
+
* [KubernetesMaintenanceWindow](KubernetesMaintenanceWindow.md)
|
140
|
+
|
141
|
+
* [KubernetesNode](KubernetesNode.md)
|
142
|
+
|
143
|
+
* [KubernetesNodeMetadata](KubernetesNodeMetadata.md)
|
144
|
+
|
145
|
+
* [KubernetesNodePool](KubernetesNodePool.md)
|
146
|
+
|
147
|
+
* [KubernetesNodePoolForPut](KubernetesNodePoolForPut.md)
|
148
|
+
|
149
|
+
* [KubernetesNodePoolLan](KubernetesNodePoolLan.md)
|
150
|
+
|
151
|
+
* [KubernetesNodePoolProperties](KubernetesNodePoolProperties.md)
|
152
|
+
|
153
|
+
* [KubernetesNodePoolPropertiesForPost](KubernetesNodePoolPropertiesForPost.md)
|
154
|
+
|
155
|
+
* [KubernetesNodePoolPropertiesForPut](KubernetesNodePoolPropertiesForPut.md)
|
156
|
+
|
157
|
+
* [KubernetesNodePools](KubernetesNodePools.md)
|
158
|
+
|
159
|
+
* [KubernetesNodeProperties](KubernetesNodeProperties.md)
|
160
|
+
|
161
|
+
* [KubernetesNodes](KubernetesNodes.md)
|
162
|
+
|
163
|
+
* [Label](Label.md)
|
164
|
+
|
165
|
+
* [LabelProperties](LabelProperties.md)
|
166
|
+
|
167
|
+
* [LabelResource](LabelResource.md)
|
168
|
+
|
169
|
+
* [LabelResourceProperties](LabelResourceProperties.md)
|
170
|
+
|
171
|
+
* [LabelResources](LabelResources.md)
|
172
|
+
|
173
|
+
* [Labels](Labels.md)
|
174
|
+
|
175
|
+
* [Lan](Lan.md)
|
176
|
+
|
177
|
+
* [LanEntities](LanEntities.md)
|
178
|
+
|
179
|
+
* [LanNics](LanNics.md)
|
180
|
+
|
181
|
+
* [LanPost](LanPost.md)
|
182
|
+
|
183
|
+
* [LanProperties](LanProperties.md)
|
184
|
+
|
185
|
+
* [LanPropertiesPost](LanPropertiesPost.md)
|
186
|
+
|
187
|
+
* [Lans](Lans.md)
|
188
|
+
|
189
|
+
* [Loadbalancer](Loadbalancer.md)
|
190
|
+
|
191
|
+
* [LoadbalancerEntities](LoadbalancerEntities.md)
|
192
|
+
|
193
|
+
* [LoadbalancerProperties](LoadbalancerProperties.md)
|
194
|
+
|
195
|
+
* [Loadbalancers](Loadbalancers.md)
|
196
|
+
|
197
|
+
* [Location](Location.md)
|
198
|
+
|
199
|
+
* [LocationProperties](LocationProperties.md)
|
200
|
+
|
201
|
+
* [Locations](Locations.md)
|
202
|
+
|
203
|
+
* [Nic](Nic.md)
|
204
|
+
|
205
|
+
* [NicEntities](NicEntities.md)
|
206
|
+
|
207
|
+
* [NicProperties](NicProperties.md)
|
208
|
+
|
209
|
+
* [Nics](Nics.md)
|
210
|
+
|
211
|
+
* [NoStateMetaData](NoStateMetaData.md)
|
212
|
+
|
213
|
+
* [PaginationLinks](PaginationLinks.md)
|
214
|
+
|
215
|
+
* [Peer](Peer.md)
|
216
|
+
|
217
|
+
* [PrivateCrossConnect](PrivateCrossConnect.md)
|
218
|
+
|
219
|
+
* [PrivateCrossConnectProperties](PrivateCrossConnectProperties.md)
|
220
|
+
|
221
|
+
* [PrivateCrossConnects](PrivateCrossConnects.md)
|
222
|
+
|
223
|
+
* [Request](Request.md)
|
224
|
+
|
225
|
+
* [RequestMetadata](RequestMetadata.md)
|
226
|
+
|
227
|
+
* [RequestProperties](RequestProperties.md)
|
228
|
+
|
229
|
+
* [RequestStatus](RequestStatus.md)
|
230
|
+
|
231
|
+
* [RequestStatusMetadata](RequestStatusMetadata.md)
|
232
|
+
|
233
|
+
* [RequestTarget](RequestTarget.md)
|
234
|
+
|
235
|
+
* [Requests](Requests.md)
|
236
|
+
|
237
|
+
* [Resource](Resource.md)
|
238
|
+
|
239
|
+
* [ResourceEntities](ResourceEntities.md)
|
240
|
+
|
241
|
+
* [ResourceGroups](ResourceGroups.md)
|
242
|
+
|
243
|
+
* [ResourceLimits](ResourceLimits.md)
|
244
|
+
|
245
|
+
* [ResourceProperties](ResourceProperties.md)
|
246
|
+
|
247
|
+
* [ResourceReference](ResourceReference.md)
|
248
|
+
|
249
|
+
* [Resources](Resources.md)
|
250
|
+
|
251
|
+
* [ResourcesUsers](ResourcesUsers.md)
|
252
|
+
|
253
|
+
* [S3Key](S3Key.md)
|
254
|
+
|
255
|
+
* [S3KeyMetadata](S3KeyMetadata.md)
|
256
|
+
|
257
|
+
* [S3KeyProperties](S3KeyProperties.md)
|
258
|
+
|
259
|
+
* [S3Keys](S3Keys.md)
|
260
|
+
|
261
|
+
* [S3ObjectStorageSSO](S3ObjectStorageSSO.md)
|
262
|
+
|
263
|
+
* [Server](Server.md)
|
264
|
+
|
265
|
+
* [ServerEntities](ServerEntities.md)
|
266
|
+
|
267
|
+
* [ServerProperties](ServerProperties.md)
|
268
|
+
|
269
|
+
* [Servers](Servers.md)
|
270
|
+
|
271
|
+
* [Snapshot](Snapshot.md)
|
272
|
+
|
273
|
+
* [SnapshotProperties](SnapshotProperties.md)
|
274
|
+
|
275
|
+
* [Snapshots](Snapshots.md)
|
276
|
+
|
277
|
+
* [Type](Type.md)
|
278
|
+
|
279
|
+
* [User](User.md)
|
280
|
+
|
281
|
+
* [UserMetadata](UserMetadata.md)
|
282
|
+
|
283
|
+
* [UserProperties](UserProperties.md)
|
284
|
+
|
285
|
+
* [Users](Users.md)
|
286
|
+
|
287
|
+
* [UsersEntities](UsersEntities.md)
|
288
|
+
|
289
|
+
* [Volume](Volume.md)
|
290
|
+
|
291
|
+
* [VolumeProperties](VolumeProperties.md)
|
292
|
+
|
293
|
+
* [Volumes](Volumes.md)
|
294
|
+
|
295
|
+
|
data/gitbook.yaml
ADDED
data/lib/ionoscloud/api/_api.rb
CHANGED
@@ -74,7 +74,7 @@ module Ionoscloud
|
|
74
74
|
return_type = opts[:debug_return_type] || 'Info'
|
75
75
|
|
76
76
|
# auth_names
|
77
|
-
auth_names = opts[:debug_auth_names] || []
|
77
|
+
auth_names = opts[:debug_auth_names] || ['Basic Authentication']
|
78
78
|
|
79
79
|
new_options = opts.merge(
|
80
80
|
:operation => :"DefaultApi.api_info_get",
|
@@ -441,10 +441,7 @@ module Ionoscloud
|
|
441
441
|
end
|
442
442
|
|
443
443
|
while true
|
444
|
-
request = Ionoscloud::RequestApi.new(self).requests_status_get(
|
445
|
-
request_id,
|
446
|
-
{ :debug_auth_names => ['Basic Authentication'] },
|
447
|
-
)
|
444
|
+
request = Ionoscloud::RequestApi.new(self).requests_status_get(request_id)
|
448
445
|
|
449
446
|
if request.metadata.status == 'DONE'
|
450
447
|
break
|
@@ -124,7 +124,7 @@ module Ionoscloud
|
|
124
124
|
# Check to see if the all the properties in the model are valid
|
125
125
|
# @return true if the model is valid
|
126
126
|
def valid?
|
127
|
-
type_validator = EnumAttributeValidator.new('String', ["
|
127
|
+
type_validator = EnumAttributeValidator.new('String', ["collection"])
|
128
128
|
return false unless type_validator.valid?(@type)
|
129
129
|
true
|
130
130
|
end
|
@@ -132,7 +132,7 @@ module Ionoscloud
|
|
132
132
|
# Custom attribute writer method checking allowed values (enum).
|
133
133
|
# @param [Object] type Object to be assigned
|
134
134
|
def type=(type)
|
135
|
-
validator = EnumAttributeValidator.new('String', ["
|
135
|
+
validator = EnumAttributeValidator.new('String', ["collection"])
|
136
136
|
unless validator.valid?(type)
|
137
137
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
138
138
|
end
|
@@ -158,7 +158,7 @@ module Ionoscloud
|
|
158
158
|
# Check to see if the all the properties in the model are valid
|
159
159
|
# @return true if the model is valid
|
160
160
|
def valid?
|
161
|
-
state_validator = EnumAttributeValidator.new('String', ["AVAILABLE", "INACTIVE", "BUSY", "DEPLOYING", "ACTIVE", "FAILED", "SUSPENDED", "FAILED_SUSPENDED", "UPDATING", "FAILED_UPDATING", "DESTROYING", "FAILED_DESTROYING", "TERMINATED"])
|
161
|
+
state_validator = EnumAttributeValidator.new('String', ["AVAILABLE", "INACTIVE", "BUSY", "DEPLOYING", "ACTIVE", "FAILED", "SUSPENDED", "FAILED_SUSPENDED", "UPDATING", "FAILED_UPDATING", "DESTROYING", "FAILED_DESTROYING", "TERMINATED", "UNKNOWN"])
|
162
162
|
return false unless state_validator.valid?(@state)
|
163
163
|
true
|
164
164
|
end
|
@@ -166,7 +166,7 @@ module Ionoscloud
|
|
166
166
|
# Custom attribute writer method checking allowed values (enum).
|
167
167
|
# @param [Object] state Object to be assigned
|
168
168
|
def state=(state)
|
169
|
-
validator = EnumAttributeValidator.new('String', ["AVAILABLE", "INACTIVE", "BUSY", "DEPLOYING", "ACTIVE", "FAILED", "SUSPENDED", "FAILED_SUSPENDED", "UPDATING", "FAILED_UPDATING", "DESTROYING", "FAILED_DESTROYING", "TERMINATED"])
|
169
|
+
validator = EnumAttributeValidator.new('String', ["AVAILABLE", "INACTIVE", "BUSY", "DEPLOYING", "ACTIVE", "FAILED", "SUSPENDED", "FAILED_SUSPENDED", "UPDATING", "FAILED_UPDATING", "DESTROYING", "FAILED_DESTROYING", "TERMINATED", "UNKNOWN"])
|
170
170
|
unless validator.valid?(state)
|
171
171
|
fail ArgumentError, "invalid value for \"state\", must be one of #{validator.allowable_values}."
|
172
172
|
end
|