stackit-logme 0.2.1__tar.gz → 0.3.1__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 (43) hide show
  1. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/PKG-INFO +1 -1
  2. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/pyproject.toml +1 -1
  3. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/api/default_api.py +6 -6
  4. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/api_client.py +1 -1
  5. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/configuration.py +6 -2
  6. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance_parameters.py +0 -13
  7. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/LICENSE.md +0 -0
  8. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/NOTICE.txt +0 -0
  9. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/README.md +0 -0
  10. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/__init__.py +0 -0
  11. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/api/__init__.py +0 -0
  12. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/api_response.py +0 -0
  13. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/exceptions.py +0 -0
  14. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/__init__.py +0 -0
  15. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/backup.py +0 -0
  16. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/create_backup_response_item.py +0 -0
  17. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/create_instance_payload.py +0 -0
  18. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/create_instance_response.py +0 -0
  19. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/credentials.py +0 -0
  20. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/credentials_list_item.py +0 -0
  21. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/credentials_response.py +0 -0
  22. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/error.py +0 -0
  23. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/get_metrics_response.py +0 -0
  24. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance.py +0 -0
  25. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance_last_operation.py +0 -0
  26. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance_parameters_groks_inner.py +0 -0
  27. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance_schema.py +0 -0
  28. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_backups_response.py +0 -0
  29. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_credentials_response.py +0 -0
  30. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_instances_response.py +0 -0
  31. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_offerings_response.py +0 -0
  32. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_restores_response.py +0 -0
  33. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/model_schema.py +0 -0
  34. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/offering.py +0 -0
  35. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/partial_update_instance_payload.py +0 -0
  36. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/plan.py +0 -0
  37. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/raw_credentials.py +0 -0
  38. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/restore.py +0 -0
  39. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/trigger_restore_response.py +0 -0
  40. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/update_backups_config_payload.py +0 -0
  41. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/update_backups_config_response.py +0 -0
  42. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/py.typed +0 -0
  43. {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/rest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stackit-logme
3
- Version: 0.2.1
3
+ Version: 0.3.1
4
4
  Summary: STACKIT LogMe API
5
5
  Author: STACKIT Developer Tools
6
6
  Author-email: developer-tools@stackit.cloud
@@ -3,7 +3,7 @@ name = "stackit-logme"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "stackit-logme"
6
- version = "v0.2.1"
6
+ version = "v0.3.1"
7
7
  authors = [
8
8
  "STACKIT Developer Tools <developer-tools@stackit.cloud>",
9
9
  ]
@@ -3039,7 +3039,7 @@ class DefaultApi:
3039
3039
  @validate_call
3040
3040
  def list_offerings(
3041
3041
  self,
3042
- project_id: StrictStr,
3042
+ project_id: Annotated[StrictStr, Field(description="Project id on which user has permissions")],
3043
3043
  _request_timeout: Union[
3044
3044
  None,
3045
3045
  Annotated[StrictFloat, Field(gt=0)],
@@ -3054,7 +3054,7 @@ class DefaultApi:
3054
3054
 
3055
3055
  Get the service offerings that the service broker offers.
3056
3056
 
3057
- :param project_id: (required)
3057
+ :param project_id: Project id on which user has permissions (required)
3058
3058
  :type project_id: str
3059
3059
  :param _request_timeout: timeout setting for this request. If one
3060
3060
  number provided, it will be total request
@@ -3099,7 +3099,7 @@ class DefaultApi:
3099
3099
  @validate_call
3100
3100
  def list_offerings_with_http_info(
3101
3101
  self,
3102
- project_id: StrictStr,
3102
+ project_id: Annotated[StrictStr, Field(description="Project id on which user has permissions")],
3103
3103
  _request_timeout: Union[
3104
3104
  None,
3105
3105
  Annotated[StrictFloat, Field(gt=0)],
@@ -3114,7 +3114,7 @@ class DefaultApi:
3114
3114
 
3115
3115
  Get the service offerings that the service broker offers.
3116
3116
 
3117
- :param project_id: (required)
3117
+ :param project_id: Project id on which user has permissions (required)
3118
3118
  :type project_id: str
3119
3119
  :param _request_timeout: timeout setting for this request. If one
3120
3120
  number provided, it will be total request
@@ -3159,7 +3159,7 @@ class DefaultApi:
3159
3159
  @validate_call
3160
3160
  def list_offerings_without_preload_content(
3161
3161
  self,
3162
- project_id: StrictStr,
3162
+ project_id: Annotated[StrictStr, Field(description="Project id on which user has permissions")],
3163
3163
  _request_timeout: Union[
3164
3164
  None,
3165
3165
  Annotated[StrictFloat, Field(gt=0)],
@@ -3174,7 +3174,7 @@ class DefaultApi:
3174
3174
 
3175
3175
  Get the service offerings that the service broker offers.
3176
3176
 
3177
- :param project_id: (required)
3177
+ :param project_id: Project id on which user has permissions (required)
3178
3178
  :type project_id: str
3179
3179
  :param _request_timeout: timeout setting for this request. If one
3180
3180
  number provided, it will be total request
@@ -81,7 +81,7 @@ class ApiClient:
81
81
  self.default_headers[header_name] = header_value
82
82
  self.cookie = cookie
83
83
  # Set default User-Agent.
84
- self.user_agent = "OpenAPI-Generator/1.0.0/python"
84
+ self.user_agent = "stackit-sdk-python/logme"
85
85
 
86
86
  def __enter__(self):
87
87
  return self
@@ -1,5 +1,10 @@
1
1
  # coding: utf-8
2
2
 
3
+ import sys
4
+
5
+ import os
6
+
7
+
3
8
  """
4
9
  STACKIT LogMe API
5
10
 
@@ -11,8 +16,6 @@
11
16
  Do not edit the class manually.
12
17
  """ # noqa: E501 docstring might be too long
13
18
 
14
- import os
15
-
16
19
 
17
20
  class HostConfiguration:
18
21
  def __init__(
@@ -29,6 +32,7 @@ class HostConfiguration:
29
32
  "as a function argument instead of being set in the client configuration.\n"
30
33
  "Once all services have migrated, the methods to specify the region in the client configuration "
31
34
  "will be removed.",
35
+ file=sys.stderr,
32
36
  )
33
37
  """Constructor
34
38
  """
@@ -84,7 +84,6 @@ class InstanceParameters(BaseModel):
84
84
  description="Comma separated list of IP networks in CIDR notation which are allowed to access this instance.",
85
85
  )
86
86
  syslog: Optional[List[StrictStr]] = None
87
- syslog_use_udp: Optional[StrictStr] = Field(default=None, alias="syslog-use-udp")
88
87
  __properties: ClassVar[List[str]] = [
89
88
  "enable_monitoring",
90
89
  "fluentd-tcp",
@@ -109,7 +108,6 @@ class InstanceParameters(BaseModel):
109
108
  "opensearch-tls-protocols",
110
109
  "sgw_acl",
111
110
  "syslog",
112
- "syslog-use-udp",
113
111
  ]
114
112
 
115
113
  @field_validator("opensearch_tls_ciphers")
@@ -123,16 +121,6 @@ class InstanceParameters(BaseModel):
123
121
  raise ValueError("each list item must be one of ('TLSv1.2', 'TLSv1.3')")
124
122
  return value
125
123
 
126
- @field_validator("syslog_use_udp")
127
- def syslog_use_udp_validate_enum(cls, value):
128
- """Validates the enum"""
129
- if value is None:
130
- return value
131
-
132
- if value not in set(["yes", "no"]):
133
- raise ValueError("must be one of enum values ('yes', 'no')")
134
- return value
135
-
136
124
  model_config = ConfigDict(
137
125
  populate_by_name=True,
138
126
  validate_assignment=True,
@@ -223,7 +211,6 @@ class InstanceParameters(BaseModel):
223
211
  "opensearch-tls-protocols": obj.get("opensearch-tls-protocols"),
224
212
  "sgw_acl": obj.get("sgw_acl"),
225
213
  "syslog": obj.get("syslog"),
226
- "syslog-use-udp": obj.get("syslog-use-udp"),
227
214
  }
228
215
  )
229
216
  return _obj
File without changes
File without changes
File without changes