alibabacloud-ehpcinstant20230701 1.0.4__tar.gz → 1.1.0__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.

Potentially problematic release.


This version of alibabacloud-ehpcinstant20230701 might be problematic. Click here for more details.

Files changed (18) hide show
  1. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/ChangeLog.md +5 -0
  2. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/PKG-INFO +2 -2
  3. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/README-CN.md +1 -1
  4. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/README.md +1 -1
  5. alibabacloud_ehpcinstant20230701-1.1.0/alibabacloud_ehpcinstant20230701/__init__.py +1 -0
  6. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/alibabacloud_ehpcinstant20230701/client.py +332 -0
  7. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/alibabacloud_ehpcinstant20230701/models.py +942 -15
  8. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/alibabacloud_ehpcinstant20230701.egg-info/PKG-INFO +2 -2
  9. alibabacloud_ehpcinstant20230701-1.1.0/alibabacloud_ehpcinstant20230701.egg-info/requires.txt +4 -0
  10. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/setup.py +3 -3
  11. alibabacloud_ehpcinstant20230701-1.0.4/alibabacloud_ehpcinstant20230701/__init__.py +0 -1
  12. alibabacloud_ehpcinstant20230701-1.0.4/alibabacloud_ehpcinstant20230701.egg-info/requires.txt +0 -4
  13. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/LICENSE +0 -0
  14. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/MANIFEST.in +0 -0
  15. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/alibabacloud_ehpcinstant20230701.egg-info/SOURCES.txt +0 -0
  16. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/alibabacloud_ehpcinstant20230701.egg-info/dependency_links.txt +0 -0
  17. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/alibabacloud_ehpcinstant20230701.egg-info/top_level.txt +0 -0
  18. {alibabacloud_ehpcinstant20230701-1.0.4 → alibabacloud_ehpcinstant20230701-1.1.0}/setup.cfg +0 -0
@@ -1,3 +1,8 @@
1
+ 2024-08-14 Version: 1.0.4
2
+ - Update API ListExecutors: update response param.
3
+ - Update API ListJobExecutors: update response param.
4
+
5
+
1
6
  2024-07-31 Version: 1.0.3
2
7
  - Update API CreateJob: add param JobScheduler.
3
8
  - Update API CreateJob: update param Tasks.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_ehpcinstant20230701
3
- Version: 1.0.4
3
+ Version: 1.1.0
4
4
  Summary: Alibaba Cloud EhpcInstant (20230701) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -29,7 +29,7 @@ English | [简体中文](README-CN.md)
29
29
 
30
30
  ## Requirements
31
31
 
32
- - Python >= 3.6
32
+ - Python >= 3.7
33
33
 
34
34
  ## Installation
35
35
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## 要求
8
8
 
9
- - Python >= 3.6
9
+ - Python >= 3.7
10
10
 
11
11
  ## 安装
12
12
 
@@ -5,7 +5,7 @@ English | [简体中文](README-CN.md)
5
5
 
6
6
  ## Requirements
7
7
 
8
- - Python >= 3.6
8
+ - Python >= 3.7
9
9
 
10
10
  ## Installation
11
11
 
@@ -65,6 +65,8 @@ class Client(OpenApiClient):
65
65
  query['ContainerImageSpec'] = request.container_image_spec_shrink
66
66
  if not UtilClient.is_unset(request.description):
67
67
  query['Description'] = request.description
68
+ if not UtilClient.is_unset(request.image_type):
69
+ query['ImageType'] = request.image_type
68
70
  if not UtilClient.is_unset(request.image_version):
69
71
  query['ImageVersion'] = request.image_version
70
72
  if not UtilClient.is_unset(request.name):
@@ -114,6 +116,8 @@ class Client(OpenApiClient):
114
116
  query['ContainerImageSpec'] = request.container_image_spec_shrink
115
117
  if not UtilClient.is_unset(request.description):
116
118
  query['Description'] = request.description
119
+ if not UtilClient.is_unset(request.image_type):
120
+ query['ImageType'] = request.image_type
117
121
  if not UtilClient.is_unset(request.image_version):
118
122
  query['ImageVersion'] = request.image_version
119
123
  if not UtilClient.is_unset(request.name):
@@ -1297,6 +1301,118 @@ class Client(OpenApiClient):
1297
1301
  runtime = util_models.RuntimeOptions()
1298
1302
  return await self.list_jobs_with_options_async(request, runtime)
1299
1303
 
1304
+ def list_tag_resources_with_options(
1305
+ self,
1306
+ request: ehpc_instant_20230701_models.ListTagResourcesRequest,
1307
+ runtime: util_models.RuntimeOptions,
1308
+ ) -> ehpc_instant_20230701_models.ListTagResourcesResponse:
1309
+ """
1310
+ @summary 查询一个或多个资源已经绑定的标签列表
1311
+
1312
+ @param request: ListTagResourcesRequest
1313
+ @param runtime: runtime options for this request RuntimeOptions
1314
+ @return: ListTagResourcesResponse
1315
+ """
1316
+ UtilClient.validate_model(request)
1317
+ query = {}
1318
+ if not UtilClient.is_unset(request.max_result):
1319
+ query['MaxResult'] = request.max_result
1320
+ if not UtilClient.is_unset(request.next_token):
1321
+ query['NextToken'] = request.next_token
1322
+ if not UtilClient.is_unset(request.resource_id):
1323
+ query['ResourceId'] = request.resource_id
1324
+ if not UtilClient.is_unset(request.resource_type):
1325
+ query['ResourceType'] = request.resource_type
1326
+ if not UtilClient.is_unset(request.tag):
1327
+ query['Tag'] = request.tag
1328
+ req = open_api_models.OpenApiRequest(
1329
+ query=OpenApiUtilClient.query(query)
1330
+ )
1331
+ params = open_api_models.Params(
1332
+ action='ListTagResources',
1333
+ version='2023-07-01',
1334
+ protocol='HTTPS',
1335
+ pathname='/',
1336
+ method='POST',
1337
+ auth_type='AK',
1338
+ style='RPC',
1339
+ req_body_type='formData',
1340
+ body_type='json'
1341
+ )
1342
+ return TeaCore.from_map(
1343
+ ehpc_instant_20230701_models.ListTagResourcesResponse(),
1344
+ self.call_api(params, req, runtime)
1345
+ )
1346
+
1347
+ async def list_tag_resources_with_options_async(
1348
+ self,
1349
+ request: ehpc_instant_20230701_models.ListTagResourcesRequest,
1350
+ runtime: util_models.RuntimeOptions,
1351
+ ) -> ehpc_instant_20230701_models.ListTagResourcesResponse:
1352
+ """
1353
+ @summary 查询一个或多个资源已经绑定的标签列表
1354
+
1355
+ @param request: ListTagResourcesRequest
1356
+ @param runtime: runtime options for this request RuntimeOptions
1357
+ @return: ListTagResourcesResponse
1358
+ """
1359
+ UtilClient.validate_model(request)
1360
+ query = {}
1361
+ if not UtilClient.is_unset(request.max_result):
1362
+ query['MaxResult'] = request.max_result
1363
+ if not UtilClient.is_unset(request.next_token):
1364
+ query['NextToken'] = request.next_token
1365
+ if not UtilClient.is_unset(request.resource_id):
1366
+ query['ResourceId'] = request.resource_id
1367
+ if not UtilClient.is_unset(request.resource_type):
1368
+ query['ResourceType'] = request.resource_type
1369
+ if not UtilClient.is_unset(request.tag):
1370
+ query['Tag'] = request.tag
1371
+ req = open_api_models.OpenApiRequest(
1372
+ query=OpenApiUtilClient.query(query)
1373
+ )
1374
+ params = open_api_models.Params(
1375
+ action='ListTagResources',
1376
+ version='2023-07-01',
1377
+ protocol='HTTPS',
1378
+ pathname='/',
1379
+ method='POST',
1380
+ auth_type='AK',
1381
+ style='RPC',
1382
+ req_body_type='formData',
1383
+ body_type='json'
1384
+ )
1385
+ return TeaCore.from_map(
1386
+ ehpc_instant_20230701_models.ListTagResourcesResponse(),
1387
+ await self.call_api_async(params, req, runtime)
1388
+ )
1389
+
1390
+ def list_tag_resources(
1391
+ self,
1392
+ request: ehpc_instant_20230701_models.ListTagResourcesRequest,
1393
+ ) -> ehpc_instant_20230701_models.ListTagResourcesResponse:
1394
+ """
1395
+ @summary 查询一个或多个资源已经绑定的标签列表
1396
+
1397
+ @param request: ListTagResourcesRequest
1398
+ @return: ListTagResourcesResponse
1399
+ """
1400
+ runtime = util_models.RuntimeOptions()
1401
+ return self.list_tag_resources_with_options(request, runtime)
1402
+
1403
+ async def list_tag_resources_async(
1404
+ self,
1405
+ request: ehpc_instant_20230701_models.ListTagResourcesRequest,
1406
+ ) -> ehpc_instant_20230701_models.ListTagResourcesResponse:
1407
+ """
1408
+ @summary 查询一个或多个资源已经绑定的标签列表
1409
+
1410
+ @param request: ListTagResourcesRequest
1411
+ @return: ListTagResourcesResponse
1412
+ """
1413
+ runtime = util_models.RuntimeOptions()
1414
+ return await self.list_tag_resources_with_options_async(request, runtime)
1415
+
1300
1416
  def remove_image_with_options(
1301
1417
  self,
1302
1418
  request: ehpc_instant_20230701_models.RemoveImageRequest,
@@ -1313,6 +1429,8 @@ class Client(OpenApiClient):
1313
1429
  query = {}
1314
1430
  if not UtilClient.is_unset(request.image_id):
1315
1431
  query['ImageId'] = request.image_id
1432
+ if not UtilClient.is_unset(request.image_type):
1433
+ query['ImageType'] = request.image_type
1316
1434
  req = open_api_models.OpenApiRequest(
1317
1435
  query=OpenApiUtilClient.query(query)
1318
1436
  )
@@ -1348,6 +1466,8 @@ class Client(OpenApiClient):
1348
1466
  query = {}
1349
1467
  if not UtilClient.is_unset(request.image_id):
1350
1468
  query['ImageId'] = request.image_id
1469
+ if not UtilClient.is_unset(request.image_type):
1470
+ query['ImageType'] = request.image_type
1351
1471
  req = open_api_models.OpenApiRequest(
1352
1472
  query=OpenApiUtilClient.query(query)
1353
1473
  )
@@ -1392,3 +1512,215 @@ class Client(OpenApiClient):
1392
1512
  """
1393
1513
  runtime = util_models.RuntimeOptions()
1394
1514
  return await self.remove_image_with_options_async(request, runtime)
1515
+
1516
+ def tag_resources_with_options(
1517
+ self,
1518
+ request: ehpc_instant_20230701_models.TagResourcesRequest,
1519
+ runtime: util_models.RuntimeOptions,
1520
+ ) -> ehpc_instant_20230701_models.TagResourcesResponse:
1521
+ """
1522
+ @summary 为指定的资源列表统一创建并绑定标签
1523
+
1524
+ @param request: TagResourcesRequest
1525
+ @param runtime: runtime options for this request RuntimeOptions
1526
+ @return: TagResourcesResponse
1527
+ """
1528
+ UtilClient.validate_model(request)
1529
+ query = {}
1530
+ if not UtilClient.is_unset(request.resource_id):
1531
+ query['ResourceId'] = request.resource_id
1532
+ if not UtilClient.is_unset(request.resource_type):
1533
+ query['ResourceType'] = request.resource_type
1534
+ if not UtilClient.is_unset(request.tag):
1535
+ query['Tag'] = request.tag
1536
+ req = open_api_models.OpenApiRequest(
1537
+ query=OpenApiUtilClient.query(query)
1538
+ )
1539
+ params = open_api_models.Params(
1540
+ action='TagResources',
1541
+ version='2023-07-01',
1542
+ protocol='HTTPS',
1543
+ pathname='/',
1544
+ method='POST',
1545
+ auth_type='AK',
1546
+ style='RPC',
1547
+ req_body_type='formData',
1548
+ body_type='json'
1549
+ )
1550
+ return TeaCore.from_map(
1551
+ ehpc_instant_20230701_models.TagResourcesResponse(),
1552
+ self.call_api(params, req, runtime)
1553
+ )
1554
+
1555
+ async def tag_resources_with_options_async(
1556
+ self,
1557
+ request: ehpc_instant_20230701_models.TagResourcesRequest,
1558
+ runtime: util_models.RuntimeOptions,
1559
+ ) -> ehpc_instant_20230701_models.TagResourcesResponse:
1560
+ """
1561
+ @summary 为指定的资源列表统一创建并绑定标签
1562
+
1563
+ @param request: TagResourcesRequest
1564
+ @param runtime: runtime options for this request RuntimeOptions
1565
+ @return: TagResourcesResponse
1566
+ """
1567
+ UtilClient.validate_model(request)
1568
+ query = {}
1569
+ if not UtilClient.is_unset(request.resource_id):
1570
+ query['ResourceId'] = request.resource_id
1571
+ if not UtilClient.is_unset(request.resource_type):
1572
+ query['ResourceType'] = request.resource_type
1573
+ if not UtilClient.is_unset(request.tag):
1574
+ query['Tag'] = request.tag
1575
+ req = open_api_models.OpenApiRequest(
1576
+ query=OpenApiUtilClient.query(query)
1577
+ )
1578
+ params = open_api_models.Params(
1579
+ action='TagResources',
1580
+ version='2023-07-01',
1581
+ protocol='HTTPS',
1582
+ pathname='/',
1583
+ method='POST',
1584
+ auth_type='AK',
1585
+ style='RPC',
1586
+ req_body_type='formData',
1587
+ body_type='json'
1588
+ )
1589
+ return TeaCore.from_map(
1590
+ ehpc_instant_20230701_models.TagResourcesResponse(),
1591
+ await self.call_api_async(params, req, runtime)
1592
+ )
1593
+
1594
+ def tag_resources(
1595
+ self,
1596
+ request: ehpc_instant_20230701_models.TagResourcesRequest,
1597
+ ) -> ehpc_instant_20230701_models.TagResourcesResponse:
1598
+ """
1599
+ @summary 为指定的资源列表统一创建并绑定标签
1600
+
1601
+ @param request: TagResourcesRequest
1602
+ @return: TagResourcesResponse
1603
+ """
1604
+ runtime = util_models.RuntimeOptions()
1605
+ return self.tag_resources_with_options(request, runtime)
1606
+
1607
+ async def tag_resources_async(
1608
+ self,
1609
+ request: ehpc_instant_20230701_models.TagResourcesRequest,
1610
+ ) -> ehpc_instant_20230701_models.TagResourcesResponse:
1611
+ """
1612
+ @summary 为指定的资源列表统一创建并绑定标签
1613
+
1614
+ @param request: TagResourcesRequest
1615
+ @return: TagResourcesResponse
1616
+ """
1617
+ runtime = util_models.RuntimeOptions()
1618
+ return await self.tag_resources_with_options_async(request, runtime)
1619
+
1620
+ def un_tag_resources_with_options(
1621
+ self,
1622
+ request: ehpc_instant_20230701_models.UnTagResourcesRequest,
1623
+ runtime: util_models.RuntimeOptions,
1624
+ ) -> ehpc_instant_20230701_models.UnTagResourcesResponse:
1625
+ """
1626
+ @summary 为指定的ECS资源列表统一解绑标签
1627
+
1628
+ @param request: UnTagResourcesRequest
1629
+ @param runtime: runtime options for this request RuntimeOptions
1630
+ @return: UnTagResourcesResponse
1631
+ """
1632
+ UtilClient.validate_model(request)
1633
+ query = {}
1634
+ if not UtilClient.is_unset(request.all):
1635
+ query['All'] = request.all
1636
+ if not UtilClient.is_unset(request.resource_id):
1637
+ query['ResourceId'] = request.resource_id
1638
+ if not UtilClient.is_unset(request.resource_type):
1639
+ query['ResourceType'] = request.resource_type
1640
+ if not UtilClient.is_unset(request.tag_key):
1641
+ query['TagKey'] = request.tag_key
1642
+ req = open_api_models.OpenApiRequest(
1643
+ query=OpenApiUtilClient.query(query)
1644
+ )
1645
+ params = open_api_models.Params(
1646
+ action='UnTagResources',
1647
+ version='2023-07-01',
1648
+ protocol='HTTPS',
1649
+ pathname='/',
1650
+ method='POST',
1651
+ auth_type='AK',
1652
+ style='RPC',
1653
+ req_body_type='formData',
1654
+ body_type='json'
1655
+ )
1656
+ return TeaCore.from_map(
1657
+ ehpc_instant_20230701_models.UnTagResourcesResponse(),
1658
+ self.call_api(params, req, runtime)
1659
+ )
1660
+
1661
+ async def un_tag_resources_with_options_async(
1662
+ self,
1663
+ request: ehpc_instant_20230701_models.UnTagResourcesRequest,
1664
+ runtime: util_models.RuntimeOptions,
1665
+ ) -> ehpc_instant_20230701_models.UnTagResourcesResponse:
1666
+ """
1667
+ @summary 为指定的ECS资源列表统一解绑标签
1668
+
1669
+ @param request: UnTagResourcesRequest
1670
+ @param runtime: runtime options for this request RuntimeOptions
1671
+ @return: UnTagResourcesResponse
1672
+ """
1673
+ UtilClient.validate_model(request)
1674
+ query = {}
1675
+ if not UtilClient.is_unset(request.all):
1676
+ query['All'] = request.all
1677
+ if not UtilClient.is_unset(request.resource_id):
1678
+ query['ResourceId'] = request.resource_id
1679
+ if not UtilClient.is_unset(request.resource_type):
1680
+ query['ResourceType'] = request.resource_type
1681
+ if not UtilClient.is_unset(request.tag_key):
1682
+ query['TagKey'] = request.tag_key
1683
+ req = open_api_models.OpenApiRequest(
1684
+ query=OpenApiUtilClient.query(query)
1685
+ )
1686
+ params = open_api_models.Params(
1687
+ action='UnTagResources',
1688
+ version='2023-07-01',
1689
+ protocol='HTTPS',
1690
+ pathname='/',
1691
+ method='POST',
1692
+ auth_type='AK',
1693
+ style='RPC',
1694
+ req_body_type='formData',
1695
+ body_type='json'
1696
+ )
1697
+ return TeaCore.from_map(
1698
+ ehpc_instant_20230701_models.UnTagResourcesResponse(),
1699
+ await self.call_api_async(params, req, runtime)
1700
+ )
1701
+
1702
+ def un_tag_resources(
1703
+ self,
1704
+ request: ehpc_instant_20230701_models.UnTagResourcesRequest,
1705
+ ) -> ehpc_instant_20230701_models.UnTagResourcesResponse:
1706
+ """
1707
+ @summary 为指定的ECS资源列表统一解绑标签
1708
+
1709
+ @param request: UnTagResourcesRequest
1710
+ @return: UnTagResourcesResponse
1711
+ """
1712
+ runtime = util_models.RuntimeOptions()
1713
+ return self.un_tag_resources_with_options(request, runtime)
1714
+
1715
+ async def un_tag_resources_async(
1716
+ self,
1717
+ request: ehpc_instant_20230701_models.UnTagResourcesRequest,
1718
+ ) -> ehpc_instant_20230701_models.UnTagResourcesResponse:
1719
+ """
1720
+ @summary 为指定的ECS资源列表统一解绑标签
1721
+
1722
+ @param request: UnTagResourcesRequest
1723
+ @return: UnTagResourcesResponse
1724
+ """
1725
+ runtime = util_models.RuntimeOptions()
1726
+ return await self.un_tag_resources_with_options_async(request, runtime)