ClustersApi
All URIs are relative to https://nfs.de-fra.ionos.com
Method | HTTP request | Description |
---|---|---|
Delete /clusters/{clusterId} | Delete Cluster | |
Get /clusters/{clusterId} | Retrieve Cluster | |
Get /clusters | Retrieve Clusters | |
Post /clusters | Create Cluster | |
Put /clusters/{clusterId} | Ensure Cluster |
ClustersDelete
Delete Cluster
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
clusterId | string | The identifier (UUID) of the cluster. |
Other Parameters
Other parameters are passed through a pointer to an apiClustersDeleteRequest struct via the builder pattern
Return type
(empty response body)
HTTP request headers
Content-Type: Not defined
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "ClustersApiService.ClustersDelete"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ClustersFindById
Retrieve Cluster
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
clusterId | string | The identifier (UUID) of the cluster. |
Other Parameters
Other parameters are passed through a pointer to an apiClustersFindByIdRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "ClustersApiService.ClustersFindById"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ClustersGet
Retrieve Clusters
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiClustersGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
offset | int32 | The first element from the total list of elements to include in the response. Use this parameter together with the limit for pagination. | [default to 0] |
limit | int32 | The maximum number of elements to return. Use this parameter together with the offset for pagination. | [default to 100] |
filterDatacenterId | string | The datacenter identifier to filter by. |
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "ClustersApiService.ClustersGet"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ClustersPost
Create Cluster
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to an apiClustersPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
clusterCreate | Cluster to create. |
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "ClustersApiService.ClustersPost"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ClustersPut
Ensure Cluster
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
clusterId | string | The ID (UUID) of the Cluster. |
Other Parameters
Other parameters are passed through a pointer to an apiClustersPutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
clusterEnsure | Update Cluster |
Return type
HTTP request headers
Content-Type: application/json
Accept: application/json
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "ClustersApiService.ClustersPut"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
Last updated