Modifies the collection frequency of asset fingerprints for an automatic periodic collection task.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyPropertyScheduleConfig

The operation that you want to perform. Set the value to ModifyPropertyScheduleConfig.

Type String Yes scheduler_port_period

The type of the asset whose fingerprints are collected by the task. Valid values:

  • scheduler_port_period: listening port
  • scheduler_process_period: running process
  • scheduler_account_period: account
  • scheduler_software_period: software
  • scheduler_cron_period: scheduled task
  • scheduler_sca_period: middleware, database, and web service
  • scheduler_autorun_period: startup item
  • scheduler_lkm_period: kernel module
  • scheduler_sca_proxy_period: website
ScheduleTime String Yes 1

The collection frequency of asset fingerprints. Valid values:

  • 0: disabled.
  • 1: collects asset fingerprints once an hour.
  • 3: collects asset fingerprints once every 3 hours.
  • 12: collects asset fingerprints once every 12 hours.
  • 24: collects asset fingerprints once a day.
  • 168: collects asset fingerprints once every 7 days.

Response parameters

Parameter Type Example Description
ModifyResult Boolean true

Indicates whether the collection frequency of asset fingerprints is modified. Valid values:

  • true: yes
  • false: no
RequestId String C0D1DF51-D879-55A8-B6C7-7D3B913EF34D

The ID of the request, which is used to locate and troubleshoot issues.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyPropertyScheduleConfig
&Type=scheduler_port_period
&ScheduleTime=1
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ModifyPropertyScheduleConfigResponse>
    <ModifyResult>true</ModifyResult>
    <RequestId>C0D1DF51-D879-55A8-B6C7-7D3B913EF34D</RequestId>
</ModifyPropertyScheduleConfigResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "ModifyResult" : true,
  "RequestId" : "C0D1DF51-D879-55A8-B6C7-7D3B913EF34D"
}

Error codes

HTTP status code Error code Error message Description
500 ServerError ServerError The error message returned because a server error occurred.

For a list of error codes, visit the API Error Center.