Bir özellik modülünün yapılandırmasını getirir.
Operation description
Hizmet yapılandırma durumunu getirir.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetServiceFuncStatus |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/func-switch/get-service-func-status HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| params |
object |
Yes |
Tanılama parametreleri. Farklı tanılama türleri farklı tanılama parametreleri gerektirir. Parametreleri belirtilen değerlerle eşleşen kayıtları filtrelemek için bu alanı kullanabilirsiniz. |
|
| function_name |
string |
Yes |
Özellik adı. |
mullprof |
| instance |
string |
No |
Örnek kimliği. |
i-2zei55fwj8nnu31h3z46 |
| uid |
string |
No |
Kullanıcı kimliği. |
1338904783509062 |
| service_name |
string |
Yes |
Hizmet adı. |
livetrace |
| channel |
string |
Yes |
Kanal adı. |
ecs |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| code |
string |
Durum kodu.
|
Success |
| data |
object |
Yanıt verileri. |
|
| args |
object |
Yapılandırma parametreleri. |
|
| add_cmd |
string |
Yapılandırma süreci. |
java |
| cpu |
string |
ONCPU izleme anahtarı. |
true |
| java_store_path |
string |
Depolama yolu. |
/tmp/sysom/java-profiler |
| locks |
string |
Kilit izleme anahtarı. |
true |
| loop |
integer |
İzleme döngüsü. |
-1 |
| mem |
string |
Bellek izleme anahtarı. |
true |
| system_profiling |
string |
Sistem profil oluşturma anahtarı. |
true |
| message |
string |
Hata mesajı.
|
|
| requestId |
string |
İstek kimliği. |
2D693121-C925-5154-8DF6-C09A8B369822 |
Examples
Success response
JSON format
{
"code": "Success",
"data": {
"args": {
"add_cmd": "java",
"cpu": "true",
"java_store_path": "/tmp/sysom/java-profiler",
"locks": "true",
"loop": -1,
"mem": "true",
"system_profiling": "true"
}
},
"message": "\n",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.