Bir iz durumunu sorgular.
Operation description
Bu konu, tek hesaplı trail-test izinin durumunu sorgulamaya yönelik bir örnek sunar.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
actiontrail:GetTrailStatus |
get |
*Trail
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
İz adı.\nAd 6 ila 36 karakter uzunluğunda olmalıdır, küçük bir harfle başlamalıdır ve küçük harfler, rakamlar, tire (-) ve alt çizgi (_) içerebilir.\n\n> İz adları bir hesap dahilinde benzersiz olmalıdır. |
trail-test |
| IsOrganizationTrail |
boolean |
No |
Çok hesaplı bir iz durumunun sorgulanıp sorgulanmayacağını belirtir. Geçerli değerler:\n\n- true: Çok hesaplı bir iz durumunu sorgular.\n\n- false (varsayılan): Tek hesaplı bir iz durumunu sorgular. |
false |
Ortak istek parametreleri hakkında daha fazla bilgi için Ortak parametreler bölümüne bakın.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| IsLogging |
boolean |
Günlük kaydının etkin olup olmadığını gösterir. Geçerli değerler:\n\n- true: Etkin.\n- false: Devre dışı. |
true |
| LatestDeliveryError |
string |
En son iz istisnasına ait günlük bilgileri. |
write sls failed, exception: the parent of sub user must be project owner, itemscount: 1 |
| LatestDeliveryLogServiceError |
string |
Simple Log Service'e teslim sırasında oluşan en son hataya ait hata mesajı. |
write sls failed, exception: the parent of sub user must be project owner, itemscount: 1 |
| LatestDeliveryLogServiceTime |
string |
İz olaylarının Simple Log Service'e teslim edildiği en son zaman. Bu zaman, UTC diliminde yyyy-MM-dd'T'HH:mm:ss'Z' formatında ISO 8601 standardına uygundur. |
2021-02-26T09:19:44Z |
| LatestDeliveryTime |
string |
Olayların başarıyla teslim edildiği en son zaman. Bu zaman, UTC diliminde yyyy-MM-dd'T'HH:mm:ss'Z' formatında ISO 8601 standardına uygundur. |
2021-02-26T09:19:44Z |
| OssBucketStatus |
boolean |
OSS bucket'ın kullanılabilir olup olmadığını gösterir. Geçerli değerler:\n\n- true: Kullanılabilir.\n- false: Kullanılabilir değil. |
true |
| RequestId |
string |
İstek kimliği. |
8067369B-B923-4D26-85BC-61BF33922505 |
| SlsLogStoreStatus |
boolean |
SLS Logstore'un kullanılabilir olup olmadığını gösterir. Geçerli değerler:\n\n- true: Kullanılabilir.\n- false: Kullanılabilir değil. |
true |
| StartLoggingTime |
string |
İz olaylarının günlüğe kaydedilmeye başlandığı en son zaman. Bu zaman, UTC diliminde yyyy-MM-dd'T'HH:mm:ss'Z' formatında ISO 8601 standardına uygundur. |
2021-02-24T09:19:44Z |
| StopLoggingTime |
string |
İz olaylarının günlüğe kaydedilmesinin durdurulduğu en son zaman. Bu zaman, UTC diliminde yyyy-MM-dd'T'HH:mm:ss'Z' formatında ISO 8601 standardına uygundur. |
2021-02-25T09:19:44Z |
Examples
Success response
JSON format
{
"IsLogging": true,
"LatestDeliveryError": "write sls failed, exception: the parent of sub user must be project owner, itemscount: 1",
"LatestDeliveryLogServiceError": "write sls failed, exception: the parent of sub user must be project owner, itemscount: 1",
"LatestDeliveryLogServiceTime": "2021-02-26T09:19:44Z",
"LatestDeliveryTime": "2021-02-26T09:19:44Z",
"OssBucketStatus": true,
"RequestId": "8067369B-B923-4D26-85BC-61BF33922505",
"SlsLogStoreStatus": true,
"StartLoggingTime": "2021-02-24T09:19:44Z",
"StopLoggingTime": "2021-02-25T09:19:44Z"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | TrailNotFoundException | The specified Trail does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.