PrivateCrossConnectApi
All URIs are relative to https://api.ionos.com/cloudapi/v5
Method | HTTP request | Description |
---|---|---|
DELETE /pccs/{pccId} | Delete a Private Cross-Connect | |
GET /pccs/{pccId} | Retrieve a Private Cross-Connect | |
GET /pccs | List Private Cross-Connects | |
PATCH /pccs/{pccId} | Partially modify a private cross-connect | |
POST /pccs | Create a Private Cross-Connect |
pccsDelete
object pccsDelete(pccId, opts)
Delete a Private Cross-Connect
Delete a private cross-connect if no datacenters are joined to the given PCC
Examples
Parameters
Name | Type | Description | Notes |
---|---|---|---|
pccId | string | The unique ID of the private cross-connect | [default to undefined] |
pretty | boolean | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
depth | number | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on | [optional][default to 0] |
xContractNumber | number | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional][default to undefined] |
Return type
object
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
pccsFindById
pccsFindById(pccId, opts)
Retrieve a Private Cross-Connect
You can retrieve a private cross-connect by using the resource's ID. This value can be found in the response body when a private cross-connect is created or when you GET a list of private cross-connects.
Examples
Parameters
Name | Type | Description | Notes |
---|---|---|---|
pccId | string | The unique ID of the private cross-connect | [default to undefined] |
pretty | boolean | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
depth | number | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on | [optional][default to 0] |
xContractNumber | number | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional][default to undefined] |
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
pccsGet
pccsGet(opts)
List Private Cross-Connects
You can retrieve a complete list of private cross-connects provisioned under your account
Examples
Parameters
Name | Type | Description | Notes |
---|---|---|---|
pretty | boolean | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
depth | number | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on | [optional][default to 0] |
xContractNumber | number | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional][default to undefined] |
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
Accept: application/json
pccsPatch
pccsPatch(pccId, pcc, opts)
Partially modify a private cross-connect
You can use update private cross-connect to re-name or update its description
Examples
Parameters
Name | Type | Description | Notes |
---|---|---|---|
pccId | string | The unique ID of the private cross-connect | [default to undefined] |
pcc | Modified properties of private cross-connect | ||
pretty | boolean | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
depth | number | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on | [optional][default to 0] |
xContractNumber | number | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional][default to undefined] |
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
pccsPost
pccsPost(pcc, opts)
Create a Private Cross-Connect
You can use this POST method to create a private cross-connect
Examples
Parameters
Name | Type | Description | Notes |
---|---|---|---|
pcc | Private Cross-Connect to be created | ||
pretty | boolean | Controls whether response is pretty-printed (with indentation and new lines) | [optional][default to true] |
depth | number | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on | [optional][default to 0] |
xContractNumber | number | Users having more than 1 contract need to provide contract number, against which all API requests should be executed | [optional][default to undefined] |
Return type
Authorization
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated