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.
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/PKG-INFO +1 -1
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/pyproject.toml +1 -1
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/api/default_api.py +6 -6
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/api_client.py +1 -1
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/configuration.py +6 -2
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance_parameters.py +0 -13
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/LICENSE.md +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/NOTICE.txt +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/README.md +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/__init__.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/api/__init__.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/api_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/exceptions.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/__init__.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/backup.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/create_backup_response_item.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/create_instance_payload.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/create_instance_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/credentials.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/credentials_list_item.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/credentials_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/error.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/get_metrics_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance_last_operation.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance_parameters_groks_inner.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance_schema.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_backups_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_credentials_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_instances_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_offerings_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_restores_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/model_schema.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/offering.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/partial_update_instance_payload.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/plan.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/raw_credentials.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/restore.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/trigger_restore_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/update_backups_config_payload.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/update_backups_config_response.py +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/py.typed +0 -0
- {stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/rest.py +0 -0
|
@@ -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 = "
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/create_backup_response_item.py
RENAMED
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/create_instance_payload.py
RENAMED
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/create_instance_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/credentials_list_item.py
RENAMED
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/credentials_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/get_metrics_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/instance_last_operation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_backups_response.py
RENAMED
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_credentials_response.py
RENAMED
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_instances_response.py
RENAMED
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_offerings_response.py
RENAMED
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/list_restores_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_logme-0.2.1 → stackit_logme-0.3.1}/src/stackit/logme/models/trigger_restore_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|