All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest, except if the operation defines another base path.
| 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 |
subnetCreateObjectV1($subnetCreateObjectV1Request): \eZmaxAPI\Model\SubnetCreateObjectV1ResponseCreate a new Subnet
The endpoint allows to create one or many elements at once.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new eZmaxAPI\Api\ObjectSubnetApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$subnetCreateObjectV1Request = new \eZmaxAPI\Model\SubnetCreateObjectV1Request(); // \eZmaxAPI\Model\SubnetCreateObjectV1Request
try {
$result = $apiInstance->subnetCreateObjectV1($subnetCreateObjectV1Request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectSubnetApi->subnetCreateObjectV1: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| subnetCreateObjectV1Request | \eZmaxAPI\Model\SubnetCreateObjectV1Request |
\eZmaxAPI\Model\SubnetCreateObjectV1Response
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
subnetDeleteObjectV1($pkiSubnetID): \eZmaxAPI\Model\SubnetDeleteObjectV1ResponseDelete an existing Subnet
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new eZmaxAPI\Api\ObjectSubnetApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$pkiSubnetID = 56; // int | The unique ID of the Subnet
try {
$result = $apiInstance->subnetDeleteObjectV1($pkiSubnetID);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectSubnetApi->subnetDeleteObjectV1: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| pkiSubnetID | int | The unique ID of the Subnet |
\eZmaxAPI\Model\SubnetDeleteObjectV1Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
subnetEditObjectV1($pkiSubnetID, $subnetEditObjectV1Request): \eZmaxAPI\Model\SubnetEditObjectV1ResponseEdit an existing Subnet
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new eZmaxAPI\Api\ObjectSubnetApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$pkiSubnetID = 56; // int | The unique ID of the Subnet
$subnetEditObjectV1Request = new \eZmaxAPI\Model\SubnetEditObjectV1Request(); // \eZmaxAPI\Model\SubnetEditObjectV1Request
try {
$result = $apiInstance->subnetEditObjectV1($pkiSubnetID, $subnetEditObjectV1Request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectSubnetApi->subnetEditObjectV1: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| pkiSubnetID | int | The unique ID of the Subnet | |
| subnetEditObjectV1Request | \eZmaxAPI\Model\SubnetEditObjectV1Request |
\eZmaxAPI\Model\SubnetEditObjectV1Response
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
subnetGetObjectV2($pkiSubnetID): \eZmaxAPI\Model\SubnetGetObjectV2ResponseRetrieve an existing Subnet
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new eZmaxAPI\Api\ObjectSubnetApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$pkiSubnetID = 56; // int | The unique ID of the Subnet
try {
$result = $apiInstance->subnetGetObjectV2($pkiSubnetID);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectSubnetApi->subnetGetObjectV2: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| pkiSubnetID | int | The unique ID of the Subnet |
\eZmaxAPI\Model\SubnetGetObjectV2Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]