diff --git a/services/logs/src/stackit/logs/__init__.py b/services/logs/src/stackit/logs/__init__.py index 9b7e7c95..9590ccd0 100644 --- a/services/logs/src/stackit/logs/__init__.py +++ b/services/logs/src/stackit/logs/__init__.py @@ -7,13 +7,12 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # noqa: E501 - __version__ = "1.0.0" # Define package exports diff --git a/services/logs/src/stackit/logs/api/default_api.py b/services/logs/src/stackit/logs/api/default_api.py index 35995cc6..d498fe2a 100644 --- a/services/logs/src/stackit/logs/api/default_api.py +++ b/services/logs/src/stackit/logs/api/default_api.py @@ -5,13 +5,14 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # noqa: E501 from typing import Any, Dict, List, Optional, Tuple, Union +from uuid import UUID from pydantic import ( Field, @@ -52,11 +53,9 @@ def __init__(self, configuration: Configuration = None) -> None: @validate_call def create_access_token( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], create_access_token_payload: CreateAccessTokenPayload, _request_timeout: Union[ None, @@ -73,11 +72,11 @@ def create_access_token( Create a new Logs instance access token :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param create_access_token_payload: (required) :type create_access_token_payload: CreateAccessTokenPayload :param _request_timeout: timeout setting for this request. If one @@ -131,11 +130,9 @@ def create_access_token( @validate_call def create_access_token_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], create_access_token_payload: CreateAccessTokenPayload, _request_timeout: Union[ None, @@ -152,11 +149,11 @@ def create_access_token_with_http_info( Create a new Logs instance access token :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param create_access_token_payload: (required) :type create_access_token_payload: CreateAccessTokenPayload :param _request_timeout: timeout setting for this request. If one @@ -210,11 +207,9 @@ def create_access_token_with_http_info( @validate_call def create_access_token_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], create_access_token_payload: CreateAccessTokenPayload, _request_timeout: Union[ None, @@ -231,11 +226,11 @@ def create_access_token_without_preload_content( Create a new Logs instance access token :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param create_access_token_payload: (required) :type create_access_token_payload: CreateAccessTokenPayload :param _request_timeout: timeout setting for this request. If one @@ -336,7 +331,7 @@ def _create_access_token_serialize( return self.api_client.param_serialize( method="POST", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -352,9 +347,7 @@ def _create_access_token_serialize( @validate_call def create_logs_instance( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], create_logs_instance_payload: CreateLogsInstancePayload, _request_timeout: Union[ @@ -372,7 +365,7 @@ def create_logs_instance( Creates a new Logs instance within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param create_logs_instance_payload: (required) @@ -427,9 +420,7 @@ def create_logs_instance( @validate_call def create_logs_instance_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], create_logs_instance_payload: CreateLogsInstancePayload, _request_timeout: Union[ @@ -447,7 +438,7 @@ def create_logs_instance_with_http_info( Creates a new Logs instance within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param create_logs_instance_payload: (required) @@ -502,9 +493,7 @@ def create_logs_instance_with_http_info( @validate_call def create_logs_instance_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], create_logs_instance_payload: CreateLogsInstancePayload, _request_timeout: Union[ @@ -522,7 +511,7 @@ def create_logs_instance_without_preload_content( Creates a new Logs instance within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param create_logs_instance_payload: (required) @@ -621,7 +610,7 @@ def _create_logs_instance_serialize( return self.api_client.param_serialize( method="POST", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -637,12 +626,10 @@ def _create_logs_instance_serialize( @validate_call def delete_access_token( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], - t_id: Annotated[StrictStr, Field(description="The access token UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], + t_id: Annotated[UUID, Field(description="The access token UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -658,13 +645,13 @@ def delete_access_token( Deletes a Logs instance access token :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param t_id: The access token UUID. (required) - :type t_id: str + :type t_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -716,12 +703,10 @@ def delete_access_token( @validate_call def delete_access_token_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], - t_id: Annotated[StrictStr, Field(description="The access token UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], + t_id: Annotated[UUID, Field(description="The access token UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -737,13 +722,13 @@ def delete_access_token_with_http_info( Deletes a Logs instance access token :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param t_id: The access token UUID. (required) - :type t_id: str + :type t_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -795,12 +780,10 @@ def delete_access_token_with_http_info( @validate_call def delete_access_token_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], - t_id: Annotated[StrictStr, Field(description="The access token UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], + t_id: Annotated[UUID, Field(description="The access token UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -816,13 +799,13 @@ def delete_access_token_without_preload_content( Deletes a Logs instance access token :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param t_id: The access token UUID. (required) - :type t_id: str + :type t_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -913,7 +896,7 @@ def _delete_access_token_serialize( return self.api_client.param_serialize( method="DELETE", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -929,11 +912,9 @@ def _delete_access_token_serialize( @validate_call def delete_all_access_tokens( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -949,11 +930,11 @@ def delete_all_access_tokens( Deletes all access tokens available for a Logs instance :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1004,11 +985,9 @@ def delete_all_access_tokens( @validate_call def delete_all_access_tokens_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1024,11 +1003,11 @@ def delete_all_access_tokens_with_http_info( Deletes all access tokens available for a Logs instance :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1079,11 +1058,9 @@ def delete_all_access_tokens_with_http_info( @validate_call def delete_all_access_tokens_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1099,11 +1076,11 @@ def delete_all_access_tokens_without_preload_content( Deletes all access tokens available for a Logs instance :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1190,7 +1167,7 @@ def _delete_all_access_tokens_serialize( return self.api_client.param_serialize( method="DELETE", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1206,11 +1183,9 @@ def _delete_all_access_tokens_serialize( @validate_call def delete_all_expired_access_tokens( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1226,11 +1201,11 @@ def delete_all_expired_access_tokens( Deletes all expired access tokens :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1281,11 +1256,9 @@ def delete_all_expired_access_tokens( @validate_call def delete_all_expired_access_tokens_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1301,11 +1274,11 @@ def delete_all_expired_access_tokens_with_http_info( Deletes all expired access tokens :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1356,11 +1329,9 @@ def delete_all_expired_access_tokens_with_http_info( @validate_call def delete_all_expired_access_tokens_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1376,11 +1347,11 @@ def delete_all_expired_access_tokens_without_preload_content( Deletes all expired access tokens :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1467,7 +1438,7 @@ def _delete_all_expired_access_tokens_serialize( return self.api_client.param_serialize( method="DELETE", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/expired", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/expired", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1483,11 +1454,9 @@ def _delete_all_expired_access_tokens_serialize( @validate_call def delete_logs_instance( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1503,11 +1472,11 @@ def delete_logs_instance( Deletes the given Logs instance. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1558,11 +1527,9 @@ def delete_logs_instance( @validate_call def delete_logs_instance_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1578,11 +1545,11 @@ def delete_logs_instance_with_http_info( Deletes the given Logs instance. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1633,11 +1600,9 @@ def delete_logs_instance_with_http_info( @validate_call def delete_logs_instance_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1653,11 +1618,11 @@ def delete_logs_instance_without_preload_content( Deletes the given Logs instance. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1744,7 +1709,7 @@ def _delete_logs_instance_serialize( return self.api_client.param_serialize( method="DELETE", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1760,12 +1725,10 @@ def _delete_logs_instance_serialize( @validate_call def get_access_token( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], - t_id: Annotated[StrictStr, Field(description="The access token UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], + t_id: Annotated[UUID, Field(description="The access token UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1781,13 +1744,13 @@ def get_access_token( Get the information of the given access token. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param t_id: The access token UUID. (required) - :type t_id: str + :type t_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1839,12 +1802,10 @@ def get_access_token( @validate_call def get_access_token_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], - t_id: Annotated[StrictStr, Field(description="The access token UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], + t_id: Annotated[UUID, Field(description="The access token UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1860,13 +1821,13 @@ def get_access_token_with_http_info( Get the information of the given access token. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param t_id: The access token UUID. (required) - :type t_id: str + :type t_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1918,12 +1879,10 @@ def get_access_token_with_http_info( @validate_call def get_access_token_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], - t_id: Annotated[StrictStr, Field(description="The access token UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], + t_id: Annotated[UUID, Field(description="The access token UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1939,13 +1898,13 @@ def get_access_token_without_preload_content( Get the information of the given access token. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param t_id: The access token UUID. (required) - :type t_id: str + :type t_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2036,7 +1995,7 @@ def _get_access_token_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2052,11 +2011,9 @@ def _get_access_token_serialize( @validate_call def get_logs_instance( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2072,11 +2029,11 @@ def get_logs_instance( Returns the details for the given Logs instance. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2126,11 +2083,9 @@ def get_logs_instance( @validate_call def get_logs_instance_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2146,11 +2101,11 @@ def get_logs_instance_with_http_info( Returns the details for the given Logs instance. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2200,11 +2155,9 @@ def get_logs_instance_with_http_info( @validate_call def get_logs_instance_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2220,11 +2173,11 @@ def get_logs_instance_without_preload_content( Returns the details for the given Logs instance. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2310,7 +2263,7 @@ def _get_logs_instance_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2326,11 +2279,9 @@ def _get_logs_instance_serialize( @validate_call def list_access_tokens( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2346,11 +2297,11 @@ def list_access_tokens( Returns a list of access tokens created for a Logs instance :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2401,11 +2352,9 @@ def list_access_tokens( @validate_call def list_access_tokens_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2421,11 +2370,11 @@ def list_access_tokens_with_http_info( Returns a list of access tokens created for a Logs instance :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2476,11 +2425,9 @@ def list_access_tokens_with_http_info( @validate_call def list_access_tokens_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2496,11 +2443,11 @@ def list_access_tokens_without_preload_content( Returns a list of access tokens created for a Logs instance :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2587,7 +2534,7 @@ def _list_access_tokens_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2603,9 +2550,7 @@ def _list_access_tokens_serialize( @validate_call def list_logs_instances( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], _request_timeout: Union[ None, @@ -2622,7 +2567,7 @@ def list_logs_instances( Returns a list of all Logs instances within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param _request_timeout: timeout setting for this request. If one @@ -2672,9 +2617,7 @@ def list_logs_instances( @validate_call def list_logs_instances_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], _request_timeout: Union[ None, @@ -2691,7 +2634,7 @@ def list_logs_instances_with_http_info( Returns a list of all Logs instances within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param _request_timeout: timeout setting for this request. If one @@ -2741,9 +2684,7 @@ def list_logs_instances_with_http_info( @validate_call def list_logs_instances_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], _request_timeout: Union[ None, @@ -2760,7 +2701,7 @@ def list_logs_instances_without_preload_content( Returns a list of all Logs instances within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param _request_timeout: timeout setting for this request. If one @@ -2843,7 +2784,7 @@ def _list_logs_instances_serialize( return self.api_client.param_serialize( method="GET", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2859,12 +2800,10 @@ def _list_logs_instances_serialize( @validate_call def update_access_token( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], - t_id: Annotated[StrictStr, Field(description="The access token UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], + t_id: Annotated[UUID, Field(description="The access token UUID.")], update_access_token_payload: UpdateAccessTokenPayload, _request_timeout: Union[ None, @@ -2881,13 +2820,13 @@ def update_access_token( Updates the given access token. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param t_id: The access token UUID. (required) - :type t_id: str + :type t_id: UUID :param update_access_token_payload: (required) :type update_access_token_payload: UpdateAccessTokenPayload :param _request_timeout: timeout setting for this request. If one @@ -2942,12 +2881,10 @@ def update_access_token( @validate_call def update_access_token_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], - t_id: Annotated[StrictStr, Field(description="The access token UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], + t_id: Annotated[UUID, Field(description="The access token UUID.")], update_access_token_payload: UpdateAccessTokenPayload, _request_timeout: Union[ None, @@ -2964,13 +2901,13 @@ def update_access_token_with_http_info( Updates the given access token. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param t_id: The access token UUID. (required) - :type t_id: str + :type t_id: UUID :param update_access_token_payload: (required) :type update_access_token_payload: UpdateAccessTokenPayload :param _request_timeout: timeout setting for this request. If one @@ -3025,12 +2962,10 @@ def update_access_token_with_http_info( @validate_call def update_access_token_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], - t_id: Annotated[StrictStr, Field(description="The access token UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], + t_id: Annotated[UUID, Field(description="The access token UUID.")], update_access_token_payload: UpdateAccessTokenPayload, _request_timeout: Union[ None, @@ -3047,13 +2982,13 @@ def update_access_token_without_preload_content( Updates the given access token. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param t_id: The access token UUID. (required) - :type t_id: str + :type t_id: UUID :param update_access_token_payload: (required) :type update_access_token_payload: UpdateAccessTokenPayload :param _request_timeout: timeout setting for this request. If one @@ -3158,7 +3093,7 @@ def _update_access_token_serialize( return self.api_client.param_serialize( method="PUT", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3174,11 +3109,9 @@ def _update_access_token_serialize( @validate_call def update_logs_instance( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], update_logs_instance_payload: UpdateLogsInstancePayload, _request_timeout: Union[ None, @@ -3195,11 +3128,11 @@ def update_logs_instance( Updates the given Logs instance. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param update_logs_instance_payload: (required) :type update_logs_instance_payload: UpdateLogsInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -3253,11 +3186,9 @@ def update_logs_instance( @validate_call def update_logs_instance_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], update_logs_instance_payload: UpdateLogsInstancePayload, _request_timeout: Union[ None, @@ -3274,11 +3205,11 @@ def update_logs_instance_with_http_info( Updates the given Logs instance. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param update_logs_instance_payload: (required) :type update_logs_instance_payload: UpdateLogsInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -3332,11 +3263,9 @@ def update_logs_instance_with_http_info( @validate_call def update_logs_instance_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - instance_id: Annotated[StrictStr, Field(description="The Logs Instance UUID.")], + instance_id: Annotated[UUID, Field(description="The Logs Instance UUID.")], update_logs_instance_payload: UpdateLogsInstancePayload, _request_timeout: Union[ None, @@ -3353,11 +3282,11 @@ def update_logs_instance_without_preload_content( Updates the given Logs instance. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param instance_id: The Logs Instance UUID. (required) - :type instance_id: str + :type instance_id: UUID :param update_logs_instance_payload: (required) :type update_logs_instance_payload: UpdateLogsInstancePayload :param _request_timeout: timeout setting for this request. If one @@ -3458,7 +3387,7 @@ def _update_logs_instance_serialize( return self.api_client.param_serialize( method="PUT", - resource_path="/v1beta/projects/{projectId}/regions/{regionId}/instances/{instanceId}", + resource_path="/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}", path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/services/logs/src/stackit/logs/api_client.py b/services/logs/src/stackit/logs/api_client.py index 23d9996d..8cc461e7 100644 --- a/services/logs/src/stackit/logs/api_client.py +++ b/services/logs/src/stackit/logs/api_client.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/services/logs/src/stackit/logs/configuration.py b/services/logs/src/stackit/logs/configuration.py index 45fa5d0f..4f43e0c5 100644 --- a/services/logs/src/stackit/logs/configuration.py +++ b/services/logs/src/stackit/logs/configuration.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/services/logs/src/stackit/logs/exceptions.py b/services/logs/src/stackit/logs/exceptions.py index b0c30dce..80698cd6 100644 --- a/services/logs/src/stackit/logs/exceptions.py +++ b/services/logs/src/stackit/logs/exceptions.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/services/logs/src/stackit/logs/models/__init__.py b/services/logs/src/stackit/logs/models/__init__.py index 7c7b77c9..5bf2bad9 100644 --- a/services/logs/src/stackit/logs/models/__init__.py +++ b/services/logs/src/stackit/logs/models/__init__.py @@ -6,13 +6,12 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # noqa: E501 - # import models into model package from stackit.logs.models.access_token import AccessToken from stackit.logs.models.access_token_list import AccessTokenList diff --git a/services/logs/src/stackit/logs/models/access_token.py b/services/logs/src/stackit/logs/models/access_token.py index 9070306f..4dc83b2d 100644 --- a/services/logs/src/stackit/logs/models/access_token.py +++ b/services/logs/src/stackit/logs/models/access_token.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,6 +18,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import ( BaseModel, @@ -46,7 +47,7 @@ class AccessToken(BaseModel): description="The displayed name of the access token.", alias="displayName" ) expires: StrictBool = Field(description="Indicates if the access token can expire.") - id: StrictStr = Field(description="An auto generated unique id which identifies the access token.") + id: UUID = Field(description="An auto generated unique id which identifies the access token.") permissions: List[StrictStr] = Field(description="The access permissions granted to the access token.") status: StrictStr valid_until: Optional[datetime] = Field( diff --git a/services/logs/src/stackit/logs/models/access_token_list.py b/services/logs/src/stackit/logs/models/access_token_list.py index ed3d5b23..d3446066 100644 --- a/services/logs/src/stackit/logs/models/access_token_list.py +++ b/services/logs/src/stackit/logs/models/access_token_list.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/services/logs/src/stackit/logs/models/create_access_token_payload.py b/services/logs/src/stackit/logs/models/create_access_token_payload.py index 27d290b2..7d6235e6 100644 --- a/services/logs/src/stackit/logs/models/create_access_token_payload.py +++ b/services/logs/src/stackit/logs/models/create_access_token_payload.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/services/logs/src/stackit/logs/models/create_logs_instance_payload.py b/services/logs/src/stackit/logs/models/create_logs_instance_payload.py index 6b9386cf..7452c8a3 100644 --- a/services/logs/src/stackit/logs/models/create_logs_instance_payload.py +++ b/services/logs/src/stackit/logs/models/create_logs_instance_payload.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/services/logs/src/stackit/logs/models/logs_instance.py b/services/logs/src/stackit/logs/models/logs_instance.py index 63183c85..056f19f4 100644 --- a/services/logs/src/stackit/logs/models/logs_instance.py +++ b/services/logs/src/stackit/logs/models/logs_instance.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,6 +18,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing_extensions import Annotated, Self @@ -41,7 +42,7 @@ class LogsInstance(BaseModel): display_name: Annotated[str, Field(min_length=1, strict=True, max_length=32)] = Field( description="The displayed name of the Logs instance.", alias="displayName" ) - id: StrictStr = Field(description="A auto generated unique id which identifies the Logs instance.") + id: UUID = Field(description="A auto generated unique id which identifies the Logs instance.") ingest_otlp_url: Optional[StrictStr] = Field( default=None, description="The Logs instance's ingest logs via OTLP URL", alias="ingestOtlpUrl" ) diff --git a/services/logs/src/stackit/logs/models/logs_instances_list.py b/services/logs/src/stackit/logs/models/logs_instances_list.py index 3fb86cd4..276ff89f 100644 --- a/services/logs/src/stackit/logs/models/logs_instances_list.py +++ b/services/logs/src/stackit/logs/models/logs_instances_list.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/services/logs/src/stackit/logs/models/update_access_token_payload.py b/services/logs/src/stackit/logs/models/update_access_token_payload.py index 3cbabc08..ecf5fb35 100644 --- a/services/logs/src/stackit/logs/models/update_access_token_payload.py +++ b/services/logs/src/stackit/logs/models/update_access_token_payload.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/services/logs/src/stackit/logs/models/update_logs_instance_payload.py b/services/logs/src/stackit/logs/models/update_logs_instance_payload.py index 0996baf6..2a35324c 100644 --- a/services/logs/src/stackit/logs/models/update_logs_instance_payload.py +++ b/services/logs/src/stackit/logs/models/update_logs_instance_payload.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/services/logs/src/stackit/logs/rest.py b/services/logs/src/stackit/logs/rest.py index a624685b..d5e37965 100644 --- a/services/logs/src/stackit/logs/rest.py +++ b/services/logs/src/stackit/logs/rest.py @@ -5,7 +5,7 @@ This API provides endpoints for managing STACKIT Logs. - The version of the OpenAPI document: 1beta.0.3 + The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually.