Skip to content

Commit fff1d1e

Browse files
feat(api): aggregated API specs update
1 parent 30c0bbd commit fff1d1e

3 files changed

Lines changed: 13 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 633
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-5468c6beef9ec273f80b4c12dfa31af101e0ef3fb5a32a20d7675bc1eea40620.yml
3-
openapi_spec_hash: cf374448dbbb1a63b0cb2fcbd94589f8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-dc39841098bc6fb985a13b618df8431116df6fb1aaac9155c05c10a01ca44de0.yml
3+
openapi_spec_hash: a1c1b5a15ec7da96b01925220c1715ca
44
config_hash: a48f94af0acd513b236dad03133f50f5

src/gcore/resources/cloud/load_balancers/load_balancers.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,10 @@ def create(
166166
167167
logging: Logging configuration
168168
169-
name: Load balancer name
169+
name: Load balancer name. Either `name` or `name_template` should be specified.
170170
171-
name_template: Load balancer name which will be changed by template.
171+
name_template: Load balancer name which will be changed by template. Either `name` or
172+
`name_template` should be specified.
172173
173174
preferred_connectivity: Preferred option to establish connectivity between load balancer and its pools
174175
members. L2 provides best performance, L3 provides less IPs usage. It is taking
@@ -864,9 +865,10 @@ async def create(
864865
865866
logging: Logging configuration
866867
867-
name: Load balancer name
868+
name: Load balancer name. Either `name` or `name_template` should be specified.
868869
869-
name_template: Load balancer name which will be changed by template.
870+
name_template: Load balancer name which will be changed by template. Either `name` or
871+
`name_template` should be specified.
870872
871873
preferred_connectivity: Preferred option to establish connectivity between load balancer and its pools
872874
members. L2 provides best performance, L3 provides less IPs usage. It is taking

src/gcore/types/cloud/load_balancer_create_params.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,13 @@ class LoadBalancerCreateParams(TypedDict, total=False):
5252
"""Logging configuration"""
5353

5454
name: str
55-
"""Load balancer name"""
55+
"""Load balancer name. Either `name` or `name_template` should be specified."""
5656

5757
name_template: str
58-
"""Load balancer name which will be changed by template."""
58+
"""Load balancer name which will be changed by template.
59+
60+
Either `name` or `name_template` should be specified.
61+
"""
5962

6063
preferred_connectivity: LoadBalancerMemberConnectivity
6164
"""

0 commit comments

Comments
 (0)