Update alicloud.py

pull/42/head
StarsL.cn 2 years ago committed by GitHub
parent 77e7909509
commit 5762828e7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -208,7 +208,8 @@ def rds(account,region):
'exp': '-' if i['ExpireTime'] == None else i['ExpireTime'].split('T')[0] 'exp': '-' if i['ExpireTime'] == None else i['ExpireTime'].split('T')[0]
} for i in rdsbase_list} } for i in rdsbase_list}
rds_plus = {i['DBInstanceId']:{'cpu':f"{i['DBInstanceCPU']}", rds_plus = {i['DBInstanceId']:{'port':int(i['Port'])
'cpu':f"{i['DBInstanceCPU']}",
'mem':f"{round(i['DBInstanceMemory']/1024)}GB", 'mem':f"{round(i['DBInstanceMemory']/1024)}GB",
'disk':f"{i['DBInstanceStorage']}GB" 'disk':f"{i['DBInstanceStorage']}GB"
} for i in rdsplus_list} } for i in rdsplus_list}

Loading…
Cancel
Save