stackit-loadbalancer 0.3.0__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/PKG-INFO +1 -1
  2. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/pyproject.toml +1 -1
  3. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/create_load_balancer_payload.py +16 -2
  4. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/load_balancer.py +16 -2
  5. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/update_load_balancer_payload.py +16 -2
  6. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/LICENSE.md +0 -0
  7. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/NOTICE.txt +0 -0
  8. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/README.md +0 -0
  9. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/__init__.py +0 -0
  10. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/api/__init__.py +0 -0
  11. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/api/default_api.py +0 -0
  12. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/api_client.py +0 -0
  13. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/api_response.py +0 -0
  14. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/configuration.py +0 -0
  15. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/exceptions.py +0 -0
  16. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/__init__.py +0 -0
  17. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/active_health_check.py +0 -0
  18. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/create_credentials_payload.py +0 -0
  19. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/create_credentials_response.py +0 -0
  20. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/credentials_response.py +0 -0
  21. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/get_credentials_response.py +0 -0
  22. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/get_quota_response.py +0 -0
  23. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/google_protobuf_any.py +0 -0
  24. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/list_credentials_response.py +0 -0
  25. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/list_load_balancers_response.py +0 -0
  26. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/list_plans_response.py +0 -0
  27. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/listener.py +0 -0
  28. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/load_balancer_error.py +0 -0
  29. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/load_balancer_options.py +0 -0
  30. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/loadbalancer_option_access_control.py +0 -0
  31. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/loadbalancer_option_logs.py +0 -0
  32. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/loadbalancer_option_metrics.py +0 -0
  33. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/loadbalancer_option_observability.py +0 -0
  34. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/network.py +0 -0
  35. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/options_tcp.py +0 -0
  36. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/options_udp.py +0 -0
  37. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/plan_details.py +0 -0
  38. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/security_group.py +0 -0
  39. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/server_name_indicator.py +0 -0
  40. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/session_persistence.py +0 -0
  41. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/status.py +0 -0
  42. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/target.py +0 -0
  43. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/target_pool.py +0 -0
  44. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/update_credentials_payload.py +0 -0
  45. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/update_credentials_response.py +0 -0
  46. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/models/update_target_pool_payload.py +0 -0
  47. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/py.typed +0 -0
  48. {stackit_loadbalancer-0.3.0 → stackit_loadbalancer-0.4.0}/src/stackit/loadbalancer/rest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stackit-loadbalancer
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: Load Balancer API
5
5
  Author: STACKIT Developer Tools
6
6
  Author-email: developer-tools@stackit.cloud
@@ -3,7 +3,7 @@ name = "stackit-loadbalancer"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "stackit-loadbalancer"
6
- version = "v0.3.0"
6
+ version = "v0.4.0"
7
7
  authors = [
8
8
  "STACKIT Developer Tools <developer-tools@stackit.cloud>",
9
9
  ]
@@ -18,7 +18,14 @@ import pprint
18
18
  import re
19
19
  from typing import Any, ClassVar, Dict, List, Optional, Set
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
21
+ from pydantic import (
22
+ BaseModel,
23
+ ConfigDict,
24
+ Field,
25
+ StrictBool,
26
+ StrictStr,
27
+ field_validator,
28
+ )
22
29
  from typing_extensions import Annotated, Self
23
30
 
24
31
  from stackit.loadbalancer.models.listener import Listener
@@ -34,6 +41,11 @@ class CreateLoadBalancerPayload(BaseModel):
34
41
  CreateLoadBalancerPayload
35
42
  """
36
43
 
44
+ disable_target_security_group_assignment: Optional[StrictBool] = Field(
45
+ default=None,
46
+ description="Disable target security group assignemt to allow targets outside of the given network. Connectivity to targets need to be ensured by the customer, including routing and Security Groups (targetSecurityGroup can be assigned). Not changeable after creation.",
47
+ alias="disableTargetSecurityGroupAssignment",
48
+ )
37
49
  errors: Optional[List[LoadBalancerError]] = Field(
38
50
  default=None, description="Reports all errors a load balancer has."
39
51
  )
@@ -73,7 +85,7 @@ class CreateLoadBalancerPayload(BaseModel):
73
85
  )
74
86
  target_security_group: Optional[SecurityGroup] = Field(
75
87
  default=None,
76
- description="Security Group permitting network traffic from the LoadBalancer to the targets.",
88
+ description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
77
89
  alias="targetSecurityGroup",
78
90
  )
79
91
  version: Optional[StrictStr] = Field(
@@ -81,6 +93,7 @@ class CreateLoadBalancerPayload(BaseModel):
81
93
  description="Load balancer resource version. Must be empty or unset for creating load balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, this is the current version of this load balancer resource that changes during updates of the load balancers. On updates this field specified the load balancer version you calculated your update for instead of the future version to enable concurrency safe updates. Update calls will then report the new version in their result as you would see with a load balancer retrieval call later. There exist no total order of the version, so you can only compare it for equality, but not for less/greater than another version. Since the creation of load balancer is always intended to create the first version of it, there should be no existing version. That's why this field must by empty of not present in that case.",
82
94
  )
83
95
  __properties: ClassVar[List[str]] = [
96
+ "disableTargetSecurityGroupAssignment",
84
97
  "errors",
85
98
  "externalAddress",
86
99
  "listeners",
@@ -217,6 +230,7 @@ class CreateLoadBalancerPayload(BaseModel):
217
230
 
218
231
  _obj = cls.model_validate(
219
232
  {
233
+ "disableTargetSecurityGroupAssignment": obj.get("disableTargetSecurityGroupAssignment"),
220
234
  "errors": (
221
235
  [LoadBalancerError.from_dict(_item) for _item in obj["errors"]]
222
236
  if obj.get("errors") is not None
@@ -18,7 +18,14 @@ import pprint
18
18
  import re
19
19
  from typing import Any, ClassVar, Dict, List, Optional, Set
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
21
+ from pydantic import (
22
+ BaseModel,
23
+ ConfigDict,
24
+ Field,
25
+ StrictBool,
26
+ StrictStr,
27
+ field_validator,
28
+ )
22
29
  from typing_extensions import Annotated, Self
23
30
 
24
31
  from stackit.loadbalancer.models.listener import Listener
@@ -34,6 +41,11 @@ class LoadBalancer(BaseModel):
34
41
  LoadBalancer
35
42
  """
36
43
 
44
+ disable_target_security_group_assignment: Optional[StrictBool] = Field(
45
+ default=None,
46
+ description="Disable target security group assignemt to allow targets outside of the given network. Connectivity to targets need to be ensured by the customer, including routing and Security Groups (targetSecurityGroup can be assigned). Not changeable after creation.",
47
+ alias="disableTargetSecurityGroupAssignment",
48
+ )
37
49
  errors: Optional[List[LoadBalancerError]] = Field(
38
50
  default=None, description="Reports all errors a load balancer has."
39
51
  )
@@ -73,7 +85,7 @@ class LoadBalancer(BaseModel):
73
85
  )
74
86
  target_security_group: Optional[SecurityGroup] = Field(
75
87
  default=None,
76
- description="Security Group permitting network traffic from the LoadBalancer to the targets.",
88
+ description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
77
89
  alias="targetSecurityGroup",
78
90
  )
79
91
  version: Optional[StrictStr] = Field(
@@ -81,6 +93,7 @@ class LoadBalancer(BaseModel):
81
93
  description="Load balancer resource version. Must be empty or unset for creating load balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, this is the current version of this load balancer resource that changes during updates of the load balancers. On updates this field specified the load balancer version you calculated your update for instead of the future version to enable concurrency safe updates. Update calls will then report the new version in their result as you would see with a load balancer retrieval call later. There exist no total order of the version, so you can only compare it for equality, but not for less/greater than another version. Since the creation of load balancer is always intended to create the first version of it, there should be no existing version. That's why this field must by empty of not present in that case.",
82
94
  )
83
95
  __properties: ClassVar[List[str]] = [
96
+ "disableTargetSecurityGroupAssignment",
84
97
  "errors",
85
98
  "externalAddress",
86
99
  "listeners",
@@ -217,6 +230,7 @@ class LoadBalancer(BaseModel):
217
230
 
218
231
  _obj = cls.model_validate(
219
232
  {
233
+ "disableTargetSecurityGroupAssignment": obj.get("disableTargetSecurityGroupAssignment"),
220
234
  "errors": (
221
235
  [LoadBalancerError.from_dict(_item) for _item in obj["errors"]]
222
236
  if obj.get("errors") is not None
@@ -18,7 +18,14 @@ import pprint
18
18
  import re
19
19
  from typing import Any, ClassVar, Dict, List, Optional, Set
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
21
+ from pydantic import (
22
+ BaseModel,
23
+ ConfigDict,
24
+ Field,
25
+ StrictBool,
26
+ StrictStr,
27
+ field_validator,
28
+ )
22
29
  from typing_extensions import Annotated, Self
23
30
 
24
31
  from stackit.loadbalancer.models.listener import Listener
@@ -34,6 +41,11 @@ class UpdateLoadBalancerPayload(BaseModel):
34
41
  UpdateLoadBalancerPayload
35
42
  """
36
43
 
44
+ disable_target_security_group_assignment: Optional[StrictBool] = Field(
45
+ default=None,
46
+ description="Disable target security group assignemt to allow targets outside of the given network. Connectivity to targets need to be ensured by the customer, including routing and Security Groups (targetSecurityGroup can be assigned). Not changeable after creation.",
47
+ alias="disableTargetSecurityGroupAssignment",
48
+ )
37
49
  errors: Optional[List[LoadBalancerError]] = Field(
38
50
  default=None, description="Reports all errors a load balancer has."
39
51
  )
@@ -73,7 +85,7 @@ class UpdateLoadBalancerPayload(BaseModel):
73
85
  )
74
86
  target_security_group: Optional[SecurityGroup] = Field(
75
87
  default=None,
76
- description="Security Group permitting network traffic from the LoadBalancer to the targets.",
88
+ description="Security Group permitting network traffic from the LoadBalancer to the targets. Useful when disableTargetSecurityGroupAssignment=true to manually assign target security groups to targets.",
77
89
  alias="targetSecurityGroup",
78
90
  )
79
91
  version: Optional[StrictStr] = Field(
@@ -81,6 +93,7 @@ class UpdateLoadBalancerPayload(BaseModel):
81
93
  description="Load balancer resource version. Must be empty or unset for creating load balancers, non-empty for updating load balancers. Semantics: While retrieving load balancers, this is the current version of this load balancer resource that changes during updates of the load balancers. On updates this field specified the load balancer version you calculated your update for instead of the future version to enable concurrency safe updates. Update calls will then report the new version in their result as you would see with a load balancer retrieval call later. There exist no total order of the version, so you can only compare it for equality, but not for less/greater than another version. Since the creation of load balancer is always intended to create the first version of it, there should be no existing version. That's why this field must by empty of not present in that case.",
82
94
  )
83
95
  __properties: ClassVar[List[str]] = [
96
+ "disableTargetSecurityGroupAssignment",
84
97
  "errors",
85
98
  "externalAddress",
86
99
  "listeners",
@@ -217,6 +230,7 @@ class UpdateLoadBalancerPayload(BaseModel):
217
230
 
218
231
  _obj = cls.model_validate(
219
232
  {
233
+ "disableTargetSecurityGroupAssignment": obj.get("disableTargetSecurityGroupAssignment"),
220
234
  "errors": (
221
235
  [LoadBalancerError.from_dict(_item) for _item in obj["errors"]]
222
236
  if obj.get("errors") is not None