All URIs are relative to http://127.0.0.1/v2
| Method | HTTP request | Description |
|---|---|---|
| create_storage_general_file | POST /services/haproxy/storage/general | Creates a managed storage general use file with contents |
| create_storage_map_file | POST /services/haproxy/storage/maps | Creates a managed storage map file with its entries |
| create_storage_ssl_certificate | POST /services/haproxy/storage/ssl_certificates | Create SSL certificate |
| delete_storage_general_file | DELETE /services/haproxy/storage/general/{name} | Deletes a managed general use file from disk |
| delete_storage_map | DELETE /services/haproxy/storage/maps/{name} | Deletes a managed map file from disk |
| delete_storage_ssl_certificate | DELETE /services/haproxy/storage/ssl_certificates/{name} | Delete SSL certificate from disk |
| get_all_storage_general_files | GET /services/haproxy/storage/general | Return a list of all managed general use files |
| get_all_storage_map_files | GET /services/haproxy/storage/maps | Return a list of all managed map files |
| get_all_storage_ssl_certificates | GET /services/haproxy/storage/ssl_certificates | Return all available SSL certificates on disk |
| get_one_storage_general_file | GET /services/haproxy/storage/general/{name} | Return the contents of one managed general use file from disk |
| get_one_storage_map | GET /services/haproxy/storage/maps/{name} | Return the contents of one managed map file from disk |
| get_one_storage_ssl_certificate | GET /services/haproxy/storage/ssl_certificates/{name} | Return one SSL certificate from disk |
| replace_storage_general_file | PUT /services/haproxy/storage/general/{name} | Replace contents of a managed general use file on disk |
| replace_storage_map_file | PUT /services/haproxy/storage/maps/{name} | Replace contents of a managed map file on disk |
| replace_storage_ssl_certificate | PUT /services/haproxy/storage/ssl_certificates/{name} | Replace SSL certificates on disk |
crate::models::GeneralFile create_storage_general_file(file_upload) Creates a managed storage general use file with contents
Creates a managed storage general use file with contents.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| file_upload | Option<std::path::PathBuf> | General use file content |
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Map create_storage_map_file(file_upload) Creates a managed storage map file with its entries
Creates a managed storage map file with its entries.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| file_upload | Option<std::path::PathBuf> | The map file contents |
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SslCertificate create_storage_ssl_certificate(force_reload, file_upload) Create SSL certificate
Creates SSL certificate.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| force_reload | Option<bool> | If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. | [default to false] | |
| file_upload | Option<std::path::PathBuf> | The SSL certificate to upload |
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_storage_general_file(name) Deletes a managed general use file from disk
Deletes a managed general use file from disk.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | General use file storage_name | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_storage_map(name) Deletes a managed map file from disk
Deletes a managed map file from disk.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | Map file storage_name | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_storage_ssl_certificate(name, skip_reload, force_reload) Delete SSL certificate from disk
Deletes SSL certificate from disk.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | SSL certificate name | [required] | |
| skip_reload | Option<bool> | If set, no reload will be initiated after update | [default to false] | |
| force_reload | Option<bool> | If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. | [default to false] |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::GeneralFile get_all_storage_general_files() Return a list of all managed general use files
Returns a list of all managed general use files
This endpoint does not need any parameter.
Veccrate::models::GeneralFile
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::Map get_all_storage_map_files() Return a list of all managed map files
Returns a list of all managed map files
This endpoint does not need any parameter.
Veccrate::models::Map
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::SslCertificate get_all_storage_ssl_certificates() Return all available SSL certificates on disk
Returns all available SSL certificates on disk.
This endpoint does not need any parameter.
Veccrate::models::SslCertificate
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf get_one_storage_general_file(name) Return the contents of one managed general use file from disk
Returns the contents of one managed general use file from disk
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | General use file storage_name | [required] |
std::path::PathBuf
- Content-Type: Not defined
- Accept: application/octet-stream, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
std::path::PathBuf get_one_storage_map(name) Return the contents of one managed map file from disk
Returns the contents of one managed map file from disk
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | Map file storage_name | [required] |
std::path::PathBuf
- Content-Type: Not defined
- Accept: application/octet-stream, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SslCertificate get_one_storage_ssl_certificate(name) Return one SSL certificate from disk
Returns one SSL certificate from disk.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | SSL certificate name | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
replace_storage_general_file(name, body, skip_reload, force_reload) Replace contents of a managed general use file on disk
Replaces the contents of a managed general use file on disk
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | General use file storage_name | [required] | |
| body | String | [required] | ||
| skip_reload | Option<bool> | If set, no reload will be initiated after update | [default to false] | |
| force_reload | Option<bool> | If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. | [default to false] |
(empty response body)
- Content-Type: text/plain
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
replace_storage_map_file(name, body, skip_reload, force_reload) Replace contents of a managed map file on disk
Replaces the contents of a managed map file on disk
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | Map file storage_name | [required] | |
| body | String | [required] | ||
| skip_reload | Option<bool> | If set, no reload will be initiated after update | [default to false] | |
| force_reload | Option<bool> | If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. | [default to false] |
(empty response body)
- Content-Type: text/plain
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SslCertificate replace_storage_ssl_certificate(name, body, skip_reload, force_reload) Replace SSL certificates on disk
Replaces SSL certificate on disk.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | SSL certificate name | [required] | |
| body | String | [required] | ||
| skip_reload | Option<bool> | If set, no reload will be initiated after update | [default to false] | |
| force_reload | Option<bool> | If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. | [default to false] |
- Content-Type: text/plain
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]