Skip to content

Commit a3a1f80

Browse files
Generate loadbalancer (#2484)
1 parent 23b3304 commit a3a1f80

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

services/loadbalancer/src/stackit/loadbalancer/api/default_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def create_credentials(
8686
) -> CreateCredentialsResponse:
8787
"""Create credentials for observability of the Load Balancer
8888
89-
Create credentials can be used to store existing credentials, which are valid to be used for Load Balancer Observability. This means, e.g. when using ARGUS, that credentials first must be created for that ARGUS instance (by using their API) and then can be provided to the Load Balancer by storing them with this endpoint.
89+
Created credentials can be stored and used for the load balancer observability. For example, when using STACKIT Observability, credentials first must be created for that STACKIT Observability instance (by using their API or the STACKIT Portal) and then can be provided to the load balancer by storing them with this endpoint.
9090
9191
:param project_id: (required)
9292
:type project_id: str
@@ -162,7 +162,7 @@ def create_credentials_with_http_info(
162162
) -> ApiResponse[CreateCredentialsResponse]:
163163
"""Create credentials for observability of the Load Balancer
164164
165-
Create credentials can be used to store existing credentials, which are valid to be used for Load Balancer Observability. This means, e.g. when using ARGUS, that credentials first must be created for that ARGUS instance (by using their API) and then can be provided to the Load Balancer by storing them with this endpoint.
165+
Created credentials can be stored and used for the load balancer observability. For example, when using STACKIT Observability, credentials first must be created for that STACKIT Observability instance (by using their API or the STACKIT Portal) and then can be provided to the load balancer by storing them with this endpoint.
166166
167167
:param project_id: (required)
168168
:type project_id: str
@@ -238,7 +238,7 @@ def create_credentials_without_preload_content(
238238
) -> RESTResponseType:
239239
"""Create credentials for observability of the Load Balancer
240240
241-
Create credentials can be used to store existing credentials, which are valid to be used for Load Balancer Observability. This means, e.g. when using ARGUS, that credentials first must be created for that ARGUS instance (by using their API) and then can be provided to the Load Balancer by storing them with this endpoint.
241+
Created credentials can be stored and used for the load balancer observability. For example, when using STACKIT Observability, credentials first must be created for that STACKIT Observability instance (by using their API or the STACKIT Portal) and then can be provided to the load balancer by storing them with this endpoint.
242242
243243
:param project_id: (required)
244244
:type project_id: str

services/loadbalancer/src/stackit/loadbalancer/models/create_credentials_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ class CreateCredentialsPayload(BaseModel):
3232
)
3333
password: Optional[StrictStr] = Field(
3434
default=None,
35-
description="A valid password used for an existing ARGUS instance, which is used during basic auth.",
35+
description="A valid password used for an existing STACKIT Observability instance, which is used during basic auth.",
3636
)
3737
username: Optional[StrictStr] = Field(
3838
default=None,
39-
description="A valid username used for an existing ARGUS instance, which is used during basic auth.",
39+
description="A valid username used for an existing STACKIT Observability instance, which is used during basic auth.",
4040
)
4141
__properties: ClassVar[List[str]] = ["displayName", "password", "username"]
4242

services/loadbalancer/src/stackit/loadbalancer/models/credentials_response.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ class CredentialsResponse(BaseModel):
3636
default=None, description="Credential name", alias="displayName"
3737
)
3838
region: Optional[StrictStr] = Field(default=None, description="Region of the Credential")
39-
username: Optional[StrictStr] = Field(default=None, description="The username used for the ARGUS instance")
39+
username: Optional[StrictStr] = Field(
40+
default=None, description="The username used for the STACKIT Observability instance"
41+
)
4042
__properties: ClassVar[List[str]] = ["credentialsRef", "displayName", "region", "username"]
4143

4244
@field_validator("display_name")

services/loadbalancer/src/stackit/loadbalancer/models/loadbalancer_option_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class LoadbalancerOptionLogs(BaseModel):
3333
)
3434
push_url: Optional[StrictStr] = Field(
3535
default=None,
36-
description="The ARGUS/Loki remote write Push URL you want the logs to be shipped to.",
36+
description="The Observability(Logs)/Loki remote write Push URL you want the logs to be shipped to.",
3737
alias="pushUrl",
3838
)
3939
__properties: ClassVar[List[str]] = ["credentialsRef", "pushUrl"]

services/loadbalancer/src/stackit/loadbalancer/models/loadbalancer_option_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class LoadbalancerOptionMetrics(BaseModel):
3333
)
3434
push_url: Optional[StrictStr] = Field(
3535
default=None,
36-
description="The ARGUS/Prometheus remote write Push URL you want the metrics to be shipped to.",
36+
description="The Observability(Metrics)/Prometheus remote write push URL you want the metrics to be shipped to.",
3737
alias="pushUrl",
3838
)
3939
__properties: ClassVar[List[str]] = ["credentialsRef", "pushUrl"]

services/loadbalancer/src/stackit/loadbalancer/models/loadbalancer_option_observability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
class LoadbalancerOptionObservability(BaseModel):
3030
"""
31-
We offer Load Balancer metrics observability via ARGUS or external solutions. Not changeable after creation.
31+
We offer Load Balancer observability via STACKIT Observability or external solutions.
3232
""" # noqa: E501
3333

3434
logs: Optional[LoadbalancerOptionLogs] = None

services/loadbalancer/src/stackit/loadbalancer/models/update_credentials_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ class UpdateCredentialsPayload(BaseModel):
3232
)
3333
password: Optional[StrictStr] = Field(
3434
default=None,
35-
description="A valid password used for an existing ARGUS instance, which is used during basic auth.",
35+
description="A valid password used for an existing STACKIT Observability instance, which is used during basic auth.",
3636
)
3737
username: Optional[StrictStr] = Field(
3838
default=None,
39-
description="A valid username used for an existing ARGUS instance, which is used during basic auth.",
39+
description="A valid username used for an existing STACKIT Observability instance, which is used during basic auth.",
4040
)
4141
__properties: ClassVar[List[str]] = ["displayName", "password", "username"]
4242

0 commit comments

Comments
 (0)