Creates an IDC probe to connect data center assets to Security Center for unified management.
Operation description
You can create an IDC probe only on servers that have the Security Center agent installed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:AddIdcProbe |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IdcName |
string |
Yes |
The name of the data center. |
test |
| IpSegments |
string |
Yes |
The settings of the CIDR block. |
192.168.XX.XX/24 |
| WinPort |
string |
Yes |
The Windows port. |
40 |
| LinuxPort |
string |
Yes |
The Linux port. |
40 |
| IdcRegion |
string |
Yes |
The region ID. |
Hangzhou |
| PeriodUnit |
string |
Yes |
The unit of the scan interval. Valid values:
|
day |
| IntervalPeriod |
integer |
Yes |
The scan interval. |
1 |
| Uuids |
string |
Yes |
The UUID of the server. Separate multiple UUIDs with commas (,). Note
You can call the DescribeCloudCenterInstances operation to query the UUID. |
076a446d-df7d-424c-bdc5-bb5dc7f1**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Count |
string |
The total number of entries returned. |
1 |
| RequestId |
string |
The request ID. |
D706F2DD-FF07-576B-9DD1-0B484A9B3065 |
| AddIdcProbeFailedList |
array<object> |
The failure records. |
|
|
object |
Details of a single failure record. |
||
| Uuid |
string |
The UUID of the server. Multiple UUIDs are separated by commas (,). Note
You can call the DescribeCloudCenterInstances operation to query the UUID. |
076a446d-df7d-424c-bdc5-bb5dc7f1**** |
| InternetIp |
string |
The public IP address of the server. |
95.214.XXX.XXX |
| InstanceName |
string |
The name of the server. |
gl-sms-01 |
| IdcRegion |
string |
The region ID. |
Hangzhou |
| ErrorMsg |
string |
The error message. |
The ResourceDirectoryId is invalid. |
| InstanceId |
string |
The ID of the server. |
sas-yqcl2ck3**** |
| IpSegments |
string |
The settings of the CIDR block. |
192.168.XX.XX/24 |
| IdcName |
string |
The name of the data center. |
test |
| IntranetIp |
string |
The private IP address. |
172.29.XXX.XXX |
Examples
Success response
JSON format
{
"Count": "1",
"RequestId": "D706F2DD-FF07-576B-9DD1-0B484A9B3065",
"AddIdcProbeFailedList": [
{
"Uuid": "076a446d-df7d-424c-bdc5-bb5dc7f1****",
"InternetIp": "95.214.XXX.XXX",
"InstanceName": "gl-sms-01",
"IdcRegion": "Hangzhou",
"ErrorMsg": "The ResourceDirectoryId is invalid.",
"InstanceId": "sas-yqcl2ck3****",
"IpSegments": "192.168.XX.XX/24",
"IdcName": "test",
"IntranetIp": "172.29.XXX.XXX"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.