API_Description

<p><strong>1.&nbsp; CreateImage</strong></p> <p><strong>Interface Description</strong></p> <p>Create image create image need to get the token by logging in for authentication. Please take note that when calling interface: 1) there must be EBS or ECS, or throwing exception of ParameterRequiredException</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>EbsId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>EBS Id&nbsp; There must be EBS or ECS, or throwing exception of ParameterRequiredException Can list EBS information by ListDisks</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>InstanceId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS Id determines the source of image&nbsp; Can list ECS information by ListInstances</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Display name of image in user interface.&nbsp; The longest length of EBS display name is 20, if exceed, then it will throw ParameterValidateException exception.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Image name Including Chinese, English letters, numbers, @ and _, -, the longest length to display name is 50 digits.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Description</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Image Description</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><a name="_Toc528583476"><strong>Response Parameter</strong></a></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>2.&nbsp; </strong><strong>DeleteImage</strong></p> <p><strong>Interface Description</strong></p> <p>Destroy image by image id. Please take note to get the token by logging in for in for authentication before calling interface: 1) image that Status is Available, Unavailable, CreateFailed, DeleteFailed can be destroyed.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Image Id need to be deleted&nbsp; Can list image information by ListImages interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>3.&nbsp; </strong><strong>ListImages</strong></p> <p><strong>Interface Description</strong></p> <p>Query all the images. Pay attention and need to get the token by logging in for authentication before calling interface: 1, the interface is executed by page query with the default page 1, 100 rows of data will be displayed in each page.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Region Id image belongs to.&nbsp; Region Id determines where ECS located, such as Huadong 1.&nbsp; Can list region information by ListRegions interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Available zone Id image belongs to.&nbsp; There may be more than one available zone under a region, and the available zone Id determines the specific available zone of the EBS distribution created by the user, such as available zone A.&nbsp; Can list region information by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OsTypeId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Operating type Id that image belongs to&nbsp; Operating type Id determines which kind of type image belongs to, such as Linux&nbsp; Can list operating type information by ListOsTypes interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Image name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Display name of image in portal interface&nbsp; The longest length is 20, or it will throw ParameterValidate exception</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Status</p> </td> <td> <p>ImageStatus</p> </td> <td> <p>no</p> </td> <td> <p>Image Status, such as: &nbsp;&nbsp;ToCreate to create&nbsp;&nbsp; Pending&nbsp;&nbsp; pending&nbsp;&nbsp; CreateFailed create failed&nbsp;&nbsp; Available&nbsp; available&nbsp;&nbsp; Unavailable&nbsp; unavailable&nbsp;&nbsp; Deleting&nbsp; deleting&nbsp;&nbsp; Deleted&nbsp;&nbsp; deleted&nbsp;&nbsp; DeleteFailed delete failed</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>UseType</p> </td> <td> <p>ImageType</p> </td> <td> <p>no</p> </td> <td> <p>Image using type, for example:&nbsp;&nbsp;&nbsp; Public public SPECIAL dedicated and can be divided into two types: one is image created based on an existing instance, and the other is a manual upload with host function NO_AGENT and without host function.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page number Used in page query.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page size&nbsp; Used in page query.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ForCreateInstance</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether the host machine can be created, if the default value is yes, if the host value is no, the host machine cannot be created</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><a name="_Toc528583484"><strong>Response Parameter</strong></a></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Images</p> </td> <td> <p>List&lt;ImageBean&gt;</p> </td> <td> <p>Image information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of image</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>4.&nbsp; </strong><strong>ListOsMappingCsOs</strong></p> <p><strong>Interface Description</strong></p> <p>Query all the corresponding relations operating system mapped to CS operating system. Need to get the token by log in authentication. Be able to query regional information by ListRegions. Query available zone information by ListZones</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>The operating system maps to the domain ID to which the CS operating system correspondence belongs.&nbsp; Region Id determines where ECS located, such as Huadong 1.&nbsp; Can list region information by ListRegions interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>The operating system maps to the available zone Id to which the CS operating system corresponding belongs to.&nbsp; There may be more than one available zone under a region, and the available zone Id determines the specific available zone of the EBS distribution created by the user, such as available zone A.&nbsp; Can list region information by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>The total amount queried</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OsTypes</p> </td> <td> <p>List&lt;OsMappingCsOsBean&gt;</p> </td> <td> <p>Details list operating system mapping to CS operating system correspondence</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>5.&nbsp; </strong><strong>ListOsTypes</strong></p> <p><strong>Interface Description</strong></p> <p>Query operating system type. Please take note to get the token by logging in for authentication before calling interface: 1, interface is used by page query, the default page is 1, 10 rows of data will be displayed each page in an ascending sort order. 2, if the page is over 3000, then set the page size will be set as 3000</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Operating system type Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Operating system type name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Description</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Operating system type Description</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OsCategory</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Operating system type, as follows:&nbsp;&nbsp;&nbsp; LINUX, WINDOWS, UNIX, AIX</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page number. Used in page query.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page size. Used in page query.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderBy</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Orde by key words, which means sorting by what fields. &nbsp;Default order is by time</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Order type. Default is sorting by DESC, used in conjunction with sorting keywords, indicating whether sorting is in ascending or descending order. The values are as follows:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASC: ascending order&nbsp;&nbsp; DESC: descending order</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of operating system type information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OsTypes</p> </td> <td> <p>List&lt;OsTypeBean&gt;</p> </td> <td> <p>Operating system type information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>6.&nbsp; </strong><strong>ManualUploadImage</strong></p> <p><strong>Interface Description</strong></p> <p>Manual upload image. Need to get the token by logging in for authentication. Query&nbsp; images by ListImages interface.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Url</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Image Url stored in OBS</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Image name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Displaytext</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Image Description</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Region Id image belongs to when uploaded.&nbsp; Region Id determines where the image located, such as Huadong 1.&nbsp; Can list region information by ListRegions interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Available zone Id that image belongs to when uploaded.&nbsp; There may be more than one available zone under a region, and the available zone Id determines the specific available zone of the EBS distribution created by the user, such as available zone A.&nbsp; Can list region information by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Hypervisor</p> </td> <td> <p>HypervisorType</p> </td> <td> <p>no</p> </td> <td> <p>Virtual management type, such as: KVM, VMware&nbsp; Defaulted as KVM type</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Ostypeid</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Operating type Id that image belongs to&nbsp; Can list corresponding operating type information by calling ListOsMappingCsOs interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Isfeatured</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether it is featured, defaulted as yes(featured)</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Ispublic</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether it is public, defaulted as yes(public)</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Passwordenabled</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether the password is started, defaulted as yes(started)</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Requireshvm</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether need HVM or not, defaulted as no (HVM not required)</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Isdynamicallyscalable</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether it is dynamically extended, defaulted as yes ( can be dynamically extended)</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>IsAgent</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether start host machine function, defaulted as yes (start host machine function)</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Format</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>File type, defaulted as QCOW2 the values are as follows: QCOW2, RAW, VHD and OVA</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Checksum</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>MD5</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Isextractable</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether can be extracted, defaulted as yes ( can be extracted)</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Isrouting</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether can be routed, defaulted as no ( no routing)</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Task Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>7.&nbsp; </strong><strong>ModifyImageAttribute</strong></p> <p><strong>Interface Description</strong></p> <p>Modify image attribute according to image id.&nbsp; Need to get the token by logging in for authentication. Query all the image by ListImages interface</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Image Id Must be uploaded Can list all the images by ListImages interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Display name of image in portal interface&nbsp; The longest length is 20, or it will throw ParameterValidate exception</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>8.&nbsp; </strong><strong>BatchDestroyInstance</strong></p> <p><strong>Interface Description</strong></p> <p>To destroy ECS in batches</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Ids</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id, Multiple host machine ids need to be concatenated by strings, separated by commas (, ) in English&nbsp; Can see all the ECS ids by ListInstances interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>9.&nbsp; </strong><strong>BatchStartInstance</strong></p> <p><strong>Interface Description</strong></p> <p>To destroy ECS in batches</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Ids</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id, Multiple host machine ids need to be concatenated by strings, separated by commas (, ) in English&nbsp; Can see all the ECS ids by ListInstances interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>10.&nbsp;&nbsp; </strong><strong>BatchStopInstance</strong></p> <p><strong>Interface Description</strong></p> <p>To stop ECS in batches</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Ids</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id, Multiple host machine ids need to be concatenated by strings, separated by commas (, ) in English&nbsp; Can see all the ECS ids by ListInstances interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>11.&nbsp;&nbsp; </strong><strong>CheckInstanceName</strong></p> <p><strong>Interface Description</strong></p> <p>Check the uniqueness of users&rsquo; customized ECS name</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Names</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id, Multiple host machine ids need to be concatenated by strings, separated by English comma (,).&nbsp; User-defined host machine names cannot already exist and can only consist of numbers, letters and dashes. The first must be English letters with a minimum length of 1 and a maximum length of 45 characters.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>12.&nbsp;</strong><strong>DestroyInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Destroy Instance</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id needs to be released can be checked by interface ListInstance</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>CheckDependency</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether to check the resource dependency relationship when releasing ECS. yes: when releasing host machine, verify the resource dependency relationship. if there are dependent resources, you need to delete the dependent resources before releasing the host machine&nbsp;&nbsp; no: when releasing the host machine, the default value for not checking the resource dependency relationship is yes</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>13.&nbsp;</strong><strong>DowngradeInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Downgrade ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can check all the ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NewInstanceType</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Upgraded ECS type&nbsp; Can list all product series by ListProductSeries interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>CouponId</p> </td> <td> <p>Long</p> </td> <td> <p>no</p> </td> <td> <p>Coupon Id Can list by listAvailableCoupons method by payment service</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Period</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>The number of periods, the minimum is 1 and the maximum is 36&nbsp; only needs to be uploaded by monthly-paid host machine, and the number of periods is queried by the GetRemainMonth interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>ProductCode</p> </td> <td> <p>String</p> </td> <td> <p>Product code</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderId</p> </td> <td> <p>String</p> </td> <td> <p>Oder Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>status</p> </td> <td> <p>OrderStatus</p> </td> <td> <p>Order Status</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ProductCode</p> </td> <td> <p>String</p> </td> <td> <p>Product code</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>14.&nbsp;&nbsp; </strong><strong>GetAllEcsSummary</strong></p> <p><strong>Interface Description</strong></p> <p>Get all ECS summary</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Region Id&nbsp; Can list region information by ListIRegions interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>InstanceSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RunningInstanceSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS in running</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>StoppedInstanceSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS shut down</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>MonthlyInstanceSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS paid by month</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ExpiredInstanceSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS expired</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>WillexpireInstanceSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS about to expire</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DiskSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of EBS</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SnapshotSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of snapshots</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ImageSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of image</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalSeparateInstance</p> </td> <td> <p>Long</p> </td> <td> <p>Number of host machines, disks etc. grouped by region</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SeparateRegionInstance</p> </td> <td> <p>List&lt;InstanceOverviewBean&gt;</p> </td> <td> <p>Save the amount value of grouping and counting host machines, disks and other resources according to the region</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>15.&nbsp;</strong><strong>Get ECS summary</strong></p> <p><strong>Interface Description</strong></p> <p>Get ECS summary</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Region Id&nbsp; Can list region information by ListRegions interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>InstanceSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DiskSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of EBS</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SnapshotSum</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of snapshots</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>16.&nbsp;&nbsp; </strong><strong>GetInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Get ECS information</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>InstanceDetail</p> </td> <td> <p>InstanceDetailBean</p> </td> <td> <p>ECS detail information</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>17.&nbsp;</strong><strong>GetInstancePassword</strong></p> <p><strong>Interface Description</strong></p> <p>Get ECS password</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id that need to get password</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Password</p> </td> <td> <p>String</p> </td> <td> <p>Password</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>18.&nbsp;</strong><strong>InstanceExport</strong></p> <p><strong>Interface Description</strong></p> <p>Export instance information to Excel document</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RowNames</p> </td> <td> <p>String[]</p> </td> <td> <p>yes</p> </td> <td> <p>Field name of the exported host machine information. Can be queried by the ListExcelTitleKeys interface.Parameter productCode:Instance</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>19.&nbsp;</strong><strong>ListAbleKeyRelateInstancs</strong></p> <p><strong>Interface Description</strong></p> <p>List available key related ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PrivateIpAddress</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Private network address</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Region Id&nbsp; Can list region information by ListRegions interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Available zone Id&nbsp; Can list available zone information&nbsp; by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Available zone name&nbsp; Can list available zone information&nbsp; by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ImageId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ImageId&nbsp;&nbsp; Can list image information by Listimages Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ImageName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Image name&nbsp; Can list image information by ListImages Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Network region Id&nbsp; Can list network region information by ListNetworks Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Network region name&nbsp;&nbsp; Can list network region information by ListNetworks Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>CreateName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Creator name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page number, defaulted as 1</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page size, defaulted as 10</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderBy</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Sorting by key words&nbsp; defaulted sorting by time</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Order type&nbsp; order types are DESC and ASC, defaulted as DESC order</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Status</p> </td> <td> <p>InstanceStatus[]</p> </td> <td> <p>no</p> </td> <td> <p>ECS Status, please check Enum TypesInstanceStatus for rangement</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>InstanceCategory</p> </td> <td> <p>InstanceCategory[]</p> </td> <td> <p>no</p> </td> <td> <p>Whether it is a dedicated host machine or not, please check the range of values by ENUM Typesinstancategory&nbsp;&nbsp; Defaulted as shared ECS if it is not uploaded, and the value is InstanceCategory.Ecs | InstanceCategory.Caas</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ChargeType</p> </td> <td> <p>ChargeType</p> </td> <td> <p>no</p> </td> <td> <p>Charge type, check Enum TypesChargeType for details</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Instances</p> </td> <td> <p>List&lt;InstanceBean&gt;</p> </td> <td> <p>ECS instance information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS host machines</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>20.&nbsp;</strong><strong>ListExpiredInstance</strong></p> <p><strong>Interface Description</strong></p> <p>List expired instance</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Region Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page Number</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page Size</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Instances</p> </td> <td> <p>List&lt;InstanceBean&gt;</p> </td> <td> <p>List of ECS instance information</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total numbers of ECS instances</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>21.&nbsp;</strong><strong>ListExpiringInstance</strong></p> <p><strong>Interface Description</strong></p> <p>List expiring instance</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Region Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page Number</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page Size</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Instances</p> </td> <td> <p>List&lt;InstanceBean&gt;</p> </td> <td> <p>List of ECS instance information</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total numbers of ECS instances</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>22.&nbsp;</strong><strong>ListInstanceDependencies</strong></p> <p><strong>Interface Description</strong></p> <p>List instance dependencies</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS uuid。</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>IsDeleteFollowInstance</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether the resource to be queried is deleted with the deletion of the cloud host.</p> <p>When the value is null, it means that all dependent resources are queried.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>DependentInfoList</p> </td> <td> <p>List&lt;DependentInfoBean&gt;</p> </td> <td> <p>List of ECS dependencies</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>IsDeleteFollowInstance</p> </td> <td> <p>Boolean</p> </td> <td> <p>Whether the resource to be queried is deleted with the deletion of the cloud host.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>23.&nbsp;</strong><strong>ListInstanceTypes</strong></p> <p><strong>Interface Description</strong></p> <p>List ECS type</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>PodId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>High available zone Id&nbsp; If the host machine product specification Id does not exist, then ZoneId or PodId must exist, and only PodId is valid when both exist&nbsp; Available zone information can be queried by the ListPods interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Available zone Id&nbsp; If the host machine product specification Id does not exist, then ZoneId or PodId must exist, and only PodId is valid when both exist&nbsp; Available zone information can be queried by the ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>MemoryCpuScale</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Cpu frequency doubling</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS product type Id&nbsp; Can list ECS product type by ListInstanceTypes interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Product series name&nbsp;&nbsp; Can list ECS product series by ListInstanceTypes interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ProductSeriesId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Product series name&nbsp;&nbsp; Can list ECS product series by ListInstanceTypes interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>InstanceTypes</p> </td> <td> <p>List&lt;InstanceTypeBean&gt;</p> </td> <td> <p>ECS type information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>24.&nbsp;</strong><strong>ListInstances</strong></p> <p><strong>Interface Description</strong></p> <p>List ECS types</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS ip&nbsp; ECS id&nbsp;&nbsp; Can list all ECS ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PrivateIpAddress</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Private Ip address</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PublicIpAddress</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Public address</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Region Id&nbsp; Can list region information by ListRegions interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Available zone Id&nbsp; Can list available zone information&nbsp; by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Available zone name&nbsp; Can list available zone information by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>VpcId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>VPC Id&nbsp; Can list VPC information by ListVpcs interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>InstanceType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS type</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ResourceGroupId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Resource group Id customized by users</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SecurityGroupId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Security group Id&nbsp; Can list security group information&nbsp; by ListSecurityGroups interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NotSecurityGroupId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Security Group Id outside the scope of this Security Group Id&nbsp; Can list security group information by ListSecurityGroups interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ImageId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ImageId&nbsp;&nbsp; Can list image information by Listimages Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ImageName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Image name&nbsp; Can list image information by ListImages Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SubnetId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Subnet Id Can list subnet information by ListSubnets interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Network region Id&nbsp; Can list network region information by ListNetworks Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Network region name&nbsp;&nbsp; Can list network region information by ListNetworks Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>CreateName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Creator&rsquo;s name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkType</p> </td> <td> <p>NetworkType</p> </td> <td> <p>no</p> </td> <td> <p>Network region type&nbsp;&nbsp; Please check Enum TypesNetworkType for details</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page number, defaulted as 1</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page size, defaulted as 10</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderBy</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Sorting by key words&nbsp; defaulted sorting by time</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Order type&nbsp; order types are DESC and ASC, defaulted as DESC order</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>status</p> </td> <td> <p>InstanceStatus[]</p> </td> <td> <p>no</p> </td> <td> <p>ECS Status, please check Enum TypesInstanceStatus for rangement</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ErrorFlag</p> </td> <td> <p>InstanceErrorStatus[]</p> </td> <td> <p>no</p> </td> <td> <p>ECS error instance Status, please check Enum TypesInstanceStatus for rangement</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Tags</p> </td> <td> <p>String[]</p> </td> <td> <p>no</p> </td> <td> <p>Tag list Can list all the tags by ListTages</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>InstanceCategory</p> </td> <td> <p>InstanceCategory[]</p> </td> <td> <p>no</p> </td> <td> <p>Whether it is normal ECS, defaulted unload as normal ECS, value as Ecs and Caas with the value rangement as {Ecs, Caas, Dedicated, AutoScaling, GBD, FORTRESS}</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ChargeType</p> </td> <td> <p>ChargeType</p> </td> <td> <p>no</p> </td> <td> <p>Charge type, please check Enum TypesInstanceStatus for rangement</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>VmHostName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Name if virtual host machine</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>CreateEip</p> </td> <td> <p>boolean</p> </td> <td> <p>no</p> </td> <td> <p>Check whether ECS create eip If it is yes, then need to filter instance according to eipStatus, or do not filter</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Instances</p> </td> <td> <p>List&lt;InstanceBean&gt;</p> </td> <td> <p>ECS instance information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS host machines</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>25.&nbsp;&nbsp; </strong><strong>ListKeyRelatedInstance</strong></p> <p><strong>Interface Description</strong></p> <p>List ECS that can destroy bound secret key</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>KeyId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>key id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PrivateIpAddress</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Private Ip address</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Region Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Available zone Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Available zone name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ImageId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Image Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ImageName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Image name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Network region Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Network region name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>CreateName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Creator name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page number</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page size</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderBy</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Sorting by key words&nbsp; defaulted sorting by time</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Order type&nbsp; order types are DESC and ASC, defaulted as DESC order</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Status</p> </td> <td> <p>InstanceStatus[]</p> </td> <td> <p>no</p> </td> <td> <p>ECS Status</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>InstanceCategory</p> </td> <td> <p>InstanceCategory[]</p> </td> <td> <p>no</p> </td> <td> <p>Whether it is dedicated host machine, defaulted unloaded as shared ECS host machine, which valued as InstanceCategory.Ecs | InstanceCategory.Caas</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ChargeType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Charge type</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ShowAll</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether to show all</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Instances</p> </td> <td> <p>List&lt;InstanceBean&gt;</p> </td> <td> <p>ECS instance information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of ECS host machines</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>26.&nbsp;</strong><strong>ModifyChargeType</strong></p> <p><strong>Interface Description</strong></p> <p>Modify to change type to monthly payment</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all the ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Period</p> </td> <td> <p>Integer</p> </td> <td> <p>yes</p> </td> <td> <p>The number of periods, the minimum is 1 and the maximum is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>AutoRenewflag</p> </td> <td> <p>Boolean</p> </td> <td> <p>yes</p> </td> <td> <p>Whether renewed automatically</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>OrderId</p> </td> <td> <p>String</p> </td> <td> <p>Oder Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>status</p> </td> <td> <p>OrderStatus</p> </td> <td> <p>Order Status</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ProductCode</p> </td> <td> <p>String</p> </td> <td> <p>Product Code</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>27.&nbsp;</strong><strong>ModifyInstanceAttribute</strong></p> <p><strong>Interface Description</strong></p> <p>Modify ECS attribute</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS display name&nbsp; The longest length of name displayed is 20, if exceed, it will throw PacloudException exception.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>28.&nbsp;</strong><strong>OpenConsole</strong></p> <p><strong>Interface Description</strong></p> <p>Open console</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>InstanceId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>ConsoleHttpUrl</p> </td> <td> <p>String</p> </td> <td> <p>ECS console address</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>29.&nbsp;</strong><strong>RenewInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Renew ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Period</p> </td> <td> <p>Integer</p> </td> <td> <p>yes</p> </td> <td> <p>Periods of renewal, the minimum is 1 and the maximum is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>OrderId</p> </td> <td> <p>String</p> </td> <td> <p>Oder Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Status</p> </td> <td> <p>OrderStatus</p> </td> <td> <p>Order Status</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ProductCode</p> </td> <td> <p>String</p> </td> <td> <p>Product Code</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>30.&nbsp;</strong><strong>ResetPasswordForInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Reset password for ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>GeneratePasswordType</p> </td> <td> <p>GeneratePasswordType</p> </td> <td> <p>yes</p> </td> <td> <p>ECS password type generating method,defaulted as generated randomly Please check the Enum TypesGeneratePasswordType for details</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>CustomPassword</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Customized password, if the generated method of code is Custom (customized), then keyId is must be uploaded</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Task Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>31.&nbsp;</strong><strong>RestartInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Restart ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>32.&nbsp;</strong><strong>RestoreInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Restore ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all the ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p>&nbsp;</p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>33.&nbsp;</strong><strong>RunInstances</strong></p> <p><strong>Interface Description</strong></p> <p>Run ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Region Id&nbsp; Can list region information by ListRegions interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ZoneId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Available zone Id&nbsp; Can list available zone information&nbsp; by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PodId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>High available zone Id&nbsp; Can list available zone information by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>InstanceType</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS product type Id&nbsp; Can list ECS product specification information by ListInstanceTypes interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Network region Id&nbsp; Can list network region information by ListNetworks Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SubnetId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Subnet Id Can list subnet information by ListSubnets interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ImageId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ImageId&nbsp;&nbsp; Can list image information by Listimages Interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS display name&nbsp; The longest length of name displayed is 20, if exceed, it will throw PacloudException exception.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ResourceGroupId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Resource group Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Count</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Amount of creating ECS, defaulted as 1</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ChargeType</p> </td> <td> <p>ChargeType</p> </td> <td> <p>no</p> </td> <td> <p>Charge type, please check Enum TypesInstanceStatus for rangement</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Period</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>The number of periods, the minimum is 1 and the maximum is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DiskType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>EBS type can query EBS information by ListAllEbsTypes interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DiskSizes</p> </td> <td> <p>Integer[]</p> </td> <td> <p>no</p> </td> <td> <p>List of disk size The largest size of each disk is 2000G</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Tags</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Tags Can list all the tags by ListTags interface or customize tags and key value pair, the longest length of key and value is 45</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SecurityGroupId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Security group Id&nbsp; Can list security group information&nbsp; by ListSecurityGroups interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>VmhostNames</p> </td> <td> <p>String[]</p> </td> <td> <p>no</p> </td> <td> <p>User ECS host machine name&nbsp; Each host machine name start with letters, letters, numbers, -, the longest length to display name is 45 digits Multiple host machine names can be separated by English comma</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>AutoRenewflag</p> </td> <td> <p>Boolean</p> </td> <td> <p>no</p> </td> <td> <p>Whether renewal is automatically&nbsp; yes is automatically renew no is not</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>GeneratePasswordType</p> </td> <td> <p>GeneratePasswordType</p> </td> <td> <p>no</p> </td> <td> <p>ECS password type generating method,defaulted as generated randomly Please check the Enum TypesGeneratePasswordType for details</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>KeyId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Secret key id, if the password generated method is Key (secret key pair), then keyId is must uploaded parameter&nbsp; Can list secret key information by ListKey.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>CustomPassword</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Customized password,&nbsp; if the password generated method is Custom (customized), then customPassword must be uploaded</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>OrderId</p> </td> <td> <p>String</p> </td> <td> <p>Oder Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>status</p> </td> <td> <p>OrderStatus</p> </td> <td> <p>Order Status</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ProductCode</p> </td> <td> <p>String</p> </td> <td> <p>Product Code</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>34.&nbsp;</strong><strong>StartInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Start ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all the ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>35.&nbsp;</strong><strong>StopInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Stop ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all the ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>36.&nbsp;</strong><strong>UpdateInstanceAutoRenewFlag</strong></p> <p><strong>Interface Description</strong></p> <p>Modify ECS charges to be renew automatically or notmanual renewal. Only valid when the ECS is in monthly payment.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all the ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>AutoRenewflag</p> </td> <td> <p>Boolean</p> </td> <td> <p>yes</p> </td> <td> <p>Whether renewal is automatically&nbsp; yes is automatically renew no is not</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>37.&nbsp;</strong><strong>UpdateInstanceName</strong></p> <p><strong>Interface Description</strong></p> <p>Update user&rsquo;s customized ECS name, Only ESC with Status of shut down can be changed..</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS name, ECS name must be unique and can only consist of numbers, letters and dashes. The first must be English letters with a minimum length of 1 and a maximum length of 45 characters.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all the ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Task Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>38.&nbsp;</strong><strong>UpgradeInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Upgraded ECS</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id&nbsp; Can list all the ECS host machine ids by ListInstance interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NewInstanceType</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Upgraded ECS type&nbsp; Can list all product series by ListProductSeries interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>CouponId</p> </td> <td> <p>Long</p> </td> <td> <p>no</p> </td> <td> <p>Coupon Id Can list by listAvailableCoupons method by payment service</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Period</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>The number of periods, the minimum is 1 and the maximum is 36&nbsp; only needs to be uploaded by monthly-paid host machine, and the number of periods is queried by the GetRemainMonth interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>ProductCode</p> </td> <td> <p>String</p> </td> <td> <p>Product code</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderId</p> </td> <td> <p>String</p> </td> <td> <p>Oder Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>status</p> </td> <td> <p>OrderStatus</p> </td> <td> <p>Order Status</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ProductCode</p> </td> <td> <p>String</p> </td> <td> <p>Product code</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>39.&nbsp;</strong><strong>CreateKey</strong></p> <p><strong>Interface Description</strong></p> <p>Create secret key pair. Create secret key needs to get the token by logging in for authentication. Calling createKey by using corresponding DTO to create secret key. Associated instance operations can be made aAfter the creation of creating secret key normal operations can be performed on the instance.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Secret key Description, the longest length is 20</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>KeyType</p> </td> <td> <p>KeyType</p> </td> <td> <p>yes</p> </td> <td> <p>Generation type. When KeyType is IMPORT, PublicKey is must be filled which has two types:&nbsp;&nbsp; IMPORT: import existed&nbsp;&nbsp; AUTO: automatic</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PublicKey</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Public key&nbsp;&nbsp; When KeyType is IMPORT, PublicKey is must be filled&nbsp; The length cannot exceed 1024 digits&nbsp; Need to import public key that meet Base64 code format</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Region Id RegionId determines where the EBS user created located, such as Huadong.&nbsp; Can list region information by ListRegions interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Key</p> </td> <td> <p>KeyBean</p> </td> <td> <p>Secret key pair information</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>40.&nbsp;</strong><strong>CreateKeyRelatedInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Create ECS related secret key pairs. Create ECS related secret key pairs needs to get the token by logging in for authentication. Can list instance that can be associated instance by ListAbleKeyRelateInstancs interface. Need to send short message when relateassociating an instance.&nbsp; When creating, it is important to note that if ECS has expired and reaches the forced shutdown time, the ECS will not be allowed to have a key pair relationship once it shut down for a month.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>InstanceIds</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id, uuid corresponded to ECS&nbsp; Can get ECS instance information by ListInstances interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>KeyId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Key id&nbsp; Can list secret key pair information by ListVpcs interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SuccNum</p> </td> <td> <p>int</p> </td> <td> <p>Numbers of success</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ErrorNum</p> </td> <td> <p>int</p> </td> <td> <p>Number of error</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ErrorMsg</p> </td> <td> <p>List&lt;String&gt;</p> </td> <td> <p>Context of error</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>&nbsp;</strong></p> <p><strong>41.&nbsp;</strong><strong>DeleteKey</strong></p> <p><strong>Interface Description</strong></p> <p>Delete secret key pair. Delete secret key pair needs to get the token by logging in for authentication. Get the secret key pair by getting the id of secret key, and then calling deleteKey to delete secret key pair. The interface is asynchronous job creation. Check whether the deletion is successful.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>KeyId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Key id, id value of secret key pair. Can get secret key pair information by ListKey interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>42.&nbsp;</strong><strong>DeleteKeyRelatedInstance</strong></p> <p><strong>Interface Description</strong></p> <p>Delete ECS relation secret key pair. Call ListKeyRelatedInstance interface Be able to list the associated instance that can be cancelled to associate by ListKeyRelatedInstance interface. Deleteion of ECS relatedion secret key pair needs to get the token by logging in for authentication.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>InstanceIds</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id Can get ECS instance information by ListInstances interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>KeyId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>key Id&nbsp; Can list secret key pair information by ListKey interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SuccNum</p> </td> <td> <p>int</p> </td> <td> <p>Numbers of success</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ErrorNum</p> </td> <td> <p>int</p> </td> <td> <p>Number of error</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ErrorMsg</p> </td> <td> <p>List&lt;String&gt;</p> </td> <td> <p>Context of error</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>43.&nbsp;</strong><strong>ListKey</strong></p> <p><strong>Interface Description</strong></p> <p>Listing of tenant secret key information by page.</p> <p>Page listing the secret key information under the tenant need to get the token by logging in for authentication. Pay attentionPlease take note that when calling findAllByTenant to list information. Calling interface by using corresponding DTO: 1, the interface executed by page query with the default page 1, 1000 rows of data will be displayed in each page.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Region RegionId determines where the EBS user created located, such as Huadong 1.&nbsp; Can list region information by ListRegions interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Name name of secret key generated automatically by CreateKey interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderBy</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Order by keywords. Used in page query.&nbsp; Defaulted sorting by time</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Order type. Used in page query. Order types are DESC and ASC, defaulted as DESC order</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page number. Used in page query.&nbsp; Defaulted as 1 if do not load.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page size. Used in page query.&nbsp; Defaulted as 1000 if do not load.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Keys</p> </td> <td> <p>List&lt;KeyBean&gt;</p> </td> <td> <p>Key information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>44.&nbsp;</strong><strong>AddInstanceToSecurityGroup</strong></p> <p><strong>Interface Description</strong></p> <p>Add ECS to security group. Add security group rule need to get the token by logging in for authentication. ECS information can be checked by calling ListInstances. Security group information can be checked by calling ListSecurityGroups interface.&nbsp; Please take note that when calling interfaces:&nbsp;</p> <p>(1)the security group and ECS must be in the same Internet region, or InvalidParameterException exception will be thrown.</p> <p>(2)security groups bound to ECS cannot exceed three, or LimitExceededException exception will be thrown.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>InstanceId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id, only host machines in the same network region&nbsp; can join the security group and query all ECS information by ListInstances interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SecurityGroupId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Security group Id&nbsp; Can list security group information&nbsp; by ListSecurityGroups interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>45.&nbsp;</strong><strong>AddSecurityGroupRule</strong></p> <p><strong>Interface Description</strong></p> <p>Add security group rule to security group. Add security group rule to security group that need to get the token by logging in for authentication. Security group rule information can be checked by calling ListSecurityGroupRules interface. Security group information can be checked by calling ListSecurityGroups interface.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SecurityGroupId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Add security group Id of security group rules&nbsp;&nbsp; Security group information can be listed by calling ListSecurityGroups interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Direction</p> </td> <td> <p>DirectionType</p> </td> <td> <p>yes</p> </td> <td> <p>Direction type, for example:&nbsp;&nbsp;&nbsp; In in OUT out</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Cidr</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Ip address authorized</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Port</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Port This parameter is not required when protocol selects ALL or ICMP protocol, it&nbsp; is required when TCP/HTTP is selected</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Protocol</p> </td> <td> <p>ProtocolType</p> </td> <td> <p>yes</p> </td> <td> <p>Protocol type, such as: ALL, TCP, UDP, ICMP must be filled</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>IcmpCode</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Code of ICMP</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>IcmpType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ICMP type</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SecurityGroupRule</p> </td> <td> <p>SecurityGroupRuleBean</p> </td> <td> <p>Security group rules information</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>46.&nbsp;</strong><strong>CreateSecurityGroup</strong></p> <p><strong>Interface Description</strong></p> <p>Create security group needs to get the token by logging in for authentication. The interface to create the subnet is CreateSubnet.&nbsp; The interface to query subnet is ListSubnets. Please take note that when calling interface. 1) there must be at least one subnet to create security group</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>NetworkId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Create network region Id security group belongs to</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>false</p> </td> <td> <p>Display name of security group in portal interface&nbsp; The longest length is 20, or it will throw ParameterValidate exception</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SecurityGroup</p> </td> <td> <p>SecurityGroupBean</p> </td> <td> <p>Security group details</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>47.&nbsp;</strong><strong>DeleteSecurityGroup</strong></p> <p><strong>Interface Description</strong></p> <p>Delete security group by security group id. Need to get the token by logging in for authentication.&nbsp; Delete security group needs to verify whether there is resource dependence, if it is, the security group should be deleted by relieving dependent resource.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Security group Id verified&nbsp; Can list security group information by ListSecurityGroups interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>48.&nbsp;</strong><strong>ListSecurityGroupRules</strong></p> <p><strong>Interface Description</strong></p> <p>List security group rules</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Security group Id one security group rule can has multiple corresponding security groups</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SecurityGroupId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Security group Id can list security group information&nbsp; by calling ListSecurityGroups</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Direction</p> </td> <td> <p>DirectionType</p> </td> <td> <p>no</p> </td> <td> <p>Direction of security group rules, for example:&nbsp;&nbsp;&nbsp; IN= direction of entry, OUT= direction of out</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SecurityGroupRules</p> </td> <td> <p>List&lt;SecurityGroupRuleBean&gt;</p> </td> <td> <p>List security group rules information</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>49.&nbsp;</strong><strong>ListSecurityGroups</strong></p> <p><strong>Interface Description</strong></p> <p>List security groups. Please take note that when calling interface: 1, the interface is used page query with its default page is 1, 3000 rows of data is most that displayed in each page.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Security group Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Security group name</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Display name of security group The longest length of name can be displayed is 20.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Region Id that security group belongs to.&nbsp; Region Id determines where the EBS user created located, such as Huadong 1.&nbsp; Can list region information by ListRegions interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>InstanceId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>ECS instance Id.&nbsp; ECS instance Id determines which ECS instance the security group queried attached.&nbsp; Can list region information by ListInstances interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>VpcId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>VPC Id VPC Id determines which VPC the security group queried attached.&nbsp; Can list vpc information by ListVpcs interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>VpcName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>VPC name Fuzzy query is performed according to the incoming name, and all is queried when it is not found.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Network region name Fuzzy query is performed according to the incoming name, and all is queried when it is not found.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>NetworkId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Network region Id&nbsp; networkId determines which network region the security group attached Can list network region information by ListNetworks interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page number needed in page display</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page size needed in page display</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SecurityGroups</p> </td> <td> <p>List&lt;SecurityGroupBean&gt;</p> </td> <td> <p>Security group information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount of security group information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>50.&nbsp;</strong><strong>ModifySecurityGroupAttribute</strong></p> <p><strong>Interface Description</strong></p> <p>Modify security group attribute by security group id. Security group information can be listed by calling ListSecurityGroups interface</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Security group id need to be modified&nbsp; Security group information can be listed by calling ListSecurityGroups interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Display name of security group in portal interface&nbsp; The longest length is 20, or it will throw ParameterValidate exception</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>51.&nbsp;</strong><strong>RemoveInstanceFromSecurityGroup</strong></p> <p><strong>Interface Description</strong></p> <p>Remove ECS from security group. Adding security group rules need to get the token by logging in for authentication. ECS information can be listed by calling ListInstances interface. Security group information can be listed by calling ListSecurityGroups interface</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>InstanceId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>ECS Id deleted can list ECS information by calling ListInstances interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SecurityGroupId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Security group id&nbsp; can list security group information by calling ListSecurityGroups</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>52.&nbsp;</strong><strong>RemoveSecurityGroupRule</strong></p> <p><strong>Interface Description</strong></p> <p>Remove security group rule by security group rules id. Security group rules information can be listed by ListSecurityGroupRules</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Security group rules id need to be deleted&nbsp; Security group rules information can be listed by ListSecurityGroupRules</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>53.&nbsp;</strong><strong>CreateEbsRelatedPolicy</strong></p> <p><strong>Interface Description</strong></p> <p>Create related policy between disk and snapshot policy.</p> <p>Create related policy between disk and snapshot policy need to get the token by logging in for authentication. List snapshot policy by ListAllSnapshotPolicies interface to operate related EBS.&nbsp; If the snapshot policy is null, then the exception will be thrown that snapshot policy is nonexistent. And the related disk to create the snapshot policy of disk cannot exceed 8, or it will throw exception.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>EbsIds</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>EBS Id that needed to associated relation the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>SnapshotPolicyId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Snapshot policy Id Can get snapshot policy by ListAllSnapshotPolicies interface.&nbsp; the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SuccNum</p> </td> <td> <p>int</p> </td> <td> <p>Numbers of Success</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ErrorNum</p> </td> <td> <p>int</p> </td> <td> <p>Number of error</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ErrorMsg</p> </td> <td> <p>List&lt;String&gt;</p> </td> <td> <p>Error context</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>54.&nbsp;</strong><strong>CreateSnapshot</strong></p> <p><strong>Interface Description</strong></p> <p>Create snapshot. Create snapshot needs to get the token by logging in for authentication.&nbsp;&nbsp; List snapshot by ListDisks interface and then proceed to create snapshot.&nbsp; If ECS is expired or and has reached to the forced shut off time, once it has stopped, snapshot is not allowed to create.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>EbsId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>EBS Id. Can list disk information by ListDisks interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Snapshot display name. The longest length of name displayed is 20, if exceed, it will throw PacloudException exception.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Job Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>55.&nbsp;</strong><strong>CreateSnapshotPolicy</strong></p> <p><strong>Interface Description</strong></p> <p>Create snapshot policy. Create snapshot policy needs to get the token by logging in for authentication. Please take note that that the maximum number of reserved copies cannot exceed 8 when creating snapshot policy. Create snapshot by createSnapshotPolicy method with corresponding DTO.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>EbsId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>EBS Id can list disk information by ListDisks interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>IntervalType</p> </td> <td> <p>IntervalType</p> </td> <td> <p>yes</p> </td> <td> <p>Interval interval has 5 types:&nbsp;&nbsp;&nbsp; MANUAL: manual&nbsp;&nbsp;&nbsp; HOURLY: hourly&nbsp;&nbsp;&nbsp; DAILY: daily WEEKLY: weekly&nbsp;&nbsp;&nbsp; MONTHLY: monthly</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Schedule</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Time the longest length is 30</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>MaxSnaps</p> </td> <td> <p>Integer</p> </td> <td> <p>yes</p> </td> <td> <p>The maximum number of&nbsp; copies reserved which cannot exceed 8.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Policy display name&nbsp; The longest length of name displayed is 20, if exceed, it will throw PacloudException exception.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Region ID RegionId determines where the EBS user created located, such as Huadong 1.&nbsp; Can list region information by ListRegions interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SnapshotPolicy</p> </td> <td> <p>SnapshotPolicyBean</p> </td> <td> <p>bena object of snapshot policy</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>56.&nbsp;</strong><strong>DeleteEbsRelatedPolicy</strong></p> <p><strong>Interface Description</strong></p> <p>Delete related policy between disk and policy. Delete related policy between disk and policy needs to get the token by logging in for authentication. Delete relation by calling getDisk interface for a disk details listing. Delete relation by getting snapshot policy corresponded to disk with the method of deleteEbsRelatedPolicy method The interface is asynchronous job deletion. Check whether the relation between disk and policy is succeessful.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>RelatedId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Snapshot policy Id snapshot policy id that need to release relationship&nbsp; the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Task Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>57.&nbsp;</strong><strong>DeleteSnapshot</strong></p> <p><strong>Interface Description</strong></p> <p>Delete snapshot Delete snapshot needs to get the token by logging in for authentication.&nbsp;&nbsp; List snapshot by ListAllSnapshots to delete. Delete snapshot by get the id of snapshot to call deleteSnapshotJob method. The interface is asynchronous job deletion. Check whether the snapshot is deleted successfully</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Snapshot Id can list snapshot information by ListAllSnapshots interface.&nbsp; the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Task Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>58.&nbsp;</strong><strong>DeleteSnapshotPolicy</strong></p> <p><strong>Interface Description</strong></p> <p>Delete snapshot policy. Delete snapshot policy needs to get the token by logging in for authentication. List snapshot policy by ListAllSnapshotPolicies interface to delete.&nbsp; Please take note of the resource dependency before deleting. Need to disassociate by listing disk information through getDisk interface to delete.&nbsp; Get the id of corresponding snapshot policy, and then delete snapshot policy by calling deleteSnapshotPolicy</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Snapshot policy Id Can get snapshot policy information by ListAllSnapshotPolicies interface&nbsp; the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>59.&nbsp;</strong><strong>GetSnapshotPolicy</strong></p> <p><strong>Interface Description</strong></p> <p>Get snapshot policy. Need to get the token by logging in for authentication. List snapshot policy to execute by ListAllSnapshotPolicies interface. List snapshot policy by the id of snapshot policy</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Disk snapshot policy Id the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SnapshotPolicyDetailBean</p> </td> <td> <p>SnapshotPolicyDetailBean</p> </td> <td> <p>Snapshot policy information</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>60.&nbsp;</strong><strong>ListAllSnapshotPolicies</strong></p> <p><strong>Interface Description</strong></p> <p>List all snapshot policies. Need to get the token by logging in for authentication. Please take note that when calling interface: 1, the interface is executed by page query with the default page is 1, 10 rows of data will be displayed in each page.&nbsp;&nbsp; List all the snapshot policy by findAllByTenant method, sorting order, display amount in each page, pages displayed.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>OrderBy</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Order by keywords. Used in page query.&nbsp; Defaulted sorting by time</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Order type. Used in page query.&nbsp; Order types are DESC and ASC, defaulted as DESC order</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page number. Used in page query.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page size. Used in page query.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Region RegionId determines where the EBS user created located, such as Huadong 1.&nbsp; Can list region information by ListRegions interface.&nbsp; the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Snapshot policy name the longest length is 45</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>IntervalType</p> </td> <td> <p>IntervalType</p> </td> <td> <p>no</p> </td> <td> <p>Interval interval has 5 types:&nbsp;&nbsp;&nbsp; MANUAL: manual&nbsp;&nbsp;&nbsp; HOURLY: hourly&nbsp;&nbsp;&nbsp; DAILY: daily WEEKLY: weekly&nbsp;&nbsp;&nbsp; MONTHLY: monthly</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SnapshotPolicies</p> </td> <td> <p>List&lt;SnapshotPolicyBean&gt;</p> </td> <td> <p>Snapshot policy information list, details for shapshot</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount, how many snapshots in total</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>61.&nbsp;</strong><strong>ListAllSnapshots</strong></p> <p><strong>Interface Description</strong></p> <p>List all snapshot. List all snapshot information needs to get the token by logging in for authentication. Please take note that when calling interface: 1, the interface executed by page query with the default page 1, 10 rows of data will be displayed in each page.&nbsp;&nbsp; List all the snapshot policy by findAllByTenant method, sorting order, display amount of each page, pages displayed.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>OrderBy</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Sort by key words Used in page query.&nbsp; Sorting by time as default</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>OrderType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Sorting order Used in page query.&nbsp; Order types are DESC and ASC, defaulted as DESC order</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageNumber</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page number Used in page query.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>PageSize</p> </td> <td> <p>Integer</p> </td> <td> <p>no</p> </td> <td> <p>Page size Used in page query.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>RegionId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Region RegionId determines where the EBS user created located, such as Huadong 1.&nbsp; Can list region information by ListRegions interface.&nbsp; the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Name</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Snapshot name&nbsp; the longest length is 255</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>EbsName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>EBS name the longest length is 45</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>status</p> </td> <td> <p>SnapshotStatus[]</p> </td> <td> <p>no</p> </td> <td> <p>The snapshot Status type array has the following values:&nbsp;&nbsp;&nbsp; ToCreate: to create&nbsp;&nbsp; Pending:pending&nbsp;&nbsp; CreateFailed: create failed&nbsp;&nbsp; Available: available&nbsp;&nbsp; Unavailable: unavailable&nbsp;&nbsp; Deleting: deleting&nbsp;&nbsp; Deleted: deleted&nbsp;&nbsp; DeleteFailed: delete failed</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Type</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Snapshot types&nbsp; the longest length is 20</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>EbsType</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>EBS product specification, the longest length is 10</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Snapshots</p> </td> <td> <p>List&lt;SnapshotBean&gt;</p> </td> <td> <p>Snapshot information list, set of each piece of snapshot</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount, total amount of snapshot information listed</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>62.&nbsp;</strong><strong>ListSnapshotPolicies</strong></p> <p><strong>Interface Description</strong></p> <p>List snapshot policy. List snapshot policy needs to get the token by login authentication.&nbsp;&nbsp; List ECS by calling GetDisk interface. Used to list associated snapshot policy. List snapshot policy under this disk by findRelatedPolicyByEbsId method provided by disk id.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>EbsId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>EBS Id the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>SnapshotPolicies</p> </td> <td> <p>List&lt;SnapshotPolicyBean&gt;</p> </td> <td> <p>Snapshot policy information list, details for snapshot</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount, how many snapshots in total</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>63.&nbsp;</strong><strong>ListSnapshots</strong></p> <p><strong>Interface Description</strong></p> <p>List snapshot List snapshot policy needs to get the token by logging in for authentication.&nbsp; List EBS by calling GetDisk interface. Used to list associated snapshot policy. List snapshot policy under this disk by querySnapshotsPolicy method provided by disk id.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>EbsId</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>EBS Id the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Snapshots</p> </td> <td> <p>List&lt;SnapshotBean&gt;</p> </td> <td> <p>Snapshot information list, set of each piece of snapshot</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>TotalCount</p> </td> <td> <p>Long</p> </td> <td> <p>Total amount, total amount of snapshot information listed</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>64.&nbsp;</strong><strong>ModifySnapshotAttribute</strong></p> <p><strong>Interface Description</strong></p> <p>Modify snapshot attribute. Modify snapshot attribute need to get the token by login authentication. Modify the name Description after list snapshot by ListAllSnapshots interface.&nbsp;&nbsp; List corresponding snapshot by id provided, and then update snapshot attribute that need to be modified.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Snapshot Id List snapshot information by ListAllSnapshots interface.&nbsp; the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Snapshot display name&nbsp; The longest length of name displayed is 20, if exceed, it will throw PacloudException exception.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>65.&nbsp;</strong><strong>ModifySnapshotPolicyAttribute</strong></p> <p><strong>Interface Description</strong></p> <p>Modify snapshot policy attribute. Modify snapshot policy attribute needs to get the token by login authentication. Modify snapshot policy after listing it by ListAllSnapshots interface.&nbsp;&nbsp; List corresponding snapshot by id provided, and then update snapshot policy attribute that need to be modified.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Snapshot policy Id Can get snapshot policy by ListAllSnapshotPolicies interface&nbsp; the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Snapshot display name&nbsp; The longest length of name displayed is 20, if exceed, it will throw PacloudException exception.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>IntervalType</p> </td> <td> <p>IntervalType</p> </td> <td> <p>yes</p> </td> <td> <p>Interval interval has 5 types:&nbsp;&nbsp; &nbsp;MANUAL: manual&nbsp;&nbsp;&nbsp; HOURLY: hourly&nbsp;&nbsp;&nbsp; DAILY: daily WEEKLY: weekly&nbsp;&nbsp;&nbsp; MONTHLY: monthly</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Schedule</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Time the longest length is 30</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>MaxSnaps</p> </td> <td> <p>Integer</p> </td> <td> <p>yes</p> </td> <td> <p>Please take note that that the maximum number of reserved copies cannot exceed 8.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>66.&nbsp;</strong><strong>ModifySnapshotPolicyDisplayName</strong></p> <p><strong>Interface Description</strong></p> <p>Modify snapshot policy Description. Modify snapshot policy Description needs to get the token by logging in for authentication. Modify the name Description after listing snapshot by ListAllSnapshotsPolicies interface. List corresponding snapshot by id provided, and then update snapshot policy Description name properties that need to be modified.</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Snapshot policy Id Can get snapshot policy by ListAllSnapshotPolicies interface&nbsp; the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>DisplayName</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Snapshot display name&nbsp; The longest length of name displayed is 20, if exceed, it will throw PacloudException exception.</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>67.&nbsp;</strong><strong>RevertSnapshot</strong></p> <p><strong>Interface Description</strong></p> <p>Revert snapshot. Revert snapshot needs to get the token by logging in for authentication. List snapshot to revert snapshot by ListAllSnapshots.&nbsp; List snapshot by id and list disk by snapshot.&nbsp; Then do the judgment.&nbsp; If ECS is expired and reaches to the forced shut down time, once the monthly-paid EBS shut down, revert disk is not allowed.&nbsp; One that meet the requirement to revert need to do the revert snapshot by revertSnapshot method. The interface is asynchronous job revert Check whether revert snapshot is succeeded,</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>yes</p> </td> <td> <p>Snapshot Id snapshot id needed to be reverted the longest length is 36</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>JobId</p> </td> <td> <p>String</p> </td> <td> <p>Task Id</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p> <p><strong>68.&nbsp;</strong><strong>ListPods</strong></p> <p><strong>Interface Description</strong></p> <p>List high available zone</p> <p><strong>Request Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Required (yes/no)</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>ZoneId</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Available zone Id&nbsp; Can list available zone information&nbsp; by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>Id</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>High available zone Id&nbsp; Can list available zone information&nbsp; by ListZones interface.</p> </td> <td> <p>&nbsp;</p> </td> </tr> <tr> <td> <p>ProductCode</p> </td> <td> <p>String</p> </td> <td> <p>no</p> </td> <td> <p>Product code can list all the product code by ListProducts interface</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p><strong>Response Parameter</strong></p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>Parameter Name</strong></p> </td> <td> <p><strong>Parameter Type</strong></p> </td> <td> <p><strong>Parameter Description</strong></p> </td> <td> <p><strong>Remarks</strong></p> </td> </tr> <tr> <td> <p>Pods</p> </td> <td> <p>List&lt;PodBean&gt;</p> </td> <td> <p>High available zone information list</p> </td> <td> <p>&nbsp;</p> </td> </tr> </tbody> </table> <p>&nbsp;</p>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products