All URIs are relative to http://localhost, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
environmentSecurityRestAddrulePost() | POST /environment/security/rest/addrule | |
environmentSecurityRestAddrulesPost() | POST /environment/security/rest/addrules | |
environmentSecurityRestEditrulePost() | POST /environment/security/rest/editrule | |
environmentSecurityRestGetrulesPost() | POST /environment/security/rest/getrules | |
environmentSecurityRestRemoverulePost() | POST /environment/security/rest/removerule | |
environmentSecurityRestRemoverulesPost() | POST /environment/security/rest/removerules | |
environmentSecurityRestSetfirewallenabledPost() | POST /environment/security/rest/setfirewallenabled | |
environmentSecurityRestSetruleenabledPost() | POST /environment/security/rest/setruleenabled | |
environmentSecurityRestSetrulesPost() | POST /environment/security/rest/setrules |
environmentSecurityRestAddrulePost($envName, $rule, $nodeGroup): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse
Adds a new firewall rule to the nodeGroup.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecurityServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$rule = new \OpenAPI\Client\Model\EnvironmentSecurityRestEditrulePostRequestRule(); // \OpenAPI\Client\Model\EnvironmentSecurityRestEditrulePostRequestRule
$nodeGroup = 'nodeGroup_example'; // string
try {
$result = $apiInstance->environmentSecurityRestAddrulePost($envName, $rule, $nodeGroup);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityServiceApi->environmentSecurityRestAddrulePost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
rule | \OpenAPI\Client\Model\EnvironmentSecurityRestEditrulePostRequestRule | ||
nodeGroup | string | [optional] |
\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentSecurityRestAddrulesPost($envName, $rules, $nodeGroup): \OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse
Adds new firewall rules to the nodeGroup.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecurityServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$rules = 'rules_example'; // string
$nodeGroup = 'nodeGroup_example'; // string
try {
$result = $apiInstance->environmentSecurityRestAddrulesPost($envName, $rules, $nodeGroup);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityServiceApi->environmentSecurityRestAddrulesPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
rules | string | ||
nodeGroup | string | [optional] |
\OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentSecurityRestEditrulePost($envName, $rule): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse
Applies required changes to the previously added firewall rule
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecurityServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$rule = new \OpenAPI\Client\Model\EnvironmentSecurityRestEditrulePostRequestRule(); // \OpenAPI\Client\Model\EnvironmentSecurityRestEditrulePostRequestRule
try {
$result = $apiInstance->environmentSecurityRestEditrulePost($envName, $rule);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityServiceApi->environmentSecurityRestEditrulePost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
rule | \OpenAPI\Client\Model\EnvironmentSecurityRestEditrulePostRequestRule |
\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentSecurityRestGetrulesPost($envName, $nodeGroup, $direction): \OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse
Provides information about firewall rules for the environment
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecurityServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$nodeGroup = 'nodeGroup_example'; // string
$direction = 'direction_example'; // string
try {
$result = $apiInstance->environmentSecurityRestGetrulesPost($envName, $nodeGroup, $direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityServiceApi->environmentSecurityRestGetrulesPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
nodeGroup | string | [optional] | |
direction | string | [optional] |
\OpenAPI\Client\Model\ComHivextApiServerDevelopmentResponseInterfacesArrayResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentSecurityRestRemoverulePost($envName, $id): \OpenAPI\Client\Model\ComHivextApiResponse
Removes the existing firewall rule.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecurityServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$id = 56; // int
try {
$result = $apiInstance->environmentSecurityRestRemoverulePost($envName, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityServiceApi->environmentSecurityRestRemoverulePost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
id | int |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentSecurityRestRemoverulesPost($envName, $ids): \OpenAPI\Client\Model\ComHivextApiResponse
Removes existing firewall rules.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecurityServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$ids = array(new \stdClass); // object[]
try {
$result = $apiInstance->environmentSecurityRestRemoverulesPost($envName, $ids);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityServiceApi->environmentSecurityRestRemoverulesPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
ids | object[] |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentSecurityRestSetfirewallenabledPost($envName, $enabled): \OpenAPI\Client\Model\ComHivextApiResponse
Enables or disables a firewall state for the specific environment.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecurityServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$enabled = True; // bool
try {
$result = $apiInstance->environmentSecurityRestSetfirewallenabledPost($envName, $enabled);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityServiceApi->environmentSecurityRestSetfirewallenabledPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
enabled | bool |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentSecurityRestSetruleenabledPost($envName, $id, $enabled): \OpenAPI\Client\Model\ComHivextApiResponse
Enables or disables a specific firewall rule.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecurityServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$id = 56; // int
$enabled = True; // bool
try {
$result = $apiInstance->environmentSecurityRestSetruleenabledPost($envName, $id, $enabled);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityServiceApi->environmentSecurityRestSetruleenabledPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
id | int | ||
enabled | bool |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
environmentSecurityRestSetrulesPost($envName, $rules, $nodeGroup): \OpenAPI\Client\Model\ComHivextApiResponse
Replaces all existing rules with new one
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SecurityServiceApi(
// 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()
);
$envName = 'envName_example'; // string
$rules = 'rules_example'; // string
$nodeGroup = 'nodeGroup_example'; // string
try {
$result = $apiInstance->environmentSecurityRestSetrulesPost($envName, $rules, $nodeGroup);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityServiceApi->environmentSecurityRestSetrulesPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
envName | string | ||
rules | string | ||
nodeGroup | string | [optional] |
\OpenAPI\Client\Model\ComHivextApiResponse
No authorization required
- Content-Type:
application/x-www-form-urlencoded
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]