欠费时的API行为

本文介绍了因账号欠费或者包年包月资源过期时的API调用情况。

API调用情况

欠费指在DescribeInstances或者DescribeDisks返回的传出参数中的OperationLocks包含了LockReason: financial

以下列表中,正常逻辑表示按照接口的正常逻辑执行并返回结果。

表 1. 实例欠费时的API行为
接口实例欠费
AllocatePublicIpAddress报错
AttachDisk报错
AuthorizeSecurityGroup正常逻辑
CreateDisk报错
CreateImage正常逻辑
CreateInstance报错
CreateSecurityGroup正常逻辑
CreateSnapshot正常逻辑
DeleteDisk正常逻辑
DeleteImage正常逻辑
DeleteInstance正常逻辑
DeleteSecurityGroup正常逻辑
DeleteSnapshot正常逻辑
DescribeAutoSnapshotPolicy正常逻辑
DescribeDisks正常逻辑
DescribeImages正常逻辑
DescribeInstances正常逻辑
DescribeInstanceStatus正常逻辑
DescribeInstanceTypes正常逻辑
DescribeInstanceMonitorData正常逻辑
DescribeRegions正常逻辑
DescribeSecurityGroupAttribute正常逻辑
DescribeSecurityGroups正常逻辑
DescribeSnapshotAttribute正常逻辑
DescribeSnapshots正常逻辑
DescribeZones正常逻辑
DetachDisk正常逻辑
JoinSecurityGroup正常逻辑
LeaveSecurityGroup正常逻辑
ModifyAutoSnapshotPolicy正常逻辑
ModifyDiskAttribute正常逻辑
ModifyInstanceAttribute正常逻辑
RebootInstance报错
ReInitDisk报错
ReplaceSystemDisk报错
ResetDisk报错
RevokeSecurityGroup正常逻辑
StartInstance报错
StopInstance报错
表 2. 云盘欠费时的API行为
接口云盘欠费
AllocatePublicIpAddress报错
AttachDisk报错
AuthorizeSecurityGroup正常逻辑
CreateDisk报错
CreateImage正常逻辑
CreateInstance报错
CreateSecurityGroup正常逻辑
CreateSnapshot正常逻辑
DeleteDisk正常逻辑
DeleteImage正常逻辑
DeleteInstance正常逻辑
DeleteSecurityGroup正常逻辑
DeleteSnapshot正常逻辑
DescribeAutoSnapshotPolicy正常逻辑
DescribeDisks正常逻辑
DescribeImages正常逻辑
DescribeInstances正常逻辑
DescribeInstanceStatus正常逻辑
DescribeInstanceMonitorData正常逻辑
DescribeRegions正常逻辑
DescribeSecurityGroupAttribute正常逻辑
DescribeSecurityGroups正常逻辑
DescribeSnapshotAttribute正常逻辑
DescribeSnapshots正常逻辑
DescribeZones正常逻辑
DetachDisk正常逻辑
JoinSecurityGroup正常逻辑
LeaveSecurityGroup正常逻辑
ModifyAutoSnapshotPolicy正常逻辑
ModifyDiskAttribute正常逻辑
ModifyInstanceAttribute报错
ModifyInstanceSpec报错
RebootInstance报错
ReInitDisk报错
ReplaceSystemDisk报错
ResetDisk报错
RevokeSecurityGroup正常逻辑
StartInstance报错
StopInstance报错