arrow-left

Only this pageAll pages
triangle-exclamation
Couldn't generate the PDF for 217 pages, generation stopped at 100.
Extend with 50 more pages.
1 of 100

Cloud API NodeJS SDK

Loading...

Loading...

API

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...

Models

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...

Changelog

hashtag
6.1.0 (June 15th, 2022)

hashtag
Enhancements:

  • added Application Load Balancer and Target Group, 18 new models and 2 new APIs

hashtag
Fixes:

  • convert filters to map if they come as an object,

  • removed parameter for KubernetesClusterProperties, KubernetesClusterPropertiesForPost models: public

hashtag
6.1.1 (Jul 14th, 2022)

hashtag
Features

  • 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.

hashtag
6.1.2 (Oct 27th, 2022)

hashtag
Fixes

  • Fixed IONOS_TOKEN authentication bug. Now, the authentication using IONOS_TOKEN works properly.

Introduction

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.

hashtag
Overview

This API client was generated by the

ApplicationLoadBalancerEntities

hashtag
Properties

Name
Type
Description
Notes
removed parameter for KubernetesNodePoolProperties model: gatewayIp

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.

project. By using the
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

hashtag
Installation

Install the following dependencies:

hashtag
Usage

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.

hashtag
Depth

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.

Depth
Description

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.

hashtag
Pretty

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.

hashtag
Feature Reference

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

hashtag
FAQ

  1. 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/choosearrow-up-right

  1. 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.

OpenAPI Generatorarrow-up-right
OpenAPI-specarrow-up-right

[optional] [default to undefined]

forwardingrules

DefaultApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

GET /

Get API information

hashtag
apiInfoGet

apiInfoGet(opts)

Get API information

Retrieves the API information such as API version.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

No authorization required

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

ApplicationLoadBalancerForwardingRulePut

hashtag
Properties

Name
Type
Description
Notes

href

BackupUnitSSO

hashtag
Properties

Name
Type
Description
Notes

ssoUrl

IPFailover

hashtag
Properties

Name
Type
Description
Notes

ip

KubernetesClusterEntities

hashtag
Properties

Name
Type
Description
Notes

nodepools

ApplicationLoadBalancerForwardingRule

hashtag
Properties

Name
Type
Description
Notes

ApplicationLoadBalancerForwardingRuleProperties

hashtag
Properties

Name
Type
Description
Notes

ApplicationLoadBalancerForwardingRules

hashtag
Properties

Name
Type
Description
Notes

ApplicationLoadBalancerHttpRuleCondition

hashtag
Properties

Name
Type
Description
Notes

AttachedVolumes

hashtag
Properties

Name
Type
Description
Notes

BackupUnit

hashtag
Properties

Name
Type
Description
Notes

Contract

hashtag
Properties

Name
Type
Description
Notes

ConnectableDatacenter

hashtag
Properties

Name
Type
Description
Notes

BackupUnits

hashtag
Properties

Name
Type
Description
Notes

GroupShareProperties

hashtag
Properties

Name
Type
Description
Notes

GroupShares

hashtag
Properties

Name
Type
Description
Notes

Images

hashtag
Properties

Name
Type
Description
Notes

ErrorMessage

hashtag
Properties

Name
Type
Description
Notes

ApplicationLoadBalancerPut

hashtag
Properties

Name
Type
Description
Notes

FirewallRule

hashtag
Properties

Name
Type
Description
Notes

Groups

hashtag
Properties

Name
Type
Description
Notes

CpuArchitectureProperties

hashtag
Properties

Name
Type
Description
Notes

GroupMembers

hashtag
Properties

Name
Type
Description
Notes

Group

hashtag
Properties

Name
Type
Description
Notes

ContractProperties

hashtag
Properties

Name
Type
Description
Notes

Contracts

hashtag
Properties

Name
Type
Description
Notes

GroupEntities

hashtag
Properties

Name
Type
Description
Notes

FlowLog

hashtag
Properties

Name
Type
Description
Notes

FlowLogProperties

hashtag
Properties

Name
Type
Description
Notes

Info

hashtag
Properties

Name
Type
Description
Notes

KubernetesClusters

hashtag
Properties

Name
Type
Description
Notes

KubernetesNode

hashtag
Properties

Name
Type
Description
Notes

BackupUnitProperties

hashtag
Properties

Name
Type
Description
Notes
npm i --save @ionos-cloud/sdk-nodejs
const sdk = require('@ionos-cloud/sdk-nodejs')
import * as sdk from '@ionos-cloud/sdk-nodejs';
const config = new sdk.Configuration({username: 'YOUR_USERNAME', password: 'YOUR_PASSWORD'});
const dcApi = new sdk.DataCentersApi(config);

dcApi.datacentersGet().then((response) => console.log(response));

5

Returns all available properties.

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

properties

ApplicationLoadBalancerForwardingRuleProperties

[default to undefined]

type

Type

The type of object that has been created.

[optional] [default to undefined]

string

The backup unit single sign on url

[optional] [readonly] [default to undefined]

string

[optional] [default to undefined]

nicUuid

string

[optional] [default to undefined]

KubernetesNodePools

[optional] [default to undefined]

ApplicationLoadBalancerForwardingRules

The matching rule for the HTTP rule condition attribute; this parameter is mandatory for 'HEADER', 'PATH', 'QUERY', 'METHOD', 'HOST', and 'COOKIE' types. It must be 'null' if the type is 'SOURCE_IP'.

[default to undefined]

key

string

The key can only be set when the HTTP rule condition type is 'COOKIES', 'HEADER', or 'QUERY'. For the type 'PATH', 'METHOD', 'HOST', or 'SOURCE_IP' the value must be 'null'.

[optional] [default to undefined]

negate

boolean

Specifies whether the condition should be negated; the default value is 'FALSE'.

[optional] [default to undefined]

type

string

The HTTP rule condition type.

[default to undefined]

value

string

This parameter is mandatory for the conditions 'CONTAINS', 'EQUALS', 'MATCHES', 'STARTS_WITH', 'ENDS_WITH', or if the type is 'SOURCE_IP'. Specify a valid CIDR. If the condition is 'EXISTS', the value must be 'null'.

[optional] [default to undefined]

condition

string

[optional] [default to undefined]

location

string

[optional] [default to undefined]

name

string

[optional] [default to undefined]

id

string

edit privilege on a resource

[optional] [default to undefined]

sharePrivilege

boolean

share privilege on a resource

[optional] [default to undefined]

editPrivilege

boolean

Application internal error code.

[optional] [readonly] [default to undefined]

message

string

A human-readable message.

[optional] [readonly] [default to undefined]

errorCode

string

A valid CPU family name.

[optional] [default to undefined]

maxCores

number

The maximum number of cores available.

[optional] [default to undefined]

maxRam

number

The maximum RAM size in MB.

[optional] [default to undefined]

vendor

string

A valid CPU vendor name.

[optional] [default to undefined]

cpuFamily

string

Specifies the traffic action pattern.

[default to undefined]

bucket

string

The S3 bucket name of an existing IONOS Cloud S3 bucket.

[default to undefined]

direction

string

Specifies the traffic direction pattern.

[default to undefined]

name

string

The resource name.

[default to undefined]

action

string

The API entry point.

[optional] [readonly] [default to undefined]

name

string

The API name.

[optional] [readonly] [default to undefined]

version

string

The API version.

[optional] [readonly] [default to undefined]

href

string

The email associated with the backup unit. Bear in mind that this email does not be the same email as of the user.

[optional] [default to undefined]

name

string

The name of the resource (alphanumeric characters only).

[default to undefined]

password

string

The password associated with that resource.

[optional] [default to undefined]

email

string

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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

Info
apiInfoGet

number

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
});
const api_instance = new ionoscloud.DefaultApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get API information
api_instance
  .apiInfoGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

href

string

The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).

[optional] [default to undefined]

httpRules

An array of items in the collection. The original order of rules is preserved during processing, except that rules of the 'FORWARD' type are processed after the rules with other defined actions. The relative order of the 'FORWARD' type rules is also preserved during the processing.

[optional] [default to undefined]

listenerIp

string

The listening (inbound) IP.

[default to undefined]

listenerPort

number

The listening (inbound) port number; the valid range is 1 to 65535.

[default to undefined]

name

string

The name of the Application Load Balancer forwarding rule.

[default to undefined]

protocol

string

The balancing protocol.

[default to undefined]

serverCertificates

Array<string>

Array of items in the collection.

[optional] [default to undefined]

clientTimeout

number

[optional] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

limit

number

The limit (if specified in the request).

[optional] [default to undefined]

offset

number

The offset (if specified in the request).

[optional] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

_links

[optional] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [default to undefined]

limit

number

The limit (if specified in the request).

[optional] [default to undefined]

offset

number

The offset (if specified in the request).

[optional] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

_links

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

string

The type of object that has been created.

[optional] [readonly] [default to undefined]

href

string

[default to undefined]

type

The type of the resource.

[optional] [default to undefined]

properties

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

type

string

The type of object that has been created.

[optional] [readonly] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

type

Share representing groups and resource relationship

[optional] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

properties

[default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

type

The type of the resource.

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

href

string

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

properties

[default to undefined]

type

The type of the resource.

[optional] [default to undefined]

entities

The contract number.

[optional] [readonly] [default to undefined]

owner

string

The contract owner's user name.

[optional] [readonly] [default to undefined]

regDomain

string

The registration domain of the contract.

[optional] [readonly] [default to undefined]

resourceLimits

[optional] [default to undefined]

status

string

The contract status.

[optional] [readonly] [default to undefined]

contractNumber

number

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

href

string

[optional] [default to undefined]

users

[optional] [default to undefined]

resources

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

href

string

The URL to the collection representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The unique representation of the K8s cluster as a resource collection.

[optional] [readonly] [default to undefined]

items

Array of K8s clusters in the collection.

[optional] [readonly] [default to undefined]

type

string

The resource type within a collection.

[optional] [readonly] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

string

The object type.

[optional] [readonly] [default to undefined]

href

string

Cdroms

hashtag
Properties

Name
Type
Description
Notes

_links

TemplatesApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

GET /templates/{templateId}

Get Cubes Template by ID

GET /templates

Get Cubes Templates

hashtag
templatesFindById

BalancedNics

hashtag
Properties

Name
Type
Description
Notes

_links

GroupShare

hashtag
Properties

Name
Type
Description
Notes

href

KubernetesClusterForPut

hashtag
Properties

Name
Type
Description
Notes

entities

IpBlock

hashtag
Properties

Name
Type
Description
Notes

href

KubernetesCluster

hashtag
Properties

Name
Type
Description
Notes

entities

DataCenterEntities

hashtag
Properties

Name
Type
Description
Notes

lans

GroupUsers

Collection of the groups the user is a member of.

hashtag
Properties

Name
Type
Description
Notes

KubernetesClusterForPost

hashtag
Properties

Name
Type
Description
Notes

entities

KubernetesMaintenanceWindow

hashtag
Properties

Name
Type
Description
Notes

dayOfTheWeek

KubernetesNodeMetadata

hashtag
Properties

Name
Type
Description
Notes

createdDate

KubernetesNodePoolForPost

hashtag
Properties

Name
Type
Description
Notes

href

KubernetesAutoScaling

hashtag
Properties

Name
Type
Description
Notes

maxNodeCount

FirewallRules

hashtag
Properties

Name
Type
Description
Notes

ApplicationLoadBalancers

hashtag
Properties

Name
Type
Description
Notes

Datacenter

hashtag
Properties

Name
Type
Description
Notes

Image

hashtag
Properties

Name
Type
Description
Notes

DatacenterProperties

hashtag
Properties

Name
Type
Description
Notes

FlowLogPut

hashtag
Properties

Name
Type
Description
Notes

IpBlocks

hashtag
Properties

Name
Type
Description
Notes

ApplicationLoadBalancer

hashtag
Properties

Name
Type
Description
Notes

IpBlockProperties

hashtag
Properties

Name
Type
Description
Notes

ApplicationLoadBalancerProperties

hashtag
Properties

Name
Type
Description
Notes

Datacenters

hashtag
Properties

Name
Type
Description
Notes

KubernetesClusterPropertiesForPut

hashtag
Properties

Name
Type
Description
Notes

IpConsumer

hashtag
Properties

Name
Type
Description
Notes

FlowLogs

hashtag
Properties

Name
Type
Description
Notes

KubernetesNodePoolForPut

hashtag
Properties

Name
Type
Description
Notes

KubernetesNodePoolLan

hashtag
Properties

Name
Type
Description
Notes

KubernetesNodePool

hashtag
Properties

Name
Type
Description
Notes

PaginationLinks

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array<Image>

Array of items in the collection.

[optional] [default to undefined]

limit

number

The limit (if specified in the request).

[optional] [default to undefined]

offset

number

The offset (if specified in the request).

[optional] [default to undefined]

type

Type

The type of object that has been created.

[optional] [default to undefined]

PaginationLinks

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array<Nic>

Array of items in the collection.

[optional] [readonly] [default to undefined]

limit

number

The limit (if specified in the request).

[optional] [default to undefined]

offset

number

The offset (if specified in the request).

[optional] [default to undefined]

type

Type

The type of object that has been created.

[optional] [default to undefined]

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

properties

GroupShareProperties

[default to undefined]

type

Type

resource as generic type

[optional] [default to undefined]

KubernetesClusterEntities

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

DatacenterElementMetadata

[optional] [default to undefined]

properties

KubernetesClusterPropertiesForPut

[default to undefined]

type

string

The type of object.

[optional] [readonly] [default to undefined]

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

DatacenterElementMetadata

[optional] [default to undefined]

properties

IpBlockProperties

[default to undefined]

type

Type

The type of object that has been created.

[optional] [default to undefined]

KubernetesClusterEntities

[optional] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource unique identifier.

[optional] [readonly] [default to undefined]

metadata

DatacenterElementMetadata

[optional] [default to undefined]

properties

KubernetesClusterProperties

[default to undefined]

type

string

The object type.

[optional] [readonly] [default to undefined]

Lans

[optional] [default to undefined]

loadbalancers

Loadbalancers

[optional] [default to undefined]

natgateways

NatGateways

[optional] [default to undefined]

networkloadbalancers

NetworkLoadBalancers

[optional] [default to undefined]

servers

Servers

[optional] [default to undefined]

volumes

Volumes

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array<Group>

Array of items in the collection.

[optional] [readonly] [default to undefined]

type

Type

The type of the resource.

[optional] [default to undefined]

KubernetesClusterEntities

[optional] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource unique identifier.

[optional] [readonly] [default to undefined]

metadata

DatacenterElementMetadata

[optional] [default to undefined]

properties

KubernetesClusterPropertiesForPost

[default to undefined]

type

string

The object type.

[optional] [readonly] [default to undefined]

string

The weekday for a maintenance window.

[default to undefined]

time

string

The time to use for a maintenance window. Accepted formats are: HH:mm:ss; HH:mm:ss"Z"; HH:mm:ssZ. This time may vary by 15 minutes.

[default to undefined]

string

The date the resource was created.

[optional] [readonly] [default to undefined]

etag

string

The resource entity tag as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11 Entity tags are also added as 'ETag' response headers to requests that do not use the 'depth' parameter.

[optional] [readonly] [default to undefined]

lastModifiedDate

string

The date the resource was last modified.

[optional] [readonly] [default to undefined]

lastSoftwareUpdatedDate

string

The date when the software on the node was last updated.

[optional] [readonly] [default to undefined]

state

string

The resource state.

[optional] [readonly] [default to undefined]

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

DatacenterElementMetadata

[optional] [default to undefined]

properties

KubernetesNodePoolPropertiesForPost

[default to undefined]

type

string

The object type.

[optional] [readonly] [default to undefined]

number

The maximum number of worker nodes that the managed node pool can scale in. Must be >= minNodeCount and must be >= nodeCount. Required if autoScaling is specified.

[default to undefined]

minNodeCount

number

The minimum number of working nodes that the managed node pool can scale must be >= 1 and >= nodeCount. Required if autoScaling is specified.

[default to undefined]

DatacenterElementMetadata
ApplicationLoadBalancerForwardingRuleProperties
Type
Array<ApplicationLoadBalancerHttpRule>
PaginationLinks
Array<ApplicationLoadBalancerForwardingRule>
Type
PaginationLinks
Array<Volume>
Type
DatacenterElementMetadata
BackupUnitProperties
ContractProperties
Type
Array<BackupUnit>
Array<GroupShare>
Type
Array<Image>
Type
ApplicationLoadBalancerProperties
Type
DatacenterElementMetadata
FirewallruleProperties
Type
Array<Group>
Type
Array<User>
Type
GroupEntities
GroupProperties
Type
ResourceLimits
Array<Contract>
Type
ResourceGroups
GroupMembers
DatacenterElementMetadata
FlowLogProperties
Type
Array<KubernetesCluster>
KubernetesNodeMetadata
KubernetesNodeProperties
templatesFindById
templatesGet

Collection of the Application Load Balancer IP addresses. (Inbound and outbound) IPs of the 'listenerLan' are customer-reserved public IPs for the public load balancers, and private IPs for the private load balancers.

[optional] [default to undefined]

lbPrivateIps

Array<string>

Collection of private IP addresses with the subnet mask of the Application Load Balancer. IPs must contain valid a subnet mask. If no IP is provided, the system will generate an IP with /24 subnet.

[optional] [default to undefined]

listenerLan

number

The ID of the listening (inbound) LAN.

[default to undefined]

name

string

The Application Load Balancer name.

[default to undefined]

targetLan

number

The ID of the balanced private target LAN (outbound).

[default to undefined]

ips

Array<string>

[optional] [default to undefined]

datacenterName

string

[optional] [default to undefined]

ip

string

[optional] [default to undefined]

k8sClusterUuid

string

[optional] [default to undefined]

k8sNodePoolUuid

string

[optional] [default to undefined]

mac

string

[optional] [default to undefined]

nicId

string

[optional] [default to undefined]

serverId

string

[optional] [default to undefined]

serverName

string

[optional] [default to undefined]

datacenterId

string

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

limit

number

The limit (if specified in the request).

[optional] [default to undefined]

offset

number

The offset (if specified in the request).

[optional] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

_links

[optional] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

limit

number

The limit (if specified in the request).

[optional] [default to undefined]

offset

number

The offset (if specified in the request).

[optional] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

_links

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

entities

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

href

string

Array of features and CPU families available in a location

[optional] [readonly] [default to undefined]

description

string

A description for the datacenter, such as staging, production.

[optional] [default to undefined]

features

Array<string>

List of features supported by the location where this data center is provisioned.

[optional] [readonly] [default to undefined]

ipv6CidrBlock

string

This value is either 'null' or contains an automatically-assigned /56 IPv6 CIDR block if IPv6 is enabled on this virtual data center. It can neither be changed nor removed.

[optional] [readonly] [default to undefined]

location

string

The physical location where the datacenter will be created. This will be where all of your servers live. Property cannot be modified after datacenter creation (disallowed in update requests).

[default to undefined]

name

string

The name of the resource.

[optional] [default to undefined]

secAuthProtection

boolean

Boolean value representing if the data center requires extra protection, such as two-step verification.

[optional] [default to undefined]

version

number

The version of the data center; incremented with every change.

[optional] [readonly] [default to undefined]

cpuArchitecture

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

properties

[default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

href

string

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

limit

number

The limit, specified in the request (if not specified, the endpoint's default pagination limit is used).

[optional] [default to undefined]

offset

number

The offset, specified in the request (if not is specified, 0 is used by default).

[optional] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

_links

[optional] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

entities

Read-Only attribute. Lists consumption detail for an individual IP

[optional] [readonly] [default to undefined]

ips

Array<string>

Collection of IPs, associated with the IP Block.

[optional] [readonly] [default to undefined]

location

string

Location of that IP block. Property cannot be modified after it is created (disallowed in update requests).

[default to undefined]

name

string

The name of the resource.

[optional] [default to undefined]

size

number

The size of the IP block.

[default to undefined]

ipConsumers

[optional] [default to undefined]

href

string

URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

limit

number

The limit (if specified in the request).

[optional] [default to undefined]

offset

number

The offset (if specified in the request).

[optional] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

_links

Access to the K8s API server is restricted to these CIDRs. Intra-cluster traffic is not affected by this restriction. If no AllowList is specified, access is not limited. If an IP is specified without a subnet mask, the default value is 32 for IPv4 and 128 for IPv6.

[optional] [default to undefined]

k8sVersion

string

The Kubernetes version that the cluster is running. This limits which Kubernetes versions can run in a cluster's node pools. Also, not all Kubernetes versions are suitable upgrade targets for all earlier versions.

[optional] [default to undefined]

maintenanceWindow

[optional] [default to undefined]

name

string

A Kubernetes cluster name. Valid Kubernetes cluster name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

[default to undefined]

s3Buckets

List of S3 buckets configured for K8s usage. At the moment, it contains only one S3 bucket that is used to store K8s API audit logs.

[optional] [default to undefined]

apiSubnetAllowList

Array<string>

[optional] [default to undefined]

href

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

items

Array of items in the collection.

[optional] [readonly] [default to undefined]

limit

number

The limit (if specified in the request).

[optional] [default to undefined]

offset

number

The offset (if specified in the request).

[optional] [default to undefined]

type

The type of object that has been created.

[optional] [default to undefined]

_links

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

string

The object type.

[optional] [readonly] [default to undefined]

href

string

The datacenter ID, requires system privileges, for internal usage only

[optional] [default to undefined]

dhcp

boolean

Specifies whether the Kubernetes node pool LAN reserves an IP with DHCP.

[optional] [default to undefined]

id

number

The LAN ID of an existing LAN at the related data center

[default to undefined]

routes

The array of additional LANs attached to worker nodes.

[optional] [default to undefined]

datacenterId

string

The URL to the object representation (absolute path).

[optional] [readonly] [default to undefined]

id

string

The resource's unique identifier.

[optional] [readonly] [default to undefined]

metadata

[optional] [default to undefined]

properties

[default to undefined]

type

string

The object type.

[optional] [readonly] [default to undefined]

href

string

ContractResourcesApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

GET /contracts

Get Contract Information

hashtag
contractsGet

contractsGet(opts)

Get Contract Information

Retrieves the properties of the user's contract. This operation allows you to obtain the resource limits and the general contract information.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

ApplicationLoadBalancerHttpRule

hashtag
Properties

Name
Type
Description
Notes

conditions

DatacenterElementMetadata

hashtag
Properties

Name
Type
Description
Notes

createdBy

KubernetesClusterProperties

hashtag
Properties

Name
Type
Description
Notes

apiSubnetAllowList

FirewallruleProperties

hashtag
Properties

Name
Type
Description
Notes

KubernetesClusterPropertiesForPost

hashtag
Properties

Name
Type
Description
Notes

Array<ApplicationLoadBalancerHttpRuleCondition>

An array of items in the collection. The action will be executed only if each condition is met; the rule will always be applied if no conditions are set.

[optional] [default to undefined]

contentType

string

Specifies the content type and is valid only for 'STATIC' actions.

[optional] [default to undefined]

dropQuery

boolean

Indicates whether the query part of the URI should be dropped and is valid only for 'REDIRECT' actions. Default value is 'FALSE', the redirect URI does not contain any query parameters.

[optional] [default to undefined]

location

string

The location for the redirection; this parameter is mandatory and valid only for 'REDIRECT' actions.

[optional] [default to undefined]

name

string

The unique name of the Application Load Balancer HTTP rule.

[default to undefined]

responseMessage

string

The response message of the request; this parameter is mandatory for 'STATIC' actions.

[optional] [default to undefined]

statusCode

number

The status code is for 'REDIRECT' and 'STATIC' actions only. If the HTTP rule is 'REDIRECT' the valid values are: 301, 302, 303, 307, 308; default value is '301'. If the HTTP rule is 'STATIC' the valid values are from the range 200-599; default value is '503'.

[optional] [default to undefined]

targetGroup

string

The ID of the target group; this parameter is mandatory and is valid only for 'FORWARD' actions.

[optional] [default to undefined]

type

string

The HTTP rule type.

[default to undefined]

string

The user who created the resource.

[optional] [readonly] [default to undefined]

createdByUserId

string

The unique ID of the user who created the resource.

[optional] [readonly] [default to undefined]

createdDate

string

The last time the resource was created.

[optional] [readonly] [default to undefined]

etag

string

Resource's Entity Tag as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11 Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.

[optional] [readonly] [default to undefined]

lastModifiedBy

string

The user who last modified the resource.

[optional] [readonly] [default to undefined]

lastModifiedByUserId

string

The unique ID of the user who last modified the resource.

[optional] [readonly] [default to undefined]

lastModifiedDate

string

The last time the resource was modified.

[optional] [readonly] [default to undefined]

state

string

State of the resource. AVAILABLE There are no pending modification requests for this item; BUSY There is at least one modification request pending and all following requests will be queued; INACTIVE Resource has been de-provisioned; DEPLOYING Resource state DEPLOYING - relevant for Kubernetes cluster/nodepool; ACTIVE Resource state ACTIVE - relevant for Kubernetes cluster/nodepool; FAILED Resource state FAILED - relevant for Kubernetes cluster/nodepool; SUSPENDED Resource state SUSPENDED - relevant for Kubernetes cluster/nodepool; FAILED_SUSPENDED Resource state FAILED_SUSPENDED - relevant for Kubernetes cluster; UPDATING Resource state UPDATING - relevant for Kubernetes cluster/nodepool; FAILED_UPDATING Resource state FAILED_UPDATING - relevant for Kubernetes cluster/nodepool; DESTROYING Resource state DESTROYING - relevant for Kubernetes cluster; FAILED_DESTROYING Resource state FAILED_DESTROYING - relevant for Kubernetes cluster/nodepool; TERMINATED Resource state TERMINATED - relevant for Kubernetes cluster/nodepool; HIBERNATING Resource state HIBERNATING - relevant for Kubernetes cluster/nodepool; FAILED_HIBERNATING Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool; MAINTENANCE Resource state MAINTENANCE - relevant for Kubernetes cluster/nodepool; FAILED_HIBERNATING Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool.

[optional] [readonly] [default to undefined]

Array<string>

Access to the K8s API server is restricted to these CIDRs. Traffic, internal to the cluster, is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value is used: 32 for IPv4 and 128 for IPv6.

[optional] [default to undefined]

availableUpgradeVersions

Array<string>

List of available versions for upgrading the cluster

[optional] [default to undefined]

k8sVersion

string

The Kubernetes version the cluster is running. This imposes restrictions on what Kubernetes versions can be run in a cluster's nodepools. Additionally, not all Kubernetes versions are viable upgrade targets for all prior versions.

[optional] [default to undefined]

location

string

The location of the cluster if the cluster is private. This property is immutable. The location must be enabled for your contract or you must have a Datacenter within that location. This attribute is mandatory if the cluster is private.

[optional] [default to undefined]

maintenanceWindow

KubernetesMaintenanceWindow

[optional] [default to undefined]

name

string

A Kubernetes cluster name. Valid Kubernetes cluster name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

[default to undefined]

natGatewayIp

string

The nat gateway IP of the cluster if the cluster is private. This property is immutable. Must be a reserved IP in the same location as the cluster's location. This attribute is mandatory if the cluster is private.

[optional] [default to undefined]

nodeSubnet

string

The node subnet of the cluster, if the cluster is private. This property is optional and immutable. Must be a valid CIDR notation for an IPv4 network prefix of 16 bits length.

[optional] [default to undefined]

_public

boolean

The indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase.

[optional] [default to true]

s3Buckets

Array<S3Bucket>

List of S3 bucket configured for K8s usage. For now it contains only an S3 bucket used to store K8s API audit logs

[optional] [default to undefined]

viableNodePoolVersions

Array<string>

List of versions that may be used for node pools under this cluster

[optional] [default to undefined]

PaginationLinks
Array<FirewallRule>
Type
PaginationLinks
Array<ApplicationLoadBalancer>
Type
DataCenterEntities
DatacenterElementMetadata
DatacenterProperties
Type
DatacenterElementMetadata
ImageProperties
Type
Array<CpuArchitectureProperties>
FlowLogProperties
Type
PaginationLinks
Array<IpBlock>
Type
ApplicationLoadBalancerEntities
DatacenterElementMetadata
ApplicationLoadBalancerProperties
Type
Array<IpConsumer>
PaginationLinks
Array<Datacenter>
Type
KubernetesMaintenanceWindow
Array<S3Bucket>
PaginationLinks
Array<FlowLog>
Type
DatacenterElementMetadata
KubernetesNodePoolPropertiesForPut
Array<KubernetesNodePoolLanRoutes>
DatacenterElementMetadata
KubernetesNodePoolProperties

Defines the allowed code (from 0 to 254) if protocol ICMP or ICMPv6 is chosen. Value null allows all codes.

[optional] [default to undefined]

icmpType

number

Defines the allowed type (from 0 to 254) if the protocol ICMP or ICMPv6 is chosen. Value null allows all types.

[optional] [default to undefined]

ipVersion

string

The IP version for this rule. If sourceIp or targetIp are specified, you can omit this value - the IP version will then be deduced from the IP address(es) used; if you specify it anyway, it must match the specified IP address(es). If neither sourceIp nor targetIp are specified, this rule allows traffic only for the specified IP version. If neither sourceIp, targetIp nor ipVersion are specified, this rule will only allow IPv4 traffic.

[optional] [default to undefined]

name

string

The name of the resource.

[optional] [default to undefined]

portRangeEnd

number

Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd null to allow all ports.

[optional] [default to undefined]

portRangeStart

number

Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd value null to allow all ports.

[optional] [default to undefined]

protocol

string

The protocol for the rule. Property cannot be modified after it is created (disallowed in update requests).

[default to undefined]

sourceIp

string

Only traffic originating from the respective IP address (or CIDR block) is allowed. Value null allows traffic from any IP address (according to the selected ipVersion).

[optional] [default to undefined]

sourceMac

string

Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee:ff. Value null allows traffic from any MAC address.

[optional] [default to undefined]

targetIp

string

If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address (or CIDR block) of the NIC is allowed. Value null allows traffic to any target IP address (according to the selected ipVersion).

[optional] [default to undefined]

type

string

The type of the firewall rule. If not specified, the default INGRESS value is used.

[optional] [default to undefined]

icmpCode

number

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

Contracts
contractsGet

number

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ContractResourcesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Contract Information
api_instance
  .contractsGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

Access to the K8s API server is restricted to these CIDRs. Intra-cluster traffic is not affected by this restriction. If no AllowList is specified, access is not limited. If an IP is specified without a subnet mask, the default value is 32 for IPv4 and 128 for IPv6.

[optional] [default to undefined]

k8sVersion

string

The Kubernetes version that the cluster is running. This limits which Kubernetes versions can run in a cluster's node pools. Also, not all Kubernetes versions are suitable upgrade targets for all earlier versions.

[optional] [default to undefined]

location

string

This attribute is mandatory if the cluster is private. The location must be enabled for your contract, or you must have a data center at that location. This property is not adjustable.

[optional] [default to undefined]

maintenanceWindow

[optional] [default to undefined]

name

string

A Kubernetes cluster name. Valid Kubernetes cluster name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

[default to undefined]

natGatewayIp

string

The nat gateway IP of the cluster if the cluster is private. This property is immutable. Must be a reserved IP in the same location as the cluster's location. This attribute is mandatory if the cluster is private.

[optional] [default to undefined]

nodeSubnet

string

The node subnet of the cluster, if the cluster is private. This property is optional and immutable. Must be a valid CIDR notation for an IPv4 network prefix of 16 bits length.

[optional] [default to undefined]

_public

boolean

The indicator whether the cluster is public or private. Note that the status FALSE is still in the beta phase.

[optional] [default to true]

s3Buckets

List of S3 buckets configured for K8s usage. At the moment, it contains only one S3 bucket that is used to store K8s API audit logs.

[optional] [default to undefined]

apiSubnetAllowList

Array<string>

GroupProperties

hashtag
Properties

Name
Type
Description
Notes

ImageProperties

hashtag
Properties

Name
Type
Description
Notes
KubernetesMaintenanceWindow
Array<S3Bucket>

Activity log access privilege.

[optional] [default to undefined]

accessAndManageCertificates

boolean

Privilege for a group to access and manage certificates.

[optional] [default to undefined]

accessAndManageDns

boolean

Privilege for a group to access and manage dns records.

[optional] [default to undefined]

accessAndManageMonitoring

boolean

Privilege for a group to access and manage monitoring related functionality (access metrics, CRUD on alarms, alarm-actions etc) using Monotoring-as-a-Service (MaaS).

[optional] [default to undefined]

createBackupUnit

boolean

Create backup unit privilege.

[optional] [default to undefined]

createDataCenter

boolean

Create data center privilege.

[optional] [default to undefined]

createFlowLog

boolean

Create Flow Logs privilege.

[optional] [default to undefined]

createInternetAccess

boolean

Create internet access privilege.

[optional] [default to undefined]

createK8sCluster

boolean

Create Kubernetes cluster privilege.

[optional] [default to undefined]

createPcc

boolean

Create pcc privilege.

[optional] [default to undefined]

createSnapshot

boolean

Create snapshot privilege.

[optional] [default to undefined]

manageDBaaS

boolean

Privilege for a group to manage DBaaS related functionality.

[optional] [default to undefined]

manageDataplatform

boolean

Privilege for a group to access and manage the Data Platform.

[optional] [default to undefined]

manageRegistry

boolean

Privilege for group accessing container registry related functionality.

[optional] [default to undefined]

name

string

The name of the resource.

[optional] [default to undefined]

reserveIp

boolean

Reserve IP block privilege.

[optional] [default to undefined]

s3Privilege

boolean

S3 privilege.

[optional] [default to undefined]

accessActivityLog

boolean

Cloud init compatibility.

[optional] [default to undefined]

cpuHotPlug

boolean

Hot-plug capable CPU (no reboot required).

[optional] [default to undefined]

cpuHotUnplug

boolean

Hot-unplug capable CPU (no reboot required).

[optional] [default to undefined]

description

string

Human-readable description.

[optional] [default to undefined]

discScsiHotPlug

boolean

Hot-plug capable SCSI drive (no reboot required).

[optional] [default to undefined]

discScsiHotUnplug

boolean

Hot-unplug capable SCSI drive (no reboot required). Not supported with Windows VMs.

[optional] [default to undefined]

discVirtioHotPlug

boolean

Hot-plug capable Virt-IO drive (no reboot required).

[optional] [default to undefined]

discVirtioHotUnplug

boolean

Hot-unplug capable Virt-IO drive (no reboot required). Not supported with Windows VMs.

[optional] [default to undefined]

imageAliases

Array<string>

List of image aliases mapped for this image

[optional] [readonly] [default to undefined]

imageType

string

The image type.

[optional] [readonly] [default to undefined]

licenceType

string

The OS type of this image.

[default to undefined]

location

string

The location of this image/snapshot.

[optional] [readonly] [default to undefined]

name

string

The resource name.

[optional] [default to undefined]

nicHotPlug

boolean

Hot-plug capable NIC (no reboot required).

[optional] [default to undefined]

nicHotUnplug

boolean

Hot-unplug capable NIC (no reboot required).

[optional] [default to undefined]

_public

boolean

Indicates whether the image is part of a public repository.

[optional] [readonly] [default to undefined]

ramHotPlug

boolean

Hot-plug capable RAM (no reboot required).

[optional] [default to undefined]

ramHotUnplug

boolean

Hot-unplug capable RAM (no reboot required).

[optional] [default to undefined]

size

number

The image size in GB.

[optional] [readonly] [default to undefined]

cloudInit

string

LocationsApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

GET /locations/{regionId}

Get Locations within a Region

GET /locations/{regionId}/{locationId}

Get Location by ID

hashtag
locationsFindByRegionId

locationsFindByRegionId(regionId, opts)

Get Locations within a Region

Retrieves the available locations in a region specified by its ID. The 'regionId' consists of the two character identifier of the region (country), e.g., 'de'.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
locationsFindByRegionIdAndId

locationsFindByRegionIdAndId(regionId, locationId, opts)

Get Location by ID

Retrieves the information about the location specified by its ID. The 'locationId' consists of the three-digit identifier of the city according to the IATA code.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
locationsGet

locationsGet(opts)

Get Locations

Retrieves the available physical locations where you can deploy cloud resources in a VDC. A location is identified by a combination of the following characters: * a two-character regionId, which represents a country (example: 'de') * a three-character locationId, which represents a city. The 'locationId' is typically based on the IATA code of the city's airport (example: 'txl'). >Note that 'locations' are read-only and cannot be changed.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

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&#39;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]

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

locationsGet

GET /locations

Get Locations

regionId

string

The unique ID of the region.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

regionId

string

The unique ID of the region.

[default to undefined]

locationId

string

The unique ID of the location.

[default to undefined]

pretty

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

Locations
Location
Locations
locationsFindByRegionId
locationsFindByRegionIdAndId

number

boolean

number

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LocationsApi(config);
// Get Locations within a Region
api_instance
  .locationsFindByRegionId({
    regionId: regionId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LocationsApi(config);
// Get Location by ID
api_instance
  .locationsFindByRegionIdAndId({
    regionId: regionId_example,
    locationId: locationId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LocationsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Locations
api_instance
  .locationsGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

RequestsApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

GET /requests/{requestId}

Retrieve requests

GET /requests

List requests

hashtag
requestsFindById

requestsFindById(requestId, opts)

Retrieve requests

Retrieve the properties of the specified request.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
requestsGet

requestsGet(opts)

List requests

List all API requests.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
requestsStatusGet

requestsStatusGet(requestId, opts)

Retrieve request status

Retrieve the status of the specified request.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

filterStatus

string

Filter the list by request status [QUEUED, RUNNING, DONE, FAILED]. Filter is not affected by the depth query parameter.

[optional][default to undefined]

filterCreatedAfter

string

Filter the list to only include the requests created after the date, specified in the yyyy-MM-dd HH:mm:ss format. Filter is not affected by the depth query parameter.

[optional][default to undefined]

filterCreatedBefore

string

Filter the list to only include the requests created before the date, specified in the yyyy-MM-dd HH:mm:ss format. Filter is not affected by the depth query parameter.

[optional][default to undefined]

filterCreatedDate

string

Filter the list to only include the requests that contain the createdDate, specified in the yyyy-MM-dd HH:mm:ss format. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

[optional][default to undefined]

filterCreatedBy

string

Filter the list to only include the requests that contain the createdBy, specified in the yyyy-MM-dd HH:mm:ss format. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

[optional][default to undefined]

filterEtag

string

Filter the list to only include the requests that contain the specified etag. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

[optional][default to undefined]

filterRequestStatus

string

Filter the list to only include the requests that contain the specified requestStatus. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

[optional][default to undefined]

filterMethod

string

Filter the list to only include the requests that contain the specified method. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

[optional][default to undefined]

filterHeaders

string

Filter the list to only include the requests that contain the specified headers. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

[optional][default to undefined]

filterBody

string

Filter the list to only include the requests that contain the specified body. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

[optional][default to undefined]

filterUrl

string

Filter the list to only include the requests that contain the specified URL. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

[optional][default to undefined]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

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&#39;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]

requestsStatusGet

GET /requests/{requestId}/status

Retrieve request status

requestId

string

The unique ID of the request.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

requestId

string

The unique ID of the request.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

Request
Requests
RequestStatus
requestsFindById
requestsGet

number

number

number

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.RequestsApi(config);
// Retrieve requests
api_instance
  .requestsFindById({
    requestId: requestId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.RequestsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List requests
api_instance
  .requestsGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    filterStatus: filterStatus_example,
    filterCreatedAfter: filterCreatedAfter_example,
    filterCreatedBefore: filterCreatedBefore_example,
    filterCreatedDate: filterCreatedDate_example,
    filterCreatedBy: filterCreatedBy_example,
    filterEtag: filterEtag_example,
    filterRequestStatus: filterRequestStatus_example,
    filterMethod: filterMethod_example,
    filterHeaders: filterHeaders_example,
    filterBody: filterBody_example,
    filterUrl: filterUrl_example,
    offset: 56,
    limit: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.RequestsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Retrieve request status
api_instance
  .requestsStatusGet({
    requestId: requestId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

ImagesApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /images/{imageId}

Delete images

GET /images/{imageId}

Retrieve images

hashtag
imagesDelete

imagesDelete(imageId, opts)

Delete images

Delete the specified image; this operation is only supported for private images.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
imagesFindById

imagesFindById(imageId, opts)

Retrieve images

Retrieve the properties of the specified image.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
imagesGet

imagesGet(opts)

List images

List all the images within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
imagesPatch

imagesPatch(imageId, image, opts)

Partially modify images

Update the properties of the specified image.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
imagesPut

imagesPut(imageId, image, opts)

Modify an Image by ID

Modifies the properties of the specified image.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

PrivateCrossConnectsApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /pccs/{pccId}

Delete private Cross-Connects

GET /pccs/{pccId}

Retrieve private Cross-Connects

hashtag
pccsDelete

pccsDelete(pccId, opts)

Delete private Cross-Connects

Remove the specified private Cross-Connect (only if not connected to any data centers).

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
pccsFindById

pccsFindById(pccId, opts)

Retrieve private Cross-Connects

Retrieve a private Cross-Connect by the resource ID. Cross-Connect ID is in the response body when the private Cross-Connect is created, and in the list of private Cross-Connects, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
pccsGet

pccsGet(opts)

List private Cross-Connects

List all private Cross-Connects for your account.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
pccsPatch

pccsPatch(pccId, pcc, opts)

Partially modify private Cross-Connects

Update the properties of the specified private Cross-Connect.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
pccsPost

pccsPost(pcc, opts)

Create a Private Cross-Connect

Creates a private Cross-Connect.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

SnapshotsApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

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&#39;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]

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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&#39;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]

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&#39;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]

imagesGet

GET /images

List images

imagesPatch

PATCH /images/{imageId}

Partially modify images

imagesPut

PUT /images/{imageId}

Modify an Image by ID

imageId

string

The unique ID of the image.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

imageId

string

The unique ID of the image.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

imageId

string

The unique ID of the image.

[default to undefined]

image

ImageProperties

The image properties to be updated.

pretty

imageId

string

The unique ID of the image.

[default to undefined]

image

Image

The modified image

pretty

Image
Images
Image
Image
imagesDelete
imagesFindById

number

number

number

boolean

boolean

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&#39;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]

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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&#39;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]

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&#39;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]

pccsGet

GET /pccs

List private Cross-Connects

pccsPatch

PATCH /pccs/{pccId}

Partially modify private Cross-Connects

pccsPost

POST /pccs

Create a Private Cross-Connect

pccId

string

The unique ID of the private Cross-Connect.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

pccId

string

The unique ID of the private Cross-Connect.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

pccId

string

The unique ID of the private Cross-Connect.

[default to undefined]

pcc

PrivateCrossConnectProperties

The properties of the private Cross-Connect to be updated.

pretty

pcc

PrivateCrossConnect

The private Cross-Connect to create.

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

PrivateCrossConnect
PrivateCrossConnects
PrivateCrossConnect
PrivateCrossConnect
pccsDelete
pccsFindById

number

number

number

boolean

number

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ImagesApi(config);
// Delete images
api_instance
  .imagesDelete({
    imageId: imageId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ImagesApi(config);
// Retrieve images
api_instance
  .imagesFindById({
    imageId: imageId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ImagesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List images
api_instance
  .imagesGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ImagesApi(config);
// Partially modify images
api_instance
  .imagesPatch({
    imageId: imageId_example,
    image: image_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ImagesApi(config);
// Modify an Image by ID
api_instance
  .imagesPut({
    imageId: imageId_example,
    image: image_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.PrivateCrossConnectsApi(config);
// Delete private Cross-Connects
api_instance
  .pccsDelete({
    pccId: pccId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.PrivateCrossConnectsApi(config);
// Retrieve private Cross-Connects
api_instance
  .pccsFindById({
    pccId: pccId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.PrivateCrossConnectsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List private Cross-Connects
api_instance
  .pccsGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.PrivateCrossConnectsApi(config);
// Partially modify private Cross-Connects
api_instance
  .pccsPatch({
    pccId: pccId_example,
    pcc: pcc_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.PrivateCrossConnectsApi(config);
// Create a Private Cross-Connect
api_instance
  .pccsPost({
    pcc: pcc_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

GET /snapshots

List snapshots

PATCH /snapshots/{snapshotId}

Partially modify snapshots

PUT /snapshots/{snapshotId}

Modify a Snapshot by ID

hashtag
snapshotsDelete

snapshotsDelete(snapshotId, opts)

Delete snapshots

Deletes the specified snapshot.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

snapshotId

string

The unique ID of the snapshot.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
snapshotsFindById

snapshotsFindById(snapshotId, opts)

Retrieve snapshots by ID

Retrieve the properties of the specified snapshot.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

snapshotId

string

The unique ID of the snapshot.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

Snapshot

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
snapshotsGet

snapshotsGet(opts)

List snapshots

List all available snapshots.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

hashtag
Return type

Snapshots

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
snapshotsPatch

snapshotsPatch(snapshotId, snapshot, opts)

Partially modify snapshots

Update the properties of the specified snapshot.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

snapshotId

string

The unique ID of the snapshot.

[default to undefined]

snapshot

The properties of the snapshot to be updated.

pretty

hashtag
Return type

Snapshot

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
snapshotsPut

snapshotsPut(snapshotId, snapshot, opts)

Modify a Snapshot by ID

Modifies the properties of the specified snapshot.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

snapshotId

string

The unique ID of the snapshot.

[default to undefined]

snapshot

The modified snapshot

pretty

hashtag
Return type

Snapshot

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

snapshotsDelete

DELETE /snapshots/{snapshotId}

Delete snapshots

snapshotsFindById

GET /snapshots/{snapshotId}

Retrieve snapshots by ID

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.SnapshotsApi(config);
// Delete snapshots
api_instance
  .snapshotsDelete({
    snapshotId: snapshotId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.SnapshotsApi(config);
// Retrieve snapshots by ID
api_instance
  .snapshotsFindById({
    snapshotId: snapshotId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.SnapshotsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List snapshots
api_instance
  .snapshotsGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.SnapshotsApi(config);
// Partially modify snapshots
api_instance
  .snapshotsPatch({
    snapshotId: snapshotId_example,
    snapshot: snapshot_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.SnapshotsApi(config);
// Modify a Snapshot by ID
api_instance
  .snapshotsPut({
    snapshotId: snapshotId_example,
    snapshot: snapshot_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

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&#39;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]

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&#39;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]

number

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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&#39;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]

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&#39;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]

snapshotsGet
snapshotsPatch
snapshotsPut
SnapshotProperties
Snapshot

IPBlocksApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /ipblocks/{ipblockId}

Delete IP blocks

GET /ipblocks/{ipblockId}

Retrieve IP blocks

hashtag
ipblocksDelete

ipblocksDelete(ipblockId, opts)

Delete IP blocks

Remove the specified IP block.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
ipblocksFindById

ipblocksFindById(ipblockId, opts)

Retrieve IP blocks

Retrieve the properties of the specified IP block.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
ipblocksGet

ipblocksGet(opts)

List IP blocks

List all reserved IP blocks.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
ipblocksPatch

ipblocksPatch(ipblockId, ipblock, opts)

Partially modify IP blocks

Update the properties of the specified IP block.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
ipblocksPost

ipblocksPost(ipblock, opts)

Reserve a IP Block

Reserves a new IP block.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
ipblocksPut

ipblocksPut(ipblockId, ipblock, opts)

Modify a IP Block by ID

Modifies the properties of the specified IP block.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

DataCentersApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

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&#39;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]

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 100]

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&#39;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]

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&#39;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]

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&#39;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]

ipblocksGet

GET /ipblocks

List IP blocks

ipblocksPatch

PATCH /ipblocks/{ipblockId}

Partially modify IP blocks

ipblocksPost

POST /ipblocks

Reserve a IP Block

ipblocksPut

PUT /ipblocks/{ipblockId}

Modify a IP Block by ID

ipblockId

string

The unique ID of the IP block.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

ipblockId

string

The unique ID of the IP block.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

ipblockId

string

The unique ID of the IP block.

[default to undefined]

ipblock

IpBlockProperties

The properties of the IP block to be updated.

pretty

ipblock

IpBlock

The IP block to be reserved.

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

ipblockId

string

The unique ID of the IP block.

[default to undefined]

ipblock

IpBlock

The modified IP block.

pretty

IpBlock
IpBlocks
IpBlock
IpBlock
IpBlock
ipblocksDelete
ipblocksFindById

number

number

number

boolean

number

boolean

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.IPBlocksApi(config);
// Delete IP blocks
api_instance
  .ipblocksDelete({
    ipblockId: ipblockId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.IPBlocksApi(config);
// Retrieve IP blocks
api_instance
  .ipblocksFindById({
    ipblockId: ipblockId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.IPBlocksApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List IP blocks 
api_instance
  .ipblocksGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.IPBlocksApi(config);
// Partially modify IP blocks
api_instance
  .ipblocksPatch({
    ipblockId: ipblockId_example,
    ipblock: ipblock_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.IPBlocksApi(config);
// Reserve a IP Block
api_instance
  .ipblocksPost({
    ipblock: ipblock_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.IPBlocksApi(config);
// Modify a IP Block by ID
api_instance
  .ipblocksPut({
    ipblockId: ipblockId_example,
    ipblock: ipblock_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

GET /datacenters

List your data centers

PATCH /datacenters/{datacenterId}

Partially modify a Data Center by ID

POST /datacenters

Create a Data Center

PUT /datacenters/{datacenterId}

Modify a Data Center by ID

hashtag
datacentersDelete

datacentersDelete(datacenterId, opts)

Delete data centers

Delete the specified data center and all the elements it contains. This method is destructive and should be used carefully.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersFindById

datacentersFindById(datacenterId, opts)

Retrieve data centers

Retrieve data centers by resource ID. This value is in the response body when the data center is created, and in the list of the data centers, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

Datacenter

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersGet

datacentersGet(opts)

List your data centers

List the data centers for your account. Default limit is the first 100 items; use pagination query parameters for listing more items.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

hashtag
Return type

Datacenters

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersPatch

datacentersPatch(datacenterId, datacenter, opts)

Partially modify a Data Center by ID

Updates the properties of the specified data center, rename it, or change the description.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

datacenter

The properties of the data center to be updated.

pretty

hashtag
Return type

Datacenter

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersPost

datacentersPost(datacenter, opts)

Create a Data Center

Creates new data centers, and data centers that already contain elements, such as servers and storage volumes. Virtual data centers are the foundation of the platform; they act as logical containers for all other objects you create, such as servers and storage volumes. You can provision as many data centers as needed. Data centers have their own private networks and are logically segmented from each other to create isolation.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenter

The data center to create.

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

Datacenter

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersPut

datacentersPut(datacenterId, datacenter, opts)

Modify a Data Center by ID

Modifies the properties of the specified data center, rename it, or change the description.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

datacenter

The modified data center.

pretty

hashtag
Return type

Datacenter

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

datacentersDelete

DELETE /datacenters/{datacenterId}

Delete data centers

datacentersFindById

GET /datacenters/{datacenterId}

Retrieve data centers

UserS3KeysApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /um/users/{userId}/s3keys/{keyId}

Delete S3 keys

GET /um/users/{userId}/s3keys/{keyId}

Retrieve user S3 keys by key ID

hashtag
umUsersS3keysDelete

umUsersS3keysDelete(userId, keyId, opts)

Delete S3 keys

Delete the specified user S3 key.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersS3keysFindByKeyId

umUsersS3keysFindByKeyId(userId, keyId, opts)

Retrieve user S3 keys by key ID

Retrieve the specified user S3 key. The user ID is in the response body when the user is created, and in the list of the users, returned by GET. The key ID is in the response body when the S3 key is created, and in the list of all user S3 keys, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersS3keysGet

umUsersS3keysGet(userId, opts)

List user S3 keys

List S3 keys by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersS3keysPost

umUsersS3keysPost(userId, opts)

Create user S3 keys

Create an S3 key for the specified user. The user ID is in the response body when the user is created, and in the list of the users, returned by GET. A maximum of five keys per user can be generated.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersS3keysPut

umUsersS3keysPut(userId, keyId, s3Key, opts)

Modify a S3 Key by Key ID

Enables or disables the specified user S3 key.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
umUsersS3ssourlGet

umUsersS3ssourlGet(userId, opts)

Retrieve S3 single sign-on URLs

Retrieve S3 Object Storage single sign-on URLs for the the specified user. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

BackupUnitsApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

TargetGroupsApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.DataCentersApi(config);
// Delete data centers
api_instance
  .datacentersDelete({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.DataCentersApi(config);
// Retrieve data centers
api_instance
  .datacentersFindById({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.DataCentersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List your data centers
api_instance
  .datacentersGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.DataCentersApi(config);
// Partially modify a Data Center by ID
api_instance
  .datacentersPatch({
    datacenterId: datacenterId_example,
    datacenter: datacenter_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.DataCentersApi(config);
// Create a Data Center
api_instance
  .datacentersPost({
    datacenter: datacenter_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.DataCentersApi(config);
// Modify a Data Center by ID
api_instance
  .datacentersPut({
    datacenterId: datacenterId_example,
    datacenter: datacenter_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

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&#39;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]

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&#39;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]

number

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

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&#39;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]

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&#39;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]

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&#39;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]

datacentersGet
datacentersPatch
datacentersPost
datacentersPut
DatacenterProperties
Datacenter
Datacenter

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

The modified S3 key.

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

umUsersS3keysGet

GET /um/users/{userId}/s3keys

List user S3 keys

umUsersS3keysPost

POST /um/users/{userId}/s3keys

Create user S3 keys

umUsersS3keysPut

PUT /um/users/{userId}/s3keys/{keyId}

Modify a S3 Key by Key ID

umUsersS3ssourlGet

GET /um/users/{userId}/s3ssourl

Retrieve S3 single sign-on URLs

userId

string

The unique ID of the user.

[default to undefined]

keyId

string

The unique ID of the S3 key.

[default to undefined]

pretty

userId

string

The unique ID of the user.

[default to undefined]

keyId

string

The unique ID of the S3 key.

[default to undefined]

pretty

userId

string

The unique ID of the user.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

userId

string

The unique ID of the user.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

userId

string

The unique ID of the user.

[default to undefined]

keyId

string

The unique ID of the S3 key.

[default to undefined]

s3Key

userId

string

The unique ID of the user.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

xContractNumber

S3Key
S3Keys
S3Key
S3Key
S3ObjectStorageSSO
umUsersS3keysDelete
umUsersS3keysFindByKeyId

boolean

boolean

number

number

number

GET /backupunits

List backup units

PATCH /backupunits/{backupunitId}

Partially modify backup units

POST /backupunits

Create backup units

PUT /backupunits/{backupunitId}

Modify backup units

GET /backupunits/{backupunitId}/ssourl

Retrieve BU single sign-on URLs

hashtag
backupunitsDelete

backupunitsDelete(backupunitId, opts)

Delete backup units

Remove the specified backup unit. This process will delete: 1) The backup plans inside the backup unit 2) All backups, associated with this backup unit 3) The backup user 4) The backup unit itself

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

backupunitId

string

The unique ID of the backup unit.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
backupunitsFindById

backupunitsFindById(backupunitId, opts)

Retrieve backup units

Retrieve the properties of the specified backup unit.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

backupunitId

string

The unique ID of the backup unit.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

BackupUnit

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
backupunitsGet

backupunitsGet(opts)

List backup units

List all available backup units.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

hashtag
Return type

BackupUnits

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
backupunitsPatch

backupunitsPatch(backupunitId, backupUnit, opts)

Partially modify backup units

Update the properties of the specified backup unit.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

backupunitId

string

The unique ID of the backup unit.

[default to undefined]

backupUnit

The properties of the backup unit to be updated.

pretty

hashtag
Return type

BackupUnit

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
backupunitsPost

backupunitsPost(backupUnit, opts)

Create backup units

Create a backup unit. Backup units are resources, same as storage volumes or snapshots; they can be shared through groups in User management.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

backupUnit

The backup unit to create.

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

BackupUnit

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
backupunitsPut

backupunitsPut(backupunitId, backupUnit, opts)

Modify backup units

Modify the properties of the specified backup unit.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

backupunitId

string

The unique ID of the backup unit.

[default to undefined]

backupUnit

The modified backup unit.

pretty

hashtag
Return type

BackupUnit

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
backupunitsSsourlGet

backupunitsSsourlGet(backupunitId, opts)

Retrieve BU single sign-on URLs

Retrieve a single sign-on URL for the specified backup unit.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

backupunitId

string

The unique ID of the backup unit.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

xContractNumber

hashtag
Return type

BackupUnitSSO

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

backupunitsDelete

DELETE /backupunits/{backupunitId}

Delete backup units

backupunitsFindById

GET /backupunits/{backupunitId}

Retrieve backup units

GET /targetgroups

Get Target Groups

PATCH /targetgroups/{targetGroupId}

Partially Modify a Target Group by ID

POST /targetgroups

Create a Target Group

PUT /targetgroups/{targetGroupId}

Modify a Target Group by ID

hashtag
targetGroupsDelete

targetGroupsDelete(targetGroupId, opts)

Delete a Target Group by ID

Deletes the target group specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

targetGroupId

string

The unique ID of the target group.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
targetgroupsFindByTargetGroupId

targetgroupsFindByTargetGroupId(targetGroupId, opts)

Get a Target Group by ID

Retrieves the properties of the target group specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

targetGroupId

string

The unique ID of the target group.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

TargetGroup

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
targetgroupsGet

targetgroupsGet(opts)

Get Target Groups

Lists target groups. A target group is a set of one or more registered targets. You must specify an IP address, a port number, and a weight for each target. Any object with an IP address in your VDC can be a target, for example, a VM, another load balancer, etc. You can register a target with multiple target groups.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

hashtag
Return type

TargetGroups

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
targetgroupsPatch

targetgroupsPatch(targetGroupId, targetGroupProperties, opts)

Partially Modify a Target Group by ID

Updates the properties of the target group specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

targetGroupId

string

The unique ID of the target group.

[default to undefined]

targetGroupProperties

The target group properties to be updated.

pretty

hashtag
Return type

TargetGroup

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
targetgroupsPost

targetgroupsPost(targetGroup, opts)

Create a Target Group

Creates a target group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

targetGroup

The target group to create.

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

TargetGroup

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
targetgroupsPut

targetgroupsPut(targetGroupId, targetGroup, opts)

Modify a Target Group by ID

Modifies the properties of the target group specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

targetGroupId

string

The unique ID of the target group.

[default to undefined]

targetGroup

The modified target group.

pretty

hashtag
Return type

TargetGroup

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

targetGroupsDelete

DELETE /targetgroups/{targetGroupId}

Delete a Target Group by ID

targetgroupsFindByTargetGroupId

GET /targetgroups/{targetGroupId}

Get a Target Group by ID

FlowLogsApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserS3KeysApi(config);
// Delete S3 keys
api_instance
  .umUsersS3keysDelete({
    userId: userId_example,
    keyId: keyId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserS3KeysApi(config);
// Retrieve user S3 keys by key ID
api_instance
  .umUsersS3keysFindByKeyId({
    userId: userId_example,
    keyId: keyId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserS3KeysApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List user S3 keys
api_instance
  .umUsersS3keysGet({
    userId: userId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserS3KeysApi(config);
// Create user S3 keys
api_instance
  .umUsersS3keysPost({
    userId: userId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserS3KeysApi(config);
// Modify a S3 Key by Key ID
api_instance
  .umUsersS3keysPut({
    userId: userId_example,
    keyId: keyId_example,
    s3Key: s3Key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserS3KeysApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Retrieve S3 single sign-on URLs
api_instance
  .umUsersS3ssourlGet({
    userId: userId_example,
    pretty: true,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.BackupUnitsApi(config);
// Delete backup units
api_instance
  .backupunitsDelete({
    backupunitId: backupunitId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.BackupUnitsApi(config);
// Retrieve backup units
api_instance
  .backupunitsFindById({
    backupunitId: backupunitId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.BackupUnitsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List backup units
api_instance
  .backupunitsGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.BackupUnitsApi(config);
// Partially modify backup units
api_instance
  .backupunitsPatch({
    backupunitId: backupunitId_example,
    backupUnit: backupUnit_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.BackupUnitsApi(config);
// Create backup units
api_instance
  .backupunitsPost({
    backupUnit: backupUnit_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.BackupUnitsApi(config);
// Modify backup units
api_instance
  .backupunitsPut({
    backupunitId: backupunitId_example,
    backupUnit: backupUnit_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.BackupUnitsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Retrieve BU single sign-on URLs
api_instance
  .backupunitsSsourlGet({
    backupunitId: backupunitId_example,
    pretty: true,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.TargetGroupsApi(config);
// Delete a Target Group by ID
api_instance
  .targetGroupsDelete({
    targetGroupId: targetGroupId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.TargetGroupsApi(config);
// Get a Target Group by ID
api_instance
  .targetgroupsFindByTargetGroupId({
    targetGroupId: targetGroupId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.TargetGroupsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Target Groups
api_instance
  .targetgroupsGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.TargetGroupsApi(config);
// Partially Modify a Target Group by ID
api_instance
  .targetgroupsPatch({
    targetGroupId: targetGroupId_example,
    targetGroupProperties: targetGroupProperties_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.TargetGroupsApi(config);
// Create a Target Group
api_instance
  .targetgroupsPost({
    targetGroup: targetGroup_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.TargetGroupsApi(config);
// Modify a Target Group by ID
api_instance
  .targetgroupsPut({
    targetGroupId: targetGroupId_example,
    targetGroup: targetGroup_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
S3Key

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&#39;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]

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&#39;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]

number

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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&#39;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]

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&#39;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]

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&#39;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]

number

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

backupunitsGet
backupunitsPatch
backupunitsPost
backupunitsPut
backupunitsSsourlGet
BackupUnitProperties
BackupUnit
BackupUnit

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&#39;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]

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&#39;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]

number

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (used together with <b><i>offset</i></b> for pagination). It must not exceed <b><i>200</i></b>.

[optional][default to 100]

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&#39;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]

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&#39;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]

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&#39;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]

targetgroupsGet
targetgroupsPatch
targetgroupsPost
targetgroupsPut
TargetGroupProperties
TargetGroup
TargetGroupPut

GET /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs

List Flow Logs

PATCH /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs/{flowlogId}

Partially modify Flow Logs

POST /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs

Create a Flow Log

PUT /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs/{flowlogId}

Modify Flow Logs

hashtag
datacentersServersNicsFlowlogsDelete

datacentersServersNicsFlowlogsDelete(datacenterId, serverId, nicId, flowlogId, opts)

Delete Flow Logs

Delete the specified Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersNicsFlowlogsFindById

datacentersServersNicsFlowlogsFindById(datacenterId, serverId, nicId, flowlogId, opts)

Retrieve Flow Logs

Retrieve the properties of the specified Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FlowLog

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersNicsFlowlogsGet

datacentersServersNicsFlowlogsGet(datacenterId, serverId, nicId, opts)

List Flow Logs

List all the Flow Logs for the specified NIC.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FlowLogs

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersNicsFlowlogsPatch

datacentersServersNicsFlowlogsPatch(datacenterId, serverId, nicId, flowlogId, flowlog, opts)

Partially modify Flow Logs

Update the specified Flow Log record.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FlowLog

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersNicsFlowlogsPost

datacentersServersNicsFlowlogsPost(datacenterId, serverId, nicId, flowlog, opts)

Create a Flow Log

Adds a new Flow Log for the specified NIC.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FlowLog

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersNicsFlowlogsPut

datacentersServersNicsFlowlogsPut(datacenterId, serverId, nicId, flowlogId, flowlog, opts)

Modify Flow Logs

Modify the specified Flow Log record.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FlowLog

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

datacentersServersNicsFlowlogsDelete

DELETE /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs/{flowlogId}

Delete Flow Logs

datacentersServersNicsFlowlogsFindById

GET /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs/{flowlogId}

Retrieve Flow Logs

NetworkInterfacesApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FlowLogsApi(config);
// Delete Flow Logs
api_instance
  .datacentersServersNicsFlowlogsDelete({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    flowlogId: flowlogId_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FlowLogsApi(config);
// Retrieve Flow Logs
api_instance
  .datacentersServersNicsFlowlogsFindById({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    flowlogId: flowlogId_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FlowLogsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List Flow Logs
api_instance
  .datacentersServersNicsFlowlogsGet({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    pretty: true,
    depth: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FlowLogsApi(config);
// Partially modify Flow Logs
api_instance
  .datacentersServersNicsFlowlogsPatch({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    flowlogId: flowlogId_example,
    flowlog: flowlog_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FlowLogsApi(config);
// Create a Flow Log
api_instance
  .datacentersServersNicsFlowlogsPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    flowlog: flowlog_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FlowLogsApi(config);
// Modify Flow Logs
api_instance
  .datacentersServersNicsFlowlogsPut({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    flowlogId: flowlogId_example,
    flowlog: flowlog_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

string

The unique ID of the NIC.

[default to undefined]

flowlogId

string

The unique ID of the Flow Log.

[default to undefined]

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

string

The unique ID of the NIC.

[default to undefined]

flowlogId

string

The unique ID of the Flow Log.

[default to undefined]

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

string

The unique ID of the NIC.

[default to undefined]

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

string

The unique ID of the NIC.

[default to undefined]

flowlogId

string

The unique ID of the Flow Log.

[default to undefined]

flowlog

FlowLogProperties

The Flow Log record to be updated.

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

string

The unique ID of the NIC.

[default to undefined]

flowlog

FlowLog

The Flow Log to create.

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

string

The unique ID of the NIC.

[default to undefined]

flowlogId

string

The unique ID of the Flow Log.

[default to undefined]

flowlog

FlowLogPut

The modified Flow Log.

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

datacentersServersNicsFlowlogsGet
datacentersServersNicsFlowlogsPatch
datacentersServersNicsFlowlogsPost
datacentersServersNicsFlowlogsPut

GET /datacenters/{datacenterId}/servers/{serverId}/nics

List NICs

PATCH /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}

Partially modify NICs

POST /datacenters/{datacenterId}/servers/{serverId}/nics

Create a NIC

PUT /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}

Modify NICs

hashtag
datacentersServersNicsDelete

datacentersServersNicsDelete(datacenterId, serverId, nicId, opts)

Delete NICs

Remove the specified NIC.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersNicsFindById

datacentersServersNicsFindById(datacenterId, serverId, nicId, opts)

Retrieve NICs

Retrieve the properties of the specified NIC.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

Nic

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersNicsGet

datacentersServersNicsGet(datacenterId, serverId, opts)

List NICs

List all NICs, attached to the specified server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

Nics

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersNicsPatch

datacentersServersNicsPatch(datacenterId, serverId, nicId, nic, opts)

Partially modify NICs

Update the properties of the specified NIC.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

Nic

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersNicsPost

datacentersServersNicsPost(datacenterId, serverId, nic, opts)

Create a NIC

Adds a NIC to the specified server. The combined total of NICs and attached volumes cannot exceed 24 per server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nic

hashtag
Return type

Nic

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersNicsPut

datacentersServersNicsPut(datacenterId, serverId, nicId, nic, opts)

Modify NICs

Modify the properties of the specified NIC.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

Nic

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

datacentersServersNicsDelete

DELETE /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}

Delete NICs

datacentersServersNicsFindById

GET /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}

Retrieve NICs

FirewallRulesApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkInterfacesApi(config);
// Delete NICs
api_instance
  .datacentersServersNicsDelete({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkInterfacesApi(config);
// Retrieve NICs
api_instance
  .datacentersServersNicsFindById({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkInterfacesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List NICs
api_instance
  .datacentersServersNicsGet({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkInterfacesApi(config);
// Partially modify NICs
api_instance
  .datacentersServersNicsPatch({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    nic: nic_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkInterfacesApi(config);
// Create a NIC
api_instance
  .datacentersServersNicsPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nic: nic_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkInterfacesApi(config);
// Modify NICs
api_instance
  .datacentersServersNicsPut({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    nic: nic_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

string

The unique ID of the NIC.

[default to undefined]

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&#39;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]

string

The unique ID of the NIC.

[default to undefined]

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&#39;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]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

string

The unique ID of the NIC.

[default to undefined]

nic

NicProperties

The properties of the NIC to be updated.

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&#39;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]

Nic

The NIC to create.

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&#39;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]

string

The unique ID of the NIC.

[default to undefined]

nic

NicPut

The modified NIC

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&#39;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]

datacentersServersNicsGet
datacentersServersNicsPatch
datacentersServersNicsPost
datacentersServersNicsPut

GET /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules

List firewall rules

PATCH /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules/{firewallruleId}

Partially modify firewall rules

POST /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules

Create a Firewall Rule

PUT /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules/{firewallruleId}

Modify a Firewall Rule

hashtag
datacentersServersNicsFirewallrulesDelete

datacentersServersNicsFirewallrulesDelete(datacenterId, serverId, nicId, firewallruleId, opts)

Delete firewall rules

Delete the specified firewall rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersNicsFirewallrulesFindById

datacentersServersNicsFirewallrulesFindById(datacenterId, serverId, nicId, firewallruleId, opts)

Retrieve firewall rules

Retrieve the properties of the specified firewall rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FirewallRule

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersNicsFirewallrulesGet

datacentersServersNicsFirewallrulesGet(datacenterId, serverId, nicId, opts)

List firewall rules

List all firewall rules for the specified NIC.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FirewallRules

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersNicsFirewallrulesPatch

datacentersServersNicsFirewallrulesPatch(datacenterId, serverId, nicId, firewallruleId, firewallrule, opts)

Partially modify firewall rules

Update the properties of the specified firewall rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FirewallRule

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersNicsFirewallrulesPost

datacentersServersNicsFirewallrulesPost(datacenterId, serverId, nicId, firewallrule, opts)

Create a Firewall Rule

Creates a firewall rule for the specified NIC.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FirewallRule

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersNicsFirewallrulesPut

datacentersServersNicsFirewallrulesPut(datacenterId, serverId, nicId, firewallruleId, firewallrule, opts)

Modify a Firewall Rule

Modifies the properties of the specified firewall rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

nicId

hashtag
Return type

FirewallRule

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

datacentersServersNicsFirewallrulesDelete

DELETE /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules/{firewallruleId}

Delete firewall rules

datacentersServersNicsFirewallrulesFindById

GET /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules/{firewallruleId}

Retrieve firewall rules

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FirewallRulesApi(config);
// Delete firewall rules
api_instance
  .datacentersServersNicsFirewallrulesDelete({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    firewallruleId: firewallruleId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FirewallRulesApi(config);
// Retrieve firewall rules
api_instance
  .datacentersServersNicsFirewallrulesFindById({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    firewallruleId: firewallruleId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FirewallRulesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List firewall rules
api_instance
  .datacentersServersNicsFirewallrulesGet({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FirewallRulesApi(config);
// Partially modify firewall rules
api_instance
  .datacentersServersNicsFirewallrulesPatch({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    firewallruleId: firewallruleId_example,
    firewallrule: firewallrule_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FirewallRulesApi(config);
// Create a Firewall Rule
api_instance
  .datacentersServersNicsFirewallrulesPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    firewallrule: firewallrule_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.FirewallRulesApi(config);
// Modify a Firewall Rule
api_instance
  .datacentersServersNicsFirewallrulesPut({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    nicId: nicId_example,
    firewallruleId: firewallruleId_example,
    firewallrule: firewallrule_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

string

The unique ID of the NIC.

[default to undefined]

firewallruleId

string

The unique ID of the firewall rule.

[default to undefined]

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&#39;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]

string

The unique ID of the NIC.

[default to undefined]

firewallruleId

string

The unique ID of the firewall rule.

[default to undefined]

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&#39;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]

string

The unique ID of the NIC.

[default to undefined]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

string

The unique ID of the NIC.

[default to undefined]

firewallruleId

string

The unique ID of the firewall rule.

[default to undefined]

firewallrule

The properties of the firewall rule to be updated.

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&#39;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]

string

The unique ID of the NIC.

[default to undefined]

firewallrule

The firewall rule to create.

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&#39;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]

string

The unique ID of the NIC.

[default to undefined]

firewallruleId

string

The unique ID of the firewall rule.

[default to undefined]

firewallrule

The modified firewall rule.

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&#39;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]

datacentersServersNicsFirewallrulesGet
datacentersServersNicsFirewallrulesPatch
datacentersServersNicsFirewallrulesPost
datacentersServersNicsFirewallrulesPut
FirewallruleProperties
FirewallRule
FirewallRule

VolumesApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

POST /datacenters/{datacenterId}/volumes/{volumeId}/create-snapshot

Create volume snapshots

DELETE /datacenters/{datacenterId}/volumes/{volumeId}

Delete volumes

hashtag
datacentersVolumesCreateSnapshotPost

datacentersVolumesCreateSnapshotPost(datacenterId, volumeId, opts)

Create volume snapshots

Create a snapshot of the specified volume within the data center; this snapshot can later be used to restore this volume.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/x-www-form-urlencoded

  • Accept: application/json

hashtag
datacentersVolumesDelete

datacentersVolumesDelete(datacenterId, volumeId, opts)

Delete volumes

Delete the specified volume within the data center. Use with caution, the volume will be permanently removed!

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersVolumesFindById

datacentersVolumesFindById(datacenterId, volumeId, opts)

Retrieve volumes

Retrieve the properties of the specified volume within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersVolumesGet

datacentersVolumesGet(datacenterId, opts)

List volumes

List all the volumes within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersVolumesPatch

datacentersVolumesPatch(datacenterId, volumeId, volume, opts)

Partially modify volumes

Update the properties of the specified storage volume within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersVolumesPost

datacentersVolumesPost(datacenterId, volume, opts)

Create a Volume

Creates a storage volume within the specified data center. The volume will not be attached! Attaching volumes is described in the Servers section.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersVolumesPut

datacentersVolumesPut(datacenterId, volumeId, volume, opts)

Modify a Volume by ID

Modifies the properties of the specified volume within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersVolumesRestoreSnapshotPost

datacentersVolumesRestoreSnapshotPost(datacenterId, volumeId, opts)

Restore volume snapshots

Restore a snapshot for the specified volume within the data center. A snapshot is an image of a volume, which can be used to restore this volume at a later time.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/x-www-form-urlencoded

  • Accept: application/json

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&#39;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]

name

string

Snapshot name

[optional][default to undefined]

description

string

Snapshot description

[optional][default to undefined]

secAuthProtection

boolean

Flag for enabling extra protection for this snapshot, such as two-step verification.

[optional][default to undefined]

licenceType

string

The OS type for this snapshot.

[optional][default to undefined]

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&#39;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]

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&#39;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]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The properties of the volume to be updated.

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&#39;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]

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&#39;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]

The modified volume

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&#39;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]

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&#39;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]

snapshotId

string

The unique ID of the snapshot.

[optional][default to undefined]

datacentersVolumesFindById

GET /datacenters/{datacenterId}/volumes/{volumeId}

Retrieve volumes

datacentersVolumesGet

GET /datacenters/{datacenterId}/volumes

List volumes

datacentersVolumesPatch

PATCH /datacenters/{datacenterId}/volumes/{volumeId}

Partially modify volumes

datacentersVolumesPost

POST /datacenters/{datacenterId}/volumes

Create a Volume

datacentersVolumesPut

PUT /datacenters/{datacenterId}/volumes/{volumeId}

Modify a Volume by ID

datacentersVolumesRestoreSnapshotPost

POST /datacenters/{datacenterId}/volumes/{volumeId}/restore-snapshot

Restore volume snapshots

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

volume

datacenterId

string

The unique ID of the data center.

[default to undefined]

volume

Volume

The volume to create.

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

volume

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

pretty

Snapshot
Volume
Volumes
Volume
Volume
Volume
datacentersVolumesCreateSnapshotPost
datacentersVolumesDelete

boolean

boolean

boolean

number

boolean

boolean

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.VolumesApi(config);
// Create volume snapshots
api_instance
  .datacentersVolumesCreateSnapshotPost({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    name: name_example,
    description: description_example,
    secAuthProtection: true,
    licenceType: licenceType_example, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.VolumesApi(config);
// Delete volumes
api_instance
  .datacentersVolumesDelete({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.VolumesApi(config);
// Retrieve volumes
api_instance
  .datacentersVolumesFindById({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.VolumesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List volumes
api_instance
  .datacentersVolumesGet({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.VolumesApi(config);
// Partially modify volumes
api_instance
  .datacentersVolumesPatch({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    volume: volume_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.VolumesApi(config);
// Create a Volume
api_instance
  .datacentersVolumesPost({
    datacenterId: datacenterId_example,
    volume: volume_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.VolumesApi(config);
// Modify a Volume by ID
api_instance
  .datacentersVolumesPut({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    volume: volume_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.VolumesApi(config);
// Restore volume snapshots
api_instance
  .datacentersVolumesRestoreSnapshotPost({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    snapshotId: snapshotId_example, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
VolumeProperties
Volume

LANsApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /datacenters/{datacenterId}/lans/{lanId}

Delete LANs

GET /datacenters/{datacenterId}/lans/{lanId}

Retrieve LANs

hashtag
datacentersLansDelete

datacentersLansDelete(datacenterId, lanId, opts)

Delete LANs

Delete the specified LAN within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLansFindById

datacentersLansFindById(datacenterId, lanId, opts)

Retrieve LANs

Retrieve the properties of the specified LAN within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLansGet

datacentersLansGet(datacenterId, opts)

List LANs

List all LANs within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLansNicsFindById

datacentersLansNicsFindById(datacenterId, lanId, nicId, opts)

Retrieve attached NICs

Retrieve the properties of the NIC, attached to the specified LAN.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLansNicsGet

datacentersLansNicsGet(datacenterId, lanId, opts)

List LAN members

List all NICs, attached to the specified LAN.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLansNicsPost

datacentersLansNicsPost(datacenterId, lanId, nic, opts)

Attach NICs

Attach an existing NIC to the specified LAN.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersLansPatch

datacentersLansPatch(datacenterId, lanId, lan, opts)

Partially modify LANs

Update the properties of the specified LAN within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersLansPost

datacentersLansPost(datacenterId, lan, opts)

Create LANs

Creates a LAN within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersLansPut

datacentersLansPut(datacenterId, lanId, lan, opts)

Modify LANs

Modify the properties of the specified LAN within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

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&#39;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]

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&#39;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]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The unique ID of the NIC.

[default to undefined]

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&#39;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]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The NIC to be attached.

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&#39;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]

The properties of the LAN to be updated.

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&#39;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]

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&#39;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]

The modified LAN

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&#39;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]

datacentersLansGet

GET /datacenters/{datacenterId}/lans

List LANs

datacentersLansNicsFindById

GET /datacenters/{datacenterId}/lans/{lanId}/nics/{nicId}

Retrieve attached NICs

datacentersLansNicsGet

GET /datacenters/{datacenterId}/lans/{lanId}/nics

List LAN members

datacentersLansNicsPost

POST /datacenters/{datacenterId}/lans/{lanId}/nics

Attach NICs

datacentersLansPatch

PATCH /datacenters/{datacenterId}/lans/{lanId}

Partially modify LANs

datacentersLansPost

POST /datacenters/{datacenterId}/lans

Create LANs

datacentersLansPut

PUT /datacenters/{datacenterId}/lans/{lanId}

Modify LANs

datacenterId

string

The unique ID of the data center.

[default to undefined]

lanId

string

The unique ID of the LAN.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

lanId

string

The unique ID of the LAN.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

datacenterId

string

The unique ID of the data center.

[default to undefined]

lanId

string

The unique ID of the LAN.

[default to undefined]

nicId

datacenterId

string

The unique ID of the data center.

[default to undefined]

lanId

string

The unique ID of the LAN.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

lanId

string

The unique ID of the LAN.

[default to undefined]

nic

datacenterId

string

The unique ID of the data center.

[default to undefined]

lanId

string

The unique ID of the LAN.

[default to undefined]

lan

datacenterId

string

The unique ID of the data center.

[default to undefined]

lan

LanPost

The LAN to create.

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

lanId

string

The unique ID of the LAN.

[default to undefined]

lan

Lan
Lans
Nic
LanNics
Nic
Lan
LanPost
Lan
datacentersLansDelete
datacentersLansFindById

boolean

boolean

number

string

boolean

boolean

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LANsApi(config);
// Delete LANs
api_instance
  .datacentersLansDelete({
    datacenterId: datacenterId_example,
    lanId: lanId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LANsApi(config);
// Retrieve LANs
api_instance
  .datacentersLansFindById({
    datacenterId: datacenterId_example,
    lanId: lanId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LANsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List LANs
api_instance
  .datacentersLansGet({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LANsApi(config);
// Retrieve attached NICs
api_instance
  .datacentersLansNicsFindById({
    datacenterId: datacenterId_example,
    lanId: lanId_example,
    nicId: nicId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LANsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List LAN members
api_instance
  .datacentersLansNicsGet({
    datacenterId: datacenterId_example,
    lanId: lanId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LANsApi(config);
// Attach NICs
api_instance
  .datacentersLansNicsPost({
    datacenterId: datacenterId_example,
    lanId: lanId_example,
    nic: nic_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LANsApi(config);
// Partially modify LANs
api_instance
  .datacentersLansPatch({
    datacenterId: datacenterId_example,
    lanId: lanId_example,
    lan: lan_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LANsApi(config);
// Create LANs
api_instance
  .datacentersLansPost({
    datacenterId: datacenterId_example,
    lan: lan_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LANsApi(config);
// Modify LANs
api_instance
  .datacentersLansPut({
    datacenterId: datacenterId_example,
    lanId: lanId_example,
    lan: lan_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
Nic
LanProperties
Lan

LoadBalancersApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}/balancednics/{nicId}

Detach balanced NICs

GET /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}/balancednics/{nicId}

Retrieve balanced NICs

hashtag
datacentersLoadbalancersBalancednicsDelete

datacentersLoadbalancersBalancednicsDelete(datacenterId, loadbalancerId, nicId, opts)

Detach balanced NICs

Detach the specified NIC from the Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLoadbalancersBalancednicsFindByNicId

datacentersLoadbalancersBalancednicsFindByNicId(datacenterId, loadbalancerId, nicId, opts)

Retrieve balanced NICs

Retrieve the properties of the specified NIC, attached to the Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLoadbalancersBalancednicsGet

datacentersLoadbalancersBalancednicsGet(datacenterId, loadbalancerId, opts)

List balanced NICs

List all NICs, attached to the specified Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLoadbalancersBalancednicsPost

datacentersLoadbalancersBalancednicsPost(datacenterId, loadbalancerId, nic, opts)

Attach balanced NICs

Attachs an existing NIC to the specified Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersLoadbalancersDelete

datacentersLoadbalancersDelete(datacenterId, loadbalancerId, opts)

Delete Load Balancers

Remove the specified Load Balancer from the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLoadbalancersFindById

datacentersLoadbalancersFindById(datacenterId, loadbalancerId, opts)

Retrieve Load Balancers

Retrieve the properties of the specified Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLoadbalancersGet

datacentersLoadbalancersGet(datacenterId, opts)

List Load Balancers

List all the Load Balancers within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLoadbalancersPatch

datacentersLoadbalancersPatch(datacenterId, loadbalancerId, loadbalancer, opts)

Partially modify Load Balancers

Update the properties of the specified Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersLoadbalancersPost

datacentersLoadbalancersPost(datacenterId, loadbalancer, opts)

Create a Load Balancer

Creates a Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersLoadbalancersPut

datacentersLoadbalancersPut(datacenterId, loadbalancerId, loadbalancer, opts)

Modify a Load Balancer by ID

Modifies the properties of the specified Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

The unique ID of the NIC.

[default to undefined]

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&#39;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]

The unique ID of the NIC.

[default to undefined]

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&#39;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]

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&#39;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]

The NIC to be attached.

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The properties of the Load Balancer to be updated.

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&#39;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]

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&#39;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]

The modified Load Balancer.

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&#39;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]

datacentersLoadbalancersBalancednicsGet

GET /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}/balancednics

List balanced NICs

datacentersLoadbalancersBalancednicsPost

POST /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}/balancednics

Attach balanced NICs

datacentersLoadbalancersDelete

DELETE /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}

Delete Load Balancers

datacentersLoadbalancersFindById

GET /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}

Retrieve Load Balancers

datacentersLoadbalancersGet

GET /datacenters/{datacenterId}/loadbalancers

List Load Balancers

datacentersLoadbalancersPatch

PATCH /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}

Partially modify Load Balancers

datacentersLoadbalancersPost

POST /datacenters/{datacenterId}/loadbalancers

Create a Load Balancer

datacentersLoadbalancersPut

PUT /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}

Modify a Load Balancer by ID

datacenterId

string

The unique ID of the data center.

[default to undefined]

loadbalancerId

string

The unique ID of the Load Balancer.

[default to undefined]

nicId

datacenterId

string

The unique ID of the data center.

[default to undefined]

loadbalancerId

string

The unique ID of the Load Balancer.

[default to undefined]

nicId

datacenterId

string

The unique ID of the data center.

[default to undefined]

loadbalancerId

string

The unique ID of the Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

loadbalancerId

string

The unique ID of the Load Balancer.

[default to undefined]

nic

datacenterId

string

The unique ID of the data center.

[default to undefined]

loadbalancerId

string

The unique ID of the Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

loadbalancerId

string

The unique ID of the Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

datacenterId

string

The unique ID of the data center.

[default to undefined]

loadbalancerId

string

The unique ID of the Load Balancer.

[default to undefined]

loadbalancer

datacenterId

string

The unique ID of the data center.

[default to undefined]

loadbalancer

Loadbalancer

The Load Balancer to create.

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

loadbalancerId

string

The unique ID of the Load Balancer.

[default to undefined]

loadbalancer

Nic
BalancedNics
Nic
Loadbalancer
Loadbalancers
Loadbalancer
Loadbalancer
Loadbalancer
datacentersLoadbalancersBalancednicsDelete
datacentersLoadbalancersBalancednicsFindByNicId

string

string

boolean

boolean

boolean

number

boolean

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
// Detach balanced NICs
api_instance
  .datacentersLoadbalancersBalancednicsDelete({
    datacenterId: datacenterId_example,
    loadbalancerId: loadbalancerId_example,
    nicId: nicId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
// Retrieve balanced NICs
api_instance
  .datacentersLoadbalancersBalancednicsFindByNicId({
    datacenterId: datacenterId_example,
    loadbalancerId: loadbalancerId_example,
    nicId: nicId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List balanced NICs
api_instance
  .datacentersLoadbalancersBalancednicsGet({
    datacenterId: datacenterId_example,
    loadbalancerId: loadbalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
// Attach balanced NICs
api_instance
  .datacentersLoadbalancersBalancednicsPost({
    datacenterId: datacenterId_example,
    loadbalancerId: loadbalancerId_example,
    nic: nic_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
// Delete Load Balancers
api_instance
  .datacentersLoadbalancersDelete({
    datacenterId: datacenterId_example,
    loadbalancerId: loadbalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
// Retrieve Load Balancers
api_instance
  .datacentersLoadbalancersFindById({
    datacenterId: datacenterId_example,
    loadbalancerId: loadbalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List Load Balancers
api_instance
  .datacentersLoadbalancersGet({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
// Partially modify Load Balancers
api_instance
  .datacentersLoadbalancersPatch({
    datacenterId: datacenterId_example,
    loadbalancerId: loadbalancerId_example,
    loadbalancer: loadbalancer_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
// Create a Load Balancer
api_instance
  .datacentersLoadbalancersPost({
    datacenterId: datacenterId_example,
    loadbalancer: loadbalancer_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LoadBalancersApi(config);
// Modify a Load Balancer by ID
api_instance
  .datacentersLoadbalancersPut({
    datacenterId: datacenterId_example,
    loadbalancerId: loadbalancerId_example,
    loadbalancer: loadbalancer_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
Nic
LoadbalancerProperties
Loadbalancer

KubernetesApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /k8s/{k8sClusterId}

Delete a Kubernetes Cluster by ID

GET /k8s/{k8sClusterId}

Get a Kubernetes Cluster by ID

hashtag
k8sDelete

k8sDelete(k8sClusterId, opts)

Delete a Kubernetes Cluster by ID

Deletes the K8s cluster specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sFindByClusterId

k8sFindByClusterId(k8sClusterId, opts)

Get a Kubernetes Cluster by ID

Retrieves the K8s cluster specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sGet

k8sGet(opts)

Get Kubernetes Clusters

Retrieves a list of all K8s clusters provisioned under your account.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sKubeconfigGet

string k8sKubeconfigGet(k8sClusterId, opts)

Get Kubernetes Configuration File

Retrieves the configuration file for the specified K8s cluster. You can define the format (YAML or JSON) of the returned file in the Accept header. By default, 'application/yaml' is specified.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

string

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/yaml, application/x-yaml, application/json

hashtag
k8sNodepoolsDelete

k8sNodepoolsDelete(k8sClusterId, nodepoolId, opts)

Delete a Kubernetes Node Pool by ID

Deletes the K8s node pool specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sNodepoolsFindById

k8sNodepoolsFindById(k8sClusterId, nodepoolId, opts)

Get a Kubernetes Node Pool by ID

Retrieves the K8s node pool specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sNodepoolsGet

k8sNodepoolsGet(k8sClusterId, opts)

Get Kubernetes Node Pools

Retrieves a list of K8s node pools of a cluster specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sNodepoolsNodesDelete

k8sNodepoolsNodesDelete(k8sClusterId, nodepoolId, nodeId, opts)

Delete a Kubernetes Node by ID

Deletes the K8s node specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sNodepoolsNodesFindById

k8sNodepoolsNodesFindById(k8sClusterId, nodepoolId, nodeId, opts)

Get Kubernetes Node by ID

Retrieves the K8s node specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sNodepoolsNodesGet

k8sNodepoolsNodesGet(k8sClusterId, nodepoolId, opts)

Get Kubernetes Nodes

Retrieves the list of all K8s nodes of the specified node pool.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sNodepoolsNodesReplacePost

k8sNodepoolsNodesReplacePost(k8sClusterId, nodepoolId, nodeId, opts)

Recreate a Kubernetes Node by ID

Recreates the K8s node specified by its ID. If a node becomes unusable, Managed Kubernetes allows you to recreate it with a configuration based on the node pool template. Once the status is 'Active,' all the pods from the failed node will be migrated to the new node. The node pool has an additional billable 'active' node during this process.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sNodepoolsPost

k8sNodepoolsPost(k8sClusterId, kubernetesNodePool, opts)

Create a Kubernetes Node Pool

Creates a node pool inside the specified K8s cluster.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
k8sNodepoolsPut

k8sNodepoolsPut(k8sClusterId, nodepoolId, kubernetesNodePool, opts)

Modify a Kubernetes Node Pool by ID

Modifies the K8s node pool specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
k8sPost

k8sPost(kubernetesCluster, opts)

Create a Kubernetes Cluster

Creates a K8s cluster provisioned under your account.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
k8sPut

k8sPut(k8sClusterId, kubernetesCluster, opts)

Modify a Kubernetes Cluster by ID

Modifies the K8s cluster specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
k8sVersionsDefaultGet

string k8sVersionsDefaultGet

Get Default Kubernetes Version

Retrieves the current default K8s version to be used by the clusters and node pools.

hashtag
Examples

hashtag
Parameters

This endpoint does not need any parameter.

hashtag
Return type

string

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
k8sVersionsGet

Array<string> k8sVersionsGet

Get Kubernetes Versions

Lists available K8s versions.

hashtag
Examples

hashtag
Parameters

This endpoint does not need any parameter.

hashtag
Return type

Array<string>

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

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&#39;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]

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

The unique ID of the Kubernetes node.

[default to undefined]

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&#39;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]

The unique ID of the Kubernetes node.

[default to undefined]

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&#39;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]

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&#39;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]

The unique ID of the Kubernetes node.

[default to undefined]

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&#39;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]

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&#39;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]

Details of the Kubernetes Node Pool

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&#39;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]

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&#39;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]

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&#39;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]

k8sGet

GET /k8s

Get Kubernetes Clusters

k8sKubeconfigGet

GET /k8s/{k8sClusterId}/kubeconfig

Get Kubernetes Configuration File

k8sNodepoolsDelete

DELETE /k8s/{k8sClusterId}/nodepools/{nodepoolId}

Delete a Kubernetes Node Pool by ID

k8sNodepoolsFindById

GET /k8s/{k8sClusterId}/nodepools/{nodepoolId}

Get a Kubernetes Node Pool by ID

k8sNodepoolsGet

GET /k8s/{k8sClusterId}/nodepools

Get Kubernetes Node Pools

k8sNodepoolsNodesDelete

DELETE /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}

Delete a Kubernetes Node by ID

k8sNodepoolsNodesFindById

GET /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}

Get Kubernetes Node by ID

k8sNodepoolsNodesGet

GET /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes

Get Kubernetes Nodes

k8sNodepoolsNodesReplacePost

POST /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}/replace

Recreate a Kubernetes Node by ID

k8sNodepoolsPost

POST /k8s/{k8sClusterId}/nodepools

Create a Kubernetes Node Pool

k8sNodepoolsPut

PUT /k8s/{k8sClusterId}/nodepools/{nodepoolId}

Modify a Kubernetes Node Pool by ID

k8sPost

POST /k8s

Create a Kubernetes Cluster

k8sPut

PUT /k8s/{k8sClusterId}

Modify a Kubernetes Cluster by ID

k8sVersionsDefaultGet

GET /k8s/versions/default

Get Default Kubernetes Version

k8sVersionsGet

GET /k8s/versions

Get Kubernetes Versions

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

k8sClusterId

string

The unique ID of the K8s cluster to be retrieved.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

nodepoolId

string

The unique ID of the Kubernetes node pool.

[default to undefined]

pretty

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

nodepoolId

string

The unique ID of the Kubernetes node pool.

[default to undefined]

pretty

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

nodepoolId

string

The unique ID of the Kubernetes node pool.

[default to undefined]

nodeId

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

nodepoolId

string

The unique ID of the Kubernetes node pool.

[default to undefined]

nodeId

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

nodepoolId

string

The unique ID of the Kubernetes node pool.

[default to undefined]

pretty

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

nodepoolId

string

The unique ID of the Kubernetes node pool.

[default to undefined]

nodeId

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

kubernetesNodePool

KubernetesNodePoolForPost

The Kubernetes node pool to create.

pretty

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

nodepoolId

string

The unique ID of the Kubernetes node pool.

[default to undefined]

kubernetesNodePool

kubernetesCluster

KubernetesClusterForPost

The Kubernetes cluster to create.

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

k8sClusterId

string

The unique ID of the Kubernetes cluster.

[default to undefined]

kubernetesCluster

KubernetesClusterForPut

The modified Kubernetes cluster.

pretty

KubernetesCluster
KubernetesClusters
KubernetesNodePool
KubernetesNodePools
KubernetesNode
KubernetesNodes
KubernetesNodePool
KubernetesNodePool
KubernetesCluster
KubernetesCluster
k8sDelete
k8sFindByClusterId

number

number

number

number

boolean

boolean

number

string

string

boolean

string

boolean

number

boolean

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Delete a Kubernetes Cluster by ID
api_instance
  .k8sDelete({
    k8sClusterId: k8sClusterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Get a Kubernetes Cluster by ID
api_instance
  .k8sFindByClusterId({
    k8sClusterId: k8sClusterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Kubernetes Clusters
api_instance
  .k8sGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Kubernetes Configuration File
api_instance
  .k8sKubeconfigGet({
    k8sClusterId: k8sClusterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Delete a Kubernetes Node Pool by ID
api_instance
  .k8sNodepoolsDelete({
    k8sClusterId: k8sClusterId_example,
    nodepoolId: nodepoolId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Get a Kubernetes Node Pool by ID
api_instance
  .k8sNodepoolsFindById({
    k8sClusterId: k8sClusterId_example,
    nodepoolId: nodepoolId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Kubernetes Node Pools
api_instance
  .k8sNodepoolsGet({
    k8sClusterId: k8sClusterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Delete a Kubernetes Node by ID
api_instance
  .k8sNodepoolsNodesDelete({
    k8sClusterId: k8sClusterId_example,
    nodepoolId: nodepoolId_example,
    nodeId: nodeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Get Kubernetes Node by ID
api_instance
  .k8sNodepoolsNodesFindById({
    k8sClusterId: k8sClusterId_example,
    nodepoolId: nodepoolId_example,
    nodeId: nodeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Kubernetes Nodes
api_instance
  .k8sNodepoolsNodesGet({
    k8sClusterId: k8sClusterId_example,
    nodepoolId: nodepoolId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Recreate a Kubernetes Node by ID
api_instance
  .k8sNodepoolsNodesReplacePost({
    k8sClusterId: k8sClusterId_example,
    nodepoolId: nodepoolId_example,
    nodeId: nodeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Create a Kubernetes Node Pool
api_instance
  .k8sNodepoolsPost({
    k8sClusterId: k8sClusterId_example,
    kubernetesNodePool: kubernetesNodePool_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Modify a Kubernetes Node Pool by ID
api_instance
  .k8sNodepoolsPut({
    k8sClusterId: k8sClusterId_example,
    nodepoolId: nodepoolId_example,
    kubernetesNodePool: kubernetesNodePool_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Create a Kubernetes Cluster
api_instance
  .k8sPost({
    kubernetesCluster: kubernetesCluster_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
// Modify a Kubernetes Cluster by ID
api_instance
  .k8sPut({
    k8sClusterId: k8sClusterId_example,
    kubernetesCluster: kubernetesCluster_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Default Kubernetes Version
api_instance
  .k8sVersionsDefaultGet()
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.KubernetesApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Kubernetes Versions
api_instance
  .k8sVersionsGet()
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
KubernetesNodePoolForPut

NATGatewaysApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /datacenters/{datacenterId}/natgateways/{natGatewayId}

Delete NAT Gateways

GET /datacenters/{datacenterId}/natgateways/{natGatewayId}

Retrieve NAT Gateways

hashtag
datacentersNatgatewaysDelete

datacentersNatgatewaysDelete(datacenterId, natGatewayId, opts)

Delete NAT Gateways

Remove the specified NAT Gateway from the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysFindByNatGatewayId

datacentersNatgatewaysFindByNatGatewayId(datacenterId, natGatewayId, opts)

Retrieve NAT Gateways

Retrieve the properties of the specified NAT Gateway within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysFlowlogsDelete

datacentersNatgatewaysFlowlogsDelete(datacenterId, natGatewayId, flowLogId, opts)

Delete NAT Gateway Flow Logs

Delete the specified NAT Gateway Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysFlowlogsFindByFlowLogId

datacentersNatgatewaysFlowlogsFindByFlowLogId(datacenterId, natGatewayId, flowLogId, opts)

Retrieve NAT Gateway Flow Logs

Retrieve the specified NAT Gateway Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysFlowlogsGet

datacentersNatgatewaysFlowlogsGet(datacenterId, natGatewayId, opts)

List NAT Gateway Flow Logs

List all the Flow Logs for the specified NAT Gateway.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysFlowlogsPatch

datacentersNatgatewaysFlowlogsPatch(datacenterId, natGatewayId, flowLogId, natGatewayFlowLogProperties, opts)

Partially modify NAT Gateway Flow Logs

Update the properties of the specified NAT Gateway Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysFlowlogsPost

datacentersNatgatewaysFlowlogsPost(datacenterId, natGatewayId, natGatewayFlowLog, opts)

Create a NAT Gateway Flow Log

Adds a new Flow Log to the specified NAT Gateway.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNatgatewaysFlowlogsPut

datacentersNatgatewaysFlowlogsPut(datacenterId, natGatewayId, flowLogId, natGatewayFlowLog, opts)

Modify NAT Gateway Flow Logs

Modify the specified NAT Gateway Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNatgatewaysGet

datacentersNatgatewaysGet(datacenterId, opts)

List NAT Gateways

List all NAT Gateways within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysPatch

datacentersNatgatewaysPatch(datacenterId, natGatewayId, natGatewayProperties, opts)

Partially modify NAT Gateways

Update the properties of the specified NAT Gateway within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysPost

datacentersNatgatewaysPost(datacenterId, natGateway, opts)

Create a NAT Gateway

Creates a NAT Gateway within the data center. This operation is restricted to contract owner, admin, and users with 'createInternetAccess' privileges.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNatgatewaysPut

datacentersNatgatewaysPut(datacenterId, natGatewayId, natGateway, opts)

Modify NAT Gateways

Modify the properties of the specified NAT Gateway within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNatgatewaysRulesDelete

datacentersNatgatewaysRulesDelete(datacenterId, natGatewayId, natGatewayRuleId, opts)

Delete NAT Gateway rules

Delete the specified NAT Gateway rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysRulesFindByNatGatewayRuleId

datacentersNatgatewaysRulesFindByNatGatewayRuleId(datacenterId, natGatewayId, natGatewayRuleId, opts)

Retrieve NAT Gateway rules

Retrieve the properties of the specified NAT Gateway rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysRulesGet

datacentersNatgatewaysRulesGet(datacenterId, natGatewayId, opts)

List NAT Gateway rules

List all rules for the specified NAT Gateway.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysRulesPatch

datacentersNatgatewaysRulesPatch(datacenterId, natGatewayId, natGatewayRuleId, natGatewayRuleProperties, opts)

Partially Modify a NAT Gateway Rule by ID

Updates the properties of the specified NAT Gateway rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNatgatewaysRulesPost

datacentersNatgatewaysRulesPost(datacenterId, natGatewayId, natGatewayRule, opts)

Create a NAT Gateway Rule

Creates a rule for the specified NAT Gateway.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNatgatewaysRulesPut

datacentersNatgatewaysRulesPut(datacenterId, natGatewayId, natGatewayRuleId, natGatewayRule, opts)

Modify a NAT Gateway Rule by ID

Modify the specified NAT Gateway rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

NetworkLoadBalancersApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}

Delete Network Load Balancers

GET /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}

Retrieve Network Load Balancers

hashtag
datacentersNetworkloadbalancersDelete

datacentersNetworkloadbalancersDelete(datacenterId, networkLoadBalancerId, opts)

Delete Network Load Balancers

Remove the specified Network Load Balancer from the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersFindByNetworkLoadBalancerId

datacentersNetworkloadbalancersFindByNetworkLoadBalancerId(datacenterId, networkLoadBalancerId, opts)

Retrieve Network Load Balancers

Retrieve the properties of the specified Network Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersFlowlogsDelete

datacentersNetworkloadbalancersFlowlogsDelete(datacenterId, networkLoadBalancerId, flowLogId, opts)

Delete NLB Flow Logs

Delete the specified Network Load Balancer Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersFlowlogsFindByFlowLogId

datacentersNetworkloadbalancersFlowlogsFindByFlowLogId(datacenterId, networkLoadBalancerId, flowLogId, opts)

Retrieve NLB Flow Logs

Retrieve the specified Network Load Balancer Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersFlowlogsGet

datacentersNetworkloadbalancersFlowlogsGet(datacenterId, networkLoadBalancerId, opts)

List NLB Flow Logs

List all the Flow Logs for the specified Network Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersFlowlogsPatch

datacentersNetworkloadbalancersFlowlogsPatch(datacenterId, networkLoadBalancerId, flowLogId, networkLoadBalancerFlowLogProperties, opts)

Partially modify NLB Flow Logs

Update the properties of the specified Network Load Balancer Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersFlowlogsPost

datacentersNetworkloadbalancersFlowlogsPost(datacenterId, networkLoadBalancerId, networkLoadBalancerFlowLog, opts)

Create a NLB Flow Log

Adds a new Flow Log for the Network Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersFlowlogsPut

datacentersNetworkloadbalancersFlowlogsPut(datacenterId, networkLoadBalancerId, flowLogId, networkLoadBalancerFlowLog, opts)

Modify NLB Flow Logs

Modify the specified Network Load Balancer Flow Log.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersForwardingrulesDelete

datacentersNetworkloadbalancersForwardingrulesDelete(datacenterId, networkLoadBalancerId, forwardingRuleId, opts)

Delete NLB forwarding rules

Delete the specified Network Load Balancer forwarding rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId

datacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId(datacenterId, networkLoadBalancerId, forwardingRuleId, opts)

Retrieve NLB forwarding rules

Retrieve the specified Network Load Balance forwarding rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersForwardingrulesGet

datacentersNetworkloadbalancersForwardingrulesGet(datacenterId, networkLoadBalancerId, opts)

List NLB forwarding rules

List the forwarding rules for the specified Network Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersForwardingrulesPatch

datacentersNetworkloadbalancersForwardingrulesPatch(datacenterId, networkLoadBalancerId, forwardingRuleId, networkLoadBalancerForwardingRuleProperties, opts)

Partially modify NLB forwarding rules

Update the properties of the specified Network Load Balancer forwarding rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersForwardingrulesPost

datacentersNetworkloadbalancersForwardingrulesPost(datacenterId, networkLoadBalancerId, networkLoadBalancerForwardingRule, opts)

Create a NLB Forwarding Rule

Creates a forwarding rule for the specified Network Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersForwardingrulesPut

datacentersNetworkloadbalancersForwardingrulesPut(datacenterId, networkLoadBalancerId, forwardingRuleId, networkLoadBalancerForwardingRule, opts)

Modify NLB forwarding rules

Modify the specified Network Load Balancer forwarding rule.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersGet

datacentersNetworkloadbalancersGet(datacenterId, opts)

List Network Load Balancers

List all the Network Load Balancers within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersPatch

datacentersNetworkloadbalancersPatch(datacenterId, networkLoadBalancerId, networkLoadBalancerProperties, opts)

Partially modify Network Load Balancers

Update the properties of the specified Network Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersPost

datacentersNetworkloadbalancersPost(datacenterId, networkLoadBalancer, opts)

Create a Network Load Balancer

Creates a Network Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersNetworkloadbalancersPut

datacentersNetworkloadbalancersPut(datacenterId, networkLoadBalancerId, networkLoadBalancer, opts)

Modify Network Load Balancers

Modify the properties of the specified Network Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

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&#39;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]

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&#39;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]

The unique ID of the Flow Log.

[default to undefined]

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

The unique ID of the Flow Log.

[default to undefined]

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The unique ID of the Flow Log.

[default to undefined]

natGatewayFlowLogProperties

The properties of the Flow Log to be updated.

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

The Flow Log to create.

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

The unique ID of the Flow Log.

[default to undefined]

natGatewayFlowLog

The modified NAT Gateway Flow Log.

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

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&#39;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]

The properties of the NAT Gateway to be updated.

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&#39;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]

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&#39;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]

The modified NAT Gateway.

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&#39;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]

The unique ID of the NAT Gateway rule.

[default to undefined]

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&#39;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]

The unique ID of the NAT Gateway rule.

[default to undefined]

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&#39;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]

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&#39;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]

The unique ID of the NAT Gateway rule.

[default to undefined]

natGatewayRuleProperties

The properties of the NAT Gateway rule to be updated.

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&#39;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]

The NAT Gateway rule to create.

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&#39;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]

The unique ID of the NAT Gateway rule.

[default to undefined]

natGatewayRule

The modified NAT Gateway rule.

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&#39;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]

datacentersNatgatewaysFlowlogsDelete

DELETE /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId}

Delete NAT Gateway Flow Logs

datacentersNatgatewaysFlowlogsFindByFlowLogId

GET /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId}

Retrieve NAT Gateway Flow Logs

datacentersNatgatewaysFlowlogsGet

GET /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs

List NAT Gateway Flow Logs

datacentersNatgatewaysFlowlogsPatch

PATCH /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId}

Partially modify NAT Gateway Flow Logs

datacentersNatgatewaysFlowlogsPost

POST /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs

Create a NAT Gateway Flow Log

datacentersNatgatewaysFlowlogsPut

PUT /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId}

Modify NAT Gateway Flow Logs

datacentersNatgatewaysGet

GET /datacenters/{datacenterId}/natgateways

List NAT Gateways

datacentersNatgatewaysPatch

PATCH /datacenters/{datacenterId}/natgateways/{natGatewayId}

Partially modify NAT Gateways

datacentersNatgatewaysPost

POST /datacenters/{datacenterId}/natgateways

Create a NAT Gateway

datacentersNatgatewaysPut

PUT /datacenters/{datacenterId}/natgateways/{natGatewayId}

Modify NAT Gateways

datacentersNatgatewaysRulesDelete

DELETE /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId}

Delete NAT Gateway rules

datacentersNatgatewaysRulesFindByNatGatewayRuleId

GET /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId}

Retrieve NAT Gateway rules

datacentersNatgatewaysRulesGet

GET /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules

List NAT Gateway rules

datacentersNatgatewaysRulesPatch

PATCH /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId}

Partially Modify a NAT Gateway Rule by ID

datacentersNatgatewaysRulesPost

POST /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules

Create a NAT Gateway Rule

datacentersNatgatewaysRulesPut

PUT /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId}

Modify a NAT Gateway Rule by ID

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

natGatewayFlowLog

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

natGatewayProperties

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGateway

NatGateway

The NAT Gateway to create.

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

natGateway

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

natGatewayRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

natGatewayRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

natGatewayRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

natGatewayRule

datacenterId

string

The unique ID of the data center.

[default to undefined]

natGatewayId

string

The unique ID of the NAT Gateway.

[default to undefined]

natGatewayRuleId

NatGateway
FlowLog
FlowLogs
FlowLog
FlowLog
FlowLog
NatGateways
NatGateway
NatGateway
NatGateway
NatGatewayRule
NatGatewayRules
NatGatewayRule
NatGatewayRule
NatGatewayRule
datacentersNatgatewaysDelete
datacentersNatgatewaysFindByNatGatewayId

boolean

boolean

string

string

boolean

string

string

number

boolean

string

string

boolean

string

string

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&#39;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]

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&#39;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]

The unique ID of the Flow Log.

[default to undefined]

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&#39;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]

The unique ID of the Flow Log.

[default to undefined]

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&#39;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]

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&#39;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]

The unique ID of the Flow Log.

[default to undefined]

networkLoadBalancerFlowLogProperties

The properties of the Flow Log to be updated.

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&#39;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]

The Flow Log to create.

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&#39;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]

The unique ID of the Flow Log.

[default to undefined]

networkLoadBalancerFlowLog

The modified NLB Flow Log.

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&#39;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]

The unique ID of the forwarding rule.

[default to undefined]

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&#39;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]

The unique ID of the forwarding rule.

[default to undefined]

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&#39;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]

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&#39;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]

The unique ID of the forwarding rule.

[default to undefined]

networkLoadBalancerForwardingRuleProperties

The properties of the forwarding rule to be updated.

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&#39;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]

The forwarding rule to create.

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&#39;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]

The unique ID of the forwarding rule.

[default to undefined]

networkLoadBalancerForwardingRule

The modified NLB forwarding rule.

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&#39;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]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The properties of the Network Load Balancer to be updated.

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&#39;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]

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&#39;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]

The modified Network Load Balancer.

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&#39;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]

datacentersNetworkloadbalancersFlowlogsDelete

DELETE /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId}

Delete NLB Flow Logs

datacentersNetworkloadbalancersFlowlogsFindByFlowLogId

GET /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId}

Retrieve NLB Flow Logs

datacentersNetworkloadbalancersFlowlogsGet

GET /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs

List NLB Flow Logs

datacentersNetworkloadbalancersFlowlogsPatch

PATCH /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId}

Partially modify NLB Flow Logs

datacentersNetworkloadbalancersFlowlogsPost

POST /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs

Create a NLB Flow Log

datacentersNetworkloadbalancersFlowlogsPut

PUT /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId}

Modify NLB Flow Logs

datacentersNetworkloadbalancersForwardingrulesDelete

DELETE /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId}

Delete NLB forwarding rules

datacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId

GET /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId}

Retrieve NLB forwarding rules

datacentersNetworkloadbalancersForwardingrulesGet

GET /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules

List NLB forwarding rules

datacentersNetworkloadbalancersForwardingrulesPatch

PATCH /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId}

Partially modify NLB forwarding rules

datacentersNetworkloadbalancersForwardingrulesPost

POST /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules

Create a NLB Forwarding Rule

datacentersNetworkloadbalancersForwardingrulesPut

PUT /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId}

Modify NLB forwarding rules

datacentersNetworkloadbalancersGet

GET /datacenters/{datacenterId}/networkloadbalancers

List Network Load Balancers

datacentersNetworkloadbalancersPatch

PATCH /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}

Partially modify Network Load Balancers

datacentersNetworkloadbalancersPost

POST /datacenters/{datacenterId}/networkloadbalancers

Create a Network Load Balancer

datacentersNetworkloadbalancersPut

PUT /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}

Modify Network Load Balancers

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

networkLoadBalancerFlowLog

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

forwardingRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

forwardingRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

forwardingRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

networkLoadBalancerForwardingRule

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

forwardingRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

networkLoadBalancerProperties

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancer

NetworkLoadBalancer

The Network Load Balancer to create.

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

networkLoadBalancerId

string

The unique ID of the Network Load Balancer.

[default to undefined]

networkLoadBalancer

NetworkLoadBalancer
FlowLog
FlowLogs
FlowLog
FlowLog
FlowLog
NetworkLoadBalancerForwardingRule
NetworkLoadBalancerForwardingRules
NetworkLoadBalancerForwardingRule
NetworkLoadBalancerForwardingRule
NetworkLoadBalancerForwardingRule
NetworkLoadBalancers
NetworkLoadBalancer
NetworkLoadBalancer
NetworkLoadBalancer
datacentersNetworkloadbalancersDelete
datacentersNetworkloadbalancersFindByNetworkLoadBalancerId

boolean

boolean

string

string

boolean

string

string

string

string

boolean

string

string

number

boolean

ApplicationLoadBalancersApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}

Delete an Application Load Balancer by ID

GET /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}

Get an Application Load Balancer by ID

hashtag
datacentersApplicationloadbalancersDelete

datacentersApplicationloadbalancersDelete(datacenterId, applicationLoadBalancerId, opts)

Delete an Application Load Balancer by ID

Removes the specified Application Load Balancer from the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersFindByApplicationLoadBalancerId

datacentersApplicationloadbalancersFindByApplicationLoadBalancerId(datacenterId, applicationLoadBalancerId, opts)

Get an Application Load Balancer by ID

Retrieves the properties of the specified Application Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersFlowlogsDelete

datacentersApplicationloadbalancersFlowlogsDelete(datacenterId, applicationLoadBalancerId, flowLogId, opts)

Delete an ALB Flow Log by ID

Deletes the Application Load Balancer flow log specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersFlowlogsFindByFlowLogId

datacentersApplicationloadbalancersFlowlogsFindByFlowLogId(datacenterId, applicationLoadBalancerId, flowLogId, opts)

Get an ALB Flow Log by ID

Retrieves the Application Load Balancer flow log specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersFlowlogsGet

datacentersApplicationloadbalancersFlowlogsGet(datacenterId, applicationLoadBalancerId, opts)

Get ALB Flow Logs

Retrieves the flow logs for the specified Application Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersFlowlogsPatch

datacentersApplicationloadbalancersFlowlogsPatch(datacenterId, applicationLoadBalancerId, flowLogId, applicationLoadBalancerFlowLogProperties, opts)

Partially Modify an ALB Flow Log by ID

Updates the properties of the Application Load Balancer flow log specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersFlowlogsPost

datacentersApplicationloadbalancersFlowlogsPost(datacenterId, applicationLoadBalancerId, applicationLoadBalancerFlowLog, opts)

Create an ALB Flow Log

Creates a flow log for the Application Load Balancer specified by ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersFlowlogsPut

datacentersApplicationloadbalancersFlowlogsPut(datacenterId, applicationLoadBalancerId, flowLogId, applicationLoadBalancerFlowLog, opts)

Modify an ALB Flow Log by ID

Modifies the Application Load Balancer flow log specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersForwardingrulesDelete

datacentersApplicationloadbalancersForwardingrulesDelete(datacenterId, applicationLoadBalancerId, forwardingRuleId, opts)

Delete an ALB Forwarding Rule by ID

Deletes the Application Load Balancer forwarding rule specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId

datacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId(datacenterId, applicationLoadBalancerId, forwardingRuleId, opts)

Get an ALB Forwarding Rule by ID

Retrieves the Application Load Balancer forwarding rule specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersForwardingrulesGet

datacentersApplicationloadbalancersForwardingrulesGet(datacenterId, applicationLoadBalancerId, opts)

Get ALB Forwarding Rules

Lists the forwarding rules of the specified Application Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersForwardingrulesPatch

datacentersApplicationloadbalancersForwardingrulesPatch(datacenterId, applicationLoadBalancerId, forwardingRuleId, applicationLoadBalancerForwardingRuleProperties, opts)

Partially modify an ALB Forwarding Rule by ID

Updates the properties of the Application Load Balancer forwarding rule specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersForwardingrulesPost

datacentersApplicationloadbalancersForwardingrulesPost(datacenterId, applicationLoadBalancerId, applicationLoadBalancerForwardingRule, opts)

Create an ALB Forwarding Rule

Creates a forwarding rule for the specified Application Load Balancer.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersForwardingrulesPut

datacentersApplicationloadbalancersForwardingrulesPut(datacenterId, applicationLoadBalancerId, forwardingRuleId, applicationLoadBalancerForwardingRule, opts)

Modify an ALB Forwarding Rule by ID

Modifies the Application Load Balancer forwarding rule specified by its ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersGet

datacentersApplicationloadbalancersGet(datacenterId, opts)

Get Application Load Balancers

Lists all Application Load Balancers within a data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersPatch

datacentersApplicationloadbalancersPatch(datacenterId, applicationLoadBalancerId, applicationLoadBalancerProperties, opts)

Partially Modify an Application Load Balancer by ID

Updates the properties of the specified Application Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersPost

datacentersApplicationloadbalancersPost(datacenterId, applicationLoadBalancer, opts)

Create an Application Load Balancer

Creates an Application Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersApplicationloadbalancersPut

datacentersApplicationloadbalancersPut(datacenterId, applicationLoadBalancerId, applicationLoadBalancer, opts)

Modify an Application Load Balancer by ID

Modifies the properties of the specified Application Load Balancer within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Delete NAT Gateways
api_instance
  .datacentersNatgatewaysDelete({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Retrieve NAT Gateways
api_instance
  .datacentersNatgatewaysFindByNatGatewayId({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Delete NAT Gateway Flow Logs
api_instance
  .datacentersNatgatewaysFlowlogsDelete({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    flowLogId: flowLogId_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Retrieve NAT Gateway Flow Logs
api_instance
  .datacentersNatgatewaysFlowlogsFindByFlowLogId({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    flowLogId: flowLogId_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List NAT Gateway Flow Logs
api_instance
  .datacentersNatgatewaysFlowlogsGet({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    pretty: true,
    depth: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Partially modify NAT Gateway Flow Logs
api_instance
  .datacentersNatgatewaysFlowlogsPatch({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    flowLogId: flowLogId_example,
    natGatewayFlowLogProperties: natGatewayFlowLogProperties_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Create a NAT Gateway Flow Log
api_instance
  .datacentersNatgatewaysFlowlogsPost({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    natGatewayFlowLog: natGatewayFlowLog_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Modify NAT Gateway Flow Logs
api_instance
  .datacentersNatgatewaysFlowlogsPut({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    flowLogId: flowLogId_example,
    natGatewayFlowLog: natGatewayFlowLog_example,
    pretty: true,
    depth: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List NAT Gateways
api_instance
  .datacentersNatgatewaysGet({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Partially modify NAT Gateways
api_instance
  .datacentersNatgatewaysPatch({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    natGatewayProperties: natGatewayProperties_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Create a NAT Gateway
api_instance
  .datacentersNatgatewaysPost({
    datacenterId: datacenterId_example,
    natGateway: natGateway_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Modify NAT Gateways
api_instance
  .datacentersNatgatewaysPut({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    natGateway: natGateway_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Delete NAT Gateway rules
api_instance
  .datacentersNatgatewaysRulesDelete({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    natGatewayRuleId: natGatewayRuleId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Retrieve NAT Gateway rules
api_instance
  .datacentersNatgatewaysRulesFindByNatGatewayRuleId({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    natGatewayRuleId: natGatewayRuleId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List NAT Gateway rules
api_instance
  .datacentersNatgatewaysRulesGet({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Partially Modify a NAT Gateway Rule by ID
api_instance
  .datacentersNatgatewaysRulesPatch({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    natGatewayRuleId: natGatewayRuleId_example,
    natGatewayRuleProperties: natGatewayRuleProperties_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Create a NAT Gateway Rule
api_instance
  .datacentersNatgatewaysRulesPost({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    natGatewayRule: natGatewayRule_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NATGatewaysApi(config);
// Modify a NAT Gateway Rule by ID
api_instance
  .datacentersNatgatewaysRulesPut({
    datacenterId: datacenterId_example,
    natGatewayId: natGatewayId_example,
    natGatewayRuleId: natGatewayRuleId_example,
    natGatewayRule: natGatewayRule_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Delete Network Load Balancers
api_instance
  .datacentersNetworkloadbalancersDelete({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Retrieve Network Load Balancers
api_instance
  .datacentersNetworkloadbalancersFindByNetworkLoadBalancerId({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Delete NLB Flow Logs
api_instance
  .datacentersNetworkloadbalancersFlowlogsDelete({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    flowLogId: flowLogId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Retrieve NLB Flow Logs
api_instance
  .datacentersNetworkloadbalancersFlowlogsFindByFlowLogId({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    flowLogId: flowLogId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List NLB Flow Logs
api_instance
  .datacentersNetworkloadbalancersFlowlogsGet({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Partially modify NLB Flow Logs
api_instance
  .datacentersNetworkloadbalancersFlowlogsPatch({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    flowLogId: flowLogId_example,
    networkLoadBalancerFlowLogProperties: networkLoadBalancerFlowLogProperties_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Create a NLB Flow Log
api_instance
  .datacentersNetworkloadbalancersFlowlogsPost({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    networkLoadBalancerFlowLog: networkLoadBalancerFlowLog_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Modify NLB Flow Logs
api_instance
  .datacentersNetworkloadbalancersFlowlogsPut({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    flowLogId: flowLogId_example,
    networkLoadBalancerFlowLog: networkLoadBalancerFlowLog_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Delete NLB forwarding rules
api_instance
  .datacentersNetworkloadbalancersForwardingrulesDelete({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    forwardingRuleId: forwardingRuleId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Retrieve NLB forwarding rules
api_instance
  .datacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    forwardingRuleId: forwardingRuleId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List NLB forwarding rules
api_instance
  .datacentersNetworkloadbalancersForwardingrulesGet({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Partially modify NLB forwarding rules
api_instance
  .datacentersNetworkloadbalancersForwardingrulesPatch({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    forwardingRuleId: forwardingRuleId_example,
    networkLoadBalancerForwardingRuleProperties: networkLoadBalancerForwardingRuleProperties_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Create a NLB Forwarding Rule
api_instance
  .datacentersNetworkloadbalancersForwardingrulesPost({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    networkLoadBalancerForwardingRule: networkLoadBalancerForwardingRule_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Modify NLB forwarding rules
api_instance
  .datacentersNetworkloadbalancersForwardingrulesPut({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    forwardingRuleId: forwardingRuleId_example,
    networkLoadBalancerForwardingRule: networkLoadBalancerForwardingRule_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List Network Load Balancers
api_instance
  .datacentersNetworkloadbalancersGet({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Partially modify Network Load Balancers
api_instance
  .datacentersNetworkloadbalancersPatch({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    networkLoadBalancerProperties: networkLoadBalancerProperties_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Create a Network Load Balancer
api_instance
  .datacentersNetworkloadbalancersPost({
    datacenterId: datacenterId_example,
    networkLoadBalancer: networkLoadBalancer_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.NetworkLoadBalancersApi(config);
// Modify Network Load Balancers
api_instance
  .datacentersNetworkloadbalancersPut({
    datacenterId: datacenterId_example,
    networkLoadBalancerId: networkLoadBalancerId_example,
    networkLoadBalancer: networkLoadBalancer_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
FlowLogProperties
FlowLog
FlowLogPut
NatGatewayProperties
NatGatewayPut
NatGatewayRuleProperties
NatGatewayRule
NatGatewayRulePut
FlowLogProperties
FlowLog
FlowLogPut
NetworkLoadBalancerForwardingRuleProperties
NetworkLoadBalancerForwardingRule
NetworkLoadBalancerForwardingRulePut
NetworkLoadBalancerProperties
NetworkLoadBalancerPut

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&#39;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]

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&#39;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]

The unique ID of the flow log.

[default to undefined]

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&#39;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]

The unique ID of the flow log.

[default to undefined]

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&#39;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]

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&#39;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]

The unique ID of the flow log.

[default to undefined]

applicationLoadBalancerFlowLogProperties

The properties of the ALB flow log to be updated.

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&#39;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]

The flow log to create.

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&#39;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]

The unique ID of the flow log.

[default to undefined]

applicationLoadBalancerFlowLog

The modified ALB flow log.

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&#39;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]

The unique ID of the forwarding rule.

[default to undefined]

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&#39;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]

The unique ID of the forwarding rule.

[default to undefined]

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&#39;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]

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&#39;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]

The unique ID of the forwarding rule.

[default to undefined]

applicationLoadBalancerForwardingRuleProperties

The properties of the forwarding rule to be updated.

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&#39;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]

The forwarding rule to create.

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&#39;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]

The unique ID of the forwarding rule.

[default to undefined]

applicationLoadBalancerForwardingRule

The modified ALB forwarding rule.

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&#39;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]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The Application Load Balancer properties to be updated.

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&#39;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]

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&#39;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]

The modified Application Load Balancer.

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&#39;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]

datacentersApplicationloadbalancersFlowlogsDelete

DELETE /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs/{flowLogId}

Delete an ALB Flow Log by ID

datacentersApplicationloadbalancersFlowlogsFindByFlowLogId

GET /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs/{flowLogId}

Get an ALB Flow Log by ID

datacentersApplicationloadbalancersFlowlogsGet

GET /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs

Get ALB Flow Logs

datacentersApplicationloadbalancersFlowlogsPatch

PATCH /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs/{flowLogId}

Partially Modify an ALB Flow Log by ID

datacentersApplicationloadbalancersFlowlogsPost

POST /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs

Create an ALB Flow Log

datacentersApplicationloadbalancersFlowlogsPut

PUT /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs/{flowLogId}

Modify an ALB Flow Log by ID

datacentersApplicationloadbalancersForwardingrulesDelete

DELETE /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules/{forwardingRuleId}

Delete an ALB Forwarding Rule by ID

datacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId

GET /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules/{forwardingRuleId}

Get an ALB Forwarding Rule by ID

datacentersApplicationloadbalancersForwardingrulesGet

GET /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules

Get ALB Forwarding Rules

datacentersApplicationloadbalancersForwardingrulesPatch

PATCH /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules/{forwardingRuleId}

Partially modify an ALB Forwarding Rule by ID

datacentersApplicationloadbalancersForwardingrulesPost

POST /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules

Create an ALB Forwarding Rule

datacentersApplicationloadbalancersForwardingrulesPut

PUT /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules/{forwardingRuleId}

Modify an ALB Forwarding Rule by ID

datacentersApplicationloadbalancersGet

GET /datacenters/{datacenterId}/applicationloadbalancers

Get Application Load Balancers

datacentersApplicationloadbalancersPatch

PATCH /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}

Partially Modify an Application Load Balancer by ID

datacentersApplicationloadbalancersPost

POST /datacenters/{datacenterId}/applicationloadbalancers

Create an Application Load Balancer

datacentersApplicationloadbalancersPut

PUT /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}

Modify an Application Load Balancer by ID

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

applicationLoadBalancerFlowLog

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

flowLogId

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

forwardingRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

forwardingRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

forwardingRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

applicationLoadBalancerForwardingRule

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

forwardingRuleId

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

applicationLoadBalancerProperties

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancer

ApplicationLoadBalancer

The Application Load Balancer to create.

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

applicationLoadBalancerId

string

The unique ID of the Application Load Balancer.

[default to undefined]

applicationLoadBalancer

ApplicationLoadBalancer
FlowLog
FlowLogs
FlowLog
FlowLog
FlowLog
ApplicationLoadBalancerForwardingRule
ApplicationLoadBalancerForwardingRules
ApplicationLoadBalancerForwardingRule
ApplicationLoadBalancerForwardingRule
ApplicationLoadBalancerForwardingRule
ApplicationLoadBalancers
ApplicationLoadBalancer
ApplicationLoadBalancer
ApplicationLoadBalancer
datacentersApplicationloadbalancersDelete
datacentersApplicationloadbalancersFindByApplicationLoadBalancerId

boolean

boolean

string

string

boolean

string

string

string

string

boolean

string

string

number

boolean

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Delete an Application Load Balancer by ID
api_instance
  .datacentersApplicationloadbalancersDelete({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Get an Application Load Balancer by ID
api_instance
  .datacentersApplicationloadbalancersFindByApplicationLoadBalancerId({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Delete an ALB Flow Log by ID
api_instance
  .datacentersApplicationloadbalancersFlowlogsDelete({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    flowLogId: flowLogId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Get an ALB Flow Log by ID
api_instance
  .datacentersApplicationloadbalancersFlowlogsFindByFlowLogId({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    flowLogId: flowLogId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get ALB Flow Logs
api_instance
  .datacentersApplicationloadbalancersFlowlogsGet({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Partially Modify an ALB Flow Log by ID
api_instance
  .datacentersApplicationloadbalancersFlowlogsPatch({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    flowLogId: flowLogId_example,
    applicationLoadBalancerFlowLogProperties: applicationLoadBalancerFlowLogProperties_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Create an ALB Flow Log
api_instance
  .datacentersApplicationloadbalancersFlowlogsPost({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    applicationLoadBalancerFlowLog: applicationLoadBalancerFlowLog_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Modify an ALB Flow Log by ID
api_instance
  .datacentersApplicationloadbalancersFlowlogsPut({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    flowLogId: flowLogId_example,
    applicationLoadBalancerFlowLog: applicationLoadBalancerFlowLog_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Delete an ALB Forwarding Rule by ID
api_instance
  .datacentersApplicationloadbalancersForwardingrulesDelete({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    forwardingRuleId: forwardingRuleId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Get an ALB Forwarding Rule by ID
api_instance
  .datacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    forwardingRuleId: forwardingRuleId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get ALB Forwarding Rules
api_instance
  .datacentersApplicationloadbalancersForwardingrulesGet({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Partially modify an ALB Forwarding Rule by ID
api_instance
  .datacentersApplicationloadbalancersForwardingrulesPatch({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    forwardingRuleId: forwardingRuleId_example,
    applicationLoadBalancerForwardingRuleProperties: applicationLoadBalancerForwardingRuleProperties_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Create an ALB Forwarding Rule
api_instance
  .datacentersApplicationloadbalancersForwardingrulesPost({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    applicationLoadBalancerForwardingRule: applicationLoadBalancerForwardingRule_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Modify an ALB Forwarding Rule by ID
api_instance
  .datacentersApplicationloadbalancersForwardingrulesPut({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    forwardingRuleId: forwardingRuleId_example,
    applicationLoadBalancerForwardingRule: applicationLoadBalancerForwardingRule_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Application Load Balancers
api_instance
  .datacentersApplicationloadbalancersGet({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Partially Modify an Application Load Balancer by ID
api_instance
  .datacentersApplicationloadbalancersPatch({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    applicationLoadBalancerProperties: applicationLoadBalancerProperties_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Create an Application Load Balancer
api_instance
  .datacentersApplicationloadbalancersPost({
    datacenterId: datacenterId_example,
    applicationLoadBalancer: applicationLoadBalancer_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ApplicationLoadBalancersApi(config);
// Modify an Application Load Balancer by ID
api_instance
  .datacentersApplicationloadbalancersPut({
    datacenterId: datacenterId_example,
    applicationLoadBalancerId: applicationLoadBalancerId_example,
    applicationLoadBalancer: applicationLoadBalancer_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
FlowLogProperties
FlowLog
FlowLogPut
ApplicationLoadBalancerForwardingRuleProperties
ApplicationLoadBalancerForwardingRule
ApplicationLoadBalancerForwardingRulePut
ApplicationLoadBalancerProperties
ApplicationLoadBalancerPut

UserManagementApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /um/groups/{groupId}

Delete groups

GET /um/groups/{groupId}

Retrieve groups

hashtag
umGroupsDelete

umGroupsDelete(groupId, opts)

Delete groups

Remove the specified group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsFindById

umGroupsFindById(groupId, opts)

Retrieve groups

Retrieve a group by the group ID. This value is in the response body when the group is created, and in the list of the groups, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsGet

umGroupsGet(opts)

List all groups

List all the available user groups.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsPost

umGroupsPost(group, opts)

Create groups

Create a group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
umGroupsPut

umGroupsPut(groupId, group, opts)

Modify groups

Modify the properties of the specified group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
umGroupsResourcesGet

umGroupsResourcesGet(groupId, opts)

Retrieve group resources

List the resources assigned to the group, by group ID.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsSharesDelete

umGroupsSharesDelete(groupId, resourceId, opts)

Remove group shares

Remove the specified share from the group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsSharesFindByResourceId

umGroupsSharesFindByResourceId(groupId, resourceId, opts)

Retrieve group shares

Retrieve the properties of the specified group share.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsSharesGet

umGroupsSharesGet(groupId, opts)

List group shares

List all shares and share privileges for the specified group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsSharesPost

umGroupsSharesPost(groupId, resourceId, resource, opts)

Add group shares

Add the specified share to the group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsSharesPut

umGroupsSharesPut(groupId, resourceId, resource, opts)

Modify group share privileges

Modify share permissions for the specified group. With an empty body, no updates are performed, and the current share permissions for the group are returned with response code 200.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
umGroupsUsersDelete

umGroupsUsersDelete(groupId, userId, opts)

Remove users from groups

Remove the specified user from the group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsUsersGet

umGroupsUsersGet(groupId, opts)

List group members

List all members of the specified user group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umGroupsUsersPost

umGroupsUsersPost(groupId, user, opts)

Add a Group Member

Adds an existing user to the specified group.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
umResourcesFindByType

umResourcesFindByType(resourceType, opts)

List resources by type

List all resources of the specified type. Resource types are: {datacenter, snapshot, image, ipblock, pcc, backupunit, k8s} Resource types are in the list of resources, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umResourcesFindByTypeAndId

umResourcesFindByTypeAndId(resourceType, resourceId, opts)

Retrieve resources by type

Retrieve a resource by the resource type and resource ID. Resource types are: {datacenter, snapshot, image, ipblock, pcc, backupunit, k8s} Resource types are in the list of resources, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umResourcesGet

umResourcesGet(opts)

List all resources

List all the available resources.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersDelete

umUsersDelete(userId, opts)

Delete users

Delete the specified user.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersFindById

umUsersFindById(userId, opts)

Retrieve users

Retrieve user properties by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersGet

umUsersGet(opts)

List all users

List all the users in your account.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersGroupsGet

umUsersGroupsGet(userId, opts)

Retrieve group resources by user ID

Retrieve group resources of the user by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersOwnsGet

umUsersOwnsGet(userId, opts)

Retrieve user resources by user ID

Retrieve own resources of the user by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
umUsersPost

umUsersPost(user, opts)

Create users

Create a user.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
umUsersPut

umUsersPut(userId, user, opts)

Modify users

Modify the properties of the specified user.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

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&#39;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]

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

The resource to add.

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&#39;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]

The modified resource

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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&#39;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]

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with <code>offset</code> for pagination).

[optional][default to 100]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

umGroupsGet

GET /um/groups

List all groups

umGroupsPost

POST /um/groups

Create groups

umGroupsPut

PUT /um/groups/{groupId}

Modify groups

umGroupsResourcesGet

GET /um/groups/{groupId}/resources

Retrieve group resources

umGroupsSharesDelete

DELETE /um/groups/{groupId}/shares/{resourceId}

Remove group shares

umGroupsSharesFindByResourceId

GET /um/groups/{groupId}/shares/{resourceId}

Retrieve group shares

umGroupsSharesGet

GET /um/groups/{groupId}/shares

List group shares

umGroupsSharesPost

POST /um/groups/{groupId}/shares/{resourceId}

Add group shares

umGroupsSharesPut

PUT /um/groups/{groupId}/shares/{resourceId}

Modify group share privileges

umGroupsUsersDelete

DELETE /um/groups/{groupId}/users/{userId}

Remove users from groups

umGroupsUsersGet

GET /um/groups/{groupId}/users

List group members

umGroupsUsersPost

POST /um/groups/{groupId}/users

Add a Group Member

umResourcesFindByType

GET /um/resources/{resourceType}

List resources by type

umResourcesFindByTypeAndId

GET /um/resources/{resourceType}/{resourceId}

Retrieve resources by type

umResourcesGet

GET /um/resources

List all resources

umUsersDelete

DELETE /um/users/{userId}

Delete users

umUsersFindById

GET /um/users/{userId}

Retrieve users

umUsersGet

GET /um/users

List all users

umUsersGroupsGet

GET /um/users/{userId}/groups

Retrieve group resources by user ID

umUsersOwnsGet

GET /um/users/{userId}/owns

Retrieve user resources by user ID

umUsersPost

POST /um/users

Create users

umUsersPut

PUT /um/users/{userId}

Modify users

groupId

string

The unique ID of the group.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

groupId

string

The unique ID of the group.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

group

Group

The group to create.

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

groupId

string

The unique ID of the group.

[default to undefined]

group

Group

The modified group.

pretty

groupId

string

The unique ID of the group.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

groupId

string

The unique ID of the group.

[default to undefined]

resourceId

string

The unique ID of the resource.

[default to undefined]

pretty

groupId

string

The unique ID of the group.

[default to undefined]

resourceId

string

The unique ID of the resource.

[default to undefined]

pretty

groupId

string

The unique ID of the group.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

groupId

string

The unique ID of the group.

[default to undefined]

resourceId

string

The unique ID of the resource.

[default to undefined]

resource

groupId

string

The unique ID of the group.

[default to undefined]

resourceId

string

The unique ID of the resource.

[default to undefined]

resource

groupId

string

The unique ID of the group.

[default to undefined]

userId

string

The unique ID of the user.

[default to undefined]

pretty

groupId

string

The unique ID of the group.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

groupId

string

The unique ID of the group.

[default to undefined]

user

User

The user to add.

pretty

resourceType

string

The resource type

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

resourceType

string

The resource type

[default to undefined]

resourceId

string

The resource ID

[default to undefined]

pretty

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

userId

string

The unique ID of the user.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

userId

string

The unique ID of the user.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

userId

string

The unique ID of the user.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

userId

string

The unique ID of the user.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

user

UserPost

The user to create.

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

userId

string

The unique ID of the user.

[default to undefined]

user

UserPut

The modified user

pretty

Group
Groups
Group
Group
ResourceGroups
GroupShare
GroupShares
GroupShare
GroupShare
GroupMembers
User
Resources
Resource
Resources
User
Users
ResourceGroups
ResourcesUsers
User
User
umGroupsDelete
umGroupsFindById

number

number

number

number

boolean

number

boolean

boolean

number

boolean

number

boolean

number

boolean

number

number

number

number

number

number

number

boolean

ServersApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Delete groups
api_instance
  .umGroupsDelete({
    groupId: groupId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Retrieve groups
api_instance
  .umGroupsFindById({
    groupId: groupId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List all groups
api_instance
  .umGroupsGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Create groups
api_instance
  .umGroupsPost({
    group: group_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Modify groups
api_instance
  .umGroupsPut({
    groupId: groupId_example,
    group: group_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Retrieve group resources
api_instance
  .umGroupsResourcesGet({
    groupId: groupId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Remove group shares
api_instance
  .umGroupsSharesDelete({
    groupId: groupId_example,
    resourceId: resourceId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Retrieve group shares
api_instance
  .umGroupsSharesFindByResourceId({
    groupId: groupId_example,
    resourceId: resourceId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List group shares 
api_instance
  .umGroupsSharesGet({
    groupId: groupId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Add group shares
api_instance
  .umGroupsSharesPost({
    groupId: groupId_example,
    resourceId: resourceId_example,
    resource: resource_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Modify group share privileges
api_instance
  .umGroupsSharesPut({
    groupId: groupId_example,
    resourceId: resourceId_example,
    resource: resource_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Remove users from groups
api_instance
  .umGroupsUsersDelete({
    groupId: groupId_example,
    userId: userId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List group members
api_instance
  .umGroupsUsersGet({
    groupId: groupId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Add a Group Member
api_instance
  .umGroupsUsersPost({
    groupId: groupId_example,
    user: user_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// List resources by type
api_instance
  .umResourcesFindByType({
    resourceType: resourceType_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Retrieve resources by type
api_instance
  .umResourcesFindByTypeAndId({
    resourceType: resourceType_example,
    resourceId: resourceId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List all resources
api_instance
  .umResourcesGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Delete users
api_instance
  .umUsersDelete({
    userId: userId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Retrieve users
api_instance
  .umUsersFindById({
    userId: userId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List all users 
api_instance
  .umUsersGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Retrieve group resources by user ID
api_instance
  .umUsersGroupsGet({
    userId: userId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Retrieve user resources by user ID
api_instance
  .umUsersOwnsGet({
    userId: userId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Create users
api_instance
  .umUsersPost({
    user: user_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.UserManagementApi(config);
// Modify users
api_instance
  .umUsersPut({
    userId: userId_example,
    user: user_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
GroupShare
GroupShare

GET /datacenters/{datacenterId}/servers/{serverId}/cdroms

Get Attached CD-ROMs

POST /datacenters/{datacenterId}/servers/{serverId}/cdroms

Attach a CD-ROM

DELETE /datacenters/{datacenterId}/servers/{serverId}

Delete servers

GET /datacenters/{datacenterId}/servers/{serverId}

Retrieve servers by ID

GET /datacenters/{datacenterId}/servers

List servers

PATCH /datacenters/{datacenterId}/servers/{serverId}

Partially modify servers

POST /datacenters/{datacenterId}/servers

Create a Server

PUT /datacenters/{datacenterId}/servers/{serverId}

Modify a Server by ID

POST /datacenters/{datacenterId}/servers/{serverId}/reboot

Reboot servers

GET /datacenters/{datacenterId}/servers/{serverId}/remoteconsole

Get Remote Console link

POST /datacenters/{datacenterId}/servers/{serverId}/resume

Resume a Cube Server by ID

POST /datacenters/{datacenterId}/servers/{serverId}/start

Start an Enterprise Server by ID

POST /datacenters/{datacenterId}/servers/{serverId}/stop

Stop an Enterprise Server by ID

POST /datacenters/{datacenterId}/servers/{serverId}/suspend

Suspend a Cube Server by ID

GET /datacenters/{datacenterId}/servers/{serverId}/token

Get JASON Web Token

POST /datacenters/{datacenterId}/servers/{serverId}/upgrade

Upgrade a Server by ID

DELETE /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId}

Detach a Volume by ID

GET /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId}

Get Attached Volume by ID

GET /datacenters/{datacenterId}/servers/{serverId}/volumes

Get Attached Volumes

POST /datacenters/{datacenterId}/servers/{serverId}/volumes

Attach a Volume to a Server

hashtag
datacentersServersCdromsDelete

datacentersServersCdromsDelete(datacenterId, serverId, cdromId, opts)

Detach a CD-ROM by ID

Detachs the specified CD-ROM from the server. Detaching a CD-ROM deletes the CD-ROM. The image will not be deleted. Note that detaching a CD-ROM leads to a reset of the server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

cdromId

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersCdromsFindById

datacentersServersCdromsFindById(datacenterId, serverId, cdromId, opts)

Get Attached CD-ROM by ID

Retrieves the properties of the CD-ROM attached to the specified server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

cdromId

hashtag
Return type

Image

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersCdromsGet

datacentersServersCdromsGet(datacenterId, serverId, opts)

Get Attached CD-ROMs

Lists all CD-ROMs attached to the specified server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

Cdroms

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersCdromsPost

datacentersServersCdromsPost(datacenterId, serverId, cdrom, opts)

Attach a CD-ROM

Attachs a CD-ROM to an existing server specified by its ID. CD-ROMs cannot be created stand-alone like volumes. They are either attached to a server or do not exist. They always have an ISO-Image associated; empty CD-ROMs can not be provisioned. It is possible to attach up to two CD-ROMs to the same server. Note that attaching a CD-ROM leads to a reset of the server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

cdrom

hashtag
Return type

Image

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersDelete

datacentersServersDelete(datacenterId, serverId, opts)

Delete servers

Delete the specified server in your data center. The attached storage volumes will also be removed if the query parameter is set to true otherwise a separate API call must be made for these actions.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersFindById

datacentersServersFindById(datacenterId, serverId, opts)

Retrieve servers by ID

Retrieve information about the specified server within the data center, such as its configuration, provisioning status, and so on.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

Server

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersGet

datacentersServersGet(datacenterId, opts)

List servers

List all servers within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

hashtag
Return type

Servers

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersPatch

datacentersServersPatch(datacenterId, serverId, server, opts)

Partially modify servers

Update the properties of the specified server within the data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

server

hashtag
Return type

Server

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersPost

datacentersServersPost(datacenterId, server, opts)

Create a Server

Creates a server within the specified data center. You can also use this request to configure the boot volumes and connect to existing LANs at the same time.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

server

The server to create.

pretty

hashtag
Return type

Server

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersPut

datacentersServersPut(datacenterId, serverId, server, opts)

Modify a Server by ID

Modifies the properties of the specified server within the data center. Starting with v5, the 'allowReboot' attribute is retired; while previously required for changing certain server properties, this behavior is now implicit, and the backend will perform this automatically. For example, in earlier versions, when the CPU family is changed, 'allowReboot' had to be set to 'true'; this is no longer required, the reboot will be performed automatically.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

server

hashtag
Return type

Server

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersRebootPost

datacentersServersRebootPost(datacenterId, serverId, opts)

Reboot servers

Force a hard reboot of the specified server within the data center. Don't use this method if you wish to reboot gracefully. This is an equivalent of powering down a computer and turning it back on.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersRemoteConsoleGet

datacentersServersRemoteConsoleGet(datacenterId, serverId, opts)

Get Remote Console link

Retrieve a link with a JSON Web Token for accessing the server's Remote Console.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

RemoteConsoleUrl

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersResumePost

datacentersServersResumePost(datacenterId, serverId, opts)

Resume a Cube Server by ID

Resumes a suspended Cube Server specified by its ID. Since the suspended instance was not deleted the allocated resources continue to be billed. You can perform this operation only for Cube Servers. To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersStartPost

datacentersServersStartPost(datacenterId, serverId, opts)

Start an Enterprise Server by ID

Starts the Enterprise Server specified by its ID. >Note that you cannot use this method to start a Cube Server. By starting the Enterprise Server, cores and RAM are provisioned, and the billing continues. If the server's public IPv4 address has been deallocated, a new IPv4 address will be assigned. IPv6 blocks and addresses will remain unchanged when stopping and starting a server. To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersStopPost

datacentersServersStopPost(datacenterId, serverId, opts)

Stop an Enterprise Server by ID

Stops the Enterprise Server specified by its ID. >Note that you cannot use this method to stop a Cube Server. By stopping the Enterprise Server, cores and RAM are freed and no longer charged. Public IPv4 IPs that are not reserved are returned to the IPv4 pool. IPv6 blocks and addresses will remain unchanged when stopping and starting a server. To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersSuspendPost

datacentersServersSuspendPost(datacenterId, serverId, opts)

Suspend a Cube Server by ID

Suspends the specified Cubes instance within the data center. The instance is not deleted and allocated resources continue to be billed. You can perform this operation only for Cube Servers. To check the status of the request, you can use the 'Location' HTTP header in the response (see 'Requests' for more information).

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersTokenGet

datacentersServersTokenGet(datacenterId, serverId, opts)

Get JASON Web Token

Retrieve a JSON Web Token from the server for use in login operations (such as accessing the server's console).

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

Token

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersUpgradePost

datacentersServersUpgradePost(datacenterId, serverId, opts)

Upgrade a Server by ID

Upgrades the server version.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersVolumesDelete

datacentersServersVolumesDelete(datacenterId, serverId, volumeId, opts)

Detach a Volume by ID

Detachs the specified volume from the server. Note that only the volume's connection to the specified server is disconnected. If you want to delete the volume, you must submit a separate request to perform the deletion.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

volumeId

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersVolumesFindById

datacentersServersVolumesFindById(datacenterId, serverId, volumeId, opts)

Get Attached Volume by ID

Retrieves the properties of the volume attached to the specified server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

volumeId

hashtag
Return type

Volume

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersVolumesGet

datacentersServersVolumesGet(datacenterId, serverId, opts)

Get Attached Volumes

Lists all volumes attached to the specified server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

hashtag
Return type

AttachedVolumes

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersVolumesPost

datacentersServersVolumesPost(datacenterId, serverId, volume, opts)

Attach a Volume to a Server

Attachs an existing storage volume to the specified server. You can attach an existing volume in the VDC to a server. To move a volume from one server to another, you must first detach the volume from the first server and attach it to the second server. It is also possible to create and attach a volume in one step by simply providing a new volume description as a payload. The only difference is the URL; see 'Creating a Volume' for details about volumes. Note that the combined total of attached volumes and NICs cannot exceed 24 per server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

volume

hashtag
Return type

Volume

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

datacentersServersCdromsDelete

DELETE /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId}

Detach a CD-ROM by ID

datacentersServersCdromsFindById

GET /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId}

Get Attached CD-ROM by ID

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Detach a CD-ROM by ID
api_instance
  .datacentersServersCdromsDelete({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    cdromId: cdromId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Get Attached CD-ROM by ID
api_instance
  .datacentersServersCdromsFindById({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    cdromId: cdromId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Attached CD-ROMs 
api_instance
  .datacentersServersCdromsGet({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Attach a CD-ROM
api_instance
  .datacentersServersCdromsPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    cdrom: cdrom_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Delete servers
api_instance
  .datacentersServersDelete({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    deleteVolumes: true, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Retrieve servers by ID
api_instance
  .datacentersServersFindById({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List servers 
api_instance
  .datacentersServersGet({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    upgradeNeeded: true,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Partially modify servers
api_instance
  .datacentersServersPatch({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    server: server_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Create a Server
api_instance
  .datacentersServersPost({
    datacenterId: datacenterId_example,
    server: server_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Modify a Server by ID
api_instance
  .datacentersServersPut({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    server: server_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Reboot servers
api_instance
  .datacentersServersRebootPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Remote Console link
api_instance
  .datacentersServersRemoteConsoleGet({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Resume a Cube Server by ID
api_instance
  .datacentersServersResumePost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Start an Enterprise Server by ID
api_instance
  .datacentersServersStartPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Stop an Enterprise Server by ID
api_instance
  .datacentersServersStopPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Suspend a Cube Server by ID
api_instance
  .datacentersServersSuspendPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get JASON Web Token
api_instance
  .datacentersServersTokenGet({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Upgrade a Server by ID
api_instance
  .datacentersServersUpgradePost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Detach a Volume by ID
api_instance
  .datacentersServersVolumesDelete({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    volumeId: volumeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Get Attached Volume by ID
api_instance
  .datacentersServersVolumesFindById({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    volumeId: volumeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// Get Attached Volumes
api_instance
  .datacentersServersVolumesGet({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56,
    offset: 56,
    limit: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.ServersApi(config);
// Attach a Volume to a Server
api_instance
  .datacentersServersVolumesPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    volume: volume_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));

string

The unique ID of the CD-ROM.

[default to undefined]

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&#39;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]

string

The unique ID of the CD-ROM.

[default to undefined]

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&#39;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]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The CD-ROM to be attached.

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&#39;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]

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&#39;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]

deleteVolumes

boolean

If true, all attached storage volumes will also be deleted.

[optional][default to undefined]

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&#39;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]

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

upgradeNeeded

boolean

Filter servers that can or that cannot be upgraded.

[optional][default to undefined]

xContractNumber

number

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The properties of the server to be updated.

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&#39;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]

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&#39;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]

The modified server

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

string

The unique ID of the volume.

[default to undefined]

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&#39;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]

string

The unique ID of the volume.

[default to undefined]

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&#39;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]

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&#39;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]

offset

number

The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

[optional][default to 0]

limit

number

The maximum number of elements to return (use together with offset for pagination).

[optional][default to 1000]

The volume to be attached (or created and attached).

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&#39;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]

datacentersServersCdromsGet
datacentersServersCdromsPost
datacentersServersDelete
datacentersServersFindById
datacentersServersGet
datacentersServersPatch
datacentersServersPost
datacentersServersPut
datacentersServersRebootPost
datacentersServersRemoteConsoleGet
datacentersServersResumePost
datacentersServersStartPost
datacentersServersStopPost
datacentersServersSuspendPost
datacentersServersTokenGet
datacentersServersUpgradePost
datacentersServersVolumesDelete
datacentersServersVolumesFindById
datacentersServersVolumesGet
datacentersServersVolumesPost
Server
Image
ServerProperties
Server
Volume

LabelsApi

All URIs are relative to https://api.ionos.com/cloudapi/v6

Method
HTTP request
Description

DELETE /datacenters/{datacenterId}/labels/{key}

Delete data center labels

GET /datacenters/{datacenterId}/labels/{key}

Retrieve data center labels

hashtag
datacentersLabelsDelete

datacentersLabelsDelete(datacenterId, key, opts)

Delete data center labels

Delete the specified data center label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLabelsFindByKey

datacentersLabelsFindByKey(datacenterId, key, opts)

Retrieve data center labels

Retrieve the properties of the specified data center label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLabelsGet

datacentersLabelsGet(datacenterId, opts)

List data center labels

List all the the labels for the specified data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersLabelsPost

datacentersLabelsPost(datacenterId, label, opts)

Create a Data Center Label

Adds a new label to the specified data center.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersLabelsPut

datacentersLabelsPut(datacenterId, key, label, opts)

Modify a Data Center Label by Key

Modifies the specified data center label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersLabelsDelete

datacentersServersLabelsDelete(datacenterId, serverId, key, opts)

Delete server labels

Delete the specified server label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersLabelsFindByKey

datacentersServersLabelsFindByKey(datacenterId, serverId, key, opts)

Retrieve server labels

Retrieve the properties of the specified server label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersLabelsGet

datacentersServersLabelsGet(datacenterId, serverId, opts)

List server labels

List all the the labels for the specified server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersServersLabelsPost

datacentersServersLabelsPost(datacenterId, serverId, label, opts)

Create a Server Label

Adds a new label to the specified server.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersServersLabelsPut

datacentersServersLabelsPut(datacenterId, serverId, key, label, opts)

Modify a Server Label

Modifies the specified server label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersVolumesLabelsDelete

datacentersVolumesLabelsDelete(datacenterId, volumeId, key, opts)

Delete volume labels

Delete the specified volume label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersVolumesLabelsFindByKey

datacentersVolumesLabelsFindByKey(datacenterId, volumeId, key, opts)

Retrieve volume labels

Retrieve the properties of the specified volume label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersVolumesLabelsGet

datacentersVolumesLabelsGet(datacenterId, volumeId, opts)

List volume labels

List all the the labels for the specified volume.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
datacentersVolumesLabelsPost

datacentersVolumesLabelsPost(datacenterId, volumeId, label, opts)

Create a Volume Label

Adds a new label to the specified volume.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
datacentersVolumesLabelsPut

datacentersVolumesLabelsPut(datacenterId, volumeId, key, label, opts)

Modify a Volume Label

Modifies the specified volume label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
ipblocksLabelsDelete

ipblocksLabelsDelete(ipblockId, key, opts)

Delete IP block labels

Delete the specified IP block label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
ipblocksLabelsFindByKey

ipblocksLabelsFindByKey(ipblockId, key, opts)

Retrieve IP block labels

Retrieve the properties of the specified IP block label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
ipblocksLabelsGet

ipblocksLabelsGet(ipblockId, opts)

List IP block labels

List all the the labels for the specified IP block.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
ipblocksLabelsPost

ipblocksLabelsPost(ipblockId, label, opts)

Create IP block labels

Add a new label to the specified IP block.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
ipblocksLabelsPut

ipblocksLabelsPut(ipblockId, key, label, opts)

Modify a IP Block Label by ID

Modifies the specified IP block label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
labelsFindByUrn

labelsFindByUrn(labelurn, opts)

Retrieve labels by URN

Retrieve a label by label URN. The URN is unique for each label, and consists of: urn🏷️<resource_type>:<resource_uuid>:

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
labelsGet

labelsGet(opts)

List labels

List all available labels.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
snapshotsLabelsDelete

snapshotsLabelsDelete(snapshotId, key, opts)

Delete snapshot labels

Delete the specified snapshot label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

nil (empty response body)

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
snapshotsLabelsFindByKey

snapshotsLabelsFindByKey(snapshotId, key, opts)

Retrieve snapshot labels

Retrieve the properties of the specified snapshot label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
snapshotsLabelsGet

snapshotsLabelsGet(snapshotId, opts)

List snapshot labels

List all the the labels for the specified snapshot.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

hashtag
snapshotsLabelsPost

snapshotsLabelsPost(snapshotId, label, opts)

Create a Snapshot Label

Adds a new label to the specified snapshot.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

hashtag
snapshotsLabelsPut

snapshotsLabelsPut(snapshotId, key, label, opts)

Modify a Snapshot Label by ID

Modifies the specified snapshot label.

hashtag
Examples

hashtag
Parameters

Name
Type
Description
Notes

hashtag
Return type

hashtag
Authorization

Basic Authentication, Token Authentication

hashtag
HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

The modified label

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&#39;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]

The label key

[default to undefined]

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&#39;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]

The label key

[default to undefined]

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&#39;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]

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&#39;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]

The label to create.

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&#39;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]

The label key

[default to undefined]

label

The modified label

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&#39;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]

The label key

[default to undefined]

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&#39;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]

The label key

[default to undefined]

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&#39;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]

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&#39;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]

The label to create.

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&#39;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]

The label key

[default to undefined]

label

The modified label

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

The modified label

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&#39;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]

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&#39;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]

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

[optional][default to undefined]

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&#39;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]

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&#39;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]

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&#39;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]

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&#39;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]

The modified label

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&#39;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]

datacentersLabelsGet

GET /datacenters/{datacenterId}/labels

List data center labels

datacentersLabelsPost

POST /datacenters/{datacenterId}/labels

Create a Data Center Label

datacentersLabelsPut

PUT /datacenters/{datacenterId}/labels/{key}

Modify a Data Center Label by Key

datacentersServersLabelsDelete

DELETE /datacenters/{datacenterId}/servers/{serverId}/labels/{key}

Delete server labels

datacentersServersLabelsFindByKey

GET /datacenters/{datacenterId}/servers/{serverId}/labels/{key}

Retrieve server labels

datacentersServersLabelsGet

GET /datacenters/{datacenterId}/servers/{serverId}/labels

List server labels

datacentersServersLabelsPost

POST /datacenters/{datacenterId}/servers/{serverId}/labels

Create a Server Label

datacentersServersLabelsPut

PUT /datacenters/{datacenterId}/servers/{serverId}/labels/{key}

Modify a Server Label

datacentersVolumesLabelsDelete

DELETE /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key}

Delete volume labels

datacentersVolumesLabelsFindByKey

GET /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key}

Retrieve volume labels

datacentersVolumesLabelsGet

GET /datacenters/{datacenterId}/volumes/{volumeId}/labels

List volume labels

datacentersVolumesLabelsPost

POST /datacenters/{datacenterId}/volumes/{volumeId}/labels

Create a Volume Label

datacentersVolumesLabelsPut

PUT /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key}

Modify a Volume Label

ipblocksLabelsDelete

DELETE /ipblocks/{ipblockId}/labels/{key}

Delete IP block labels

ipblocksLabelsFindByKey

GET /ipblocks/{ipblockId}/labels/{key}

Retrieve IP block labels

ipblocksLabelsGet

GET /ipblocks/{ipblockId}/labels

List IP block labels

ipblocksLabelsPost

POST /ipblocks/{ipblockId}/labels

Create IP block labels

ipblocksLabelsPut

PUT /ipblocks/{ipblockId}/labels/{key}

Modify a IP Block Label by ID

labelsFindByUrn

GET /labels/{labelurn}

Retrieve labels by URN

labelsGet

GET /labels

List labels

snapshotsLabelsDelete

DELETE /snapshots/{snapshotId}/labels/{key}

Delete snapshot labels

snapshotsLabelsFindByKey

GET /snapshots/{snapshotId}/labels/{key}

Retrieve snapshot labels

snapshotsLabelsGet

GET /snapshots/{snapshotId}/labels

List snapshot labels

snapshotsLabelsPost

POST /snapshots/{snapshotId}/labels

Create a Snapshot Label

snapshotsLabelsPut

PUT /snapshots/{snapshotId}/labels/{key}

Modify a Snapshot Label by ID

datacenterId

string

The unique ID of the data center.

[default to undefined]

key

string

The label key

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

key

string

The label key

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

datacenterId

string

The unique ID of the data center.

[default to undefined]

label

LabelResource

The label to create.

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

key

string

The label key

[default to undefined]

label

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

key

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

key

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

label

datacenterId

string

The unique ID of the data center.

[default to undefined]

serverId

string

The unique ID of the server.

[default to undefined]

key

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

key

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

key

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

pretty

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

label

datacenterId

string

The unique ID of the data center.

[default to undefined]

volumeId

string

The unique ID of the volume.

[default to undefined]

key

ipblockId

string

The unique ID of the IP block.

[default to undefined]

key

string

The label key

[default to undefined]

pretty

ipblockId

string

The unique ID of the IP block.

[default to undefined]

key

string

The label key

[default to undefined]

pretty

ipblockId

string

The unique ID of the IP block.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

ipblockId

string

The unique ID of the IP block.

[default to undefined]

label

LabelResource

The label to create.

pretty

ipblockId

string

The unique ID of the IP block.

[default to undefined]

key

string

The label key

[default to undefined]

label

labelurn

string

The label URN; URN is unique for each label, and consists of: urn🏷️<resource_type>:<resource_uuid>:<key><key>

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

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&#39;s children are included. - depth=... and so on

[optional][default to 0]

xContractNumber

snapshotId

string

The unique ID of the snapshot.

[default to undefined]

key

string

The label key

[default to undefined]

pretty

snapshotId

string

The unique ID of the snapshot.

[default to undefined]

key

string

The label key

[default to undefined]

pretty

snapshotId

string

The unique ID of the snapshot.

[default to undefined]

pretty

boolean

Controls whether the response is pretty-printed (with indentations and new lines).

[optional][default to true]

depth

snapshotId

string

The unique ID of the snapshot.

[default to undefined]

label

LabelResource

The label to create.

pretty

snapshotId

string

The unique ID of the snapshot.

[default to undefined]

key

string

The label key

[default to undefined]

label

LabelResource
LabelResources
LabelResource
LabelResource
LabelResource
LabelResources
LabelResource
LabelResource
LabelResource
LabelResources
LabelResource
LabelResource
LabelResource
LabelResources
LabelResource
LabelResource
Label
Labels
LabelResource
LabelResources
LabelResource
LabelResource
datacentersLabelsDelete
datacentersLabelsFindByKey

boolean

boolean

number

boolean

string

string

boolean

string

string

string

boolean

string

boolean

boolean

number

boolean

number

number

boolean

boolean

number

boolean

const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Delete data center labels
api_instance
  .datacentersLabelsDelete({
    datacenterId: datacenterId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Retrieve data center labels
api_instance
  .datacentersLabelsFindByKey({
    datacenterId: datacenterId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List data center labels
api_instance
  .datacentersLabelsGet({
    datacenterId: datacenterId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Create a Data Center Label
api_instance
  .datacentersLabelsPost({
    datacenterId: datacenterId_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Modify a Data Center Label by Key
api_instance
  .datacentersLabelsPut({
    datacenterId: datacenterId_example,
    key: key_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Delete server labels
api_instance
  .datacentersServersLabelsDelete({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Retrieve server labels
api_instance
  .datacentersServersLabelsFindByKey({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List server labels
api_instance
  .datacentersServersLabelsGet({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Create a Server Label
api_instance
  .datacentersServersLabelsPost({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Modify a Server Label
api_instance
  .datacentersServersLabelsPut({
    datacenterId: datacenterId_example,
    serverId: serverId_example,
    key: key_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Delete volume labels
api_instance
  .datacentersVolumesLabelsDelete({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Retrieve volume labels
api_instance
  .datacentersVolumesLabelsFindByKey({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List volume labels
api_instance
  .datacentersVolumesLabelsGet({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Create a Volume Label
api_instance
  .datacentersVolumesLabelsPost({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Modify a Volume Label
api_instance
  .datacentersVolumesLabelsPut({
    datacenterId: datacenterId_example,
    volumeId: volumeId_example,
    key: key_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Delete IP block labels
api_instance
  .ipblocksLabelsDelete({
    ipblockId: ipblockId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Retrieve IP block labels
api_instance
  .ipblocksLabelsFindByKey({
    ipblockId: ipblockId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List IP block labels
api_instance
  .ipblocksLabelsGet({
    ipblockId: ipblockId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Create IP block labels
api_instance
  .ipblocksLabelsPost({
    ipblockId: ipblockId_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Modify a IP Block Label by ID
api_instance
  .ipblocksLabelsPut({
    ipblockId: ipblockId_example,
    key: key_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Retrieve labels by URN
api_instance
  .labelsFindByUrn({
    labelurn: labelurn_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List labels 
api_instance
  .labelsGet({
    pretty: true,
    depth: 56,
    xContractNumber: 56
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Delete snapshot labels
api_instance
  .snapshotsLabelsDelete({
    snapshotId: snapshotId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Retrieve snapshot labels
api_instance
  .snapshotsLabelsFindByKey({
    snapshotId: snapshotId_example,
    key: key_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
var filterMap = new Map()
filterMap.set("<property_name>", "<property_value>")
// List snapshot labels
api_instance
  .snapshotsLabelsGet({
    snapshotId: snapshotId_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
    orderBy: "<property_name>"
    maxResults: 2,
    filters: filterMap
    options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Create a Snapshot Label
api_instance
  .snapshotsLabelsPost({
    snapshotId: snapshotId_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
const ionoscloud = require('@ionos-cloud/sdk-nodejs');
// setup authorization
const config = new ionoscloud.Configuration({
    username: 'YOUR_USERNAME',
    password: 'YOUR_PASSWORD',
    apiKey: 'YOUR_API_KEY'
});
const api_instance = new ionoscloud.LabelsApi(config);
// Modify a Snapshot Label by ID
api_instance
  .snapshotsLabelsPut({
    snapshotId: snapshotId_example,
    key: key_example,
    label: label_example,
    pretty: true,
    depth: 56,
    xContractNumber: 56, 
        options: {}
  })
  .then((response) => console.log(response.data))
  .catch((error) => console.log(error.response.data));
LabelResource
LabelResource
LabelResource
LabelResource
LabelResource
LabelResource
LabelResource