Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
added Application Load Balancer and Target Group, 18 new models and 2 new APIs
convert filters to map if they come as an object,
removed parameter for KubernetesClusterProperties
, KubernetesClusterPropertiesForPost
models: public
removed parameter for KubernetesNodePoolProperties
model: gatewayIp
Added manageDbaas
field in group-properties.ts
: provides privilege for a group to manage DBaaS related functionality. Admin users already here this enabled by default.
Added deleteVolumes
to datacentersServersDelete
: If true, all attached storage volumes will also be deleted.
Added boot_order
to volume-properties.ts
: Determines whether the volume will be used as a boot volume. Set to NONE
, the volume will not be used as boot volume. Set to PRIMARY
, the volume will be used as boot volume and all other volumes must be set to NONE
. Set to AUTO
or null
requires all volumes to be set to `AUTO` or `null`; this will use the legacy behavior, which is to use the volume as a boot volume only if there are no other volumes or cdrom devices. Defaults to AUTO
.
Fixed IONOS_TOKEN
authentication bug. Now, the authentication using IONOS_TOKEN
works properly.
An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based "Data Center Designer" (DCD) tool or via an easy to use API.
The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, adjusting networking, and so forth. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
API version: 6.0
Package version: 6.0.0
Build package: org.openapitools.codegen.languages.GoClientCodegen
Install the following dependencies:
Import the SDK using:
Or, if the import is done from an ES module, use:
Usage example:
Environment variables can also be used; the SDK uses the following variables:
IONOS_USERNAME - to specify the username used to login
IONOS_PASSWORD - to specify the password
IONOS_TOKEN - if an authentication token is being used
Warning: Make sure to follow the Information Security Best Practices when using credentials within your code or storing them in a file.
Many of the List or Get operations will accept an optional depth argument. Setting this to a value between 0 and 5 affects the amount of data that is returned. The details returned vary depending on the resource being queried, but it generally follows this pattern. By default, the SDK sets the depth argument to the maximum value.
The operations will also accept an optional pretty argument. Setting this to a value of true
or false
controls whether the response is pretty-printed (with indentation and new lines). By default, the SDK sets the pretty argument to true
.
The IONOS Cloud SDK for NodeJs aims to offer access to all resources in the IONOS Cloud API and also offers some additional features that make the integration easier:
authentication for API calls
handling of asynchronous requests
How can I open a bug/feature request?
Bugs & feature requests can be open on the repository issues: https://github.com/ionos-cloud/sdk-nodejs/issues/new/choose
Can I contribute to the NodeJs SDK?
Pure SDKs are automatically generated using OpenAPI Generator and don’t support manual changes. If you need changes please open an issue and we’ll try to take care of it.
Depth | Description |
---|---|
Method | HTTP request | Description |
---|
Name | Type | Description | Notes |
---|
0
Only direct properties are included. Children are not included.
1
Direct properties and children's references are returned.
2
Direct properties and children's properties are returned.
3
Direct properties, children's properties, and descendants' references are returned.
4
Direct properties, children's properties, and descendants' properties are returned.
5
Returns all available properties.
pretty | boolean | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
depth | number | 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] |
xContractNumber | number | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. | [optional][default to undefined] |
GET / | Get API information |