import 'package:cloudflare_dart/api.dart';All URIs are relative to https://api.cloudflare.com/client/v4
| Method | HTTP request | Description |
|---|---|---|
| accountLoadBalancerPoolsCreatePool | POST /accounts/{account_id}/load_balancers/pools | Create Pool |
| accountLoadBalancerPoolsDeletePool | DELETE /accounts/{account_id}/load_balancers/pools/{pool_id} | Delete Pool |
| accountLoadBalancerPoolsListPoolReferences | GET /accounts/{account_id}/load_balancers/pools/{pool_id}/references | List Pool References |
| accountLoadBalancerPoolsListPools | GET /accounts/{account_id}/load_balancers/pools | List Pools |
| accountLoadBalancerPoolsPatchPool | PATCH /accounts/{account_id}/load_balancers/pools/{pool_id} | Patch Pool |
| accountLoadBalancerPoolsPatchPools | PATCH /accounts/{account_id}/load_balancers/pools | Patch Pools |
| accountLoadBalancerPoolsPoolDetails | GET /accounts/{account_id}/load_balancers/pools/{pool_id} | Pool Details |
| accountLoadBalancerPoolsPoolHealthDetails | GET /accounts/{account_id}/load_balancers/pools/{pool_id}/health | Pool Health Details |
| accountLoadBalancerPoolsPreviewPool | POST /accounts/{account_id}/load_balancers/pools/{pool_id}/preview | Preview Pool |
| accountLoadBalancerPoolsUpdatePool | PUT /accounts/{account_id}/load_balancers/pools/{pool_id} | Update Pool |
LoadBalancingSchemasSingleResponse accountLoadBalancerPoolsCreatePool(accountId, accountLoadBalancerPoolsCreatePoolRequest)
Create Pool
Create a new pool.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String accountId = accountId_example; // String |
final AccountLoadBalancerPoolsCreatePoolRequest accountLoadBalancerPoolsCreatePoolRequest = ; // AccountLoadBalancerPoolsCreatePoolRequest |
try {
final response = api.accountLoadBalancerPoolsCreatePool(accountId, accountLoadBalancerPoolsCreatePoolRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsCreatePool: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| accountLoadBalancerPoolsCreatePoolRequest | AccountLoadBalancerPoolsCreatePoolRequest |
LoadBalancingSchemasSingleResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoadBalancingSchemasIdResponse accountLoadBalancerPoolsDeletePool(poolId, accountId)
Delete Pool
Delete a configured pool.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String poolId = poolId_example; // String |
final String accountId = accountId_example; // String |
try {
final response = api.accountLoadBalancerPoolsDeletePool(poolId, accountId);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsDeletePool: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| poolId | String | ||
| accountId | String |
LoadBalancingSchemasIdResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoadBalancingPoolsReferencesResponse accountLoadBalancerPoolsListPoolReferences(poolId, accountId)
List Pool References
Get the list of resources that reference the provided pool.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String poolId = poolId_example; // String |
final String accountId = accountId_example; // String |
try {
final response = api.accountLoadBalancerPoolsListPoolReferences(poolId, accountId);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsListPoolReferences: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| poolId | String | ||
| accountId | String |
LoadBalancingPoolsReferencesResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoadBalancingSchemasResponseCollection accountLoadBalancerPoolsListPools(accountId, monitor)
List Pools
List configured pools.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String accountId = accountId_example; // String |
final String monitor = monitor_example; // String |
try {
final response = api.accountLoadBalancerPoolsListPools(accountId, monitor);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsListPools: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| monitor | String | [optional] |
LoadBalancingSchemasResponseCollection
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoadBalancingSchemasSingleResponse accountLoadBalancerPoolsPatchPool(poolId, accountId, accountLoadBalancerPoolsPatchPoolRequest)
Patch Pool
Apply changes to an existing pool, overwriting the supplied properties.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String poolId = poolId_example; // String |
final String accountId = accountId_example; // String |
final AccountLoadBalancerPoolsPatchPoolRequest accountLoadBalancerPoolsPatchPoolRequest = ; // AccountLoadBalancerPoolsPatchPoolRequest |
try {
final response = api.accountLoadBalancerPoolsPatchPool(poolId, accountId, accountLoadBalancerPoolsPatchPoolRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsPatchPool: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| poolId | String | ||
| accountId | String | ||
| accountLoadBalancerPoolsPatchPoolRequest | AccountLoadBalancerPoolsPatchPoolRequest |
LoadBalancingSchemasSingleResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoadBalancingSchemasResponseCollection accountLoadBalancerPoolsPatchPools(accountId, body)
Patch Pools
Apply changes to a number of existing pools, overwriting the supplied properties. Pools are ordered by ascending name. Returns the list of affected pools. Supports the standard pagination query parameters, either limit/offset or per_page/page.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String accountId = accountId_example; // String |
final String body = ; // String |
try {
final response = api.accountLoadBalancerPoolsPatchPools(accountId, body);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsPatchPools: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | String | ||
| body | String |
LoadBalancingSchemasResponseCollection
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoadBalancingSchemasSingleResponse accountLoadBalancerPoolsPoolDetails(poolId, accountId)
Pool Details
Fetch a single configured pool.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String poolId = poolId_example; // String |
final String accountId = accountId_example; // String |
try {
final response = api.accountLoadBalancerPoolsPoolDetails(poolId, accountId);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsPoolDetails: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| poolId | String | ||
| accountId | String |
LoadBalancingSchemasSingleResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoadBalancingHealthDetails accountLoadBalancerPoolsPoolHealthDetails(poolId, accountId)
Pool Health Details
Fetch the latest pool health status for a single pool.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String poolId = poolId_example; // String |
final String accountId = accountId_example; // String |
try {
final response = api.accountLoadBalancerPoolsPoolHealthDetails(poolId, accountId);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsPoolHealthDetails: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| poolId | String | ||
| accountId | String |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoadBalancingPreviewResponse accountLoadBalancerPoolsPreviewPool(poolId, accountId, loadBalancingMonitorEditable)
Preview Pool
Preview pool health using provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String poolId = poolId_example; // String |
final String accountId = accountId_example; // String |
final LoadBalancingMonitorEditable loadBalancingMonitorEditable = ; // LoadBalancingMonitorEditable |
try {
final response = api.accountLoadBalancerPoolsPreviewPool(poolId, accountId, loadBalancingMonitorEditable);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsPreviewPool: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| poolId | String | ||
| accountId | String | ||
| loadBalancingMonitorEditable | LoadBalancingMonitorEditable |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoadBalancingSchemasSingleResponse accountLoadBalancerPoolsUpdatePool(poolId, accountId, accountLoadBalancerPoolsUpdatePoolRequest)
Update Pool
Modify a configured pool.
import 'package:cloudflare_dart/api.dart';
// TODO Configure API key authorization: api_key
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_key').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: api_email
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('api_email').apiKeyPrefix = 'Bearer';
final api = CloudflareDart().getAccountLoadBalancerPoolsApi();
final String poolId = poolId_example; // String |
final String accountId = accountId_example; // String |
final AccountLoadBalancerPoolsUpdatePoolRequest accountLoadBalancerPoolsUpdatePoolRequest = ; // AccountLoadBalancerPoolsUpdatePoolRequest |
try {
final response = api.accountLoadBalancerPoolsUpdatePool(poolId, accountId, accountLoadBalancerPoolsUpdatePoolRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling AccountLoadBalancerPoolsApi->accountLoadBalancerPoolsUpdatePool: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| poolId | String | ||
| accountId | String | ||
| accountLoadBalancerPoolsUpdatePoolRequest | AccountLoadBalancerPoolsUpdatePoolRequest |
LoadBalancingSchemasSingleResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]