检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Status Codes Status Code Description 200 Request succeeded. Error Codes See Error Codes. Parent Topic: Server Management
Status Codes Status Code Description 200 Request succeeded. Error Codes See Error Codes. Parent Topic: Server Installation and Configuration
Status Codes Status Code Description 200 Request succeeded. Error Codes See Error Codes. Parent Topic: Server Installation and Configuration
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg()); } } } Change the vulnerability status of the server whose ID is 71a15ecc-049f-4cca-bd28-5e90aca1817f.
/huaweicloud/huaweicloud-sdk-go-v3/services/hss/v5" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/hss/v5/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/hss/v5/region" ) func main() { // The AK and SK used for authentication are hard-coded or
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
Default Value N/A Response Parameters Status code: 200 Table 4 Response body parameters Parameter Type Description total_num Integer Total data_list Array of WebFrameworkHostInfo objects Server list Table 5 WebFrameworkHostInfo Parameter Type Description agent_id String agent_id host_id
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
/basic" hss "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/hss/v5" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/hss/v5/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/hss/v5/region" ) func main() { // The AK and SK used for authentication
/basic" hss "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/hss/v5" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/hss/v5/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/hss/v5/region" ) func main() { // The AK and SK used for authentication
Status Codes Status Code Description 200 Request succeeded. Error Codes See Error Codes. Parent Topic: Ransomware Prevention
Status Codes Status Code Description 200 Request succeeded. Error Codes See Error Codes. Parent Topic: Server Installation and Configuration
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
Table 5 AppPolicyInfoList Parameter Mandatory Type Description policy_id No String Policy ID host_id_list No Array of strings Server ID list. Response Parameters Status code: 200 Request succeeded. None Example Requests Apply the whitelist policy.
Constraints N/A Range Value range: 10 to 200 Default Value 10 host_name No String Definition Server name. Constraints N/A Range The value contains 1 to 256 characters. Default Value N/A private_ip No String Definition Server private IP address.
Response Parameters Status code: 200 Request succeeded. None Example Requests Add a login whitelist.
In the response body of the ListWtpProtectHost API, the host_id whose os_type is Linux is the ID of the server that meets the modification conditions. Range 1 to 200 items Default Value N/A status Yes Boolean Definition Whether to enable dynamic WTP.
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).