diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ce0fc187..c6f42427a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ ## Release (2026-xx-xx) +- `ske`: [v1.5.0](services/ske/CHANGELOG.md#v150) + - **Feature:** Add field `identity` to model `ClusterStatus` - `logs`: [v0.1.0](services/logs/CHANGELOG.md#v010) - **New**: STACKIT Logs service - `edge`: [v0.1.0](services/edge/CHANGELOG.md#v010) diff --git a/services/ske/CHANGELOG.md b/services/ske/CHANGELOG.md index dc4c81e7d..2d1671b55 100644 --- a/services/ske/CHANGELOG.md +++ b/services/ske/CHANGELOG.md @@ -1,3 +1,6 @@ +## v1.5.0 +- **Feature:** Add field `identity` to model `ClusterStatus` + ## v1.4.0 - **Feature:** Add new optional `version_state` param to `DefaultApi.list_provider_options` method - **Feature:** Add new enum `GetProviderOptionsRequestVersionState` diff --git a/services/ske/pyproject.toml b/services/ske/pyproject.toml index dd8a8b5d2..e2f1507c2 100644 --- a/services/ske/pyproject.toml +++ b/services/ske/pyproject.toml @@ -3,7 +3,7 @@ name = "stackit-ske" [tool.poetry] name = "stackit-ske" -version = "v1.4.0" +version = "v1.5.0" authors = [ "STACKIT Developer Tools ", ] diff --git a/services/ske/src/stackit/ske/__init__.py b/services/ske/src/stackit/ske/__init__.py index c86b45627..c5dd04cd7 100644 --- a/services/ske/src/stackit/ske/__init__.py +++ b/services/ske/src/stackit/ske/__init__.py @@ -5,7 +5,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -43,6 +43,7 @@ "GetProviderOptionsRequestVersionState", "Hibernation", "HibernationSchedule", + "IDP", "Image", "Kubeconfig", "Kubernetes", @@ -109,6 +110,7 @@ from stackit.ske.models.hibernation_schedule import ( HibernationSchedule as HibernationSchedule, ) +from stackit.ske.models.idp import IDP as IDP from stackit.ske.models.image import Image as Image from stackit.ske.models.kubeconfig import Kubeconfig as Kubeconfig from stackit.ske.models.kubernetes import Kubernetes as Kubernetes diff --git a/services/ske/src/stackit/ske/api/default_api.py b/services/ske/src/stackit/ske/api/default_api.py index ae64d8cc3..2ac00e743 100644 --- a/services/ske/src/stackit/ske/api/default_api.py +++ b/services/ske/src/stackit/ske/api/default_api.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -335,9 +335,9 @@ def create_kubeconfig( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Kubeconfig: - """Create a kubeconfig + """Create an admin kubeconfig - Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). + Create a new admin kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). Defaults to 3600. :param project_id: (required) :type project_id: str @@ -384,6 +384,7 @@ def create_kubeconfig( "200": "Kubeconfig", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) response_data.read() @@ -409,9 +410,9 @@ def create_kubeconfig_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[Kubeconfig]: - """Create a kubeconfig + """Create an admin kubeconfig - Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). + Create a new admin kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). Defaults to 3600. :param project_id: (required) :type project_id: str @@ -458,6 +459,7 @@ def create_kubeconfig_with_http_info( "200": "Kubeconfig", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) response_data.read() @@ -483,9 +485,9 @@ def create_kubeconfig_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create a kubeconfig + """Create an admin kubeconfig - Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). + Create a new admin kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). Defaults to 3600. :param project_id: (required) :type project_id: str @@ -532,6 +534,7 @@ def create_kubeconfig_without_preload_content( "200": "Kubeconfig", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) return response_data.response @@ -957,6 +960,7 @@ def delete_cluster( "202": "object", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) response_data.read() @@ -1028,6 +1032,7 @@ def delete_cluster_with_http_info( "202": "object", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) response_data.read() @@ -1099,6 +1104,7 @@ def delete_cluster_without_preload_content( "202": "object", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) return response_data.response @@ -1221,6 +1227,7 @@ def get_cluster( "200": "Cluster", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) response_data.read() @@ -1291,6 +1298,7 @@ def get_cluster_with_http_info( "200": "Cluster", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) response_data.read() @@ -1361,6 +1369,7 @@ def get_cluster_without_preload_content( "200": "Cluster", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) return response_data.response @@ -1437,9 +1446,9 @@ def get_login_kubeconfig( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> LoginKubeconfig: - """Get a kubeconfig for use with the STACKIT CLI + """Get an admin kubeconfig for use with the STACKIT CLI - A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI. + A admin kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI. :param project_id: (required) :type project_id: str @@ -1483,6 +1492,7 @@ def get_login_kubeconfig( "200": "LoginKubeconfig", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) response_data.read() @@ -1507,9 +1517,9 @@ def get_login_kubeconfig_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[LoginKubeconfig]: - """Get a kubeconfig for use with the STACKIT CLI + """Get an admin kubeconfig for use with the STACKIT CLI - A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI. + A admin kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI. :param project_id: (required) :type project_id: str @@ -1553,6 +1563,7 @@ def get_login_kubeconfig_with_http_info( "200": "LoginKubeconfig", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) response_data.read() @@ -1577,9 +1588,9 @@ def get_login_kubeconfig_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get a kubeconfig for use with the STACKIT CLI + """Get an admin kubeconfig for use with the STACKIT CLI - A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI. + A admin kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI. :param project_id: (required) :type project_id: str @@ -1623,6 +1634,7 @@ def get_login_kubeconfig_without_preload_content( "200": "LoginKubeconfig", "400": "object", "401": "object", + "404": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) return response_data.response @@ -1950,7 +1962,7 @@ def list_provider_options( ) -> ProviderOptions: """List provider options - Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes. + Returns available Kubernetes versions, availability zones, machine types, OS versions and volume types for the cluster nodes. :param region: (required) :type region: str @@ -1989,7 +2001,6 @@ def list_provider_options( _response_types_map: Dict[str, Optional[str]] = { "200": "ProviderOptions", - "400": "object", "401": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2016,7 +2027,7 @@ def list_provider_options_with_http_info( ) -> ApiResponse[ProviderOptions]: """List provider options - Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes. + Returns available Kubernetes versions, availability zones, machine types, OS versions and volume types for the cluster nodes. :param region: (required) :type region: str @@ -2055,7 +2066,6 @@ def list_provider_options_with_http_info( _response_types_map: Dict[str, Optional[str]] = { "200": "ProviderOptions", - "400": "object", "401": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2082,7 +2092,7 @@ def list_provider_options_without_preload_content( ) -> RESTResponseType: """List provider options - Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes. + Returns available Kubernetes versions, availability zones, machine types, OS versions and volume types for the cluster nodes. :param region: (required) :type region: str @@ -2121,7 +2131,6 @@ def list_provider_options_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { "200": "ProviderOptions", - "400": "object", "401": "object", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2468,7 +2477,7 @@ def trigger_hibernate( ) -> object: """Trigger cluster hibernation - Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing. + Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, this endpoint does nothing. :param project_id: (required) :type project_id: str @@ -2540,7 +2549,7 @@ def trigger_hibernate_with_http_info( ) -> ApiResponse[object]: """Trigger cluster hibernation - Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing. + Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, this endpoint does nothing. :param project_id: (required) :type project_id: str @@ -2612,7 +2621,7 @@ def trigger_hibernate_without_preload_content( ) -> RESTResponseType: """Trigger cluster hibernation - Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing. + Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, this endpoint does nothing. :param project_id: (required) :type project_id: str @@ -3272,7 +3281,7 @@ def trigger_wakeup( ) -> object: """Trigger cluster wakeup - Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing. + Trigger immediate wake up of the cluster. If the cluster is already in running state, this endpoint does nothing. :param project_id: (required) :type project_id: str @@ -3344,7 +3353,7 @@ def trigger_wakeup_with_http_info( ) -> ApiResponse[object]: """Trigger cluster wakeup - Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing. + Trigger immediate wake up of the cluster. If the cluster is already in running state, this endpoint does nothing. :param project_id: (required) :type project_id: str @@ -3416,7 +3425,7 @@ def trigger_wakeup_without_preload_content( ) -> RESTResponseType: """Trigger cluster wakeup - Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing. + Trigger immediate wake up of the cluster. If the cluster is already in running state, this endpoint does nothing. :param project_id: (required) :type project_id: str diff --git a/services/ske/src/stackit/ske/api_client.py b/services/ske/src/stackit/ske/api_client.py index 43c349c6f..f21e96585 100644 --- a/services/ske/src/stackit/ske/api_client.py +++ b/services/ske/src/stackit/ske/api_client.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/configuration.py b/services/ske/src/stackit/ske/configuration.py index 8904b4c35..fd959930b 100644 --- a/services/ske/src/stackit/ske/configuration.py +++ b/services/ske/src/stackit/ske/configuration.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/exceptions.py b/services/ske/src/stackit/ske/exceptions.py index 4278f2e71..0153ee5d2 100644 --- a/services/ske/src/stackit/ske/exceptions.py +++ b/services/ske/src/stackit/ske/exceptions.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/__init__.py b/services/ske/src/stackit/ske/models/__init__.py index 14e986e6d..b752aa4aa 100644 --- a/services/ske/src/stackit/ske/models/__init__.py +++ b/services/ske/src/stackit/ske/models/__init__.py @@ -4,7 +4,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,6 +33,7 @@ ) from stackit.ske.models.hibernation import Hibernation from stackit.ske.models.hibernation_schedule import HibernationSchedule +from stackit.ske.models.idp import IDP from stackit.ske.models.image import Image from stackit.ske.models.kubeconfig import Kubeconfig from stackit.ske.models.kubernetes import Kubernetes diff --git a/services/ske/src/stackit/ske/models/acl.py b/services/ske/src/stackit/ske/models/acl.py index dc4b3e0d1..43d97a93a 100644 --- a/services/ske/src/stackit/ske/models/acl.py +++ b/services/ske/src/stackit/ske/models/acl.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/availability_zone.py b/services/ske/src/stackit/ske/models/availability_zone.py index c88575d97..dad007bc0 100644 --- a/services/ske/src/stackit/ske/models/availability_zone.py +++ b/services/ske/src/stackit/ske/models/availability_zone.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/cluster.py b/services/ske/src/stackit/ske/models/cluster.py index b978e488a..c77601048 100644 --- a/services/ske/src/stackit/ske/models/cluster.py +++ b/services/ske/src/stackit/ske/models/cluster.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/cluster_error.py b/services/ske/src/stackit/ske/models/cluster_error.py index cc773769c..4de3df059 100644 --- a/services/ske/src/stackit/ske/models/cluster_error.py +++ b/services/ske/src/stackit/ske/models/cluster_error.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/cluster_status.py b/services/ske/src/stackit/ske/models/cluster_status.py index 0630d69cf..dbe4f453c 100644 --- a/services/ske/src/stackit/ske/models/cluster_status.py +++ b/services/ske/src/stackit/ske/models/cluster_status.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -53,6 +53,7 @@ class ClusterStatus(BaseModel): error: Optional[RuntimeError] = None errors: Optional[List[ClusterError]] = None hibernated: Optional[StrictBool] = None + identity: Optional[StrictStr] = None pod_address_ranges: Optional[List[StrictStr]] = Field( default=None, description="The network ranges (in CIDR notation) used by pods of the cluster.", @@ -66,6 +67,7 @@ class ClusterStatus(BaseModel): "error", "errors", "hibernated", + "identity", "podAddressRanges", ] @@ -162,6 +164,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: else None ), "hibernated": obj.get("hibernated"), + "identity": obj.get("identity"), "podAddressRanges": obj.get("podAddressRanges"), } ) diff --git a/services/ske/src/stackit/ske/models/cluster_status_state.py b/services/ske/src/stackit/ske/models/cluster_status_state.py index 35101f284..19811a250 100644 --- a/services/ske/src/stackit/ske/models/cluster_status_state.py +++ b/services/ske/src/stackit/ske/models/cluster_status_state.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/create_kubeconfig_payload.py b/services/ske/src/stackit/ske/models/create_kubeconfig_payload.py index a307112b5..3bd0d8956 100644 --- a/services/ske/src/stackit/ske/models/create_kubeconfig_payload.py +++ b/services/ske/src/stackit/ske/models/create_kubeconfig_payload.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/create_or_update_cluster_payload.py b/services/ske/src/stackit/ske/models/create_or_update_cluster_payload.py index eb216a85e..6b120c4bc 100644 --- a/services/ske/src/stackit/ske/models/create_or_update_cluster_payload.py +++ b/services/ske/src/stackit/ske/models/create_or_update_cluster_payload.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/credentials_rotation_state.py b/services/ske/src/stackit/ske/models/credentials_rotation_state.py index 2d935b6fa..0af820510 100644 --- a/services/ske/src/stackit/ske/models/credentials_rotation_state.py +++ b/services/ske/src/stackit/ske/models/credentials_rotation_state.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,7 +36,7 @@ class CredentialsRotationState(BaseModel): ) phase: Optional[StrictStr] = Field( default=None, - description="Phase of the credentials rotation. `NEVER` indicates that no credentials rotation has been performed using the new credentials rotation endpoints yet. Using the deprecated [rotate-credentials](#tag/Credentials/operation/SkeService_GetClusterCredentials) endpoint will not update this status field.", + description="Phase of the credentials rotation. `NEVER` indicates that no credentials rotation has been performed using the new credentials rotation endpoints yet.", ) __properties: ClassVar[List[str]] = ["lastCompletionTime", "lastInitiationTime", "phase"] diff --git a/services/ske/src/stackit/ske/models/cri.py b/services/ske/src/stackit/ske/models/cri.py index 26347d830..75029adb7 100644 --- a/services/ske/src/stackit/ske/models/cri.py +++ b/services/ske/src/stackit/ske/models/cri.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/dns.py b/services/ske/src/stackit/ske/models/dns.py index 087b2bf00..b7348ded8 100644 --- a/services/ske/src/stackit/ske/models/dns.py +++ b/services/ske/src/stackit/ske/models/dns.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/extension.py b/services/ske/src/stackit/ske/models/extension.py index 0190eefdd..a22771384 100644 --- a/services/ske/src/stackit/ske/models/extension.py +++ b/services/ske/src/stackit/ske/models/extension.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/get_provider_options_request_version_state.py b/services/ske/src/stackit/ske/models/get_provider_options_request_version_state.py index 5323bb097..4de0a8120 100644 --- a/services/ske/src/stackit/ske/models/get_provider_options_request_version_state.py +++ b/services/ske/src/stackit/ske/models/get_provider_options_request_version_state.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/hibernation.py b/services/ske/src/stackit/ske/models/hibernation.py index 7c146400a..c5e2ea0e5 100644 --- a/services/ske/src/stackit/ske/models/hibernation.py +++ b/services/ske/src/stackit/ske/models/hibernation.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/hibernation_schedule.py b/services/ske/src/stackit/ske/models/hibernation_schedule.py index 17b492cf0..bbb20b262 100644 --- a/services/ske/src/stackit/ske/models/hibernation_schedule.py +++ b/services/ske/src/stackit/ske/models/hibernation_schedule.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/idp.py b/services/ske/src/stackit/ske/models/idp.py new file mode 100644 index 000000000..296dab7e1 --- /dev/null +++ b/services/ske/src/stackit/ske/models/idp.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + STACKIT Kubernetes Engine API + + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. + + The version of the OpenAPI document: 2.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, + Field, + StrictBool, + StrictStr, +) +from typing_extensions import Self + + +class IDP(BaseModel): + """ + IDP + """ # noqa: E501 + + enabled: StrictBool = Field(description="Enable IDP integration for the cluster.") + type: StrictStr = Field(description='Possible values: `"stackit"`') + __properties: ClassVar[List[str]] = ["enabled", "type"] + + model_config = ConfigDict( + populate_by_name=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""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of IDP 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 IDP from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({"enabled": obj.get("enabled"), "type": obj.get("type")}) + return _obj diff --git a/services/ske/src/stackit/ske/models/image.py b/services/ske/src/stackit/ske/models/image.py index dfec77dcd..c230ee890 100644 --- a/services/ske/src/stackit/ske/models/image.py +++ b/services/ske/src/stackit/ske/models/image.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/kubeconfig.py b/services/ske/src/stackit/ske/models/kubeconfig.py index 76a7dd0ae..6d984c8cc 100644 --- a/services/ske/src/stackit/ske/models/kubeconfig.py +++ b/services/ske/src/stackit/ske/models/kubeconfig.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/kubernetes.py b/services/ske/src/stackit/ske/models/kubernetes.py index a1638f9a9..8ccf7be63 100644 --- a/services/ske/src/stackit/ske/models/kubernetes.py +++ b/services/ske/src/stackit/ske/models/kubernetes.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/kubernetes_version.py b/services/ske/src/stackit/ske/models/kubernetes_version.py index 406370509..b454121ca 100644 --- a/services/ske/src/stackit/ske/models/kubernetes_version.py +++ b/services/ske/src/stackit/ske/models/kubernetes_version.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/list_clusters_response.py b/services/ske/src/stackit/ske/models/list_clusters_response.py index 0ce47b6b1..3fdd7ea60 100644 --- a/services/ske/src/stackit/ske/models/list_clusters_response.py +++ b/services/ske/src/stackit/ske/models/list_clusters_response.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/login_kubeconfig.py b/services/ske/src/stackit/ske/models/login_kubeconfig.py index 090aa1887..e28b75909 100644 --- a/services/ske/src/stackit/ske/models/login_kubeconfig.py +++ b/services/ske/src/stackit/ske/models/login_kubeconfig.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/machine.py b/services/ske/src/stackit/ske/models/machine.py index f054da884..f4c8cef0f 100644 --- a/services/ske/src/stackit/ske/models/machine.py +++ b/services/ske/src/stackit/ske/models/machine.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/machine_image.py b/services/ske/src/stackit/ske/models/machine_image.py index 039cebc31..1ce1ad7c4 100644 --- a/services/ske/src/stackit/ske/models/machine_image.py +++ b/services/ske/src/stackit/ske/models/machine_image.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/machine_image_version.py b/services/ske/src/stackit/ske/models/machine_image_version.py index 268c0b9b1..862f7e3bf 100644 --- a/services/ske/src/stackit/ske/models/machine_image_version.py +++ b/services/ske/src/stackit/ske/models/machine_image_version.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/machine_type.py b/services/ske/src/stackit/ske/models/machine_type.py index f93932233..7dfcf7ccc 100644 --- a/services/ske/src/stackit/ske/models/machine_type.py +++ b/services/ske/src/stackit/ske/models/machine_type.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/maintenance.py b/services/ske/src/stackit/ske/models/maintenance.py index 60ade82f4..31e2d0ee8 100644 --- a/services/ske/src/stackit/ske/models/maintenance.py +++ b/services/ske/src/stackit/ske/models/maintenance.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/maintenance_auto_update.py b/services/ske/src/stackit/ske/models/maintenance_auto_update.py index 6983fc892..32277d6de 100644 --- a/services/ske/src/stackit/ske/models/maintenance_auto_update.py +++ b/services/ske/src/stackit/ske/models/maintenance_auto_update.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/network.py b/services/ske/src/stackit/ske/models/network.py index 56a8bd84f..dc1a7f26c 100644 --- a/services/ske/src/stackit/ske/models/network.py +++ b/services/ske/src/stackit/ske/models/network.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/nodepool.py b/services/ske/src/stackit/ske/models/nodepool.py index fd810717c..019ffb8f1 100644 --- a/services/ske/src/stackit/ske/models/nodepool.py +++ b/services/ske/src/stackit/ske/models/nodepool.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/nodepool_kubernetes.py b/services/ske/src/stackit/ske/models/nodepool_kubernetes.py index 99a77b22c..fdac8139b 100644 --- a/services/ske/src/stackit/ske/models/nodepool_kubernetes.py +++ b/services/ske/src/stackit/ske/models/nodepool_kubernetes.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/observability.py b/services/ske/src/stackit/ske/models/observability.py index 256e2b5b7..cef11e4bc 100644 --- a/services/ske/src/stackit/ske/models/observability.py +++ b/services/ske/src/stackit/ske/models/observability.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/provider_options.py b/services/ske/src/stackit/ske/models/provider_options.py index 0f06449fa..5e30509c4 100644 --- a/services/ske/src/stackit/ske/models/provider_options.py +++ b/services/ske/src/stackit/ske/models/provider_options.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/runtime_error.py b/services/ske/src/stackit/ske/models/runtime_error.py index 04d256e1f..7c09f9a9f 100644 --- a/services/ske/src/stackit/ske/models/runtime_error.py +++ b/services/ske/src/stackit/ske/models/runtime_error.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/taint.py b/services/ske/src/stackit/ske/models/taint.py index 3b5c9c310..70b85c88d 100644 --- a/services/ske/src/stackit/ske/models/taint.py +++ b/services/ske/src/stackit/ske/models/taint.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/time_window.py b/services/ske/src/stackit/ske/models/time_window.py index 321fb0c23..a0d93dba3 100644 --- a/services/ske/src/stackit/ske/models/time_window.py +++ b/services/ske/src/stackit/ske/models/time_window.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/volume.py b/services/ske/src/stackit/ske/models/volume.py index a69a96727..26ce855ac 100644 --- a/services/ske/src/stackit/ske/models/volume.py +++ b/services/ske/src/stackit/ske/models/volume.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/models/volume_type.py b/services/ske/src/stackit/ske/models/volume_type.py index e33b3dabb..5f501f30b 100644 --- a/services/ske/src/stackit/ske/models/volume_type.py +++ b/services/ske/src/stackit/ske/models/volume_type.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/services/ske/src/stackit/ske/rest.py b/services/ske/src/stackit/ske/rest.py index f7a21e13a..85936df6c 100644 --- a/services/ske/src/stackit/ske/rest.py +++ b/services/ske/src/stackit/ske/rest.py @@ -3,7 +3,7 @@ """ STACKIT Kubernetes Engine API - The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. + The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks. The version of the OpenAPI document: 2.0 Generated by OpenAPI Generator (https://openapi-generator.tech)