检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
/huaweicloud-sdk-go-v3/core/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() {
Constraints N/A Range Value range: 10 to 200 Default Value 10 host_id No String Definition Server ID. Constraints N/A Range The value can contain 1 to 64 characters. Default Value N/A host_name No String Definition Server name.
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
object Node scheduling information Table 5 RuntimeRequestBody Parameter Type Description runtime_name String Runtime name.
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).
Server name.
Constraints N/A Range Value range: 10 to 200 Default Value 10 host_id No String Definition Server ID. Constraints N/A Range The value can contain 1 to 64 characters. Default Value N/A host_name No String Definition Server name.
Response Parameters Status code: 200 Table 5 Response body parameters Parameter Type Description error String Failure cause Example Requests Create a global asset scan task and query the status of the global scan task of the server whose project_id is 2b31ed520xxxxxxebedb6e57xxxxxxxx
Range N/A Response Parameters Status code: 200 Request succeeded. None Example Requests Deploy a server protection policy.
Pay-per-use: You pay for the used resources based on the actual service duration (in hours), without a minimum fee. Edition Specifications Professional HSS provides basic, professional, premium, WTP, and container editions. Functions vary depending on editions.
/huaweicloud-sdk-go-v3/core/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() {
Request Parameters None Response Parameters Status code: 200 Table 3 Response body parameters Parameter Type Description locked_status Boolean Definition Lock status of the server security protection quota.
Default Value N/A Response Parameters Status code: 200 Table 4 Response body parameters Parameter Type Description pod_name String Pod name namespace_name String Name cluster_name String Cluster. node_name String Node name label String Label cpu String Used CPU memory String Memory
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).
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).
Range Length: 1 to 64 characters host_name String Definition Server name.
Status Codes Status Code Description 200 Request succeeded. Error Codes See Error Codes. Parent Topic: Server Management