Copy Alert#
post_alert_copy_agent{agent_id}#
コードサンプル
# You can also use wget
curl -X POST https://PEM-SERVER-IP/api/v14/alert/copy/agent/{agent_id} \
-H Content-Type: application/json \
-H X-Auth-Token: string
import requests
headers = {
Content-Type: application/json,
X-Auth-Token: string
}
r = requests.post(https://PEM-SERVER-IP/api/v14/alert/copy/agent/{agent_id}, headers = headers)
print(r.json())
const inputBody = [
{
"type": "string",
"agent_id": 0,
"existing_alert_options": "I"
}
];
const headers = {
Content-Type:application/json,
X-Auth-Token:string
};
fetch(https://PEM-SERVER-IP/api/v14/alert/copy/agent/{agent_id},
{
method: POST,
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /alert/copy/agent/{agent_id}
エージェントレベルのアラートを別のエージェントにコピーします。
ボディパラメーター
[
{
"type": "string",
"agent_id": 0,
"existing_alert_options": "I"
}
]
パラメーター#
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
agent_id |
path |
integer |
true |
エージェントID |
X-Auth-Token |
header |
string |
true |
承認トークン |
body |
body |
true |
なし |
詳細な説明#
body 注
type 値は’agent’である必要があります
応答例
応答#
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
ステータス200 |
None |
レスポンススキーマ#
注釈
この操作には認証が必要ありません
post_alert_copy_server{server_id}#
コードサンプル
# You can also use wget
curl -X POST https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id} \
-H Content-Type: application/json \
-H X-Auth-Token: string
import requests
headers = {
Content-Type: application/json,
X-Auth-Token: string
}
r = requests.post(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}, headers = headers)
print(r.json())
const inputBody = [
{
"type": "string",
"server_id": 0,
"existing_alert_options": "I"
}
];
const headers = {
Content-Type:application/json,
X-Auth-Token:string
};
fetch(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id},
{
method: POST,
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /alert/copy/server/{server_id}
サーバーレベルのアラートを別のサーバーにコピーします。
ボディパラメーター
[
{
"type": "string",
"server_id": 0,
"existing_alert_options": "I"
}
]
パラメーター#
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
server_id |
path |
integer |
true |
サーバーID |
X-Auth-Token |
header |
string |
true |
承認トークン |
body |
body |
true |
なし |
詳細な説明#
body 注
type 値は’server’である必要があります
応答例
応答#
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
ステータス200 |
None |
レスポンススキーマ#
注釈
この操作には認証が必要ありません
post_alert_copy_server{server_id}database{database_name}#
コードサンプル
# You can also use wget
curl -X POST https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name} \
-H Content-Type: application/json \
-H X-Auth-Token: string
import requests
headers = {
Content-Type: application/json,
X-Auth-Token: string
}
r = requests.post(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}, headers = headers)
print(r.json())
const inputBody = [
{
"type": "string",
"server_id": 0,
"database_name": "string",
"existing_alert_options": "I"
}
];
const headers = {
Content-Type:application/json,
X-Auth-Token:string
};
fetch(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name},
{
method: POST,
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /alert/copy/server/{server_id}/database/{database_name}
データベースレベルのアラートを別のデータベースにコピーします。
ボディパラメーター
[
{
"type": "string",
"server_id": 0,
"database_name": "string",
"existing_alert_options": "I"
}
]
パラメーター#
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
server_id |
path |
integer |
true |
サーバーID |
database_name |
path |
string |
true |
データベース名 |
X-Auth-Token |
header |
string |
true |
承認トークン |
body |
body |
true |
なし |
詳細な説明#
body 注
type 値は’database’である必要があります
応答例
応答#
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
ステータス200 |
None |
レスポンススキーマ#
注釈
この操作には認証が必要ありません
post_alert_copy_server{server_id}database{database_name}schema{schema_name}#
コードサンプル
# You can also use wget
curl -X POST https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name} \
-H Content-Type: application/json \
-H X-Auth-Token: string
import requests
headers = {
Content-Type: application/json,
X-Auth-Token: string
}
r = requests.post(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}, headers = headers)
print(r.json())
const inputBody = [
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"existing_alert_options": "I"
}
];
const headers = {
Content-Type:application/json,
X-Auth-Token:string
};
fetch(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name},
{
method: POST,
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}
スキーマレベルのアラートを別のスキーマにコピーします。
ボディパラメーター
[
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"existing_alert_options": "I"
}
]
パラメーター#
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
server_id |
path |
integer |
true |
サーバーID |
database_name |
path |
string |
true |
データベース名 |
schema_name |
path |
string |
true |
スキーマ名 |
X-Auth-Token |
header |
string |
true |
承認トークン |
body |
body |
true |
なし |
詳細な説明#
body 注
type 値は’schema’である必要があります
応答例
応答#
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
ステータス200 |
None |
レスポンススキーマ#
注釈
この操作には認証が必要ありません
post_alert_copy_server{server_id}database{database_name}schema{schema_name}table{table_name}#
コードサンプル
# You can also use wget
curl -X POST https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name} \
-H Content-Type: application/json \
-H X-Auth-Token: string
import requests
headers = {
Content-Type: application/json,
X-Auth-Token: string
}
r = requests.post(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name}, headers = headers)
print(r.json())
const inputBody = [
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"table_name": "string",
"existing_alert_options": "I"
}
];
const headers = {
Content-Type:application/json,
X-Auth-Token:string
};
fetch(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name},
{
method: POST,
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name}
テーブルレベルのアラートを別のテーブルにコピーします。
ボディパラメーター
[
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"table_name": "string",
"existing_alert_options": "I"
}
]
パラメーター#
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
server_id |
path |
integer |
true |
サーバーID |
database_name |
path |
string |
true |
データベース名 |
schema_name |
path |
string |
true |
スキーマ名 |
table_name |
path |
string |
true |
テーブル名 |
X-Auth-Token |
header |
string |
true |
承認トークン |
body |
body |
true |
なし |
詳細な説明#
body 注
type 値は’table’である必要があります
応答例
応答#
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
ステータス200 |
None |
レスポンススキーマ#
注釈
この操作には認証が必要ありません
post_alert_copy_server{server_id}database{database_name}schema{schema_name}index{index_name}#
コードサンプル
# You can also use wget
curl -X POST https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name} \
-H Content-Type: application/json \
-H X-Auth-Token: string
import requests
headers = {
Content-Type: application/json,
X-Auth-Token: string
}
r = requests.post(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name}, headers = headers)
print(r.json())
const inputBody = [
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"index_name": "string",
"existing_alert_options": "I"
}
];
const headers = {
Content-Type:application/json,
X-Auth-Token:string
};
fetch(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name},
{
method: POST,
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name}
インデックスレベルのアラートを別のインデックスにコピーします。
ボディパラメーター
[
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"index_name": "string",
"existing_alert_options": "I"
}
]
パラメーター#
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
server_id |
path |
integer |
true |
サーバーID |
database_name |
path |
string |
true |
データベース名 |
schema_name |
path |
string |
true |
スキーマ名 |
index_name |
path |
string |
true |
インデックス名 |
X-Auth-Token |
header |
string |
true |
承認トークン |
body |
body |
true |
なし |
詳細な説明#
body 注
type 値は’index’である必要があります
応答例
応答#
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
ステータス200 |
None |
レスポンススキーマ#
注釈
この操作には認証が必要ありません
post_alert_copy_server{server_id}database{database_name}schema{schema_name}function{function_name}args{function_arguments}#
コードサンプル
# You can also use wget
curl -X POST https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments} \
-H Content-Type: application/json \
-H X-Auth-Token: string
import requests
headers = {
Content-Type: application/json,
X-Auth-Token: string
}
r = requests.post(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments}, headers = headers)
print(r.json())
const inputBody = [
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"function_name": "string",
"function_arguments": "string",
"existing_alert_options": "I"
}
];
const headers = {
Content-Type:application/json,
X-Auth-Token:string
};
fetch(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments},
{
method: POST,
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments}
ファンクションレベルのアラートを別のファンクションにコピーします。
ボディパラメーター
[
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"function_name": "string",
"function_arguments": "string",
"existing_alert_options": "I"
}
]
パラメーター#
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
server_id |
path |
integer |
true |
サーバーID |
database_name |
path |
string |
true |
データベース名 |
schema_name |
path |
string |
true |
スキーマ名 |
function_name |
path |
string |
true |
ファンクション名 |
function_arguments |
path |
string |
true |
ファンクション引数のコンマ区切りリスト。 |
X-Auth-Token |
header |
string |
true |
承認トークン |
body |
body |
true |
なし |
詳細な説明#
function_arguments ファンクション引数のコンマ区切りリスト。
注ファンクションの引数がない場合は、スペースを入力します
body 注
type 値は’function’である必要があります
応答例
応答#
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
ステータス200 |
None |
レスポンススキーマ#
注釈
この操作には認証が必要ありません
post_alert_copy_server{server_id}database{database_name}schema{schema_name}sequence{sequence_name}#
コードサンプル
# You can also use wget
curl -X POST https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name} \
-H Content-Type: application/json \
-H X-Auth-Token: string
import requests
headers = {
Content-Type: application/json,
X-Auth-Token: string
}
r = requests.post(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name}, headers = headers)
print(r.json())
const inputBody = [
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"sequence_name": "string",
"existing_alert_options": "I"
}
];
const headers = {
Content-Type:application/json,
X-Auth-Token:string
};
fetch(https://PEM-SERVER-IP/api/v14/alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name},
{
method: POST,
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /alert/copy/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name}
シーケンスレベルのアラートを別のシーケンスにコピーします。
ボディパラメーター
[
{
"type": "string",
"server_id": 0,
"database_name": "string",
"schema_name": "string",
"sequence_name": "string",
"existing_alert_options": "I"
}
]
パラメーター#
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
server_id |
path |
integer |
true |
サーバーID |
database_name |
path |
string |
true |
データベース名 |
schema_name |
path |
string |
true |
スキーマ名 |
sequence_name |
path |
string |
true |
シークエンス名 |
X-Auth-Token |
header |
string |
true |
承認トークン |
body |
body |
true |
なし |
詳細な説明#
body 注
type 値は’sequence’である必要があります
応答例
応答#
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
ステータス200 |
None |
レスポンススキーマ#
注釈
この操作には認証が必要ありません