stackit-telemetrylink 0.3.0__tar.gz → 0.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/PKG-INFO +2 -2
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/pyproject.toml +1 -1
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/api/default_api.py +99 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/create_or_update_folder_telemetry_link_payload.py +13 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/create_or_update_organization_telemetry_link_payload.py +13 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/create_or_update_project_telemetry_link_payload.py +13 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/partial_update_folder_telemetry_link_payload.py +13 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/partial_update_organization_telemetry_link_payload.py +13 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/partial_update_project_telemetry_link_payload.py +13 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/telemetry_link_request.py +13 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/telemetry_link_response.py +14 -1
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/.gitignore +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/LICENSE.md +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/NOTICE.txt +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/README.md +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/__init__.py +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/api/__init__.py +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/api_client.py +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/api_response.py +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/configuration.py +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/exceptions.py +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/__init__.py +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/models/response4xx.py +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/py.typed +0 -0
- {stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/rest.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: stackit-telemetrylink
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: STACKIT Telemetry Link API
|
|
5
5
|
Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
|
|
6
6
|
Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
|
|
@@ -67,6 +67,12 @@ class DefaultApi:
|
|
|
67
67
|
folder_id: Annotated[UUID, Field(description="The STACKIT portal folder UUID the resource is located in.")],
|
|
68
68
|
region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")],
|
|
69
69
|
create_or_update_folder_telemetry_link_payload: CreateOrUpdateFolderTelemetryLinkPayload,
|
|
70
|
+
if_none_match: Annotated[
|
|
71
|
+
Optional[StrictStr],
|
|
72
|
+
Field(
|
|
73
|
+
description='ETag of the resource. If specified, the resource is only created if it does not exist. Specify "*" to avoid creating a resource.'
|
|
74
|
+
),
|
|
75
|
+
] = None,
|
|
70
76
|
_request_timeout: Union[
|
|
71
77
|
None,
|
|
72
78
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -87,6 +93,8 @@ class DefaultApi:
|
|
|
87
93
|
:type region_id: str
|
|
88
94
|
:param create_or_update_folder_telemetry_link_payload: (required)
|
|
89
95
|
:type create_or_update_folder_telemetry_link_payload: CreateOrUpdateFolderTelemetryLinkPayload
|
|
96
|
+
:param if_none_match: ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.
|
|
97
|
+
:type if_none_match: str
|
|
90
98
|
:param _request_timeout: timeout setting for this request. If one
|
|
91
99
|
number provided, it will be total request
|
|
92
100
|
timeout. It can also be a pair (tuple) of
|
|
@@ -113,6 +121,7 @@ class DefaultApi:
|
|
|
113
121
|
folder_id=folder_id,
|
|
114
122
|
region_id=region_id,
|
|
115
123
|
create_or_update_folder_telemetry_link_payload=create_or_update_folder_telemetry_link_payload,
|
|
124
|
+
if_none_match=if_none_match,
|
|
116
125
|
_request_auth=_request_auth,
|
|
117
126
|
_content_type=_content_type,
|
|
118
127
|
_headers=_headers,
|
|
@@ -126,6 +135,7 @@ class DefaultApi:
|
|
|
126
135
|
"401": "Response4xx",
|
|
127
136
|
"404": None,
|
|
128
137
|
"409": "Response4xx",
|
|
138
|
+
"412": "Response4xx",
|
|
129
139
|
"500": None,
|
|
130
140
|
}
|
|
131
141
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -141,6 +151,12 @@ class DefaultApi:
|
|
|
141
151
|
folder_id: Annotated[UUID, Field(description="The STACKIT portal folder UUID the resource is located in.")],
|
|
142
152
|
region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")],
|
|
143
153
|
create_or_update_folder_telemetry_link_payload: CreateOrUpdateFolderTelemetryLinkPayload,
|
|
154
|
+
if_none_match: Annotated[
|
|
155
|
+
Optional[StrictStr],
|
|
156
|
+
Field(
|
|
157
|
+
description='ETag of the resource. If specified, the resource is only created if it does not exist. Specify "*" to avoid creating a resource.'
|
|
158
|
+
),
|
|
159
|
+
] = None,
|
|
144
160
|
_request_timeout: Union[
|
|
145
161
|
None,
|
|
146
162
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -161,6 +177,8 @@ class DefaultApi:
|
|
|
161
177
|
:type region_id: str
|
|
162
178
|
:param create_or_update_folder_telemetry_link_payload: (required)
|
|
163
179
|
:type create_or_update_folder_telemetry_link_payload: CreateOrUpdateFolderTelemetryLinkPayload
|
|
180
|
+
:param if_none_match: ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.
|
|
181
|
+
:type if_none_match: str
|
|
164
182
|
:param _request_timeout: timeout setting for this request. If one
|
|
165
183
|
number provided, it will be total request
|
|
166
184
|
timeout. It can also be a pair (tuple) of
|
|
@@ -187,6 +205,7 @@ class DefaultApi:
|
|
|
187
205
|
folder_id=folder_id,
|
|
188
206
|
region_id=region_id,
|
|
189
207
|
create_or_update_folder_telemetry_link_payload=create_or_update_folder_telemetry_link_payload,
|
|
208
|
+
if_none_match=if_none_match,
|
|
190
209
|
_request_auth=_request_auth,
|
|
191
210
|
_content_type=_content_type,
|
|
192
211
|
_headers=_headers,
|
|
@@ -200,6 +219,7 @@ class DefaultApi:
|
|
|
200
219
|
"401": "Response4xx",
|
|
201
220
|
"404": None,
|
|
202
221
|
"409": "Response4xx",
|
|
222
|
+
"412": "Response4xx",
|
|
203
223
|
"500": None,
|
|
204
224
|
}
|
|
205
225
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -215,6 +235,12 @@ class DefaultApi:
|
|
|
215
235
|
folder_id: Annotated[UUID, Field(description="The STACKIT portal folder UUID the resource is located in.")],
|
|
216
236
|
region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")],
|
|
217
237
|
create_or_update_folder_telemetry_link_payload: CreateOrUpdateFolderTelemetryLinkPayload,
|
|
238
|
+
if_none_match: Annotated[
|
|
239
|
+
Optional[StrictStr],
|
|
240
|
+
Field(
|
|
241
|
+
description='ETag of the resource. If specified, the resource is only created if it does not exist. Specify "*" to avoid creating a resource.'
|
|
242
|
+
),
|
|
243
|
+
] = None,
|
|
218
244
|
_request_timeout: Union[
|
|
219
245
|
None,
|
|
220
246
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -235,6 +261,8 @@ class DefaultApi:
|
|
|
235
261
|
:type region_id: str
|
|
236
262
|
:param create_or_update_folder_telemetry_link_payload: (required)
|
|
237
263
|
:type create_or_update_folder_telemetry_link_payload: CreateOrUpdateFolderTelemetryLinkPayload
|
|
264
|
+
:param if_none_match: ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.
|
|
265
|
+
:type if_none_match: str
|
|
238
266
|
:param _request_timeout: timeout setting for this request. If one
|
|
239
267
|
number provided, it will be total request
|
|
240
268
|
timeout. It can also be a pair (tuple) of
|
|
@@ -261,6 +289,7 @@ class DefaultApi:
|
|
|
261
289
|
folder_id=folder_id,
|
|
262
290
|
region_id=region_id,
|
|
263
291
|
create_or_update_folder_telemetry_link_payload=create_or_update_folder_telemetry_link_payload,
|
|
292
|
+
if_none_match=if_none_match,
|
|
264
293
|
_request_auth=_request_auth,
|
|
265
294
|
_content_type=_content_type,
|
|
266
295
|
_headers=_headers,
|
|
@@ -274,6 +303,7 @@ class DefaultApi:
|
|
|
274
303
|
"401": "Response4xx",
|
|
275
304
|
"404": None,
|
|
276
305
|
"409": "Response4xx",
|
|
306
|
+
"412": "Response4xx",
|
|
277
307
|
"500": None,
|
|
278
308
|
}
|
|
279
309
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -284,6 +314,7 @@ class DefaultApi:
|
|
|
284
314
|
folder_id,
|
|
285
315
|
region_id,
|
|
286
316
|
create_or_update_folder_telemetry_link_payload,
|
|
317
|
+
if_none_match,
|
|
287
318
|
_request_auth,
|
|
288
319
|
_content_type,
|
|
289
320
|
_headers,
|
|
@@ -308,6 +339,8 @@ class DefaultApi:
|
|
|
308
339
|
_path_params["regionId"] = region_id
|
|
309
340
|
# process the query parameters
|
|
310
341
|
# process the header parameters
|
|
342
|
+
if if_none_match is not None:
|
|
343
|
+
_header_params["If-None-Match"] = if_none_match
|
|
311
344
|
# process the form parameters
|
|
312
345
|
# process the body parameter
|
|
313
346
|
if create_or_update_folder_telemetry_link_payload is not None:
|
|
@@ -351,6 +384,12 @@ class DefaultApi:
|
|
|
351
384
|
],
|
|
352
385
|
region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")],
|
|
353
386
|
create_or_update_organization_telemetry_link_payload: CreateOrUpdateOrganizationTelemetryLinkPayload,
|
|
387
|
+
if_none_match: Annotated[
|
|
388
|
+
Optional[StrictStr],
|
|
389
|
+
Field(
|
|
390
|
+
description='ETag of the resource. If specified, the resource is only created if it does not exist. Specify "*" to avoid creating a resource.'
|
|
391
|
+
),
|
|
392
|
+
] = None,
|
|
354
393
|
_request_timeout: Union[
|
|
355
394
|
None,
|
|
356
395
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -371,6 +410,8 @@ class DefaultApi:
|
|
|
371
410
|
:type region_id: str
|
|
372
411
|
:param create_or_update_organization_telemetry_link_payload: (required)
|
|
373
412
|
:type create_or_update_organization_telemetry_link_payload: CreateOrUpdateOrganizationTelemetryLinkPayload
|
|
413
|
+
:param if_none_match: ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.
|
|
414
|
+
:type if_none_match: str
|
|
374
415
|
:param _request_timeout: timeout setting for this request. If one
|
|
375
416
|
number provided, it will be total request
|
|
376
417
|
timeout. It can also be a pair (tuple) of
|
|
@@ -397,6 +438,7 @@ class DefaultApi:
|
|
|
397
438
|
organization_id=organization_id,
|
|
398
439
|
region_id=region_id,
|
|
399
440
|
create_or_update_organization_telemetry_link_payload=create_or_update_organization_telemetry_link_payload,
|
|
441
|
+
if_none_match=if_none_match,
|
|
400
442
|
_request_auth=_request_auth,
|
|
401
443
|
_content_type=_content_type,
|
|
402
444
|
_headers=_headers,
|
|
@@ -410,6 +452,7 @@ class DefaultApi:
|
|
|
410
452
|
"401": "Response4xx",
|
|
411
453
|
"404": None,
|
|
412
454
|
"409": "Response4xx",
|
|
455
|
+
"412": "Response4xx",
|
|
413
456
|
"500": None,
|
|
414
457
|
}
|
|
415
458
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -427,6 +470,12 @@ class DefaultApi:
|
|
|
427
470
|
],
|
|
428
471
|
region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")],
|
|
429
472
|
create_or_update_organization_telemetry_link_payload: CreateOrUpdateOrganizationTelemetryLinkPayload,
|
|
473
|
+
if_none_match: Annotated[
|
|
474
|
+
Optional[StrictStr],
|
|
475
|
+
Field(
|
|
476
|
+
description='ETag of the resource. If specified, the resource is only created if it does not exist. Specify "*" to avoid creating a resource.'
|
|
477
|
+
),
|
|
478
|
+
] = None,
|
|
430
479
|
_request_timeout: Union[
|
|
431
480
|
None,
|
|
432
481
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -447,6 +496,8 @@ class DefaultApi:
|
|
|
447
496
|
:type region_id: str
|
|
448
497
|
:param create_or_update_organization_telemetry_link_payload: (required)
|
|
449
498
|
:type create_or_update_organization_telemetry_link_payload: CreateOrUpdateOrganizationTelemetryLinkPayload
|
|
499
|
+
:param if_none_match: ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.
|
|
500
|
+
:type if_none_match: str
|
|
450
501
|
:param _request_timeout: timeout setting for this request. If one
|
|
451
502
|
number provided, it will be total request
|
|
452
503
|
timeout. It can also be a pair (tuple) of
|
|
@@ -473,6 +524,7 @@ class DefaultApi:
|
|
|
473
524
|
organization_id=organization_id,
|
|
474
525
|
region_id=region_id,
|
|
475
526
|
create_or_update_organization_telemetry_link_payload=create_or_update_organization_telemetry_link_payload,
|
|
527
|
+
if_none_match=if_none_match,
|
|
476
528
|
_request_auth=_request_auth,
|
|
477
529
|
_content_type=_content_type,
|
|
478
530
|
_headers=_headers,
|
|
@@ -486,6 +538,7 @@ class DefaultApi:
|
|
|
486
538
|
"401": "Response4xx",
|
|
487
539
|
"404": None,
|
|
488
540
|
"409": "Response4xx",
|
|
541
|
+
"412": "Response4xx",
|
|
489
542
|
"500": None,
|
|
490
543
|
}
|
|
491
544
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -503,6 +556,12 @@ class DefaultApi:
|
|
|
503
556
|
],
|
|
504
557
|
region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")],
|
|
505
558
|
create_or_update_organization_telemetry_link_payload: CreateOrUpdateOrganizationTelemetryLinkPayload,
|
|
559
|
+
if_none_match: Annotated[
|
|
560
|
+
Optional[StrictStr],
|
|
561
|
+
Field(
|
|
562
|
+
description='ETag of the resource. If specified, the resource is only created if it does not exist. Specify "*" to avoid creating a resource.'
|
|
563
|
+
),
|
|
564
|
+
] = None,
|
|
506
565
|
_request_timeout: Union[
|
|
507
566
|
None,
|
|
508
567
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -523,6 +582,8 @@ class DefaultApi:
|
|
|
523
582
|
:type region_id: str
|
|
524
583
|
:param create_or_update_organization_telemetry_link_payload: (required)
|
|
525
584
|
:type create_or_update_organization_telemetry_link_payload: CreateOrUpdateOrganizationTelemetryLinkPayload
|
|
585
|
+
:param if_none_match: ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.
|
|
586
|
+
:type if_none_match: str
|
|
526
587
|
:param _request_timeout: timeout setting for this request. If one
|
|
527
588
|
number provided, it will be total request
|
|
528
589
|
timeout. It can also be a pair (tuple) of
|
|
@@ -549,6 +610,7 @@ class DefaultApi:
|
|
|
549
610
|
organization_id=organization_id,
|
|
550
611
|
region_id=region_id,
|
|
551
612
|
create_or_update_organization_telemetry_link_payload=create_or_update_organization_telemetry_link_payload,
|
|
613
|
+
if_none_match=if_none_match,
|
|
552
614
|
_request_auth=_request_auth,
|
|
553
615
|
_content_type=_content_type,
|
|
554
616
|
_headers=_headers,
|
|
@@ -562,6 +624,7 @@ class DefaultApi:
|
|
|
562
624
|
"401": "Response4xx",
|
|
563
625
|
"404": None,
|
|
564
626
|
"409": "Response4xx",
|
|
627
|
+
"412": "Response4xx",
|
|
565
628
|
"500": None,
|
|
566
629
|
}
|
|
567
630
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -572,6 +635,7 @@ class DefaultApi:
|
|
|
572
635
|
organization_id,
|
|
573
636
|
region_id,
|
|
574
637
|
create_or_update_organization_telemetry_link_payload,
|
|
638
|
+
if_none_match,
|
|
575
639
|
_request_auth,
|
|
576
640
|
_content_type,
|
|
577
641
|
_headers,
|
|
@@ -596,6 +660,8 @@ class DefaultApi:
|
|
|
596
660
|
_path_params["regionId"] = region_id
|
|
597
661
|
# process the query parameters
|
|
598
662
|
# process the header parameters
|
|
663
|
+
if if_none_match is not None:
|
|
664
|
+
_header_params["If-None-Match"] = if_none_match
|
|
599
665
|
# process the form parameters
|
|
600
666
|
# process the body parameter
|
|
601
667
|
if create_or_update_organization_telemetry_link_payload is not None:
|
|
@@ -637,6 +703,12 @@ class DefaultApi:
|
|
|
637
703
|
project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")],
|
|
638
704
|
region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")],
|
|
639
705
|
create_or_update_project_telemetry_link_payload: CreateOrUpdateProjectTelemetryLinkPayload,
|
|
706
|
+
if_none_match: Annotated[
|
|
707
|
+
Optional[StrictStr],
|
|
708
|
+
Field(
|
|
709
|
+
description='ETag of the resource. If specified, the resource is only created if it does not exist. Specify "*" to avoid creating a resource.'
|
|
710
|
+
),
|
|
711
|
+
] = None,
|
|
640
712
|
_request_timeout: Union[
|
|
641
713
|
None,
|
|
642
714
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -657,6 +729,8 @@ class DefaultApi:
|
|
|
657
729
|
:type region_id: str
|
|
658
730
|
:param create_or_update_project_telemetry_link_payload: (required)
|
|
659
731
|
:type create_or_update_project_telemetry_link_payload: CreateOrUpdateProjectTelemetryLinkPayload
|
|
732
|
+
:param if_none_match: ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.
|
|
733
|
+
:type if_none_match: str
|
|
660
734
|
:param _request_timeout: timeout setting for this request. If one
|
|
661
735
|
number provided, it will be total request
|
|
662
736
|
timeout. It can also be a pair (tuple) of
|
|
@@ -683,6 +757,7 @@ class DefaultApi:
|
|
|
683
757
|
project_id=project_id,
|
|
684
758
|
region_id=region_id,
|
|
685
759
|
create_or_update_project_telemetry_link_payload=create_or_update_project_telemetry_link_payload,
|
|
760
|
+
if_none_match=if_none_match,
|
|
686
761
|
_request_auth=_request_auth,
|
|
687
762
|
_content_type=_content_type,
|
|
688
763
|
_headers=_headers,
|
|
@@ -696,6 +771,7 @@ class DefaultApi:
|
|
|
696
771
|
"401": "Response4xx",
|
|
697
772
|
"404": None,
|
|
698
773
|
"409": "Response4xx",
|
|
774
|
+
"412": "Response4xx",
|
|
699
775
|
"500": None,
|
|
700
776
|
}
|
|
701
777
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -711,6 +787,12 @@ class DefaultApi:
|
|
|
711
787
|
project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")],
|
|
712
788
|
region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")],
|
|
713
789
|
create_or_update_project_telemetry_link_payload: CreateOrUpdateProjectTelemetryLinkPayload,
|
|
790
|
+
if_none_match: Annotated[
|
|
791
|
+
Optional[StrictStr],
|
|
792
|
+
Field(
|
|
793
|
+
description='ETag of the resource. If specified, the resource is only created if it does not exist. Specify "*" to avoid creating a resource.'
|
|
794
|
+
),
|
|
795
|
+
] = None,
|
|
714
796
|
_request_timeout: Union[
|
|
715
797
|
None,
|
|
716
798
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -731,6 +813,8 @@ class DefaultApi:
|
|
|
731
813
|
:type region_id: str
|
|
732
814
|
:param create_or_update_project_telemetry_link_payload: (required)
|
|
733
815
|
:type create_or_update_project_telemetry_link_payload: CreateOrUpdateProjectTelemetryLinkPayload
|
|
816
|
+
:param if_none_match: ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.
|
|
817
|
+
:type if_none_match: str
|
|
734
818
|
:param _request_timeout: timeout setting for this request. If one
|
|
735
819
|
number provided, it will be total request
|
|
736
820
|
timeout. It can also be a pair (tuple) of
|
|
@@ -757,6 +841,7 @@ class DefaultApi:
|
|
|
757
841
|
project_id=project_id,
|
|
758
842
|
region_id=region_id,
|
|
759
843
|
create_or_update_project_telemetry_link_payload=create_or_update_project_telemetry_link_payload,
|
|
844
|
+
if_none_match=if_none_match,
|
|
760
845
|
_request_auth=_request_auth,
|
|
761
846
|
_content_type=_content_type,
|
|
762
847
|
_headers=_headers,
|
|
@@ -770,6 +855,7 @@ class DefaultApi:
|
|
|
770
855
|
"401": "Response4xx",
|
|
771
856
|
"404": None,
|
|
772
857
|
"409": "Response4xx",
|
|
858
|
+
"412": "Response4xx",
|
|
773
859
|
"500": None,
|
|
774
860
|
}
|
|
775
861
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -785,6 +871,12 @@ class DefaultApi:
|
|
|
785
871
|
project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")],
|
|
786
872
|
region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")],
|
|
787
873
|
create_or_update_project_telemetry_link_payload: CreateOrUpdateProjectTelemetryLinkPayload,
|
|
874
|
+
if_none_match: Annotated[
|
|
875
|
+
Optional[StrictStr],
|
|
876
|
+
Field(
|
|
877
|
+
description='ETag of the resource. If specified, the resource is only created if it does not exist. Specify "*" to avoid creating a resource.'
|
|
878
|
+
),
|
|
879
|
+
] = None,
|
|
788
880
|
_request_timeout: Union[
|
|
789
881
|
None,
|
|
790
882
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -805,6 +897,8 @@ class DefaultApi:
|
|
|
805
897
|
:type region_id: str
|
|
806
898
|
:param create_or_update_project_telemetry_link_payload: (required)
|
|
807
899
|
:type create_or_update_project_telemetry_link_payload: CreateOrUpdateProjectTelemetryLinkPayload
|
|
900
|
+
:param if_none_match: ETag of the resource. If specified, the resource is only created if it does not exist. Specify \"*\" to avoid creating a resource.
|
|
901
|
+
:type if_none_match: str
|
|
808
902
|
:param _request_timeout: timeout setting for this request. If one
|
|
809
903
|
number provided, it will be total request
|
|
810
904
|
timeout. It can also be a pair (tuple) of
|
|
@@ -831,6 +925,7 @@ class DefaultApi:
|
|
|
831
925
|
project_id=project_id,
|
|
832
926
|
region_id=region_id,
|
|
833
927
|
create_or_update_project_telemetry_link_payload=create_or_update_project_telemetry_link_payload,
|
|
928
|
+
if_none_match=if_none_match,
|
|
834
929
|
_request_auth=_request_auth,
|
|
835
930
|
_content_type=_content_type,
|
|
836
931
|
_headers=_headers,
|
|
@@ -844,6 +939,7 @@ class DefaultApi:
|
|
|
844
939
|
"401": "Response4xx",
|
|
845
940
|
"404": None,
|
|
846
941
|
"409": "Response4xx",
|
|
942
|
+
"412": "Response4xx",
|
|
847
943
|
"500": None,
|
|
848
944
|
}
|
|
849
945
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -854,6 +950,7 @@ class DefaultApi:
|
|
|
854
950
|
project_id,
|
|
855
951
|
region_id,
|
|
856
952
|
create_or_update_project_telemetry_link_payload,
|
|
953
|
+
if_none_match,
|
|
857
954
|
_request_auth,
|
|
858
955
|
_content_type,
|
|
859
956
|
_headers,
|
|
@@ -878,6 +975,8 @@ class DefaultApi:
|
|
|
878
975
|
_path_params["regionId"] = region_id
|
|
879
976
|
# process the query parameters
|
|
880
977
|
# process the header parameters
|
|
978
|
+
if if_none_match is not None:
|
|
979
|
+
_header_params["If-None-Match"] = if_none_match
|
|
881
980
|
# process the form parameters
|
|
882
981
|
# process the body parameter
|
|
883
982
|
if create_or_update_project_telemetry_link_payload is not None:
|
|
@@ -56,6 +56,19 @@ class CreateOrUpdateFolderTelemetryLinkPayload(BaseModel):
|
|
|
56
56
|
)
|
|
57
57
|
return value
|
|
58
58
|
|
|
59
|
+
@field_validator("description")
|
|
60
|
+
def description_validate_regular_expression(cls, value):
|
|
61
|
+
"""Validates the regular expression"""
|
|
62
|
+
if value is None:
|
|
63
|
+
return value
|
|
64
|
+
|
|
65
|
+
if not isinstance(value, str):
|
|
66
|
+
value = str(value)
|
|
67
|
+
|
|
68
|
+
if not re.match(r"^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$", value):
|
|
69
|
+
raise ValueError(r"must validate the regular expression /^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$/")
|
|
70
|
+
return value
|
|
71
|
+
|
|
59
72
|
@field_validator("display_name")
|
|
60
73
|
def display_name_validate_regular_expression(cls, value):
|
|
61
74
|
"""Validates the regular expression"""
|
|
@@ -56,6 +56,19 @@ class CreateOrUpdateOrganizationTelemetryLinkPayload(BaseModel):
|
|
|
56
56
|
)
|
|
57
57
|
return value
|
|
58
58
|
|
|
59
|
+
@field_validator("description")
|
|
60
|
+
def description_validate_regular_expression(cls, value):
|
|
61
|
+
"""Validates the regular expression"""
|
|
62
|
+
if value is None:
|
|
63
|
+
return value
|
|
64
|
+
|
|
65
|
+
if not isinstance(value, str):
|
|
66
|
+
value = str(value)
|
|
67
|
+
|
|
68
|
+
if not re.match(r"^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$", value):
|
|
69
|
+
raise ValueError(r"must validate the regular expression /^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$/")
|
|
70
|
+
return value
|
|
71
|
+
|
|
59
72
|
@field_validator("display_name")
|
|
60
73
|
def display_name_validate_regular_expression(cls, value):
|
|
61
74
|
"""Validates the regular expression"""
|
|
@@ -56,6 +56,19 @@ class CreateOrUpdateProjectTelemetryLinkPayload(BaseModel):
|
|
|
56
56
|
)
|
|
57
57
|
return value
|
|
58
58
|
|
|
59
|
+
@field_validator("description")
|
|
60
|
+
def description_validate_regular_expression(cls, value):
|
|
61
|
+
"""Validates the regular expression"""
|
|
62
|
+
if value is None:
|
|
63
|
+
return value
|
|
64
|
+
|
|
65
|
+
if not isinstance(value, str):
|
|
66
|
+
value = str(value)
|
|
67
|
+
|
|
68
|
+
if not re.match(r"^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$", value):
|
|
69
|
+
raise ValueError(r"must validate the regular expression /^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$/")
|
|
70
|
+
return value
|
|
71
|
+
|
|
59
72
|
@field_validator("display_name")
|
|
60
73
|
def display_name_validate_regular_expression(cls, value):
|
|
61
74
|
"""Validates the regular expression"""
|
|
@@ -65,6 +65,19 @@ class PartialUpdateFolderTelemetryLinkPayload(BaseModel):
|
|
|
65
65
|
)
|
|
66
66
|
return value
|
|
67
67
|
|
|
68
|
+
@field_validator("description")
|
|
69
|
+
def description_validate_regular_expression(cls, value):
|
|
70
|
+
"""Validates the regular expression"""
|
|
71
|
+
if value is None:
|
|
72
|
+
return value
|
|
73
|
+
|
|
74
|
+
if not isinstance(value, str):
|
|
75
|
+
value = str(value)
|
|
76
|
+
|
|
77
|
+
if not re.match(r"^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$", value):
|
|
78
|
+
raise ValueError(r"must validate the regular expression /^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$/")
|
|
79
|
+
return value
|
|
80
|
+
|
|
68
81
|
@field_validator("display_name")
|
|
69
82
|
def display_name_validate_regular_expression(cls, value):
|
|
70
83
|
"""Validates the regular expression"""
|
|
@@ -65,6 +65,19 @@ class PartialUpdateOrganizationTelemetryLinkPayload(BaseModel):
|
|
|
65
65
|
)
|
|
66
66
|
return value
|
|
67
67
|
|
|
68
|
+
@field_validator("description")
|
|
69
|
+
def description_validate_regular_expression(cls, value):
|
|
70
|
+
"""Validates the regular expression"""
|
|
71
|
+
if value is None:
|
|
72
|
+
return value
|
|
73
|
+
|
|
74
|
+
if not isinstance(value, str):
|
|
75
|
+
value = str(value)
|
|
76
|
+
|
|
77
|
+
if not re.match(r"^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$", value):
|
|
78
|
+
raise ValueError(r"must validate the regular expression /^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$/")
|
|
79
|
+
return value
|
|
80
|
+
|
|
68
81
|
@field_validator("display_name")
|
|
69
82
|
def display_name_validate_regular_expression(cls, value):
|
|
70
83
|
"""Validates the regular expression"""
|
|
@@ -65,6 +65,19 @@ class PartialUpdateProjectTelemetryLinkPayload(BaseModel):
|
|
|
65
65
|
)
|
|
66
66
|
return value
|
|
67
67
|
|
|
68
|
+
@field_validator("description")
|
|
69
|
+
def description_validate_regular_expression(cls, value):
|
|
70
|
+
"""Validates the regular expression"""
|
|
71
|
+
if value is None:
|
|
72
|
+
return value
|
|
73
|
+
|
|
74
|
+
if not isinstance(value, str):
|
|
75
|
+
value = str(value)
|
|
76
|
+
|
|
77
|
+
if not re.match(r"^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$", value):
|
|
78
|
+
raise ValueError(r"must validate the regular expression /^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$/")
|
|
79
|
+
return value
|
|
80
|
+
|
|
68
81
|
@field_validator("display_name")
|
|
69
82
|
def display_name_validate_regular_expression(cls, value):
|
|
70
83
|
"""Validates the regular expression"""
|
|
@@ -65,6 +65,19 @@ class TelemetryLinkRequest(BaseModel):
|
|
|
65
65
|
)
|
|
66
66
|
return value
|
|
67
67
|
|
|
68
|
+
@field_validator("description")
|
|
69
|
+
def description_validate_regular_expression(cls, value):
|
|
70
|
+
"""Validates the regular expression"""
|
|
71
|
+
if value is None:
|
|
72
|
+
return value
|
|
73
|
+
|
|
74
|
+
if not isinstance(value, str):
|
|
75
|
+
value = str(value)
|
|
76
|
+
|
|
77
|
+
if not re.match(r"^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$", value):
|
|
78
|
+
raise ValueError(r"must validate the regular expression /^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$/")
|
|
79
|
+
return value
|
|
80
|
+
|
|
68
81
|
@field_validator("display_name")
|
|
69
82
|
def display_name_validate_regular_expression(cls, value):
|
|
70
83
|
"""Validates the regular expression"""
|
|
@@ -39,7 +39,7 @@ class TelemetryLinkResponse(BaseModel):
|
|
|
39
39
|
|
|
40
40
|
access_token: Optional[StrictStr] = Field(default=None, description="The access token.", alias="accessToken")
|
|
41
41
|
create_time: datetime = Field(description="The point in time the resource was created.", alias="createTime")
|
|
42
|
-
description: Optional[
|
|
42
|
+
description: Optional[Annotated[str, Field(strict=True, max_length=1024)]] = Field(
|
|
43
43
|
default=None,
|
|
44
44
|
description="The description is a longer text chosen by the user to provide more context for the resource.",
|
|
45
45
|
)
|
|
@@ -80,6 +80,19 @@ class TelemetryLinkResponse(BaseModel):
|
|
|
80
80
|
return "0001" + value[4:] # Take "0001" and append the rest of the string
|
|
81
81
|
return value
|
|
82
82
|
|
|
83
|
+
@field_validator("description")
|
|
84
|
+
def description_validate_regular_expression(cls, value):
|
|
85
|
+
"""Validates the regular expression"""
|
|
86
|
+
if value is None:
|
|
87
|
+
return value
|
|
88
|
+
|
|
89
|
+
if not isinstance(value, str):
|
|
90
|
+
value = str(value)
|
|
91
|
+
|
|
92
|
+
if not re.match(r"^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$", value):
|
|
93
|
+
raise ValueError(r"must validate the regular expression /^([a-zA-Z0-9][a-zA-Z0-9 \-]*)?$/")
|
|
94
|
+
return value
|
|
95
|
+
|
|
83
96
|
@field_validator("region_id")
|
|
84
97
|
def region_id_validate_enum(cls, value):
|
|
85
98
|
"""Validates the enum"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/api_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/py.typed
RENAMED
|
File without changes
|
{stackit_telemetrylink-0.3.0 → stackit_telemetrylink-0.4.1}/src/stackit/telemetrylink/rest.py
RENAMED
|
File without changes
|