Skip to content
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
2 changes: 1 addition & 1 deletion services/logme/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e64886dd0847341800d7191ed193b75413be998
5e44a8a3aa0447f4f0511f53cc4eead9b6e6384e
6 changes: 5 additions & 1 deletion services/logme/src/stackit/logme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -30,6 +30,7 @@
"ApiException",
"Backup",
"CreateBackupResponseItem",
"CreateCredentialsPayload",
"CreateInstancePayload",
"CreateInstanceResponse",
"Credentials",
Expand Down Expand Up @@ -77,6 +78,9 @@
from stackit.logme.models.create_backup_response_item import (
CreateBackupResponseItem as CreateBackupResponseItem,
)
from stackit.logme.models.create_credentials_payload import (
CreateCredentialsPayload as CreateCredentialsPayload,
)
from stackit.logme.models.create_instance_payload import (
CreateInstancePayload as CreateInstancePayload,
)
Expand Down
895 changes: 659 additions & 236 deletions services/logme/src/stackit/logme/api/default_api.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion services/logme/src/stackit/logme/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

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

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -53,7 +53,7 @@ def __init__(
)
"""Constructor
"""
self._base_path = "https://logme.api.eu01.stackit.cloud"
self._base_path = "https://logme.api.stackit.cloud"
"""Default Base url
"""
self.server_index = 0 if server_index is None else server_index
Expand All @@ -77,13 +77,12 @@ def get_host_settings(self) -> List[HostSetting]:
"""
return [
{
"url": "https://logme.api.{region}stackit.cloud",
"url": "https://logme.api.stackit.cloud",
"description": "No description provided",
"variables": {
"region": {
"description": "No description provided",
"default_value": "eu01.",
"enum_values": ["eu01."],
"default_value": "global",
}
},
}
Expand Down
2 changes: 1 addition & 1 deletion services/logme/src/stackit/logme/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
3 changes: 2 additions & 1 deletion services/logme/src/stackit/logme/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -15,6 +15,7 @@
# import models into model package
from stackit.logme.models.backup import Backup
from stackit.logme.models.create_backup_response_item import CreateBackupResponseItem
from stackit.logme.models.create_credentials_payload import CreateCredentialsPayload
from stackit.logme.models.create_instance_payload import CreateInstancePayload
from stackit.logme.models.create_instance_response import CreateInstanceResponse
from stackit.logme.models.credentials import Credentials
Expand Down
2 changes: 1 addition & 1 deletion services/logme/src/stackit/logme/models/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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
@@ -0,0 +1,82 @@
# coding: utf-8

"""
STACKIT LogMe API

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501

from __future__ import annotations

import json
import pprint
from typing import Any, ClassVar, Dict, List, Optional, Set

from pydantic import BaseModel, ConfigDict
from pydantic_core import to_jsonable_python
from typing_extensions import Self


class CreateCredentialsPayload(BaseModel):
"""
CreateCredentialsPayload
""" # noqa: E501

parameters: Optional[Dict[str, Any]] = None
__properties: ClassVar[List[str]] = ["parameters"]

model_config = ConfigDict(
validate_by_name=True,
validate_by_alias=True,
validate_assignment=True,
protected_namespaces=(),
)

def to_str(self) -> str:
"""Returns the string representation of the model using alias"""
return pprint.pformat(self.model_dump(by_alias=True))

def to_json(self) -> str:
"""Returns the JSON representation of the model using alias"""
return json.dumps(to_jsonable_python(self.to_dict()))

@classmethod
def from_json(cls, json_str: str) -> Optional[Self]:
"""Create an instance of CreateCredentialsPayload from a JSON string"""
return cls.from_dict(json.loads(json_str))

def to_dict(self) -> Dict[str, Any]:
"""Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic's
`self.model_dump(by_alias=True)`:

* `None` is only added to the output dict for nullable fields that
were set at model initialization. Other fields with value `None`
are ignored.
"""
excluded_fields: Set[str] = set([])

_dict = self.model_dump(
by_alias=True,
exclude=excluded_fields,
exclude_none=True,
)
return _dict

@classmethod
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"""Create an instance of CreateCredentialsPayload from a dict"""
if obj is None:
return None

if not isinstance(obj, dict):
return cls.model_validate(obj)

_obj = cls.model_validate({"parameters": obj.get("parameters")})
return _obj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/logme/src/stackit/logme/models/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/logme/src/stackit/logme/models/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/logme/src/stackit/logme/models/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
44 changes: 36 additions & 8 deletions services/logme/src/stackit/logme/models/instance_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -42,11 +42,31 @@ class InstanceParameters(BaseModel):

enable_monitoring: Optional[StrictBool] = False
fluentd_tcp: Optional[StrictInt] = Field(default=0, alias="fluentd-tcp")
fluentd_tls: Optional[StrictInt] = Field(default=6514, alias="fluentd-tls")
fluentd_tls_ciphers: Optional[StrictStr] = Field(default=None, alias="fluentd-tls-ciphers")
fluentd_tls_max_version: Optional[StrictStr] = Field(default=None, alias="fluentd-tls-max-version")
fluentd_tls_min_version: Optional[StrictStr] = Field(default=None, alias="fluentd-tls-min-version")
fluentd_tls_version: Optional[StrictStr] = Field(default=None, alias="fluentd-tls-version")
fluentd_tls: Optional[StrictInt] = Field(
default=6514,
description="This property is deprecated and will be removed in a future release.",
alias="fluentd-tls",
)
fluentd_tls_ciphers: Optional[StrictStr] = Field(
default=None,
description="This property is deprecated and will be removed in a future release.",
alias="fluentd-tls-ciphers",
)
fluentd_tls_max_version: Optional[StrictStr] = Field(
default=None,
description="This property is deprecated and will be removed in a future release.",
alias="fluentd-tls-max-version",
)
fluentd_tls_min_version: Optional[StrictStr] = Field(
default=None,
description="This property is deprecated and will be removed in a future release.",
alias="fluentd-tls-min-version",
)
fluentd_tls_version: Optional[StrictStr] = Field(
default=None,
description="This property is deprecated and will be removed in a future release.",
alias="fluentd-tls-version",
)
fluentd_udp: Optional[StrictInt] = Field(default=514, alias="fluentd-udp")
graphite: Optional[StrictStr] = Field(
default=None,
Expand Down Expand Up @@ -78,8 +98,16 @@ class InstanceParameters(BaseModel):
description="Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example.",
)
monitoring_instance_id: Optional[StrictStr] = None
opensearch_tls_ciphers: Optional[List[StrictStr]] = Field(default=None, alias="opensearch-tls-ciphers")
opensearch_tls_protocols: Optional[List[StrictStr]] = Field(default=None, alias="opensearch-tls-protocols")
opensearch_tls_ciphers: Optional[List[StrictStr]] = Field(
default=None,
description="This property is deprecated and will be removed in a future release.",
alias="opensearch-tls-ciphers",
)
opensearch_tls_protocols: Optional[List[StrictStr]] = Field(
default=None,
description="This property is deprecated and will be removed in a future release.",
alias="opensearch-tls-protocols",
)
sgw_acl: Optional[StrictStr] = Field(
default=None,
description="Comma separated list of IP networks in CIDR notation which are allowed to access this instance.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.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 @@

The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.

The version of the OpenAPI document: 1.1.0
The version of the OpenAPI document: 2.1.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading
Loading