stackit-sqlserverflex 1.1.0__py3-none-any.whl → 1.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4487,6 +4487,7 @@ class DefaultApi:
4487
4487
  self,
4488
4488
  project_id: Annotated[StrictStr, Field(description="The UUID of the project.")],
4489
4489
  instance_id: Annotated[StrictStr, Field(description="The UUID of the instance.")],
4490
+ region: Annotated[StrictStr, Field(description="The region which should be addressed")],
4490
4491
  metric: Annotated[
4491
4492
  StrictStr,
4492
4493
  Field(
@@ -4530,6 +4531,8 @@ class DefaultApi:
4530
4531
  :type project_id: str
4531
4532
  :param instance_id: The UUID of the instance. (required)
4532
4533
  :type instance_id: str
4534
+ :param region: The region which should be addressed (required)
4535
+ :type region: str
4533
4536
  :param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'data-disk-size', 'data-disk-use','log-disk-size', 'log-disk-use', 'life-expectancy' and 'connections'. (required)
4534
4537
  :type metric: str
4535
4538
  :param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
@@ -4565,6 +4568,7 @@ class DefaultApi:
4565
4568
  _param = self._list_metrics_serialize(
4566
4569
  project_id=project_id,
4567
4570
  instance_id=instance_id,
4571
+ region=region,
4568
4572
  metric=metric,
4569
4573
  granularity=granularity,
4570
4574
  period=period,
@@ -4594,6 +4598,7 @@ class DefaultApi:
4594
4598
  self,
4595
4599
  project_id: Annotated[StrictStr, Field(description="The UUID of the project.")],
4596
4600
  instance_id: Annotated[StrictStr, Field(description="The UUID of the instance.")],
4601
+ region: Annotated[StrictStr, Field(description="The region which should be addressed")],
4597
4602
  metric: Annotated[
4598
4603
  StrictStr,
4599
4604
  Field(
@@ -4637,6 +4642,8 @@ class DefaultApi:
4637
4642
  :type project_id: str
4638
4643
  :param instance_id: The UUID of the instance. (required)
4639
4644
  :type instance_id: str
4645
+ :param region: The region which should be addressed (required)
4646
+ :type region: str
4640
4647
  :param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'data-disk-size', 'data-disk-use','log-disk-size', 'log-disk-use', 'life-expectancy' and 'connections'. (required)
4641
4648
  :type metric: str
4642
4649
  :param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
@@ -4672,6 +4679,7 @@ class DefaultApi:
4672
4679
  _param = self._list_metrics_serialize(
4673
4680
  project_id=project_id,
4674
4681
  instance_id=instance_id,
4682
+ region=region,
4675
4683
  metric=metric,
4676
4684
  granularity=granularity,
4677
4685
  period=period,
@@ -4701,6 +4709,7 @@ class DefaultApi:
4701
4709
  self,
4702
4710
  project_id: Annotated[StrictStr, Field(description="The UUID of the project.")],
4703
4711
  instance_id: Annotated[StrictStr, Field(description="The UUID of the instance.")],
4712
+ region: Annotated[StrictStr, Field(description="The region which should be addressed")],
4704
4713
  metric: Annotated[
4705
4714
  StrictStr,
4706
4715
  Field(
@@ -4744,6 +4753,8 @@ class DefaultApi:
4744
4753
  :type project_id: str
4745
4754
  :param instance_id: The UUID of the instance. (required)
4746
4755
  :type instance_id: str
4756
+ :param region: The region which should be addressed (required)
4757
+ :type region: str
4747
4758
  :param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'data-disk-size', 'data-disk-use','log-disk-size', 'log-disk-use', 'life-expectancy' and 'connections'. (required)
4748
4759
  :type metric: str
4749
4760
  :param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
@@ -4779,6 +4790,7 @@ class DefaultApi:
4779
4790
  _param = self._list_metrics_serialize(
4780
4791
  project_id=project_id,
4781
4792
  instance_id=instance_id,
4793
+ region=region,
4782
4794
  metric=metric,
4783
4795
  granularity=granularity,
4784
4796
  period=period,
@@ -4803,6 +4815,7 @@ class DefaultApi:
4803
4815
  self,
4804
4816
  project_id,
4805
4817
  instance_id,
4818
+ region,
4806
4819
  metric,
4807
4820
  granularity,
4808
4821
  period,
@@ -4830,6 +4843,8 @@ class DefaultApi:
4830
4843
  _path_params["projectId"] = project_id
4831
4844
  if instance_id is not None:
4832
4845
  _path_params["instanceId"] = instance_id
4846
+ if region is not None:
4847
+ _path_params["region"] = region
4833
4848
  if metric is not None:
4834
4849
  _path_params["metric"] = metric
4835
4850
  # process the query parameters
@@ -4862,7 +4877,7 @@ class DefaultApi:
4862
4877
 
4863
4878
  return self.api_client.param_serialize(
4864
4879
  method="GET",
4865
- resource_path="/v2/projects/{projectId}/instances/{instanceId}/metrics/{metric}",
4880
+ resource_path="/v2/projects/{projectId}/regions/{region}/instances/{instanceId}/metrics/{metric}",
4866
4881
  path_params=_path_params,
4867
4882
  query_params=_query_params,
4868
4883
  header_params=_header_params,
@@ -18,7 +18,13 @@ import json
18
18
  import pprint
19
19
  from typing import Any, ClassVar, Dict, List, Optional, Set, Union
20
20
 
21
- from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt, StrictStr
21
+ from pydantic import (
22
+ BaseModel,
23
+ ConfigDict,
24
+ StrictFloat,
25
+ StrictInt,
26
+ StrictStr,
27
+ )
22
28
  from typing_extensions import Self
23
29
 
24
30
 
@@ -1,7 +1,9 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: stackit-sqlserverflex
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: STACKIT MSSQL Service API
5
+ License-File: LICENSE.md
6
+ License-File: NOTICE.txt
5
7
  Author: STACKIT Developer Tools
6
8
  Author-email: developer-tools@stackit.cloud
7
9
  Requires-Python: >=3.9,<4.0
@@ -13,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.10
13
15
  Classifier: Programming Language :: Python :: 3.11
14
16
  Classifier: Programming Language :: Python :: 3.12
15
17
  Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
16
19
  Requires-Dist: pydantic (>=2.9.2)
17
20
  Requires-Dist: python-dateutil (>=2.9.0.post0)
18
21
  Requires-Dist: requests (>=2.32.3)
@@ -1,6 +1,6 @@
1
1
  stackit/sqlserverflex/__init__.py,sha256=hhJLPiikxG7Dh_1aKrvY9JGZSIQCxxfQPEj1fbaWvT4,8885
2
2
  stackit/sqlserverflex/api/__init__.py,sha256=vnWx4mPu8WNw9lyJ-_R5PHyz_KTKRlPdAPCAl72jpnQ,108
3
- stackit/sqlserverflex/api/default_api.py,sha256=0rtUizPQoZ7G-wcLKafXdl6Eq2CcuIm6k5UwjHgFRTI,346482
3
+ stackit/sqlserverflex/api/default_api.py,sha256=dgEzVBeUYPrjE0y_pBeofS_9oVtb1yrGGGoPu9jee4E,347253
4
4
  stackit/sqlserverflex/api_client.py,sha256=ElPWktGJ4KVGhuCm6Bs9LDrWQtJ6OVTk9Z9pgn-U-sM,23371
5
5
  stackit/sqlserverflex/api_response.py,sha256=HRYkVqMNIlfODacTQPTbiVj2YdcnutpQrKJdeAoCSpM,642
6
6
  stackit/sqlserverflex/configuration.py,sha256=zZWS4FlD2sFNyYYNJMYPjYJQaeeeyPa2tIU0bkbLfQM,5716
@@ -15,7 +15,7 @@ stackit/sqlserverflex/models/create_instance_payload.py,sha256=A9b_WmE2TY5-tvw71
15
15
  stackit/sqlserverflex/models/create_instance_response.py,sha256=JP9P-sfkhU6PmOS1P5aFvJm-tAtd3n4-ZHh4fyA3LyI,2442
16
16
  stackit/sqlserverflex/models/create_user_payload.py,sha256=GqBhx_tK6jexecW5a3efxbv5TdxBnkmRdgiTcIP-ScA,2695
17
17
  stackit/sqlserverflex/models/create_user_response.py,sha256=wHWJMAvnO_p2P-M0aE_9IudUrTL2ZSZxmQaC5Ei_y9E,2701
18
- stackit/sqlserverflex/models/data_point.py,sha256=rMl1lsp_O_bLaIPghDeaQeRYX5tVePoWfoY4PbzHJAk,2543
18
+ stackit/sqlserverflex/models/data_point.py,sha256=HxB7OQ3yKZL42uv6NjKMaZroJNAdsyBk_gkOhvD_YwY,2568
19
19
  stackit/sqlserverflex/models/database.py,sha256=RznZCotdue0zqEI_fTMYTnAdHVfiSP8b1Xq9qRJmDcE,2606
20
20
  stackit/sqlserverflex/models/database_documentation_create_database_request_options.py,sha256=7ADIW-fKA32YtRe099_t-6fRTcv2wtCMuu2p1EciErc,3076
21
21
  stackit/sqlserverflex/models/database_options.py,sha256=RZKXGJhaQuDg0_FLBM2La4XQOB33KBWOKPXxoSVjonI,3041
@@ -63,8 +63,8 @@ stackit/sqlserverflex/models/user.py,sha256=TZ4GvFn9K0jn8h4nAwlhy8p0ow1dLJfmZw0b
63
63
  stackit/sqlserverflex/models/user_response_user.py,sha256=8h_QwHVJ_AmQnZOFdR5QyJD4MCiBKhdU-kiLK36vNs4,2986
64
64
  stackit/sqlserverflex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
65
  stackit/sqlserverflex/rest.py,sha256=ZGJUX80fjFDabfYavG8dKoe8M8z8EaFoWbTAoOARpqI,5813
66
- stackit_sqlserverflex-1.1.0.dist-info/LICENSE.md,sha256=3dF8Tb7yZn2tS4zyNa-yNe-68pH8qyWdGz4ioMd3MgE,10933
67
- stackit_sqlserverflex-1.1.0.dist-info/METADATA,sha256=K8bix8RyPCOGK_l1T53olZzYGDzUK05CATtotBYVvyI,1722
68
- stackit_sqlserverflex-1.1.0.dist-info/NOTICE.txt,sha256=2NmOBbrveYxoc1q3Ttg2Py99H_uUiZtuzui5BSyh0qQ,66
69
- stackit_sqlserverflex-1.1.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
70
- stackit_sqlserverflex-1.1.0.dist-info/RECORD,,
66
+ stackit_sqlserverflex-1.1.1.dist-info/METADATA,sha256=X8j6MkHs59NUjSs_hBktjLLnIkhKj1nYf9laszBOhVY,1823
67
+ stackit_sqlserverflex-1.1.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
68
+ stackit_sqlserverflex-1.1.1.dist-info/licenses/LICENSE.md,sha256=3dF8Tb7yZn2tS4zyNa-yNe-68pH8qyWdGz4ioMd3MgE,10933
69
+ stackit_sqlserverflex-1.1.1.dist-info/licenses/NOTICE.txt,sha256=2NmOBbrveYxoc1q3Ttg2Py99H_uUiZtuzui5BSyh0qQ,66
70
+ stackit_sqlserverflex-1.1.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: poetry-core 2.2.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any