All URIs are relative to https://api.ionos.com/cloudapi/v6
Method | HTTP request | Description |
---|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
datacentersApplicationloadbalancersDelete
datacentersApplicationloadbalancersDelete(datacenterId, applicationLoadBalancerId, opts)
Delete an Application Load Balancer by ID
Removes the specified Application Load Balancer from the data center.
Examples
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));
Parameters
Return type
nil (empty response body)
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
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.
Examples
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));
Parameters
Return type
ApplicationLoadBalancer
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
datacentersApplicationloadbalancersFlowlogsDelete
datacentersApplicationloadbalancersFlowlogsDelete(datacenterId, applicationLoadBalancerId, flowLogId, opts)
Delete an ALB Flow Log by ID
Deletes the Application Load Balancer flow log specified by its ID.
Examples
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));
Parameters
Return type
nil (empty response body)
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
datacentersApplicationloadbalancersFlowlogsFindByFlowLogId
datacentersApplicationloadbalancersFlowlogsFindByFlowLogId(datacenterId, applicationLoadBalancerId, flowLogId, opts)
Get an ALB Flow Log by ID
Retrieves the Application Load Balancer flow log specified by its ID.
Examples
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));
Parameters
Return type
FlowLog
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
datacentersApplicationloadbalancersFlowlogsGet
datacentersApplicationloadbalancersFlowlogsGet(datacenterId, applicationLoadBalancerId, opts)
Get ALB Flow Logs
Retrieves the flow logs for the specified Application Load Balancer.
Examples
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));
Parameters
Return type
FlowLogs
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
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.
Examples
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));
Parameters
Return type
FlowLog
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
datacentersApplicationloadbalancersFlowlogsPost
datacentersApplicationloadbalancersFlowlogsPost(datacenterId, applicationLoadBalancerId, applicationLoadBalancerFlowLog, opts)
Create an ALB Flow Log
Creates a flow log for the Application Load Balancer specified by ID.
Examples
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));
Parameters
Return type
FlowLog
Authorization
Basic Authentication, Token Authentication
Content-Type: application/json
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.
Examples
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));
Parameters
Return type
FlowLog
Authorization
Basic Authentication, Token Authentication
Content-Type: application/json
datacentersApplicationloadbalancersForwardingrulesDelete
datacentersApplicationloadbalancersForwardingrulesDelete(datacenterId, applicationLoadBalancerId, forwardingRuleId, opts)
Delete an ALB Forwarding Rule by ID
Deletes the Application Load Balancer forwarding rule specified by its ID.
Examples
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));
Parameters
Return type
nil (empty response body)
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
datacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId
datacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId(datacenterId, applicationLoadBalancerId, forwardingRuleId, opts)
Get an ALB Forwarding Rule by ID
Retrieves the Application Load Balancer forwarding rule specified by its ID.
Examples
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));
Parameters
Return type
ApplicationLoadBalancerForwardingRule
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
datacentersApplicationloadbalancersForwardingrulesGet
datacentersApplicationloadbalancersForwardingrulesGet(datacenterId, applicationLoadBalancerId, opts)
Get ALB Forwarding Rules
Lists the forwarding rules of the specified Application Load Balancer.
Examples
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));
Parameters
Return type
ApplicationLoadBalancerForwardingRules
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
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.
Examples
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));
Parameters
Return type
ApplicationLoadBalancerForwardingRule
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
datacentersApplicationloadbalancersForwardingrulesPost
datacentersApplicationloadbalancersForwardingrulesPost(datacenterId, applicationLoadBalancerId, applicationLoadBalancerForwardingRule, opts)
Create an ALB Forwarding Rule
Creates a forwarding rule for the specified Application Load Balancer.
Examples
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));
Parameters
Return type
ApplicationLoadBalancerForwardingRule
Authorization
Basic Authentication, Token Authentication
Content-Type: application/json
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.
Examples
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));
Parameters
Return type
ApplicationLoadBalancerForwardingRule
Authorization
Basic Authentication, Token Authentication
Content-Type: application/json
datacentersApplicationloadbalancersGet
datacentersApplicationloadbalancersGet(datacenterId, opts)
Get Application Load Balancers
Lists all Application Load Balancers within a data center.
Examples
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));
Parameters
Return type
ApplicationLoadBalancers
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
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.
Examples
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));
Parameters
Return type
ApplicationLoadBalancer
Authorization
Basic Authentication, Token Authentication
Content-Type: Not defined
datacentersApplicationloadbalancersPost
datacentersApplicationloadbalancersPost(datacenterId, applicationLoadBalancer, opts)
Create an Application Load Balancer
Creates an Application Load Balancer within the data center.
Examples
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));
Parameters
Return type
ApplicationLoadBalancer
Authorization
Basic Authentication, Token Authentication
Content-Type: application/json
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.
Examples
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,