Skip to content

Commit

Permalink
SDK v0.7.21 - API v4.114.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arash-r1c authored and ArvanCloud committed Nov 12, 2023
1 parent f08168d commit 907c9d8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/LoadBalancerPool'
$ref: '#/components/schemas/LoadBalancerPoolStore'
responses:
"200":
content:
Expand All @@ -2340,7 +2340,7 @@ paths:
schema:
$ref: '#/components/schemas/domains_store_422_response'
description: The given data was invalid
summary: Update an existing load balancer pool
summary: Update an existing load balancer pool without origins
tags:
- Load Balancing
put:
Expand Down
10 changes: 5 additions & 5 deletions api_load_balancing.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/HOW-TO.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Class | Method | HTTP request | Description
*LoadBalancingApi* | [**LoadBalancersPoolsShow**](LoadBalancingApi.md#loadbalancerspoolsshow) | **Get** /domains/{domain}/load-balancers/{loadBalancerId}/pools/{loadBalancerPoolId} | Get load balancer pool information
*LoadBalancingApi* | [**LoadBalancersPoolsStore**](LoadBalancingApi.md#loadbalancerspoolsstore) | **Post** /domains/{domain}/load-balancers/{loadBalancerId}/pools | Create a new pool for the load balancer
*LoadBalancingApi* | [**LoadBalancersPoolsUpdate**](LoadBalancingApi.md#loadbalancerspoolsupdate) | **Put** /domains/{domain}/load-balancers/{loadBalancerId}/pools/{loadBalancerPoolId} | Update an existing load balancer pool with origins
*LoadBalancingApi* | [**LoadBalancersPoolsUpdatePool**](LoadBalancingApi.md#loadbalancerspoolsupdatepool) | **Patch** /domains/{domain}/load-balancers/{loadBalancerId}/pools/{loadBalancerPoolId} | Update an existing load balancer pool
*LoadBalancingApi* | [**LoadBalancersPoolsUpdatePool**](LoadBalancingApi.md#loadbalancerspoolsupdatepool) | **Patch** /domains/{domain}/load-balancers/{loadBalancerId}/pools/{loadBalancerPoolId} | Update an existing load balancer pool without origins
*LoadBalancingApi* | [**LoadBalancersPrioritizePool**](LoadBalancingApi.md#loadbalancersprioritizepool) | **Post** /domains/{domain}/load-balancers/{loadBalancerId}/prioritize | Reorder the priority of load balancer pools
*LoadBalancingApi* | [**LoadBalancersRegionsIndex**](LoadBalancingApi.md#loadbalancersregionsindex) | **Get** /load-balancers/regions | Get list of regions for load balancers
*LoadBalancingApi* | [**LoadBalancersSettingsShow**](LoadBalancingApi.md#loadbalancerssettingsshow) | **Get** /domains/{domain}/load-balancers/settings | Get list of domain load balancer global settings
Expand Down
12 changes: 6 additions & 6 deletions docs/LoadBalancingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Method | HTTP request | Description
[**LoadBalancersPoolsShow**](LoadBalancingApi.md#LoadBalancersPoolsShow) | **Get** /domains/{domain}/load-balancers/{loadBalancerId}/pools/{loadBalancerPoolId} | Get load balancer pool information
[**LoadBalancersPoolsStore**](LoadBalancingApi.md#LoadBalancersPoolsStore) | **Post** /domains/{domain}/load-balancers/{loadBalancerId}/pools | Create a new pool for the load balancer
[**LoadBalancersPoolsUpdate**](LoadBalancingApi.md#LoadBalancersPoolsUpdate) | **Put** /domains/{domain}/load-balancers/{loadBalancerId}/pools/{loadBalancerPoolId} | Update an existing load balancer pool with origins
[**LoadBalancersPoolsUpdatePool**](LoadBalancingApi.md#LoadBalancersPoolsUpdatePool) | **Patch** /domains/{domain}/load-balancers/{loadBalancerId}/pools/{loadBalancerPoolId} | Update an existing load balancer pool
[**LoadBalancersPoolsUpdatePool**](LoadBalancingApi.md#LoadBalancersPoolsUpdatePool) | **Patch** /domains/{domain}/load-balancers/{loadBalancerId}/pools/{loadBalancerPoolId} | Update an existing load balancer pool without origins
[**LoadBalancersPrioritizePool**](LoadBalancingApi.md#LoadBalancersPrioritizePool) | **Post** /domains/{domain}/load-balancers/{loadBalancerId}/prioritize | Reorder the priority of load balancer pools
[**LoadBalancersRegionsIndex**](LoadBalancingApi.md#LoadBalancersRegionsIndex) | **Get** /load-balancers/regions | Get list of regions for load balancers
[**LoadBalancersSettingsShow**](LoadBalancingApi.md#LoadBalancersSettingsShow) | **Get** /domains/{domain}/load-balancers/settings | Get list of domain load balancer global settings
Expand Down Expand Up @@ -920,9 +920,9 @@ Name | Type | Description | Notes

## LoadBalancersPoolsUpdatePool

> LoadBalancerPoolResponse LoadBalancersPoolsUpdatePool(ctx, domain, loadBalancerId, loadBalancerPoolId).LoadBalancerPool(loadBalancerPool).Execute()
> LoadBalancerPoolResponse LoadBalancersPoolsUpdatePool(ctx, domain, loadBalancerId, loadBalancerPoolId).LoadBalancerPoolStore(loadBalancerPoolStore).Execute()
Update an existing load balancer pool
Update an existing load balancer pool without origins

### Example

Expand All @@ -940,11 +940,11 @@ func main() {
domain := "example.com" // string | Domain name
loadBalancerId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | ID of the load balancer
loadBalancerPoolId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | ID of a pool of the load balancer
loadBalancerPool := *openapiclient.NewLoadBalancerPool() // LoadBalancerPool | (optional)
loadBalancerPoolStore := *openapiclient.NewLoadBalancerPoolStore("Name_example", false, "Method_example", "Keepalive_example", "NextUpstreamTcp_example") // LoadBalancerPoolStore | (optional)

configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LoadBalancingApi.LoadBalancersPoolsUpdatePool(context.Background(), domain, loadBalancerId, loadBalancerPoolId).LoadBalancerPool(loadBalancerPool).Execute()
resp, r, err := apiClient.LoadBalancingApi.LoadBalancersPoolsUpdatePool(context.Background(), domain, loadBalancerId, loadBalancerPoolId).LoadBalancerPoolStore(loadBalancerPoolStore).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancingApi.LoadBalancersPoolsUpdatePool``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
Expand Down Expand Up @@ -974,7 +974,7 @@ Name | Type | Description | Notes



**loadBalancerPool** | [**LoadBalancerPool**](LoadBalancerPool.md) | |
**loadBalancerPoolStore** | [**LoadBalancerPoolStore**](LoadBalancerPoolStore.md) | |

### Return type

Expand Down

0 comments on commit 907c9d8

Please sign in to comment.