All Products
Search
Document Center

Security Center:ModifyIdcProbe

Last Updated:Nov 14, 2024

Modifies the configurations of an IDC probe.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
IdcNamestringNo

The name of the data center.

test
IpSegmentsstringNo

The settings of the CIDR block.

192.168.XX.XX/24
WinPortstringNo

The Windows port.

40
LinuxPortstringNo

The Linux port.

80
IdcRegionstringNo

The region ID of the data center.

Hangzhou
PeriodUnitstringNo

The unit of the scan interval. Valid values:

  • day
  • hour
day
IntervalPeriodintegerNo

The scan interval.

1
UuidsstringYes

The UUID of the server. Separate multiple UUIDs with commas (,).

Note You can call the DescribeCloudCenterInstances operation to query the UUID.
5b6d4072118f487094199cedf90c****,f6310b7976144639867beea2f346****
StatusintegerNo

The usage status. Valid values:

  • 0: enabled.
  • 1: disabled.
1

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

20456DD5-5CBF-5015-9173-12CA4246B***

Examples

Sample success responses

JSONformat

{
  "RequestId": "20456DD5-5CBF-5015-9173-12CA4246B***"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.