[Transaction]listTransactionLogs

listTransactionLogs

Functional Overview

Retrieve Transaction Log

The last 10 minutes of the transaction log, with a status of 201, of the account's operation and behavior in the Cloud is retrieved.
The same content is reflected as the virtual server activity log of GMO Cloud Hosting's cloud console.

Request Parameters

There is no parameter to be specified when executing this function.

Response Objects

The following format is used in the response.

FieldDescription
actor Currently, NULL is returned.
(This parameter is reserved by the system for future use.)
action Returns Cloud's operation or behavior
allowed_cancel Returns whether the transaction can be canceled during a hold status before the task is processed.

true : Transaction can be canceled.
false : Transaction cannot be cancelled.
created_at

Returns the date and time the transaction is registered.

Date and time is expressed in the following format.

YYYY-MM-DDThh:mm:ssZ

dependent_transaction_id If there is a dependent transaction, the transaction ID for the dependent transaction is returned.
id Returns the transaction ID
identifier Returns the identifier of the (target) virtual server or device on which the appropriate transaction is to be executed.
The virtual server identifer can be obtained from the 4.1. listNodes function.

In the 4.1. listNodes function response object, the corresponding field is, identifier.
The device identifer can be obtained from the 5.1. listDisks function.
In the 5.1. listDisks function response object, the corresponding field is, identifier.
params If parameters are specified in the appropriate transaction processing, that value is returned.
parent_id Returns the (target) virtual server identifer on which the appropriate transaction is to be applied.
The virtual server ID can be obtained from the 4.1. listNodes function.
In the 4.1. listNodes function response object, the corresponding field is, id.
The disk identifer can be obtained from the 5.1. listDisks function.
In the 5.1. listDisks function response object, the corresponding field is, id.
parent_type Returns the type of the virtual server where the appropriate transaction is to be processed.
started_at

Returns the start date and time of the appropriate transaction processing.
Date and time is expressed in the following format.

YYYY-MM-DDThh:mm:ssZ

start_after

Returns the start date and time of the appropriate transaction processing.
Date and time is expressed in the following format.

YYYY-MM-DDThh:mm:ssZ

status Returns the processing status of the appropriate transaction.
updated_at Returns the date and time of the last update by the appropriate transaction processing.

Date and time is expressed in the following format.

YYYY-MM-DDThh:mm:ssZ

Request Sample

https://api.gmocloud.com/Cloud-Zone-ID/?Action=listTransactionLogs&AccessKeyId=AccessKeyID&Version=1.0&Signature=Signature

Response Sample

{
"ID_of_Transaction ": {
"created_at": "2012-07-26T17:57:07+09:00",
"start_after": "2012-07-26T17:57:07+09:00",
"actor": NULL,
"updated_at": "2012-07-26T17:58:39+09:00",
"action": "startup_virtual_machine",
"parent_type": "VirtualMachine",
"id":ID_of_Transaction,
"allowed_cancel": true,
"dependent_transaction_id": ID_of_Transaction,
"parent_id": ID_of_Parent,
"params": [],
"started_at": "2012-07-26T17:58:32+09:00",
"identifier": "Identifier_of_VM",
"status": "complete"
}
}
Note: GMO CLOUD AMERICA INC. does not make any guarantee with regard to the content of this manual and will not be held responsible for any damages resulting from customers or third parties.
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk