All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
subnetCreateObjectV1 | POST /1/object/subnet | Create a new Subnet |
subnetDeleteObjectV1 | DELETE /1/object/subnet/{pkiSubnetID} | Delete an existing Subnet |
subnetEditObjectV1 | PUT /1/object/subnet/{pkiSubnetID} | Edit an existing Subnet |
subnetGetObjectV2 | GET /2/object/subnet/{pkiSubnetID} | Retrieve an existing Subnet |
SubnetCreateObjectV1Response subnetCreateObjectV1(SubnetCreateObjectV1Request)
Create a new Subnet
The endpoint allows to create one or many elements at once.
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectSubnetApi();
let SubnetCreateObjectV1Request = new EZmaxApiDefinitionFull.SubnetCreateObjectV1Request(); // SubnetCreateObjectV1Request |
apiInstance.subnetCreateObjectV1(SubnetCreateObjectV1Request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
SubnetCreateObjectV1Request | SubnetCreateObjectV1Request |
- Content-Type: application/json
- Accept: application/json
SubnetDeleteObjectV1Response subnetDeleteObjectV1(pkiSubnetID)
Delete an existing Subnet
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectSubnetApi();
let pkiSubnetID = 56; // Number | The unique ID of the Subnet
apiInstance.subnetDeleteObjectV1(pkiSubnetID, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
pkiSubnetID | Number | The unique ID of the Subnet |
- Content-Type: Not defined
- Accept: application/json
SubnetEditObjectV1Response subnetEditObjectV1(pkiSubnetID, SubnetEditObjectV1Request)
Edit an existing Subnet
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectSubnetApi();
let pkiSubnetID = 56; // Number | The unique ID of the Subnet
let SubnetEditObjectV1Request = new EZmaxApiDefinitionFull.SubnetEditObjectV1Request(); // SubnetEditObjectV1Request |
apiInstance.subnetEditObjectV1(pkiSubnetID, SubnetEditObjectV1Request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
pkiSubnetID | Number | The unique ID of the Subnet | |
SubnetEditObjectV1Request | SubnetEditObjectV1Request |
- Content-Type: application/json
- Accept: application/json
SubnetGetObjectV2Response subnetGetObjectV2(pkiSubnetID)
Retrieve an existing Subnet
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectSubnetApi();
let pkiSubnetID = 56; // Number | The unique ID of the Subnet
apiInstance.subnetGetObjectV2(pkiSubnetID, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
pkiSubnetID | Number | The unique ID of the Subnet |
- Content-Type: Not defined
- Accept: application/json