检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Obtaining the File Statistics of a Server Function This API is used to obtain the file statistics of a server. Calling Method For details, see Calling APIs.
Default Value N/A host_id Yes String Definition Server ID. Constraints N/A Range The value can contain 1 to 64 characters.
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
objects Definition Server list.
Default Value N/A Response Parameters Status code: 200 Table 4 Response body parameters Parameter Type Description data_list Array of WtpBackupHostResponseInfo objects Definition Remote backup server list Range Minimum value: 0; maximum value: 200 total_num Integer Definition Total
Default Value N/A Response Parameters Status code: 200 Table 4 Response body parameters Parameter Type Description backup_addr String Address of the remote backup server, including the IP address and port number. backup_host_id String ID of the remote backup server backup_host_name
Status Codes Status Code Description 200 Java application details of the protected server Error Codes See Error Codes. Parent Topic: Application Protection
Default Value N/A Table 4 Request body parameters Parameter Mandatory Type Description host_id_list Yes Array of strings Server ID list Response Parameters Status code: 200 Request succeeded.
Constraints N/A Range Value range: 10 to 200 Default Value 10 host_name No String Server name host_id No String Server ID os_type No String OS type.
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
Status Codes Status Code Description 200 Request succeeded. Error Codes See Error Codes. Parent Topic: Asset Management
If the backup server does not exist, it will be added. If the backup server exists, it will be modified.
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := hss.NewHssClient( hss.HssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
Default Value N/A host_id Yes String Definition Server ID. Constraints N/A Range The value can contain 1 to 64 characters.
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).
Default Value 0: default enterprise project. host_id Yes String Server ID. Multiple IDs can be entered and separated by commas (,).
Default Value 0: default enterprise project. host_id Yes String Server ID. Multiple IDs can be entered and separated by commas (,).