ibm-platform-services 0.73.0__tar.gz → 0.73.2__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.
- {ibm_platform_services-0.73.0/ibm_platform_services.egg-info → ibm_platform_services-0.73.2}/PKG-INFO +3 -3
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/README.md +1 -1
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/context_based_restrictions_v1.py +87 -36
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/version.py +1 -1
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2/ibm_platform_services.egg-info}/PKG-INFO +3 -3
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services.egg-info/requires.txt +1 -1
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/pyproject.toml +2 -2
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/LICENSE +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/MANIFEST.in +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/__init__.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/case_management_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/catalog_management_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/common.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/enterprise_billing_units_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/enterprise_management_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/enterprise_usage_reports_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/global_catalog_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/global_search_v2.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/global_tagging_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/iam_access_groups_v2.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/iam_identity_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/iam_policy_management_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/ibm_cloud_shell_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/open_service_broker_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/partner_management_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/resource_controller_v2.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/resource_manager_v2.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/usage_metering_v4.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/usage_reports_v4.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/user_management_v1.py +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services.egg-info/SOURCES.txt +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services.egg-info/dependency_links.txt +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services.egg-info/top_level.txt +0 -0
- {ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ibm-platform-services
|
|
3
|
-
Version: 0.73.
|
|
3
|
+
Version: 0.73.2
|
|
4
4
|
Summary: Python client library for IBM Cloud Platform Services
|
|
5
5
|
Author-email: IBM <devxsdk@us.ibm.com>
|
|
6
6
|
Project-URL: Repository, https://github.com/IBM/platform-services-python-sdk
|
|
@@ -28,7 +28,7 @@ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
|
28
28
|
Requires-Python: >=3.10
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
License-File: LICENSE
|
|
31
|
-
Requires-Dist: ibm_cloud_sdk_core<4.0.0,>=3.24.
|
|
31
|
+
Requires-Dist: ibm_cloud_sdk_core<4.0.0,>=3.24.4
|
|
32
32
|
Provides-Extra: dev
|
|
33
33
|
Requires-Dist: coverage<8.0.0,>=7.9.0; extra == "dev"
|
|
34
34
|
Requires-Dist: pylint<4.0.0,>=3.3.7; extra == "dev"
|
|
@@ -51,7 +51,7 @@ Dynamic: license-file
|
|
|
51
51
|
[](https://cla-assistant.io/IBM/platform-services-python-sdk)
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
# IBM Cloud Platform Services Python SDK Version 0.73.
|
|
54
|
+
# IBM Cloud Platform Services Python SDK Version 0.73.2
|
|
55
55
|
|
|
56
56
|
Python client library to interact with various
|
|
57
57
|
[IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[](https://cla-assistant.io/IBM/platform-services-python-sdk)
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
# IBM Cloud Platform Services Python SDK Version 0.73.
|
|
11
|
+
# IBM Cloud Platform Services Python SDK Version 0.73.2
|
|
12
12
|
|
|
13
13
|
Python client library to interact with various
|
|
14
14
|
[IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
# (C) Copyright IBM Corp.
|
|
3
|
+
# (C) Copyright IBM Corp. 2025.
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# See the License for the specific language governing permissions and
|
|
15
15
|
# limitations under the License.
|
|
16
16
|
|
|
17
|
-
# IBM OpenAPI SDK Code Generator Version: 3.
|
|
17
|
+
# IBM OpenAPI SDK Code Generator Version: 3.108.0-56772134-20251111-102802
|
|
18
18
|
|
|
19
19
|
"""
|
|
20
20
|
With the Context Based Restrictions API, you can:
|
|
@@ -1290,19 +1290,20 @@ class AccountSettings:
|
|
|
1290
1290
|
:param str crn: The account settings CRN.
|
|
1291
1291
|
:param int rule_count_limit: the max number of rules allowed for the account.
|
|
1292
1292
|
:param int zone_count_limit: the max number of zones allowed for the account.
|
|
1293
|
-
:param int tags_rule_count_limit:
|
|
1294
|
-
|
|
1293
|
+
:param int tags_rule_count_limit: the max number of rules with tags allowed for
|
|
1294
|
+
the account.
|
|
1295
1295
|
:param int current_rule_count: the current number of rules used by the account.
|
|
1296
1296
|
:param int current_zone_count: the current number of zones used by the account.
|
|
1297
|
-
:param int current_tags_rule_count:
|
|
1298
|
-
|
|
1297
|
+
:param int current_tags_rule_count: the current number of rules with tags used
|
|
1298
|
+
by the account.
|
|
1299
1299
|
:param str href: The href link to the resource.
|
|
1300
|
-
:param datetime created_at: The time the resource was created.
|
|
1301
|
-
:param str created_by_id: IAM ID of the user or service which created
|
|
1302
|
-
resource.
|
|
1303
|
-
:param datetime last_modified_at: The last time the resource was
|
|
1304
|
-
|
|
1305
|
-
|
|
1300
|
+
:param datetime created_at: (optional) The time the resource was created.
|
|
1301
|
+
:param str created_by_id: (optional) IAM ID of the user or service which created
|
|
1302
|
+
the resource.
|
|
1303
|
+
:param datetime last_modified_at: (optional) The last time the resource was
|
|
1304
|
+
modified.
|
|
1305
|
+
:param str last_modified_by_id: (optional) IAM ID of the user or service which
|
|
1306
|
+
modified the resource.
|
|
1306
1307
|
"""
|
|
1307
1308
|
|
|
1308
1309
|
def __init__(
|
|
@@ -1311,16 +1312,16 @@ class AccountSettings:
|
|
|
1311
1312
|
crn: str,
|
|
1312
1313
|
rule_count_limit: int,
|
|
1313
1314
|
zone_count_limit: int,
|
|
1315
|
+
tags_rule_count_limit: int,
|
|
1314
1316
|
current_rule_count: int,
|
|
1315
1317
|
current_zone_count: int,
|
|
1318
|
+
current_tags_rule_count: int,
|
|
1316
1319
|
href: str,
|
|
1317
|
-
created_at: datetime,
|
|
1318
|
-
created_by_id: str,
|
|
1319
|
-
last_modified_at: datetime,
|
|
1320
|
-
last_modified_by_id: str,
|
|
1321
1320
|
*,
|
|
1322
|
-
|
|
1323
|
-
|
|
1321
|
+
created_at: Optional[datetime] = None,
|
|
1322
|
+
created_by_id: Optional[str] = None,
|
|
1323
|
+
last_modified_at: Optional[datetime] = None,
|
|
1324
|
+
last_modified_by_id: Optional[str] = None,
|
|
1324
1325
|
) -> None:
|
|
1325
1326
|
"""
|
|
1326
1327
|
Initialize a AccountSettings object.
|
|
@@ -1331,21 +1332,22 @@ class AccountSettings:
|
|
|
1331
1332
|
account.
|
|
1332
1333
|
:param int zone_count_limit: the max number of zones allowed for the
|
|
1333
1334
|
account.
|
|
1335
|
+
:param int tags_rule_count_limit: the max number of rules with tags allowed
|
|
1336
|
+
for the account.
|
|
1334
1337
|
:param int current_rule_count: the current number of rules used by the
|
|
1335
1338
|
account.
|
|
1336
1339
|
:param int current_zone_count: the current number of zones used by the
|
|
1337
1340
|
account.
|
|
1341
|
+
:param int current_tags_rule_count: the current number of rules with tags
|
|
1342
|
+
used by the account.
|
|
1338
1343
|
:param str href: The href link to the resource.
|
|
1339
|
-
:param datetime created_at: The time the resource was created.
|
|
1340
|
-
:param str created_by_id: IAM ID of the user or service which
|
|
1341
|
-
resource.
|
|
1342
|
-
:param datetime last_modified_at: The last time the resource was
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
tags allowed for the account.
|
|
1347
|
-
:param int current_tags_rule_count: (optional) the current number of rules
|
|
1348
|
-
with tags used by the account.
|
|
1344
|
+
:param datetime created_at: (optional) The time the resource was created.
|
|
1345
|
+
:param str created_by_id: (optional) IAM ID of the user or service which
|
|
1346
|
+
created the resource.
|
|
1347
|
+
:param datetime last_modified_at: (optional) The last time the resource was
|
|
1348
|
+
modified.
|
|
1349
|
+
:param str last_modified_by_id: (optional) IAM ID of the user or service
|
|
1350
|
+
which modified the resource.
|
|
1349
1351
|
"""
|
|
1350
1352
|
self.id = id
|
|
1351
1353
|
self.crn = crn
|
|
@@ -1383,6 +1385,8 @@ class AccountSettings:
|
|
|
1383
1385
|
raise ValueError('Required property \'zone_count_limit\' not present in AccountSettings JSON')
|
|
1384
1386
|
if (tags_rule_count_limit := _dict.get('tags_rule_count_limit')) is not None:
|
|
1385
1387
|
args['tags_rule_count_limit'] = tags_rule_count_limit
|
|
1388
|
+
else:
|
|
1389
|
+
raise ValueError('Required property \'tags_rule_count_limit\' not present in AccountSettings JSON')
|
|
1386
1390
|
if (current_rule_count := _dict.get('current_rule_count')) is not None:
|
|
1387
1391
|
args['current_rule_count'] = current_rule_count
|
|
1388
1392
|
else:
|
|
@@ -1393,26 +1397,20 @@ class AccountSettings:
|
|
|
1393
1397
|
raise ValueError('Required property \'current_zone_count\' not present in AccountSettings JSON')
|
|
1394
1398
|
if (current_tags_rule_count := _dict.get('current_tags_rule_count')) is not None:
|
|
1395
1399
|
args['current_tags_rule_count'] = current_tags_rule_count
|
|
1400
|
+
else:
|
|
1401
|
+
raise ValueError('Required property \'current_tags_rule_count\' not present in AccountSettings JSON')
|
|
1396
1402
|
if (href := _dict.get('href')) is not None:
|
|
1397
1403
|
args['href'] = href
|
|
1398
1404
|
else:
|
|
1399
1405
|
raise ValueError('Required property \'href\' not present in AccountSettings JSON')
|
|
1400
1406
|
if (created_at := _dict.get('created_at')) is not None:
|
|
1401
1407
|
args['created_at'] = string_to_datetime(created_at)
|
|
1402
|
-
else:
|
|
1403
|
-
raise ValueError('Required property \'created_at\' not present in AccountSettings JSON')
|
|
1404
1408
|
if (created_by_id := _dict.get('created_by_id')) is not None:
|
|
1405
1409
|
args['created_by_id'] = created_by_id
|
|
1406
|
-
else:
|
|
1407
|
-
raise ValueError('Required property \'created_by_id\' not present in AccountSettings JSON')
|
|
1408
1410
|
if (last_modified_at := _dict.get('last_modified_at')) is not None:
|
|
1409
1411
|
args['last_modified_at'] = string_to_datetime(last_modified_at)
|
|
1410
|
-
else:
|
|
1411
|
-
raise ValueError('Required property \'last_modified_at\' not present in AccountSettings JSON')
|
|
1412
1412
|
if (last_modified_by_id := _dict.get('last_modified_by_id')) is not None:
|
|
1413
1413
|
args['last_modified_by_id'] = last_modified_by_id
|
|
1414
|
-
else:
|
|
1415
|
-
raise ValueError('Required property \'last_modified_by_id\' not present in AccountSettings JSON')
|
|
1416
1414
|
return cls(**args)
|
|
1417
1415
|
|
|
1418
1416
|
@classmethod
|
|
@@ -2462,6 +2460,7 @@ class ServiceRefTarget:
|
|
|
2462
2460
|
:param str service_type: (optional) The type of the service.
|
|
2463
2461
|
:param List[ServiceRefTargetLocationsItem] locations: (optional) The locations
|
|
2464
2462
|
the service is available.
|
|
2463
|
+
:param str display_name: (optional) The display name of the service.
|
|
2465
2464
|
"""
|
|
2466
2465
|
|
|
2467
2466
|
def __init__(
|
|
@@ -2470,6 +2469,7 @@ class ServiceRefTarget:
|
|
|
2470
2469
|
*,
|
|
2471
2470
|
service_type: Optional[str] = None,
|
|
2472
2471
|
locations: Optional[List['ServiceRefTargetLocationsItem']] = None,
|
|
2472
|
+
display_name: Optional[str] = None,
|
|
2473
2473
|
) -> None:
|
|
2474
2474
|
"""
|
|
2475
2475
|
Initialize a ServiceRefTarget object.
|
|
@@ -2478,10 +2478,12 @@ class ServiceRefTarget:
|
|
|
2478
2478
|
:param str service_type: (optional) The type of the service.
|
|
2479
2479
|
:param List[ServiceRefTargetLocationsItem] locations: (optional) The
|
|
2480
2480
|
locations the service is available.
|
|
2481
|
+
:param str display_name: (optional) The display name of the service.
|
|
2481
2482
|
"""
|
|
2482
2483
|
self.service_name = service_name
|
|
2483
2484
|
self.service_type = service_type
|
|
2484
2485
|
self.locations = locations
|
|
2486
|
+
self.display_name = display_name
|
|
2485
2487
|
|
|
2486
2488
|
@classmethod
|
|
2487
2489
|
def from_dict(cls, _dict: Dict) -> 'ServiceRefTarget':
|
|
@@ -2495,6 +2497,8 @@ class ServiceRefTarget:
|
|
|
2495
2497
|
args['service_type'] = service_type
|
|
2496
2498
|
if (locations := _dict.get('locations')) is not None:
|
|
2497
2499
|
args['locations'] = [ServiceRefTargetLocationsItem.from_dict(v) for v in locations]
|
|
2500
|
+
if (display_name := _dict.get('display_name')) is not None:
|
|
2501
|
+
args['display_name'] = display_name
|
|
2498
2502
|
return cls(**args)
|
|
2499
2503
|
|
|
2500
2504
|
@classmethod
|
|
@@ -2517,6 +2521,8 @@ class ServiceRefTarget:
|
|
|
2517
2521
|
else:
|
|
2518
2522
|
locations_list.append(v.to_dict())
|
|
2519
2523
|
_dict['locations'] = locations_list
|
|
2524
|
+
if hasattr(self, 'display_name') and self.display_name is not None:
|
|
2525
|
+
_dict['display_name'] = self.display_name
|
|
2520
2526
|
return _dict
|
|
2521
2527
|
|
|
2522
2528
|
def _to_dict(self):
|
|
@@ -3251,22 +3257,27 @@ class AddressIPAddress(Address):
|
|
|
3251
3257
|
|
|
3252
3258
|
:param str type: The type of address.
|
|
3253
3259
|
:param str value: The IP address.
|
|
3260
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3254
3261
|
"""
|
|
3255
3262
|
|
|
3256
3263
|
def __init__(
|
|
3257
3264
|
self,
|
|
3258
3265
|
type: str,
|
|
3259
3266
|
value: str,
|
|
3267
|
+
*,
|
|
3268
|
+
id: Optional[str] = None,
|
|
3260
3269
|
) -> None:
|
|
3261
3270
|
"""
|
|
3262
3271
|
Initialize a AddressIPAddress object.
|
|
3263
3272
|
|
|
3264
3273
|
:param str type: The type of address.
|
|
3265
3274
|
:param str value: The IP address.
|
|
3275
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3266
3276
|
"""
|
|
3267
3277
|
# pylint: disable=super-init-not-called
|
|
3268
3278
|
self.type = type
|
|
3269
3279
|
self.value = value
|
|
3280
|
+
self.id = id
|
|
3270
3281
|
|
|
3271
3282
|
@classmethod
|
|
3272
3283
|
def from_dict(cls, _dict: Dict) -> 'AddressIPAddress':
|
|
@@ -3280,6 +3291,8 @@ class AddressIPAddress(Address):
|
|
|
3280
3291
|
args['value'] = value
|
|
3281
3292
|
else:
|
|
3282
3293
|
raise ValueError('Required property \'value\' not present in AddressIPAddress JSON')
|
|
3294
|
+
if (id := _dict.get('id')) is not None:
|
|
3295
|
+
args['id'] = id
|
|
3283
3296
|
return cls(**args)
|
|
3284
3297
|
|
|
3285
3298
|
@classmethod
|
|
@@ -3294,6 +3307,8 @@ class AddressIPAddress(Address):
|
|
|
3294
3307
|
_dict['type'] = self.type
|
|
3295
3308
|
if hasattr(self, 'value') and self.value is not None:
|
|
3296
3309
|
_dict['value'] = self.value
|
|
3310
|
+
if hasattr(self, 'id') and self.id is not None:
|
|
3311
|
+
_dict['id'] = self.id
|
|
3297
3312
|
return _dict
|
|
3298
3313
|
|
|
3299
3314
|
def _to_dict(self):
|
|
@@ -3328,22 +3343,27 @@ class AddressIPAddressRange(Address):
|
|
|
3328
3343
|
|
|
3329
3344
|
:param str type: The type of address.
|
|
3330
3345
|
:param str value: The ip range in <first-ip>-<last-ip> format.
|
|
3346
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3331
3347
|
"""
|
|
3332
3348
|
|
|
3333
3349
|
def __init__(
|
|
3334
3350
|
self,
|
|
3335
3351
|
type: str,
|
|
3336
3352
|
value: str,
|
|
3353
|
+
*,
|
|
3354
|
+
id: Optional[str] = None,
|
|
3337
3355
|
) -> None:
|
|
3338
3356
|
"""
|
|
3339
3357
|
Initialize a AddressIPAddressRange object.
|
|
3340
3358
|
|
|
3341
3359
|
:param str type: The type of address.
|
|
3342
3360
|
:param str value: The ip range in <first-ip>-<last-ip> format.
|
|
3361
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3343
3362
|
"""
|
|
3344
3363
|
# pylint: disable=super-init-not-called
|
|
3345
3364
|
self.type = type
|
|
3346
3365
|
self.value = value
|
|
3366
|
+
self.id = id
|
|
3347
3367
|
|
|
3348
3368
|
@classmethod
|
|
3349
3369
|
def from_dict(cls, _dict: Dict) -> 'AddressIPAddressRange':
|
|
@@ -3357,6 +3377,8 @@ class AddressIPAddressRange(Address):
|
|
|
3357
3377
|
args['value'] = value
|
|
3358
3378
|
else:
|
|
3359
3379
|
raise ValueError('Required property \'value\' not present in AddressIPAddressRange JSON')
|
|
3380
|
+
if (id := _dict.get('id')) is not None:
|
|
3381
|
+
args['id'] = id
|
|
3360
3382
|
return cls(**args)
|
|
3361
3383
|
|
|
3362
3384
|
@classmethod
|
|
@@ -3371,6 +3393,8 @@ class AddressIPAddressRange(Address):
|
|
|
3371
3393
|
_dict['type'] = self.type
|
|
3372
3394
|
if hasattr(self, 'value') and self.value is not None:
|
|
3373
3395
|
_dict['value'] = self.value
|
|
3396
|
+
if hasattr(self, 'id') and self.id is not None:
|
|
3397
|
+
_dict['id'] = self.id
|
|
3374
3398
|
return _dict
|
|
3375
3399
|
|
|
3376
3400
|
def _to_dict(self):
|
|
@@ -3405,22 +3429,27 @@ class AddressServiceRef(Address):
|
|
|
3405
3429
|
|
|
3406
3430
|
:param str type: The type of address.
|
|
3407
3431
|
:param ServiceRefValue ref: A service reference value.
|
|
3432
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3408
3433
|
"""
|
|
3409
3434
|
|
|
3410
3435
|
def __init__(
|
|
3411
3436
|
self,
|
|
3412
3437
|
type: str,
|
|
3413
3438
|
ref: 'ServiceRefValue',
|
|
3439
|
+
*,
|
|
3440
|
+
id: Optional[str] = None,
|
|
3414
3441
|
) -> None:
|
|
3415
3442
|
"""
|
|
3416
3443
|
Initialize a AddressServiceRef object.
|
|
3417
3444
|
|
|
3418
3445
|
:param str type: The type of address.
|
|
3419
3446
|
:param ServiceRefValue ref: A service reference value.
|
|
3447
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3420
3448
|
"""
|
|
3421
3449
|
# pylint: disable=super-init-not-called
|
|
3422
3450
|
self.type = type
|
|
3423
3451
|
self.ref = ref
|
|
3452
|
+
self.id = id
|
|
3424
3453
|
|
|
3425
3454
|
@classmethod
|
|
3426
3455
|
def from_dict(cls, _dict: Dict) -> 'AddressServiceRef':
|
|
@@ -3434,6 +3463,8 @@ class AddressServiceRef(Address):
|
|
|
3434
3463
|
args['ref'] = ServiceRefValue.from_dict(ref)
|
|
3435
3464
|
else:
|
|
3436
3465
|
raise ValueError('Required property \'ref\' not present in AddressServiceRef JSON')
|
|
3466
|
+
if (id := _dict.get('id')) is not None:
|
|
3467
|
+
args['id'] = id
|
|
3437
3468
|
return cls(**args)
|
|
3438
3469
|
|
|
3439
3470
|
@classmethod
|
|
@@ -3451,6 +3482,8 @@ class AddressServiceRef(Address):
|
|
|
3451
3482
|
_dict['ref'] = self.ref
|
|
3452
3483
|
else:
|
|
3453
3484
|
_dict['ref'] = self.ref.to_dict()
|
|
3485
|
+
if hasattr(self, 'id') and self.id is not None:
|
|
3486
|
+
_dict['id'] = self.id
|
|
3454
3487
|
return _dict
|
|
3455
3488
|
|
|
3456
3489
|
def _to_dict(self):
|
|
@@ -3485,22 +3518,27 @@ class AddressSubnet(Address):
|
|
|
3485
3518
|
|
|
3486
3519
|
:param str type: The type of address.
|
|
3487
3520
|
:param str value: The subnet in CIDR format.
|
|
3521
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3488
3522
|
"""
|
|
3489
3523
|
|
|
3490
3524
|
def __init__(
|
|
3491
3525
|
self,
|
|
3492
3526
|
type: str,
|
|
3493
3527
|
value: str,
|
|
3528
|
+
*,
|
|
3529
|
+
id: Optional[str] = None,
|
|
3494
3530
|
) -> None:
|
|
3495
3531
|
"""
|
|
3496
3532
|
Initialize a AddressSubnet object.
|
|
3497
3533
|
|
|
3498
3534
|
:param str type: The type of address.
|
|
3499
3535
|
:param str value: The subnet in CIDR format.
|
|
3536
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3500
3537
|
"""
|
|
3501
3538
|
# pylint: disable=super-init-not-called
|
|
3502
3539
|
self.type = type
|
|
3503
3540
|
self.value = value
|
|
3541
|
+
self.id = id
|
|
3504
3542
|
|
|
3505
3543
|
@classmethod
|
|
3506
3544
|
def from_dict(cls, _dict: Dict) -> 'AddressSubnet':
|
|
@@ -3514,6 +3552,8 @@ class AddressSubnet(Address):
|
|
|
3514
3552
|
args['value'] = value
|
|
3515
3553
|
else:
|
|
3516
3554
|
raise ValueError('Required property \'value\' not present in AddressSubnet JSON')
|
|
3555
|
+
if (id := _dict.get('id')) is not None:
|
|
3556
|
+
args['id'] = id
|
|
3517
3557
|
return cls(**args)
|
|
3518
3558
|
|
|
3519
3559
|
@classmethod
|
|
@@ -3528,6 +3568,8 @@ class AddressSubnet(Address):
|
|
|
3528
3568
|
_dict['type'] = self.type
|
|
3529
3569
|
if hasattr(self, 'value') and self.value is not None:
|
|
3530
3570
|
_dict['value'] = self.value
|
|
3571
|
+
if hasattr(self, 'id') and self.id is not None:
|
|
3572
|
+
_dict['id'] = self.id
|
|
3531
3573
|
return _dict
|
|
3532
3574
|
|
|
3533
3575
|
def _to_dict(self):
|
|
@@ -3562,22 +3604,27 @@ class AddressVPC(Address):
|
|
|
3562
3604
|
|
|
3563
3605
|
:param str type: The type of address.
|
|
3564
3606
|
:param str value: The VPC CRN.
|
|
3607
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3565
3608
|
"""
|
|
3566
3609
|
|
|
3567
3610
|
def __init__(
|
|
3568
3611
|
self,
|
|
3569
3612
|
type: str,
|
|
3570
3613
|
value: str,
|
|
3614
|
+
*,
|
|
3615
|
+
id: Optional[str] = None,
|
|
3571
3616
|
) -> None:
|
|
3572
3617
|
"""
|
|
3573
3618
|
Initialize a AddressVPC object.
|
|
3574
3619
|
|
|
3575
3620
|
:param str type: The type of address.
|
|
3576
3621
|
:param str value: The VPC CRN.
|
|
3622
|
+
:param str id: (optional) The address id (for use by terraform only).
|
|
3577
3623
|
"""
|
|
3578
3624
|
# pylint: disable=super-init-not-called
|
|
3579
3625
|
self.type = type
|
|
3580
3626
|
self.value = value
|
|
3627
|
+
self.id = id
|
|
3581
3628
|
|
|
3582
3629
|
@classmethod
|
|
3583
3630
|
def from_dict(cls, _dict: Dict) -> 'AddressVPC':
|
|
@@ -3591,6 +3638,8 @@ class AddressVPC(Address):
|
|
|
3591
3638
|
args['value'] = value
|
|
3592
3639
|
else:
|
|
3593
3640
|
raise ValueError('Required property \'value\' not present in AddressVPC JSON')
|
|
3641
|
+
if (id := _dict.get('id')) is not None:
|
|
3642
|
+
args['id'] = id
|
|
3594
3643
|
return cls(**args)
|
|
3595
3644
|
|
|
3596
3645
|
@classmethod
|
|
@@ -3605,6 +3654,8 @@ class AddressVPC(Address):
|
|
|
3605
3654
|
_dict['type'] = self.type
|
|
3606
3655
|
if hasattr(self, 'value') and self.value is not None:
|
|
3607
3656
|
_dict['value'] = self.value
|
|
3657
|
+
if hasattr(self, 'id') and self.id is not None:
|
|
3658
|
+
_dict['id'] = self.id
|
|
3608
3659
|
return _dict
|
|
3609
3660
|
|
|
3610
3661
|
def _to_dict(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ibm-platform-services
|
|
3
|
-
Version: 0.73.
|
|
3
|
+
Version: 0.73.2
|
|
4
4
|
Summary: Python client library for IBM Cloud Platform Services
|
|
5
5
|
Author-email: IBM <devxsdk@us.ibm.com>
|
|
6
6
|
Project-URL: Repository, https://github.com/IBM/platform-services-python-sdk
|
|
@@ -28,7 +28,7 @@ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
|
28
28
|
Requires-Python: >=3.10
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
License-File: LICENSE
|
|
31
|
-
Requires-Dist: ibm_cloud_sdk_core<4.0.0,>=3.24.
|
|
31
|
+
Requires-Dist: ibm_cloud_sdk_core<4.0.0,>=3.24.4
|
|
32
32
|
Provides-Extra: dev
|
|
33
33
|
Requires-Dist: coverage<8.0.0,>=7.9.0; extra == "dev"
|
|
34
34
|
Requires-Dist: pylint<4.0.0,>=3.3.7; extra == "dev"
|
|
@@ -51,7 +51,7 @@ Dynamic: license-file
|
|
|
51
51
|
[](https://cla-assistant.io/IBM/platform-services-python-sdk)
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
# IBM Cloud Platform Services Python SDK Version 0.73.
|
|
54
|
+
# IBM Cloud Platform Services Python SDK Version 0.73.2
|
|
55
55
|
|
|
56
56
|
Python client library to interact with various
|
|
57
57
|
[IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ibm-platform-services"
|
|
3
|
-
version = "0.73.
|
|
3
|
+
version = "0.73.2"
|
|
4
4
|
authors = [
|
|
5
5
|
{ name="IBM", email="devxsdk@us.ibm.com" }
|
|
6
6
|
]
|
|
@@ -26,7 +26,7 @@ classifiers = [
|
|
|
26
26
|
]
|
|
27
27
|
keywords=["ibm", "cloud", "ibm cloud services", "ibm cloud platform services"]
|
|
28
28
|
dependencies = [
|
|
29
|
-
"ibm_cloud_sdk_core>=3.24.
|
|
29
|
+
"ibm_cloud_sdk_core>=3.24.4,<4.0.0",
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
[project.urls]
|
|
File without changes
|
|
File without changes
|
{ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ibm_platform_services-0.73.0 → ibm_platform_services-0.73.2}/ibm_platform_services/common.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|