Skip to content

Generator: Update SDK /services/alb #1030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions services/alb/src/stackit/alb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -43,8 +43,8 @@
from stackit.alb.models.get_credentials_response import GetCredentialsResponse
from stackit.alb.models.get_quota_response import GetQuotaResponse
from stackit.alb.models.google_protobuf_any import GoogleProtobufAny
from stackit.alb.models.header import Header
from stackit.alb.models.http_config import HTTPConfig
from stackit.alb.models.host_config import HostConfig
from stackit.alb.models.http_header import HttpHeader
from stackit.alb.models.http_health_checks import HttpHealthChecks
from stackit.alb.models.list_credentials_response import ListCredentialsResponse
from stackit.alb.models.list_load_balancers_response import ListLoadBalancersResponse
Expand All @@ -63,11 +63,11 @@
)
from stackit.alb.models.network import Network
from stackit.alb.models.plan_details import PlanDetails
from stackit.alb.models.protocol_options_http import ProtocolOptionsHTTP
from stackit.alb.models.protocol_options_https import ProtocolOptionsHTTPS
from stackit.alb.models.query_parameters import QueryParameters
from stackit.alb.models.query_parameter import QueryParameter
from stackit.alb.models.rule import Rule
from stackit.alb.models.status import Status
from stackit.alb.models.sub_rule import SubRule
from stackit.alb.models.target import Target
from stackit.alb.models.target_pool import TargetPool
from stackit.alb.models.target_pool_tls_config import TargetPoolTlsConfig
Expand Down
28 changes: 14 additions & 14 deletions services/alb/src/stackit/alb/api/default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -327,7 +327,7 @@ def _create_credentials_serialize(

return self.api_client.param_serialize(
method="POST",
resource_path="/v2beta/projects/{projectId}/regions/{region}/credentials",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/credentials",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -621,7 +621,7 @@ def _create_load_balancer_serialize(

return self.api_client.param_serialize(
method="POST",
resource_path="/v2beta/projects/{projectId}/regions/{region}/load-balancers",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/load-balancers",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -889,7 +889,7 @@ def _delete_credentials_serialize(

return self.api_client.param_serialize(
method="DELETE",
resource_path="/v2beta/projects/{projectId}/regions/{region}/credentials/{credentialsRef}",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/credentials/{credentialsRef}",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -1157,7 +1157,7 @@ def _delete_load_balancer_serialize(

return self.api_client.param_serialize(
method="DELETE",
resource_path="/v2beta/projects/{projectId}/regions/{region}/load-balancers/{name}",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/load-balancers/{name}",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -1428,7 +1428,7 @@ def _get_credentials_serialize(

return self.api_client.param_serialize(
method="GET",
resource_path="/v2beta/projects/{projectId}/regions/{region}/credentials/{credentialsRef}",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/credentials/{credentialsRef}",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -1699,7 +1699,7 @@ def _get_load_balancer_serialize(

return self.api_client.param_serialize(
method="GET",
resource_path="/v2beta/projects/{projectId}/regions/{region}/load-balancers/{name}",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/load-balancers/{name}",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -1952,7 +1952,7 @@ def _get_quota_serialize(

return self.api_client.param_serialize(
method="GET",
resource_path="/v2beta/projects/{projectId}/regions/{region}/quota",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/quota",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -2205,7 +2205,7 @@ def _list_credentials_serialize(

return self.api_client.param_serialize(
method="GET",
resource_path="/v2beta/projects/{projectId}/regions/{region}/credentials",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/credentials",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -2522,7 +2522,7 @@ def _list_load_balancers_serialize(

return self.api_client.param_serialize(
method="GET",
resource_path="/v2beta/projects/{projectId}/regions/{region}/load-balancers",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/load-balancers",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -2760,7 +2760,7 @@ def _list_plans_serialize(

return self.api_client.param_serialize(
method="GET",
resource_path="/v2beta/regions/{region}/plans",
resource_path="/v2beta2/regions/{region}/plans",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -3054,7 +3054,7 @@ def _update_credentials_serialize(

return self.api_client.param_serialize(
method="PUT",
resource_path="/v2beta/projects/{projectId}/regions/{region}/credentials/{credentialsRef}",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/credentials/{credentialsRef}",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -3348,7 +3348,7 @@ def _update_load_balancer_serialize(

return self.api_client.param_serialize(
method="PUT",
resource_path="/v2beta/projects/{projectId}/regions/{region}/load-balancers/{name}",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/load-balancers/{name}",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down Expand Up @@ -3654,7 +3654,7 @@ def _update_target_pool_serialize(

return self.api_client.param_serialize(
method="PUT",
resource_path="/v2beta/projects/{projectId}/regions/{region}/load-balancers/{name}/target-pools/{targetPoolName}",
resource_path="/v2beta2/projects/{projectId}/regions/{region}/load-balancers/{name}/target-pools/{targetPoolName}",
path_params=_path_params,
query_params=_query_params,
header_params=_header_params,
Expand Down
2 changes: 1 addition & 1 deletion services/alb/src/stackit/alb/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
10 changes: 7 additions & 3 deletions services/alb/src/stackit/alb/configuration.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# coding: utf-8

import sys

import os


"""
Application Load Balancer API

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501 docstring might be too long

import os


class HostConfiguration:
def __init__(
Expand All @@ -29,6 +32,7 @@ def __init__(
"as a function argument instead of being set in the client configuration.\n"
"Once all services have migrated, the methods to specify the region in the client configuration "
"will be removed.",
file=sys.stderr,
)
"""Constructor
"""
Expand Down
2 changes: 1 addition & 1 deletion services/alb/src/stackit/alb/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
10 changes: 5 additions & 5 deletions services/alb/src/stackit/alb/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -24,8 +24,8 @@
from stackit.alb.models.get_credentials_response import GetCredentialsResponse
from stackit.alb.models.get_quota_response import GetQuotaResponse
from stackit.alb.models.google_protobuf_any import GoogleProtobufAny
from stackit.alb.models.header import Header
from stackit.alb.models.http_config import HTTPConfig
from stackit.alb.models.host_config import HostConfig
from stackit.alb.models.http_header import HttpHeader
from stackit.alb.models.http_health_checks import HttpHealthChecks
from stackit.alb.models.list_credentials_response import ListCredentialsResponse
from stackit.alb.models.list_load_balancers_response import ListLoadBalancersResponse
Expand All @@ -44,11 +44,11 @@
)
from stackit.alb.models.network import Network
from stackit.alb.models.plan_details import PlanDetails
from stackit.alb.models.protocol_options_http import ProtocolOptionsHTTP
from stackit.alb.models.protocol_options_https import ProtocolOptionsHTTPS
from stackit.alb.models.query_parameters import QueryParameters
from stackit.alb.models.query_parameter import QueryParameter
from stackit.alb.models.rule import Rule
from stackit.alb.models.status import Status
from stackit.alb.models.sub_rule import SubRule
from stackit.alb.models.target import Target
from stackit.alb.models.target_pool import TargetPool
from stackit.alb.models.target_pool_tls_config import TargetPoolTlsConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
4 changes: 2 additions & 2 deletions services/alb/src/stackit/alb/models/certificate_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -27,7 +27,7 @@ class CertificateConfig(BaseModel):
"""

certificate_ids: Optional[List[StrictStr]] = Field(
default=None, description="Certificate IDs for TLS termination", alias="certificateIds"
default=None, description="Certificate IDs for TLS termination.", alias="certificateIds"
)
__properties: ClassVar[List[str]] = ["certificateIds"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -60,7 +60,7 @@ class CreateLoadBalancerPayload(BaseModel):
description="Transient private application load balancer IP address that can change any time.",
alias="privateAddress",
)
region: Optional[StrictStr] = Field(default=None, description="Region of the LoadBalancer")
region: Optional[StrictStr] = Field(default=None, description="Region of the LoadBalancer.")
status: Optional[StrictStr] = None
target_pools: Optional[List[TargetPool]] = Field(
default=None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

The version of the OpenAPI document: 2beta.0.0
The version of the OpenAPI document: 2beta2.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading
Loading