Documentation ¶
Index ¶
- Constants
- func DataSourceHostGroups() *schema.Resource
- func DataSourceHosts() *schema.Resource
- func QueryHostGroupById(client *hssv5.HssClient, region, epsId, groupId string) (*hssv5model.HostGroupItem, error)
- func ResourceHostGroup() *schema.Resource
- func ResourceHostProtection() *schema.Resource
- func ResourceWebTamperProtection() *schema.Resource
- type ProtectStatus
Constants ¶
const (
QueryAllEpsValue string = "all_granted_eps"
)
Variables ¶
This section is empty.
Functions ¶
func DataSourceHostGroups ¶ added in v1.63.2
@API HSS GET /v5/{project_id}/host-management/groups
func DataSourceHosts ¶ added in v1.63.2
@API HSS GET /v5/{project_id}/host-management/hosts
func QueryHostGroupById ¶
func QueryHostGroupById(client *hssv5.HssClient, region, epsId, groupId string) (*hssv5model.HostGroupItem, error)
func ResourceHostGroup ¶
@API HSS DELETE /v5/{project_id}/host-management/groups @API HSS GET /v5/{project_id}/host-management/groups @API HSS POST /v5/{project_id}/host-management/groups @API HSS PUT /v5/{project_id}/host-management/groups @API HSS GET /v5/{project_id}/host-management/hosts
func ResourceHostProtection ¶ added in v1.63.0
@API HSS GET /v5/{project_id}/host-management/hosts @API HSS POST /v5/{project_id}/host-management/protection
func ResourceWebTamperProtection ¶ added in v1.63.1
@API HSS POST /v5/{project_id}/webtamper/static/status @API HSS POST /v5/{project_id}/webtamper/rasp/status @API HSS GET /v5/{project_id}/webtamper/hosts @API HSS GET /v5/{project_id}/host-management/hosts
Types ¶
type ProtectStatus ¶
type ProtectStatus string
const ( ProtectStatusClosed ProtectStatus = "closed" ProtectStatusOpened ProtectStatus = "opened" )