tencentcloud-sdk-python 3.0.1351__py2.py3-none-any.whl → 3.0.1353__py2.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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/batch_client.py +0 -46
- tencentcloud/batch/v20170312/errorcodes.py +0 -9
- tencentcloud/batch/v20170312/models.py +21 -962
- tencentcloud/bi/v20220105/models.py +145 -0
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +0 -82
- tencentcloud/cbs/v20170312/models.py +6 -14
- tencentcloud/cdn/v20180606/models.py +0 -46
- tencentcloud/chdfs/v20201112/models.py +2 -2
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +908 -26
- tencentcloud/controlcenter/v20230110/models.py +0 -58
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/models.py +2 -6
- tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20191016/models.py +603 -10
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
- tencentcloud/dbbrain/v20210527/models.py +942 -49
- tencentcloud/dcdb/v20180411/models.py +175 -2
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +284 -0
- tencentcloud/dnspod/v20210323/models.py +0 -70
- tencentcloud/ess/v20201111/models.py +6 -6
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/facefusion/v20220927/models.py +4 -2
- tencentcloud/gs/v20191118/models.py +51 -4
- tencentcloud/hai/v20230812/models.py +2 -18
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +1 -1
- tencentcloud/iotexplorer/v20190423/models.py +141 -420
- tencentcloud/live/v20180801/models.py +4 -6
- tencentcloud/lkeap/v20240522/models.py +12 -6
- tencentcloud/mariadb/v20170312/models.py +151 -2
- tencentcloud/mps/v20190612/models.py +10 -10
- tencentcloud/mqtt/v20240516/models.py +97 -14
- tencentcloud/ocr/v20181119/errorcodes.py +0 -3
- tencentcloud/ocr/v20181119/models.py +143 -558
- tencentcloud/ocr/v20181119/ocr_client.py +0 -23
- tencentcloud/organization/v20210331/models.py +15 -0
- tencentcloud/partners/v20180321/models.py +15 -0
- tencentcloud/sqlserver/v20180328/models.py +15 -0
- tencentcloud/tcb/v20180608/models.py +20 -0
- tencentcloud/tdmq/v20200217/models.py +45 -0
- tencentcloud/teo/v20220106/teo_client.py +6 -2
- tencentcloud/teo/v20220901/models.py +85 -12
- tencentcloud/tione/v20211111/models.py +35 -3
- tencentcloud/trro/v20220325/models.py +992 -44
- tencentcloud/trro/v20220325/trro_client.py +117 -0
- tencentcloud/tse/v20201207/models.py +0 -34
- tencentcloud/vdb/v20230616/models.py +1438 -40
- tencentcloud/vdb/v20230616/vdb_client.py +184 -0
- tencentcloud/vod/v20180717/models.py +15 -0
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1839 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/vpc/v20170312/models.py +300 -0
- tencentcloud/vpc/v20170312/vpc_client.py +26 -0
- tencentcloud/wedata/v20210820/models.py +808 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/RECORD +66 -66
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1351.dist-info → tencentcloud_sdk_python-3.0.1353.dist-info}/top_level.txt +0 -0
@@ -1409,57 +1409,6 @@ class ComputeNodeMetrics(AbstractModel):
|
|
1409
1409
|
|
1410
1410
|
|
1411
1411
|
|
1412
|
-
class CpmVirtualPrivateCloud(AbstractModel):
|
1413
|
-
"""黑石私有网络
|
1414
|
-
|
1415
|
-
"""
|
1416
|
-
|
1417
|
-
def __init__(self):
|
1418
|
-
r"""
|
1419
|
-
:param _VpcId: 黑石私有网络ID
|
1420
|
-
:type VpcId: str
|
1421
|
-
:param _SubnetId: 黑石子网ID
|
1422
|
-
:type SubnetId: str
|
1423
|
-
"""
|
1424
|
-
self._VpcId = None
|
1425
|
-
self._SubnetId = None
|
1426
|
-
|
1427
|
-
@property
|
1428
|
-
def VpcId(self):
|
1429
|
-
"""黑石私有网络ID
|
1430
|
-
:rtype: str
|
1431
|
-
"""
|
1432
|
-
return self._VpcId
|
1433
|
-
|
1434
|
-
@VpcId.setter
|
1435
|
-
def VpcId(self, VpcId):
|
1436
|
-
self._VpcId = VpcId
|
1437
|
-
|
1438
|
-
@property
|
1439
|
-
def SubnetId(self):
|
1440
|
-
"""黑石子网ID
|
1441
|
-
:rtype: str
|
1442
|
-
"""
|
1443
|
-
return self._SubnetId
|
1444
|
-
|
1445
|
-
@SubnetId.setter
|
1446
|
-
def SubnetId(self, SubnetId):
|
1447
|
-
self._SubnetId = SubnetId
|
1448
|
-
|
1449
|
-
|
1450
|
-
def _deserialize(self, params):
|
1451
|
-
self._VpcId = params.get("VpcId")
|
1452
|
-
self._SubnetId = params.get("SubnetId")
|
1453
|
-
memeber_set = set(params.keys())
|
1454
|
-
for name, value in vars(self).items():
|
1455
|
-
property_name = name[1:]
|
1456
|
-
if property_name in memeber_set:
|
1457
|
-
memeber_set.remove(property_name)
|
1458
|
-
if len(memeber_set) > 0:
|
1459
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
1412
|
class CreateComputeEnvRequest(AbstractModel):
|
1464
1413
|
"""CreateComputeEnv请求参数结构体
|
1465
1414
|
|
@@ -1573,119 +1522,6 @@ class CreateComputeEnvResponse(AbstractModel):
|
|
1573
1522
|
self._RequestId = params.get("RequestId")
|
1574
1523
|
|
1575
1524
|
|
1576
|
-
class CreateCpmComputeEnvRequest(AbstractModel):
|
1577
|
-
"""CreateCpmComputeEnv请求参数结构体
|
1578
|
-
|
1579
|
-
"""
|
1580
|
-
|
1581
|
-
def __init__(self):
|
1582
|
-
r"""
|
1583
|
-
:param _ComputeEnv: 计算环境信息
|
1584
|
-
:type ComputeEnv: :class:`tencentcloud.batch.v20170312.models.NamedCpmComputeEnv`
|
1585
|
-
:param _Placement: 位置信息
|
1586
|
-
:type Placement: :class:`tencentcloud.batch.v20170312.models.Placement`
|
1587
|
-
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由用户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
1588
|
-
:type ClientToken: str
|
1589
|
-
"""
|
1590
|
-
self._ComputeEnv = None
|
1591
|
-
self._Placement = None
|
1592
|
-
self._ClientToken = None
|
1593
|
-
|
1594
|
-
@property
|
1595
|
-
def ComputeEnv(self):
|
1596
|
-
"""计算环境信息
|
1597
|
-
:rtype: :class:`tencentcloud.batch.v20170312.models.NamedCpmComputeEnv`
|
1598
|
-
"""
|
1599
|
-
return self._ComputeEnv
|
1600
|
-
|
1601
|
-
@ComputeEnv.setter
|
1602
|
-
def ComputeEnv(self, ComputeEnv):
|
1603
|
-
self._ComputeEnv = ComputeEnv
|
1604
|
-
|
1605
|
-
@property
|
1606
|
-
def Placement(self):
|
1607
|
-
"""位置信息
|
1608
|
-
:rtype: :class:`tencentcloud.batch.v20170312.models.Placement`
|
1609
|
-
"""
|
1610
|
-
return self._Placement
|
1611
|
-
|
1612
|
-
@Placement.setter
|
1613
|
-
def Placement(self, Placement):
|
1614
|
-
self._Placement = Placement
|
1615
|
-
|
1616
|
-
@property
|
1617
|
-
def ClientToken(self):
|
1618
|
-
"""用于保证请求幂等性的字符串。该字符串由用户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
1619
|
-
:rtype: str
|
1620
|
-
"""
|
1621
|
-
return self._ClientToken
|
1622
|
-
|
1623
|
-
@ClientToken.setter
|
1624
|
-
def ClientToken(self, ClientToken):
|
1625
|
-
self._ClientToken = ClientToken
|
1626
|
-
|
1627
|
-
|
1628
|
-
def _deserialize(self, params):
|
1629
|
-
if params.get("ComputeEnv") is not None:
|
1630
|
-
self._ComputeEnv = NamedCpmComputeEnv()
|
1631
|
-
self._ComputeEnv._deserialize(params.get("ComputeEnv"))
|
1632
|
-
if params.get("Placement") is not None:
|
1633
|
-
self._Placement = Placement()
|
1634
|
-
self._Placement._deserialize(params.get("Placement"))
|
1635
|
-
self._ClientToken = params.get("ClientToken")
|
1636
|
-
memeber_set = set(params.keys())
|
1637
|
-
for name, value in vars(self).items():
|
1638
|
-
property_name = name[1:]
|
1639
|
-
if property_name in memeber_set:
|
1640
|
-
memeber_set.remove(property_name)
|
1641
|
-
if len(memeber_set) > 0:
|
1642
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
class CreateCpmComputeEnvResponse(AbstractModel):
|
1647
|
-
"""CreateCpmComputeEnv返回参数结构体
|
1648
|
-
|
1649
|
-
"""
|
1650
|
-
|
1651
|
-
def __init__(self):
|
1652
|
-
r"""
|
1653
|
-
:param _EnvId: 计算环境ID
|
1654
|
-
:type EnvId: str
|
1655
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1656
|
-
:type RequestId: str
|
1657
|
-
"""
|
1658
|
-
self._EnvId = None
|
1659
|
-
self._RequestId = None
|
1660
|
-
|
1661
|
-
@property
|
1662
|
-
def EnvId(self):
|
1663
|
-
"""计算环境ID
|
1664
|
-
:rtype: str
|
1665
|
-
"""
|
1666
|
-
return self._EnvId
|
1667
|
-
|
1668
|
-
@EnvId.setter
|
1669
|
-
def EnvId(self, EnvId):
|
1670
|
-
self._EnvId = EnvId
|
1671
|
-
|
1672
|
-
@property
|
1673
|
-
def RequestId(self):
|
1674
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1675
|
-
:rtype: str
|
1676
|
-
"""
|
1677
|
-
return self._RequestId
|
1678
|
-
|
1679
|
-
@RequestId.setter
|
1680
|
-
def RequestId(self, RequestId):
|
1681
|
-
self._RequestId = RequestId
|
1682
|
-
|
1683
|
-
|
1684
|
-
def _deserialize(self, params):
|
1685
|
-
self._EnvId = params.get("EnvId")
|
1686
|
-
self._RequestId = params.get("RequestId")
|
1687
|
-
|
1688
|
-
|
1689
1525
|
class CreateTaskTemplateRequest(AbstractModel):
|
1690
1526
|
"""CreateTaskTemplate请求参数结构体
|
1691
1527
|
|
@@ -3365,90 +3201,6 @@ class DescribeComputeEnvsResponse(AbstractModel):
|
|
3365
3201
|
self._RequestId = params.get("RequestId")
|
3366
3202
|
|
3367
3203
|
|
3368
|
-
class DescribeCpmOsInfoRequest(AbstractModel):
|
3369
|
-
"""DescribeCpmOsInfo请求参数结构体
|
3370
|
-
|
3371
|
-
"""
|
3372
|
-
|
3373
|
-
def __init__(self):
|
3374
|
-
r"""
|
3375
|
-
:param _DeviceClassCode: 黑石设备类型代号。 可以从[DescribeDeviceClass](https://cloud.tencent.com/document/api/386/32911)查询设备类型列表。
|
3376
|
-
:type DeviceClassCode: str
|
3377
|
-
"""
|
3378
|
-
self._DeviceClassCode = None
|
3379
|
-
|
3380
|
-
@property
|
3381
|
-
def DeviceClassCode(self):
|
3382
|
-
"""黑石设备类型代号。 可以从[DescribeDeviceClass](https://cloud.tencent.com/document/api/386/32911)查询设备类型列表。
|
3383
|
-
:rtype: str
|
3384
|
-
"""
|
3385
|
-
return self._DeviceClassCode
|
3386
|
-
|
3387
|
-
@DeviceClassCode.setter
|
3388
|
-
def DeviceClassCode(self, DeviceClassCode):
|
3389
|
-
self._DeviceClassCode = DeviceClassCode
|
3390
|
-
|
3391
|
-
|
3392
|
-
def _deserialize(self, params):
|
3393
|
-
self._DeviceClassCode = params.get("DeviceClassCode")
|
3394
|
-
memeber_set = set(params.keys())
|
3395
|
-
for name, value in vars(self).items():
|
3396
|
-
property_name = name[1:]
|
3397
|
-
if property_name in memeber_set:
|
3398
|
-
memeber_set.remove(property_name)
|
3399
|
-
if len(memeber_set) > 0:
|
3400
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3401
|
-
|
3402
|
-
|
3403
|
-
|
3404
|
-
class DescribeCpmOsInfoResponse(AbstractModel):
|
3405
|
-
"""DescribeCpmOsInfo返回参数结构体
|
3406
|
-
|
3407
|
-
"""
|
3408
|
-
|
3409
|
-
def __init__(self):
|
3410
|
-
r"""
|
3411
|
-
:param _OsInfoSet: 操作系统信息列表。
|
3412
|
-
:type OsInfoSet: list of OsInfo
|
3413
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3414
|
-
:type RequestId: str
|
3415
|
-
"""
|
3416
|
-
self._OsInfoSet = None
|
3417
|
-
self._RequestId = None
|
3418
|
-
|
3419
|
-
@property
|
3420
|
-
def OsInfoSet(self):
|
3421
|
-
"""操作系统信息列表。
|
3422
|
-
:rtype: list of OsInfo
|
3423
|
-
"""
|
3424
|
-
return self._OsInfoSet
|
3425
|
-
|
3426
|
-
@OsInfoSet.setter
|
3427
|
-
def OsInfoSet(self, OsInfoSet):
|
3428
|
-
self._OsInfoSet = OsInfoSet
|
3429
|
-
|
3430
|
-
@property
|
3431
|
-
def RequestId(self):
|
3432
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3433
|
-
:rtype: str
|
3434
|
-
"""
|
3435
|
-
return self._RequestId
|
3436
|
-
|
3437
|
-
@RequestId.setter
|
3438
|
-
def RequestId(self, RequestId):
|
3439
|
-
self._RequestId = RequestId
|
3440
|
-
|
3441
|
-
|
3442
|
-
def _deserialize(self, params):
|
3443
|
-
if params.get("OsInfoSet") is not None:
|
3444
|
-
self._OsInfoSet = []
|
3445
|
-
for item in params.get("OsInfoSet"):
|
3446
|
-
obj = OsInfo()
|
3447
|
-
obj._deserialize(item)
|
3448
|
-
self._OsInfoSet.append(obj)
|
3449
|
-
self._RequestId = params.get("RequestId")
|
3450
|
-
|
3451
|
-
|
3452
3204
|
class DescribeCvmZoneInstanceConfigInfosRequest(AbstractModel):
|
3453
3205
|
"""DescribeCvmZoneInstanceConfigInfos请求参数结构体
|
3454
3206
|
|
@@ -5384,383 +5136,42 @@ class EnvData(AbstractModel):
|
|
5384
5136
|
|
5385
5137
|
|
5386
5138
|
|
5387
|
-
class
|
5388
|
-
"""
|
5139
|
+
class EnvVar(AbstractModel):
|
5140
|
+
"""环境变量
|
5389
5141
|
|
5390
5142
|
"""
|
5391
5143
|
|
5392
5144
|
def __init__(self):
|
5393
5145
|
r"""
|
5394
|
-
:param
|
5395
|
-
:type
|
5396
|
-
:param
|
5397
|
-
:type
|
5398
|
-
:param _TimeUnit: 购买时长单位,取值:m(月)。
|
5399
|
-
:type TimeUnit: str
|
5400
|
-
:param _TimeSpan: 购买时长。
|
5401
|
-
:type TimeSpan: int
|
5402
|
-
:param _RaidId: RAID类型ID。
|
5403
|
-
:type RaidId: int
|
5404
|
-
:param _OsTypeId: 部署服务器的操作系统ID。通过批量计算接口DescribeCpmOsInfo查询操作系统信息。
|
5405
|
-
:type OsTypeId: int
|
5406
|
-
:param _VirtualPrivateClouds: 黑石VPC列表,目前仅支持一个VPC。
|
5407
|
-
:type VirtualPrivateClouds: list of CpmVirtualPrivateCloud
|
5408
|
-
:param _NeedSecurityAgent: 是否安装安全Agent,取值:1(安装) 0(不安装),默认取值0。
|
5409
|
-
:type NeedSecurityAgent: int
|
5410
|
-
:param _NeedMonitorAgent: 是否安装监控Agent,取值:1(安装) 0(不安装),默认取值0。
|
5411
|
-
:type NeedMonitorAgent: int
|
5412
|
-
:param _AutoRenewFlag: 自动续费标志位,取值:1(自动续费) 0(不自动续费),默认取值0。
|
5413
|
-
:type AutoRenewFlag: int
|
5414
|
-
:param _IsZoning: 数据盘是否格式化,取值:1(格式化) 0(不格式化),默认取值为1。
|
5415
|
-
:type IsZoning: int
|
5416
|
-
:param _FileSystem: 指定数据盘的文件系统格式,当前支持 ext4和xfs选项, 默认为ext4。 参数适用于数据盘和Linux, 且在IsZoning为1时生效。
|
5417
|
-
:type FileSystem: str
|
5418
|
-
:param _Password: 设置Linux root或Windows Administrator的密码。若不设置此参数,默认情况下会随机生成密码,并以站内信方式通知到用户。
|
5419
|
-
:type Password: str
|
5420
|
-
:param _ApplyEip: 是否分配弹性公网IP,取值:1(分配) 0(不分配),默认取值0。
|
5421
|
-
:type ApplyEip: int
|
5422
|
-
:param _EipPayMode: 弹性公网IP计费模式,取值:flow(按流量计费) bandwidth(按带宽计费),默认取值flow。
|
5423
|
-
:type EipPayMode: str
|
5424
|
-
:param _EipBandwidth: 弹性公网IP带宽限制,单位Mb。
|
5425
|
-
:type EipBandwidth: int
|
5426
|
-
:param _ImageId: 自定义镜像ID,取值生效时用自定义镜像部署物理机。
|
5427
|
-
:type ImageId: str
|
5428
|
-
:param _SysRootSpace: 系统盘根分区大小,单位为G,默认取值10G。
|
5429
|
-
:type SysRootSpace: int
|
5430
|
-
:param _SysDataSpace: /data分区大小,单位为G。如果系统盘还有剩余大小,会分配给/data分区。(特殊情况:如果剩余空间不足10G,并且没有指定/data分区,则剩余空间会分配给Root分区)。
|
5431
|
-
:type SysDataSpace: int
|
5432
|
-
:param _HyperThreading: 是否开启超线程,取值:1(开启) 0(关闭),默认取值1。
|
5433
|
-
:type HyperThreading: int
|
5434
|
-
:param _LanIps: 指定的内网IP列表,不指定时自动分配。
|
5435
|
-
:type LanIps: list of str
|
5436
|
-
"""
|
5437
|
-
self._Zones = None
|
5438
|
-
self._InstanceTypes = None
|
5439
|
-
self._TimeUnit = None
|
5440
|
-
self._TimeSpan = None
|
5441
|
-
self._RaidId = None
|
5442
|
-
self._OsTypeId = None
|
5443
|
-
self._VirtualPrivateClouds = None
|
5444
|
-
self._NeedSecurityAgent = None
|
5445
|
-
self._NeedMonitorAgent = None
|
5446
|
-
self._AutoRenewFlag = None
|
5447
|
-
self._IsZoning = None
|
5448
|
-
self._FileSystem = None
|
5449
|
-
self._Password = None
|
5450
|
-
self._ApplyEip = None
|
5451
|
-
self._EipPayMode = None
|
5452
|
-
self._EipBandwidth = None
|
5453
|
-
self._ImageId = None
|
5454
|
-
self._SysRootSpace = None
|
5455
|
-
self._SysDataSpace = None
|
5456
|
-
self._HyperThreading = None
|
5457
|
-
self._LanIps = None
|
5458
|
-
|
5459
|
-
@property
|
5460
|
-
def Zones(self):
|
5461
|
-
"""黑石可用区名称列表。如ap-guangzhou-bls-1。不是Batch可用区名称。目前仅支持一个可用区名称。
|
5462
|
-
:rtype: list of str
|
5146
|
+
:param _Name: 环境变量名称
|
5147
|
+
:type Name: str
|
5148
|
+
:param _Value: 环境变量取值
|
5149
|
+
:type Value: str
|
5463
5150
|
"""
|
5464
|
-
|
5465
|
-
|
5466
|
-
@Zones.setter
|
5467
|
-
def Zones(self, Zones):
|
5468
|
-
self._Zones = Zones
|
5151
|
+
self._Name = None
|
5152
|
+
self._Value = None
|
5469
5153
|
|
5470
5154
|
@property
|
5471
|
-
def
|
5472
|
-
"""
|
5473
|
-
:rtype:
|
5155
|
+
def Name(self):
|
5156
|
+
"""环境变量名称
|
5157
|
+
:rtype: str
|
5474
5158
|
"""
|
5475
|
-
return self.
|
5159
|
+
return self._Name
|
5476
5160
|
|
5477
|
-
@
|
5478
|
-
def
|
5479
|
-
self.
|
5161
|
+
@Name.setter
|
5162
|
+
def Name(self, Name):
|
5163
|
+
self._Name = Name
|
5480
5164
|
|
5481
5165
|
@property
|
5482
|
-
def
|
5483
|
-
"""
|
5166
|
+
def Value(self):
|
5167
|
+
"""环境变量取值
|
5484
5168
|
:rtype: str
|
5485
5169
|
"""
|
5486
|
-
return self.
|
5487
|
-
|
5488
|
-
@TimeUnit.setter
|
5489
|
-
def TimeUnit(self, TimeUnit):
|
5490
|
-
self._TimeUnit = TimeUnit
|
5170
|
+
return self._Value
|
5491
5171
|
|
5492
|
-
@
|
5493
|
-
def
|
5494
|
-
|
5495
|
-
:rtype: int
|
5496
|
-
"""
|
5497
|
-
return self._TimeSpan
|
5498
|
-
|
5499
|
-
@TimeSpan.setter
|
5500
|
-
def TimeSpan(self, TimeSpan):
|
5501
|
-
self._TimeSpan = TimeSpan
|
5502
|
-
|
5503
|
-
@property
|
5504
|
-
def RaidId(self):
|
5505
|
-
"""RAID类型ID。
|
5506
|
-
:rtype: int
|
5507
|
-
"""
|
5508
|
-
return self._RaidId
|
5509
|
-
|
5510
|
-
@RaidId.setter
|
5511
|
-
def RaidId(self, RaidId):
|
5512
|
-
self._RaidId = RaidId
|
5513
|
-
|
5514
|
-
@property
|
5515
|
-
def OsTypeId(self):
|
5516
|
-
"""部署服务器的操作系统ID。通过批量计算接口DescribeCpmOsInfo查询操作系统信息。
|
5517
|
-
:rtype: int
|
5518
|
-
"""
|
5519
|
-
return self._OsTypeId
|
5520
|
-
|
5521
|
-
@OsTypeId.setter
|
5522
|
-
def OsTypeId(self, OsTypeId):
|
5523
|
-
self._OsTypeId = OsTypeId
|
5524
|
-
|
5525
|
-
@property
|
5526
|
-
def VirtualPrivateClouds(self):
|
5527
|
-
"""黑石VPC列表,目前仅支持一个VPC。
|
5528
|
-
:rtype: list of CpmVirtualPrivateCloud
|
5529
|
-
"""
|
5530
|
-
return self._VirtualPrivateClouds
|
5531
|
-
|
5532
|
-
@VirtualPrivateClouds.setter
|
5533
|
-
def VirtualPrivateClouds(self, VirtualPrivateClouds):
|
5534
|
-
self._VirtualPrivateClouds = VirtualPrivateClouds
|
5535
|
-
|
5536
|
-
@property
|
5537
|
-
def NeedSecurityAgent(self):
|
5538
|
-
"""是否安装安全Agent,取值:1(安装) 0(不安装),默认取值0。
|
5539
|
-
:rtype: int
|
5540
|
-
"""
|
5541
|
-
return self._NeedSecurityAgent
|
5542
|
-
|
5543
|
-
@NeedSecurityAgent.setter
|
5544
|
-
def NeedSecurityAgent(self, NeedSecurityAgent):
|
5545
|
-
self._NeedSecurityAgent = NeedSecurityAgent
|
5546
|
-
|
5547
|
-
@property
|
5548
|
-
def NeedMonitorAgent(self):
|
5549
|
-
"""是否安装监控Agent,取值:1(安装) 0(不安装),默认取值0。
|
5550
|
-
:rtype: int
|
5551
|
-
"""
|
5552
|
-
return self._NeedMonitorAgent
|
5553
|
-
|
5554
|
-
@NeedMonitorAgent.setter
|
5555
|
-
def NeedMonitorAgent(self, NeedMonitorAgent):
|
5556
|
-
self._NeedMonitorAgent = NeedMonitorAgent
|
5557
|
-
|
5558
|
-
@property
|
5559
|
-
def AutoRenewFlag(self):
|
5560
|
-
"""自动续费标志位,取值:1(自动续费) 0(不自动续费),默认取值0。
|
5561
|
-
:rtype: int
|
5562
|
-
"""
|
5563
|
-
return self._AutoRenewFlag
|
5564
|
-
|
5565
|
-
@AutoRenewFlag.setter
|
5566
|
-
def AutoRenewFlag(self, AutoRenewFlag):
|
5567
|
-
self._AutoRenewFlag = AutoRenewFlag
|
5568
|
-
|
5569
|
-
@property
|
5570
|
-
def IsZoning(self):
|
5571
|
-
"""数据盘是否格式化,取值:1(格式化) 0(不格式化),默认取值为1。
|
5572
|
-
:rtype: int
|
5573
|
-
"""
|
5574
|
-
return self._IsZoning
|
5575
|
-
|
5576
|
-
@IsZoning.setter
|
5577
|
-
def IsZoning(self, IsZoning):
|
5578
|
-
self._IsZoning = IsZoning
|
5579
|
-
|
5580
|
-
@property
|
5581
|
-
def FileSystem(self):
|
5582
|
-
"""指定数据盘的文件系统格式,当前支持 ext4和xfs选项, 默认为ext4。 参数适用于数据盘和Linux, 且在IsZoning为1时生效。
|
5583
|
-
:rtype: str
|
5584
|
-
"""
|
5585
|
-
return self._FileSystem
|
5586
|
-
|
5587
|
-
@FileSystem.setter
|
5588
|
-
def FileSystem(self, FileSystem):
|
5589
|
-
self._FileSystem = FileSystem
|
5590
|
-
|
5591
|
-
@property
|
5592
|
-
def Password(self):
|
5593
|
-
"""设置Linux root或Windows Administrator的密码。若不设置此参数,默认情况下会随机生成密码,并以站内信方式通知到用户。
|
5594
|
-
:rtype: str
|
5595
|
-
"""
|
5596
|
-
return self._Password
|
5597
|
-
|
5598
|
-
@Password.setter
|
5599
|
-
def Password(self, Password):
|
5600
|
-
self._Password = Password
|
5601
|
-
|
5602
|
-
@property
|
5603
|
-
def ApplyEip(self):
|
5604
|
-
"""是否分配弹性公网IP,取值:1(分配) 0(不分配),默认取值0。
|
5605
|
-
:rtype: int
|
5606
|
-
"""
|
5607
|
-
return self._ApplyEip
|
5608
|
-
|
5609
|
-
@ApplyEip.setter
|
5610
|
-
def ApplyEip(self, ApplyEip):
|
5611
|
-
self._ApplyEip = ApplyEip
|
5612
|
-
|
5613
|
-
@property
|
5614
|
-
def EipPayMode(self):
|
5615
|
-
"""弹性公网IP计费模式,取值:flow(按流量计费) bandwidth(按带宽计费),默认取值flow。
|
5616
|
-
:rtype: str
|
5617
|
-
"""
|
5618
|
-
return self._EipPayMode
|
5619
|
-
|
5620
|
-
@EipPayMode.setter
|
5621
|
-
def EipPayMode(self, EipPayMode):
|
5622
|
-
self._EipPayMode = EipPayMode
|
5623
|
-
|
5624
|
-
@property
|
5625
|
-
def EipBandwidth(self):
|
5626
|
-
"""弹性公网IP带宽限制,单位Mb。
|
5627
|
-
:rtype: int
|
5628
|
-
"""
|
5629
|
-
return self._EipBandwidth
|
5630
|
-
|
5631
|
-
@EipBandwidth.setter
|
5632
|
-
def EipBandwidth(self, EipBandwidth):
|
5633
|
-
self._EipBandwidth = EipBandwidth
|
5634
|
-
|
5635
|
-
@property
|
5636
|
-
def ImageId(self):
|
5637
|
-
"""自定义镜像ID,取值生效时用自定义镜像部署物理机。
|
5638
|
-
:rtype: str
|
5639
|
-
"""
|
5640
|
-
return self._ImageId
|
5641
|
-
|
5642
|
-
@ImageId.setter
|
5643
|
-
def ImageId(self, ImageId):
|
5644
|
-
self._ImageId = ImageId
|
5645
|
-
|
5646
|
-
@property
|
5647
|
-
def SysRootSpace(self):
|
5648
|
-
"""系统盘根分区大小,单位为G,默认取值10G。
|
5649
|
-
:rtype: int
|
5650
|
-
"""
|
5651
|
-
return self._SysRootSpace
|
5652
|
-
|
5653
|
-
@SysRootSpace.setter
|
5654
|
-
def SysRootSpace(self, SysRootSpace):
|
5655
|
-
self._SysRootSpace = SysRootSpace
|
5656
|
-
|
5657
|
-
@property
|
5658
|
-
def SysDataSpace(self):
|
5659
|
-
"""/data分区大小,单位为G。如果系统盘还有剩余大小,会分配给/data分区。(特殊情况:如果剩余空间不足10G,并且没有指定/data分区,则剩余空间会分配给Root分区)。
|
5660
|
-
:rtype: int
|
5661
|
-
"""
|
5662
|
-
return self._SysDataSpace
|
5663
|
-
|
5664
|
-
@SysDataSpace.setter
|
5665
|
-
def SysDataSpace(self, SysDataSpace):
|
5666
|
-
self._SysDataSpace = SysDataSpace
|
5667
|
-
|
5668
|
-
@property
|
5669
|
-
def HyperThreading(self):
|
5670
|
-
"""是否开启超线程,取值:1(开启) 0(关闭),默认取值1。
|
5671
|
-
:rtype: int
|
5672
|
-
"""
|
5673
|
-
return self._HyperThreading
|
5674
|
-
|
5675
|
-
@HyperThreading.setter
|
5676
|
-
def HyperThreading(self, HyperThreading):
|
5677
|
-
self._HyperThreading = HyperThreading
|
5678
|
-
|
5679
|
-
@property
|
5680
|
-
def LanIps(self):
|
5681
|
-
"""指定的内网IP列表,不指定时自动分配。
|
5682
|
-
:rtype: list of str
|
5683
|
-
"""
|
5684
|
-
return self._LanIps
|
5685
|
-
|
5686
|
-
@LanIps.setter
|
5687
|
-
def LanIps(self, LanIps):
|
5688
|
-
self._LanIps = LanIps
|
5689
|
-
|
5690
|
-
|
5691
|
-
def _deserialize(self, params):
|
5692
|
-
self._Zones = params.get("Zones")
|
5693
|
-
self._InstanceTypes = params.get("InstanceTypes")
|
5694
|
-
self._TimeUnit = params.get("TimeUnit")
|
5695
|
-
self._TimeSpan = params.get("TimeSpan")
|
5696
|
-
self._RaidId = params.get("RaidId")
|
5697
|
-
self._OsTypeId = params.get("OsTypeId")
|
5698
|
-
if params.get("VirtualPrivateClouds") is not None:
|
5699
|
-
self._VirtualPrivateClouds = []
|
5700
|
-
for item in params.get("VirtualPrivateClouds"):
|
5701
|
-
obj = CpmVirtualPrivateCloud()
|
5702
|
-
obj._deserialize(item)
|
5703
|
-
self._VirtualPrivateClouds.append(obj)
|
5704
|
-
self._NeedSecurityAgent = params.get("NeedSecurityAgent")
|
5705
|
-
self._NeedMonitorAgent = params.get("NeedMonitorAgent")
|
5706
|
-
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
5707
|
-
self._IsZoning = params.get("IsZoning")
|
5708
|
-
self._FileSystem = params.get("FileSystem")
|
5709
|
-
self._Password = params.get("Password")
|
5710
|
-
self._ApplyEip = params.get("ApplyEip")
|
5711
|
-
self._EipPayMode = params.get("EipPayMode")
|
5712
|
-
self._EipBandwidth = params.get("EipBandwidth")
|
5713
|
-
self._ImageId = params.get("ImageId")
|
5714
|
-
self._SysRootSpace = params.get("SysRootSpace")
|
5715
|
-
self._SysDataSpace = params.get("SysDataSpace")
|
5716
|
-
self._HyperThreading = params.get("HyperThreading")
|
5717
|
-
self._LanIps = params.get("LanIps")
|
5718
|
-
memeber_set = set(params.keys())
|
5719
|
-
for name, value in vars(self).items():
|
5720
|
-
property_name = name[1:]
|
5721
|
-
if property_name in memeber_set:
|
5722
|
-
memeber_set.remove(property_name)
|
5723
|
-
if len(memeber_set) > 0:
|
5724
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5725
|
-
|
5726
|
-
|
5727
|
-
|
5728
|
-
class EnvVar(AbstractModel):
|
5729
|
-
"""环境变量
|
5730
|
-
|
5731
|
-
"""
|
5732
|
-
|
5733
|
-
def __init__(self):
|
5734
|
-
r"""
|
5735
|
-
:param _Name: 环境变量名称
|
5736
|
-
:type Name: str
|
5737
|
-
:param _Value: 环境变量取值
|
5738
|
-
:type Value: str
|
5739
|
-
"""
|
5740
|
-
self._Name = None
|
5741
|
-
self._Value = None
|
5742
|
-
|
5743
|
-
@property
|
5744
|
-
def Name(self):
|
5745
|
-
"""环境变量名称
|
5746
|
-
:rtype: str
|
5747
|
-
"""
|
5748
|
-
return self._Name
|
5749
|
-
|
5750
|
-
@Name.setter
|
5751
|
-
def Name(self, Name):
|
5752
|
-
self._Name = Name
|
5753
|
-
|
5754
|
-
@property
|
5755
|
-
def Value(self):
|
5756
|
-
"""环境变量取值
|
5757
|
-
:rtype: str
|
5758
|
-
"""
|
5759
|
-
return self._Value
|
5760
|
-
|
5761
|
-
@Value.setter
|
5762
|
-
def Value(self, Value):
|
5763
|
-
self._Value = Value
|
5172
|
+
@Value.setter
|
5173
|
+
def Value(self, Value):
|
5174
|
+
self._Value = Value
|
5764
5175
|
|
5765
5176
|
|
5766
5177
|
def _deserialize(self, params):
|
@@ -8281,232 +7692,6 @@ TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>
|
|
8281
7692
|
|
8282
7693
|
|
8283
7694
|
|
8284
|
-
class NamedCpmComputeEnv(AbstractModel):
|
8285
|
-
"""黑石计算环境
|
8286
|
-
|
8287
|
-
"""
|
8288
|
-
|
8289
|
-
def __init__(self):
|
8290
|
-
r"""
|
8291
|
-
:param _EnvName: 计算环境名称
|
8292
|
-
:type EnvName: str
|
8293
|
-
:param _EnvData: 计算环境具体参数
|
8294
|
-
:type EnvData: :class:`tencentcloud.batch.v20170312.models.EnvDataCpm`
|
8295
|
-
:param _DesiredComputeNodeCount: 计算节点期望个数
|
8296
|
-
:type DesiredComputeNodeCount: int
|
8297
|
-
:param _EnvDescription: 计算环境描述
|
8298
|
-
:type EnvDescription: str
|
8299
|
-
:param _EnvType: 计算环境管理类型, 取值MANAGED。
|
8300
|
-
:type EnvType: str
|
8301
|
-
:param _Authentications: 授权信息
|
8302
|
-
:type Authentications: list of Authentication
|
8303
|
-
:param _InputMappings: 输入映射信息
|
8304
|
-
:type InputMappings: list of InputMapping
|
8305
|
-
:param _Notifications: 通知信息
|
8306
|
-
:type Notifications: :class:`tencentcloud.batch.v20170312.models.Notification`
|
8307
|
-
:param _ActionIfComputeNodeInactive: 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
8308
|
-
:type ActionIfComputeNodeInactive: str
|
8309
|
-
:param _ResourceMaxRetryCount: 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7。
|
8310
|
-
:type ResourceMaxRetryCount: int
|
8311
|
-
:param _Tags: 标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。
|
8312
|
-
:type Tags: list of Tag
|
8313
|
-
:param _NotificationTarget: 表示通知信息的通知目标类型。
|
8314
|
-
取值范围:CMQ,TDMQ_CMQ。
|
8315
|
-
CMQ:表示向腾讯云CMQ发送消息。
|
8316
|
-
TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860)
|
8317
|
-
:type NotificationTarget: str
|
8318
|
-
"""
|
8319
|
-
self._EnvName = None
|
8320
|
-
self._EnvData = None
|
8321
|
-
self._DesiredComputeNodeCount = None
|
8322
|
-
self._EnvDescription = None
|
8323
|
-
self._EnvType = None
|
8324
|
-
self._Authentications = None
|
8325
|
-
self._InputMappings = None
|
8326
|
-
self._Notifications = None
|
8327
|
-
self._ActionIfComputeNodeInactive = None
|
8328
|
-
self._ResourceMaxRetryCount = None
|
8329
|
-
self._Tags = None
|
8330
|
-
self._NotificationTarget = None
|
8331
|
-
|
8332
|
-
@property
|
8333
|
-
def EnvName(self):
|
8334
|
-
"""计算环境名称
|
8335
|
-
:rtype: str
|
8336
|
-
"""
|
8337
|
-
return self._EnvName
|
8338
|
-
|
8339
|
-
@EnvName.setter
|
8340
|
-
def EnvName(self, EnvName):
|
8341
|
-
self._EnvName = EnvName
|
8342
|
-
|
8343
|
-
@property
|
8344
|
-
def EnvData(self):
|
8345
|
-
"""计算环境具体参数
|
8346
|
-
:rtype: :class:`tencentcloud.batch.v20170312.models.EnvDataCpm`
|
8347
|
-
"""
|
8348
|
-
return self._EnvData
|
8349
|
-
|
8350
|
-
@EnvData.setter
|
8351
|
-
def EnvData(self, EnvData):
|
8352
|
-
self._EnvData = EnvData
|
8353
|
-
|
8354
|
-
@property
|
8355
|
-
def DesiredComputeNodeCount(self):
|
8356
|
-
"""计算节点期望个数
|
8357
|
-
:rtype: int
|
8358
|
-
"""
|
8359
|
-
return self._DesiredComputeNodeCount
|
8360
|
-
|
8361
|
-
@DesiredComputeNodeCount.setter
|
8362
|
-
def DesiredComputeNodeCount(self, DesiredComputeNodeCount):
|
8363
|
-
self._DesiredComputeNodeCount = DesiredComputeNodeCount
|
8364
|
-
|
8365
|
-
@property
|
8366
|
-
def EnvDescription(self):
|
8367
|
-
"""计算环境描述
|
8368
|
-
:rtype: str
|
8369
|
-
"""
|
8370
|
-
return self._EnvDescription
|
8371
|
-
|
8372
|
-
@EnvDescription.setter
|
8373
|
-
def EnvDescription(self, EnvDescription):
|
8374
|
-
self._EnvDescription = EnvDescription
|
8375
|
-
|
8376
|
-
@property
|
8377
|
-
def EnvType(self):
|
8378
|
-
"""计算环境管理类型, 取值MANAGED。
|
8379
|
-
:rtype: str
|
8380
|
-
"""
|
8381
|
-
return self._EnvType
|
8382
|
-
|
8383
|
-
@EnvType.setter
|
8384
|
-
def EnvType(self, EnvType):
|
8385
|
-
self._EnvType = EnvType
|
8386
|
-
|
8387
|
-
@property
|
8388
|
-
def Authentications(self):
|
8389
|
-
"""授权信息
|
8390
|
-
:rtype: list of Authentication
|
8391
|
-
"""
|
8392
|
-
return self._Authentications
|
8393
|
-
|
8394
|
-
@Authentications.setter
|
8395
|
-
def Authentications(self, Authentications):
|
8396
|
-
self._Authentications = Authentications
|
8397
|
-
|
8398
|
-
@property
|
8399
|
-
def InputMappings(self):
|
8400
|
-
"""输入映射信息
|
8401
|
-
:rtype: list of InputMapping
|
8402
|
-
"""
|
8403
|
-
return self._InputMappings
|
8404
|
-
|
8405
|
-
@InputMappings.setter
|
8406
|
-
def InputMappings(self, InputMappings):
|
8407
|
-
self._InputMappings = InputMappings
|
8408
|
-
|
8409
|
-
@property
|
8410
|
-
def Notifications(self):
|
8411
|
-
"""通知信息
|
8412
|
-
:rtype: :class:`tencentcloud.batch.v20170312.models.Notification`
|
8413
|
-
"""
|
8414
|
-
return self._Notifications
|
8415
|
-
|
8416
|
-
@Notifications.setter
|
8417
|
-
def Notifications(self, Notifications):
|
8418
|
-
self._Notifications = Notifications
|
8419
|
-
|
8420
|
-
@property
|
8421
|
-
def ActionIfComputeNodeInactive(self):
|
8422
|
-
"""非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
8423
|
-
:rtype: str
|
8424
|
-
"""
|
8425
|
-
return self._ActionIfComputeNodeInactive
|
8426
|
-
|
8427
|
-
@ActionIfComputeNodeInactive.setter
|
8428
|
-
def ActionIfComputeNodeInactive(self, ActionIfComputeNodeInactive):
|
8429
|
-
self._ActionIfComputeNodeInactive = ActionIfComputeNodeInactive
|
8430
|
-
|
8431
|
-
@property
|
8432
|
-
def ResourceMaxRetryCount(self):
|
8433
|
-
"""对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7。
|
8434
|
-
:rtype: int
|
8435
|
-
"""
|
8436
|
-
return self._ResourceMaxRetryCount
|
8437
|
-
|
8438
|
-
@ResourceMaxRetryCount.setter
|
8439
|
-
def ResourceMaxRetryCount(self, ResourceMaxRetryCount):
|
8440
|
-
self._ResourceMaxRetryCount = ResourceMaxRetryCount
|
8441
|
-
|
8442
|
-
@property
|
8443
|
-
def Tags(self):
|
8444
|
-
"""标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。
|
8445
|
-
:rtype: list of Tag
|
8446
|
-
"""
|
8447
|
-
return self._Tags
|
8448
|
-
|
8449
|
-
@Tags.setter
|
8450
|
-
def Tags(self, Tags):
|
8451
|
-
self._Tags = Tags
|
8452
|
-
|
8453
|
-
@property
|
8454
|
-
def NotificationTarget(self):
|
8455
|
-
"""表示通知信息的通知目标类型。
|
8456
|
-
取值范围:CMQ,TDMQ_CMQ。
|
8457
|
-
CMQ:表示向腾讯云CMQ发送消息。
|
8458
|
-
TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。<br/>默认值为CMQ。<br/>注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860)
|
8459
|
-
:rtype: str
|
8460
|
-
"""
|
8461
|
-
return self._NotificationTarget
|
8462
|
-
|
8463
|
-
@NotificationTarget.setter
|
8464
|
-
def NotificationTarget(self, NotificationTarget):
|
8465
|
-
self._NotificationTarget = NotificationTarget
|
8466
|
-
|
8467
|
-
|
8468
|
-
def _deserialize(self, params):
|
8469
|
-
self._EnvName = params.get("EnvName")
|
8470
|
-
if params.get("EnvData") is not None:
|
8471
|
-
self._EnvData = EnvDataCpm()
|
8472
|
-
self._EnvData._deserialize(params.get("EnvData"))
|
8473
|
-
self._DesiredComputeNodeCount = params.get("DesiredComputeNodeCount")
|
8474
|
-
self._EnvDescription = params.get("EnvDescription")
|
8475
|
-
self._EnvType = params.get("EnvType")
|
8476
|
-
if params.get("Authentications") is not None:
|
8477
|
-
self._Authentications = []
|
8478
|
-
for item in params.get("Authentications"):
|
8479
|
-
obj = Authentication()
|
8480
|
-
obj._deserialize(item)
|
8481
|
-
self._Authentications.append(obj)
|
8482
|
-
if params.get("InputMappings") is not None:
|
8483
|
-
self._InputMappings = []
|
8484
|
-
for item in params.get("InputMappings"):
|
8485
|
-
obj = InputMapping()
|
8486
|
-
obj._deserialize(item)
|
8487
|
-
self._InputMappings.append(obj)
|
8488
|
-
if params.get("Notifications") is not None:
|
8489
|
-
self._Notifications = Notification()
|
8490
|
-
self._Notifications._deserialize(params.get("Notifications"))
|
8491
|
-
self._ActionIfComputeNodeInactive = params.get("ActionIfComputeNodeInactive")
|
8492
|
-
self._ResourceMaxRetryCount = params.get("ResourceMaxRetryCount")
|
8493
|
-
if params.get("Tags") is not None:
|
8494
|
-
self._Tags = []
|
8495
|
-
for item in params.get("Tags"):
|
8496
|
-
obj = Tag()
|
8497
|
-
obj._deserialize(item)
|
8498
|
-
self._Tags.append(obj)
|
8499
|
-
self._NotificationTarget = params.get("NotificationTarget")
|
8500
|
-
memeber_set = set(params.keys())
|
8501
|
-
for name, value in vars(self).items():
|
8502
|
-
property_name = name[1:]
|
8503
|
-
if property_name in memeber_set:
|
8504
|
-
memeber_set.remove(property_name)
|
8505
|
-
if len(memeber_set) > 0:
|
8506
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8507
|
-
|
8508
|
-
|
8509
|
-
|
8510
7695
|
class Notification(AbstractModel):
|
8511
7696
|
"""通知信息
|
8512
7697
|
|
@@ -8563,132 +7748,6 @@ class Notification(AbstractModel):
|
|
8563
7748
|
|
8564
7749
|
|
8565
7750
|
|
8566
|
-
class OsInfo(AbstractModel):
|
8567
|
-
"""操作系统类型
|
8568
|
-
|
8569
|
-
"""
|
8570
|
-
|
8571
|
-
def __init__(self):
|
8572
|
-
r"""
|
8573
|
-
:param _OsTypeId: 操作系统ID。
|
8574
|
-
:type OsTypeId: int
|
8575
|
-
:param _OsName: 操作系统名称。
|
8576
|
-
:type OsName: str
|
8577
|
-
:param _OsDescription: 操作系统名称描述。
|
8578
|
-
:type OsDescription: str
|
8579
|
-
:param _OsEnglishDescription: 操作系统英文名称。
|
8580
|
-
:type OsEnglishDescription: str
|
8581
|
-
:param _OsClass: 操作系统的分类,如CentOs Debian。
|
8582
|
-
:type OsClass: str
|
8583
|
-
:param _ImageTag: 标识镜像分类。public:公共镜像; private: 专属镜像。
|
8584
|
-
:type ImageTag: str
|
8585
|
-
:param _MaxPartitionSize: 操作系统,ext4文件下所支持的最大的磁盘大小。单位为T。
|
8586
|
-
:type MaxPartitionSize: int
|
8587
|
-
"""
|
8588
|
-
self._OsTypeId = None
|
8589
|
-
self._OsName = None
|
8590
|
-
self._OsDescription = None
|
8591
|
-
self._OsEnglishDescription = None
|
8592
|
-
self._OsClass = None
|
8593
|
-
self._ImageTag = None
|
8594
|
-
self._MaxPartitionSize = None
|
8595
|
-
|
8596
|
-
@property
|
8597
|
-
def OsTypeId(self):
|
8598
|
-
"""操作系统ID。
|
8599
|
-
:rtype: int
|
8600
|
-
"""
|
8601
|
-
return self._OsTypeId
|
8602
|
-
|
8603
|
-
@OsTypeId.setter
|
8604
|
-
def OsTypeId(self, OsTypeId):
|
8605
|
-
self._OsTypeId = OsTypeId
|
8606
|
-
|
8607
|
-
@property
|
8608
|
-
def OsName(self):
|
8609
|
-
"""操作系统名称。
|
8610
|
-
:rtype: str
|
8611
|
-
"""
|
8612
|
-
return self._OsName
|
8613
|
-
|
8614
|
-
@OsName.setter
|
8615
|
-
def OsName(self, OsName):
|
8616
|
-
self._OsName = OsName
|
8617
|
-
|
8618
|
-
@property
|
8619
|
-
def OsDescription(self):
|
8620
|
-
"""操作系统名称描述。
|
8621
|
-
:rtype: str
|
8622
|
-
"""
|
8623
|
-
return self._OsDescription
|
8624
|
-
|
8625
|
-
@OsDescription.setter
|
8626
|
-
def OsDescription(self, OsDescription):
|
8627
|
-
self._OsDescription = OsDescription
|
8628
|
-
|
8629
|
-
@property
|
8630
|
-
def OsEnglishDescription(self):
|
8631
|
-
"""操作系统英文名称。
|
8632
|
-
:rtype: str
|
8633
|
-
"""
|
8634
|
-
return self._OsEnglishDescription
|
8635
|
-
|
8636
|
-
@OsEnglishDescription.setter
|
8637
|
-
def OsEnglishDescription(self, OsEnglishDescription):
|
8638
|
-
self._OsEnglishDescription = OsEnglishDescription
|
8639
|
-
|
8640
|
-
@property
|
8641
|
-
def OsClass(self):
|
8642
|
-
"""操作系统的分类,如CentOs Debian。
|
8643
|
-
:rtype: str
|
8644
|
-
"""
|
8645
|
-
return self._OsClass
|
8646
|
-
|
8647
|
-
@OsClass.setter
|
8648
|
-
def OsClass(self, OsClass):
|
8649
|
-
self._OsClass = OsClass
|
8650
|
-
|
8651
|
-
@property
|
8652
|
-
def ImageTag(self):
|
8653
|
-
"""标识镜像分类。public:公共镜像; private: 专属镜像。
|
8654
|
-
:rtype: str
|
8655
|
-
"""
|
8656
|
-
return self._ImageTag
|
8657
|
-
|
8658
|
-
@ImageTag.setter
|
8659
|
-
def ImageTag(self, ImageTag):
|
8660
|
-
self._ImageTag = ImageTag
|
8661
|
-
|
8662
|
-
@property
|
8663
|
-
def MaxPartitionSize(self):
|
8664
|
-
"""操作系统,ext4文件下所支持的最大的磁盘大小。单位为T。
|
8665
|
-
:rtype: int
|
8666
|
-
"""
|
8667
|
-
return self._MaxPartitionSize
|
8668
|
-
|
8669
|
-
@MaxPartitionSize.setter
|
8670
|
-
def MaxPartitionSize(self, MaxPartitionSize):
|
8671
|
-
self._MaxPartitionSize = MaxPartitionSize
|
8672
|
-
|
8673
|
-
|
8674
|
-
def _deserialize(self, params):
|
8675
|
-
self._OsTypeId = params.get("OsTypeId")
|
8676
|
-
self._OsName = params.get("OsName")
|
8677
|
-
self._OsDescription = params.get("OsDescription")
|
8678
|
-
self._OsEnglishDescription = params.get("OsEnglishDescription")
|
8679
|
-
self._OsClass = params.get("OsClass")
|
8680
|
-
self._ImageTag = params.get("ImageTag")
|
8681
|
-
self._MaxPartitionSize = params.get("MaxPartitionSize")
|
8682
|
-
memeber_set = set(params.keys())
|
8683
|
-
for name, value in vars(self).items():
|
8684
|
-
property_name = name[1:]
|
8685
|
-
if property_name in memeber_set:
|
8686
|
-
memeber_set.remove(property_name)
|
8687
|
-
if len(memeber_set) > 0:
|
8688
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8689
|
-
|
8690
|
-
|
8691
|
-
|
8692
7751
|
class OutputMapping(AbstractModel):
|
8693
7752
|
"""输出映射
|
8694
7753
|
|