Documentation
¶
Index ¶
- Constants
- type Client
- func NewClient(config *common.Config, secretKeyId, secretKeyPassword string) (client *Client, err error)
- func NewClientWithSecretKey(secretKeyId, secretKeyPassword string) (client *Client, err error)
- func NewClientWithToken(token string) (client *Client, err error)
- func NewClientWithTokenAndConfig(config *common.Config, token string) (client *Client, err error)
- type DescribeIpBlockEventsRequest
- type DescribeIpBlockEventsResponse
- type DescribeIpBlockEventsResponseParams
- type IpBlockEventInfo
Constants ¶
View Source
const ( APIVersion = "2025-03-07" SERVICE = "alarm" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClientWithSecretKey ¶
func NewClientWithToken ¶ added in v0.2.37
func NewClientWithTokenAndConfig ¶ added in v0.2.37
func (*Client) DescribeIpBlockEvents ¶
func (c *Client) DescribeIpBlockEvents(request *DescribeIpBlockEventsRequest) (response *DescribeIpBlockEventsResponse, err error)
type DescribeIpBlockEventsRequest ¶
type DescribeIpBlockEventsRequest struct {
*common.BaseRequest
StartTime string `json:"startTime,omitempty"`
EndTime string `json:"endTime,omitempty"`
Ip string `json:"ip,omitempty"`
}
func NewDescribeIpBlockEventsRequest ¶
func NewDescribeIpBlockEventsRequest() (request *DescribeIpBlockEventsRequest)
type DescribeIpBlockEventsResponse ¶
type DescribeIpBlockEventsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeIpBlockEventsResponseParams `json:"response"`
}
func NewDescribeIpBlockEventsResponse ¶
func NewDescribeIpBlockEventsResponse() (response *DescribeIpBlockEventsResponse)
type DescribeIpBlockEventsResponseParams ¶
type DescribeIpBlockEventsResponseParams struct {
RequestId string `json:"requestId,omitempty"`
DataList []*IpBlockEventInfo `json:"dataList,omitempty"`
}
type IpBlockEventInfo ¶
type IpBlockEventInfo struct {
Ip string `json:"ip,omitempty"`
InternalIps string `json:"internalIps,omitempty"`
Region string `json:"region,omitempty"`
ResourceGroup string `json:"resourceGroup,omitempty"`
BlockTime string `json:"blockTime,omitempty"`
UnblockTime string `json:"unblockTime,omitempty"`
DivertMode string `json:"divertMode,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.