alarm

package
v0.2.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIVersion = "2025-03-07"
	SERVICE    = "alarm"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(config *common.Config, secretKeyId, secretKeyPassword string) (client *Client, err error)

func NewClientWithSecretKey

func NewClientWithSecretKey(secretKeyId, secretKeyPassword string) (client *Client, err error)

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL